Interface ConnectorMappingsClient
public interface ConnectorMappingsClient
An instance of this class provides access to all the operations defined in ConnectorMappingsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String hubName, String connectorName, String mappingName, ConnectorMappingResourceFormatInner parameters) Creates a connector mapping or updates an existing connector mapping in the connector.com.azure.core.http.rest.Response<ConnectorMappingResourceFormatInner>
createOrUpdateWithResponse
(String resourceGroupName, String hubName, String connectorName, String mappingName, ConnectorMappingResourceFormatInner parameters, com.azure.core.util.Context context) Creates a connector mapping or updates an existing connector mapping in the connector.void
Deletes a connector mapping in the connector.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String hubName, String connectorName, String mappingName, com.azure.core.util.Context context) Deletes a connector mapping in the connector.Gets a connector mapping in the connector.com.azure.core.http.rest.Response<ConnectorMappingResourceFormatInner>
getWithResponse
(String resourceGroupName, String hubName, String connectorName, String mappingName, com.azure.core.util.Context context) Gets a connector mapping in the connector.com.azure.core.http.rest.PagedIterable<ConnectorMappingResourceFormatInner>
listByConnector
(String resourceGroupName, String hubName, String connectorName) Gets all the connector mappings in the specified connector.com.azure.core.http.rest.PagedIterable<ConnectorMappingResourceFormatInner>
listByConnector
(String resourceGroupName, String hubName, String connectorName, com.azure.core.util.Context context) Gets all the connector mappings in the specified connector.
-
Method Details
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<ConnectorMappingResourceFormatInner> createOrUpdateWithResponse(String resourceGroupName, String hubName, String connectorName, String mappingName, ConnectorMappingResourceFormatInner parameters, com.azure.core.util.Context context) Creates a connector mapping or updates an existing connector mapping in the connector.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.connectorName
- The name of the connector.mappingName
- The name of the connector mapping.parameters
- Parameters supplied to the CreateOrUpdate Connector Mapping operation.context
- The context to associate with this operation.- Returns:
- the connector mapping resource format along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ConnectorMappingResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String connectorName, String mappingName, ConnectorMappingResourceFormatInner parameters) Creates a connector mapping or updates an existing connector mapping in the connector.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.connectorName
- The name of the connector.mappingName
- The name of the connector mapping.parameters
- Parameters supplied to the CreateOrUpdate Connector Mapping operation.- Returns:
- the connector mapping resource format.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<ConnectorMappingResourceFormatInner> getWithResponse(String resourceGroupName, String hubName, String connectorName, String mappingName, com.azure.core.util.Context context) Gets a connector mapping in the connector.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.connectorName
- The name of the connector.mappingName
- The name of the connector mapping.context
- The context to associate with this operation.- Returns:
- a connector mapping in the connector along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
ConnectorMappingResourceFormatInner get(String resourceGroupName, String hubName, String connectorName, String mappingName) Gets a connector mapping in the connector.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.connectorName
- The name of the connector.mappingName
- The name of the connector mapping.- Returns:
- a connector mapping in the connector.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String hubName, String connectorName, String mappingName, com.azure.core.util.Context context) Deletes a connector mapping in the connector.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.connectorName
- The name of the connector.mappingName
- The name of the connector mapping.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a connector mapping in the connector.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.connectorName
- The name of the connector.mappingName
- The name of the connector mapping.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByConnector
com.azure.core.http.rest.PagedIterable<ConnectorMappingResourceFormatInner> listByConnector(String resourceGroupName, String hubName, String connectorName) Gets all the connector mappings in the specified connector.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.connectorName
- The name of the connector.- Returns:
- all the connector mappings in the specified connector as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByConnector
com.azure.core.http.rest.PagedIterable<ConnectorMappingResourceFormatInner> listByConnector(String resourceGroupName, String hubName, String connectorName, com.azure.core.util.Context context) Gets all the connector mappings in the specified connector.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.connectorName
- The name of the connector.context
- The context to associate with this operation.- Returns:
- all the connector mappings in the specified connector as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-