Interface ConnectorsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<ConnectorSettingInner> list()
      Cloud accounts connectors of a subscription.
      Returns:
      for a subscription, list of all cloud account connectors and their settings as paginated response with PagedIterable.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<ConnectorSettingInner> list(com.azure.core.util.Context context)
      Cloud accounts connectors of a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      for a subscription, list of all cloud account connectors and their settings 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.
    • get

      ConnectorSettingInner get(String connectorName)
      Details of a specific cloud account connector.
      Parameters:
      connectorName - Name of the cloud account connector.
      Returns:
      the connector setting.
      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<ConnectorSettingInner> getWithResponse(String connectorName, com.azure.core.util.Context context)
      Details of a specific cloud account connector.
      Parameters:
      connectorName - Name of the cloud account connector.
      context - The context to associate with this operation.
      Returns:
      the connector setting 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

      ConnectorSettingInner createOrUpdate(String connectorName, ConnectorSettingInner connectorSetting)
      Create a cloud account connector or update an existing one. Connect to your cloud account. For AWS, use either account credentials or role-based authentication. For GCP, use account organization credentials.
      Parameters:
      connectorName - Name of the cloud account connector.
      connectorSetting - Settings for the cloud account connector.
      Returns:
      the connector setting.
      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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<ConnectorSettingInner> createOrUpdateWithResponse(String connectorName, ConnectorSettingInner connectorSetting, com.azure.core.util.Context context)
      Create a cloud account connector or update an existing one. Connect to your cloud account. For AWS, use either account credentials or role-based authentication. For GCP, use account organization credentials.
      Parameters:
      connectorName - Name of the cloud account connector.
      connectorSetting - Settings for the cloud account connector.
      context - The context to associate with this operation.
      Returns:
      the connector setting 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.
    • delete

      void delete(String connectorName)
      Delete a cloud account connector from a subscription.
      Parameters:
      connectorName - Name of the cloud account 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 connectorName, com.azure.core.util.Context context)
      Delete a cloud account connector from a subscription.
      Parameters:
      connectorName - Name of the cloud account connector.
      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.