Interface ConnectorsClient


public interface ConnectorsClient
An instance of this class provides access to all the operations defined in ConnectorsClient.
  • Method Details

    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectorResourceFormatInner>,ConnectorResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String connectorName, ConnectorResourceFormatInner parameters)
      Creates a connector or updates an existing connector in the hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      connectorName - The name of the connector.
      parameters - Parameters supplied to the CreateOrUpdate Connector operation.
      Returns:
      the SyncPoller for polling of the connector 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectorResourceFormatInner>,ConnectorResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String connectorName, ConnectorResourceFormatInner parameters, com.azure.core.util.Context context)
      Creates a connector or updates an existing connector in the hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      connectorName - The name of the connector.
      parameters - Parameters supplied to the CreateOrUpdate Connector operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the connector 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.
    • createOrUpdate

      ConnectorResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String connectorName, ConnectorResourceFormatInner parameters)
      Creates a connector or updates an existing connector in the hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      connectorName - The name of the connector.
      parameters - Parameters supplied to the CreateOrUpdate Connector operation.
      Returns:
      the connector 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.
    • createOrUpdate

      ConnectorResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String connectorName, ConnectorResourceFormatInner parameters, com.azure.core.util.Context context)
      Creates a connector or updates an existing connector in the hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      connectorName - The name of the connector.
      parameters - Parameters supplied to the CreateOrUpdate Connector operation.
      context - The context to associate with this operation.
      Returns:
      the connector 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<ConnectorResourceFormatInner> getWithResponse(String resourceGroupName, String hubName, String connectorName, com.azure.core.util.Context context)
      Gets a connector in the hub.
      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:
      a connector in the hub 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

      ConnectorResourceFormatInner get(String resourceGroupName, String hubName, String connectorName)
      Gets a connector in the hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      connectorName - The name of the connector.
      Returns:
      a connector in the hub.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String hubName, String connectorName)
      Deletes a connector in the hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      connectorName - The name of the connector.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String hubName, String connectorName, com.azure.core.util.Context context)
      Deletes a connector in the hub.
      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:
      the SyncPoller for polling of long-running operation.
      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)
      Deletes a connector in the hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      connectorName - The name of 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.
    • delete

      void delete(String resourceGroupName, String hubName, String connectorName, com.azure.core.util.Context context)
      Deletes a connector in the hub.
      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.
      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.
    • listByHub

      com.azure.core.http.rest.PagedIterable<ConnectorResourceFormatInner> listByHub(String resourceGroupName, String hubName)
      Gets all the connectors in the specified hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      Returns:
      all the connectors in the specified hub 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.
    • listByHub

      com.azure.core.http.rest.PagedIterable<ConnectorResourceFormatInner> listByHub(String resourceGroupName, String hubName, com.azure.core.util.Context context)
      Gets all the connectors in the specified hub.
      Parameters:
      resourceGroupName - The name of the resource group.
      hubName - The name of the hub.
      context - The context to associate with this operation.
      Returns:
      all the connectors in the specified hub 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.