Interface ConnectionTypes
public interface ConnectionTypes
Resource collection API of ConnectionTypes.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new ConnectionType resource.void
Delete the connection type.void
deleteById
(String id) Delete the connection type.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete the connection type.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String automationAccountName, String connectionTypeName, com.azure.core.util.Context context) Delete the connection type.Retrieve the connection type identified by connection type name.Retrieve the connection type identified by connection type name.com.azure.core.http.rest.Response<ConnectionType>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Retrieve the connection type identified by connection type name.com.azure.core.http.rest.Response<ConnectionType>
getWithResponse
(String resourceGroupName, String automationAccountName, String connectionTypeName, com.azure.core.util.Context context) Retrieve the connection type identified by connection type name.com.azure.core.http.rest.PagedIterable<ConnectionType>
listByAutomationAccount
(String resourceGroupName, String automationAccountName) Retrieve a list of connection types.com.azure.core.http.rest.PagedIterable<ConnectionType>
listByAutomationAccount
(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context) Retrieve a list of connection types.
-
Method Details
-
delete
Delete the connection type.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.connectionTypeName
- The name of connection type.- 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 automationAccountName, String connectionTypeName, com.azure.core.util.Context context) Delete the connection type.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.connectionTypeName
- The name of connection type.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.
-
get
ConnectionType get(String resourceGroupName, String automationAccountName, String connectionTypeName) Retrieve the connection type identified by connection type name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.connectionTypeName
- The name of connection type.- Returns:
- definition of the connection type.
- 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<ConnectionType> getWithResponse(String resourceGroupName, String automationAccountName, String connectionTypeName, com.azure.core.util.Context context) Retrieve the connection type identified by connection type name.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.connectionTypeName
- The name of connection type.context
- The context to associate with this operation.- Returns:
- definition of the connection type 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.
-
listByAutomationAccount
com.azure.core.http.rest.PagedIterable<ConnectionType> listByAutomationAccount(String resourceGroupName, String automationAccountName) Retrieve a list of connection types.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.- Returns:
- the response model for the list connection type operation 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.
-
listByAutomationAccount
com.azure.core.http.rest.PagedIterable<ConnectionType> listByAutomationAccount(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context) Retrieve a list of connection types.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.context
- The context to associate with this operation.- Returns:
- the response model for the list connection type operation 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
Retrieve the connection type identified by connection type name.- Parameters:
id
- the resource ID.- Returns:
- definition of the connection type 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<ConnectionType> getByIdWithResponse(String id, com.azure.core.util.Context context) Retrieve the connection type identified by connection type name.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- definition of the connection type 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 the connection type.- 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 the connection type.- 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 ConnectionType resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new ConnectionType definition.
-