Interface Connectors
public interface Connectors
Resource collection API of Connectors.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new ConnectorSetting resource.void
Delete a cloud account connector from a subscription.void
deleteById
(String id) Delete a cloud account connector from a subscription.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a cloud account connector from a subscription.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String connectorName, com.azure.core.util.Context context) Delete a cloud account connector from a subscription.Details of a specific cloud account connector.Details of a specific cloud account connector.com.azure.core.http.rest.Response<ConnectorSetting>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Details of a specific cloud account connector.com.azure.core.http.rest.Response<ConnectorSetting>
getWithResponse
(String connectorName, com.azure.core.util.Context context) Details of a specific cloud account connector.com.azure.core.http.rest.PagedIterable<ConnectorSetting>
list()
Cloud accounts connectors of a subscription.com.azure.core.http.rest.PagedIterable<ConnectorSetting>
list
(com.azure.core.util.Context context) Cloud accounts connectors of a subscription.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<ConnectorSetting> 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
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
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<ConnectorSetting> 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.
-
delete
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.
-
getById
Details of a specific cloud account connector.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<ConnectorSetting> getByIdWithResponse(String id, com.azure.core.util.Context context) Details of a specific cloud account connector.- Parameters:
id
- the resource ID.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.
-
deleteById
Delete a cloud account connector from a subscription.- 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) Delete a cloud account connector from a subscription.- 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 ConnectorSetting resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new ConnectorSetting definition.
-