Interface ConnectorMappings


public interface ConnectorMappings
Resource collection API of ConnectorMappings.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<ConnectorMappingResourceFormat> 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

      ConnectorMappingResourceFormat 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

      void delete(String resourceGroupName, String hubName, String connectorName, String mappingName)
      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<ConnectorMappingResourceFormat> 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<ConnectorMappingResourceFormat> 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.
    • getById

      Gets a connector mapping in the connector.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<ConnectorMappingResourceFormat> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets a connector mapping in the connector.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes a connector mapping in the connector.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes a connector mapping in the connector.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new ConnectorMappingResourceFormat resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new ConnectorMappingResourceFormat definition.