Interface AccountsClient
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetAppAccountInner>,
NetAppAccountInner> beginCreateOrUpdate
(String resourceGroupName, String accountName, NetAppAccountInner body) Create or update a NetApp accountcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetAppAccountInner>,
NetAppAccountInner> beginCreateOrUpdate
(String resourceGroupName, String accountName, NetAppAccountInner body, com.azure.core.util.Context context) Create or update a NetApp accountbeginDelete
(String resourceGroupName, String accountName) Delete a NetApp accountbeginDelete
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Delete a NetApp accountbeginRenewCredentials
(String resourceGroupName, String accountName) Renew identity credentialsbeginRenewCredentials
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Renew identity credentialscom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetAppAccountInner>,
NetAppAccountInner> beginUpdate
(String resourceGroupName, String accountName, NetAppAccountPatch body) Update a NetApp accountcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetAppAccountInner>,
NetAppAccountInner> beginUpdate
(String resourceGroupName, String accountName, NetAppAccountPatch body, com.azure.core.util.Context context) Update a NetApp accountcreateOrUpdate
(String resourceGroupName, String accountName, NetAppAccountInner body) Create or update a NetApp accountcreateOrUpdate
(String resourceGroupName, String accountName, NetAppAccountInner body, com.azure.core.util.Context context) Create or update a NetApp accountvoid
Delete a NetApp accountvoid
Delete a NetApp accountgetByResourceGroup
(String resourceGroupName, String accountName) Describe a NetApp Accountcom.azure.core.http.rest.Response<NetAppAccountInner>
getByResourceGroupWithResponse
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Describe a NetApp Accountcom.azure.core.http.rest.PagedIterable<NetAppAccountInner>
list()
Describe all NetApp Accounts in a subscriptioncom.azure.core.http.rest.PagedIterable<NetAppAccountInner>
list
(com.azure.core.util.Context context) Describe all NetApp Accounts in a subscriptioncom.azure.core.http.rest.PagedIterable<NetAppAccountInner>
listByResourceGroup
(String resourceGroupName) Describe all NetApp Accounts in a resource groupcom.azure.core.http.rest.PagedIterable<NetAppAccountInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Describe all NetApp Accounts in a resource groupvoid
renewCredentials
(String resourceGroupName, String accountName) Renew identity credentialsvoid
renewCredentials
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Renew identity credentialsupdate
(String resourceGroupName, String accountName, NetAppAccountPatch body) Update a NetApp accountupdate
(String resourceGroupName, String accountName, NetAppAccountPatch body, com.azure.core.util.Context context) Update a NetApp account
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<NetAppAccountInner> list()Describe all NetApp Accounts in a subscriptionList and describe all NetApp accounts in the subscription.
- Returns:
- list of NetApp account resources 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<NetAppAccountInner> list(com.azure.core.util.Context context) Describe all NetApp Accounts in a subscriptionList and describe all NetApp accounts in the subscription.
- Parameters:
context
- The context to associate with this operation.- Returns:
- list of NetApp account resources 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<NetAppAccountInner> listByResourceGroup(String resourceGroupName) Describe all NetApp Accounts in a resource groupList and describe all NetApp accounts in the resource group.
- Parameters:
resourceGroupName
- The name of the resource group.- Returns:
- list of NetApp account resources 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<NetAppAccountInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Describe all NetApp Accounts in a resource groupList and describe all NetApp accounts in the resource group.
- Parameters:
resourceGroupName
- The name of the resource group.context
- The context to associate with this operation.- Returns:
- list of NetApp account resources 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.
-
getByResourceGroup
Describe a NetApp AccountGet the NetApp account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.- Returns:
- the NetApp account.
- 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<NetAppAccountInner> getByResourceGroupWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) Describe a NetApp AccountGet the NetApp account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.context
- The context to associate with this operation.- Returns:
- the NetApp account 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetAppAccountInner>,NetAppAccountInner> beginCreateOrUpdate(String resourceGroupName, String accountName, NetAppAccountInner body) Create or update a NetApp accountCreate or update the specified NetApp account within the resource group.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.body
- NetApp Account object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of netApp account resource. - 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<NetAppAccountInner>,NetAppAccountInner> beginCreateOrUpdate(String resourceGroupName, String accountName, NetAppAccountInner body, com.azure.core.util.Context context) Create or update a NetApp accountCreate or update the specified NetApp account within the resource group.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.body
- NetApp Account object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of netApp account resource. - 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
NetAppAccountInner createOrUpdate(String resourceGroupName, String accountName, NetAppAccountInner body) Create or update a NetApp accountCreate or update the specified NetApp account within the resource group.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.body
- NetApp Account object supplied in the body of the operation.- Returns:
- netApp account resource.
- 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
NetAppAccountInner createOrUpdate(String resourceGroupName, String accountName, NetAppAccountInner body, com.azure.core.util.Context context) Create or update a NetApp accountCreate or update the specified NetApp account within the resource group.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.body
- NetApp Account object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- netApp account resource.
- 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 accountName) Delete a NetApp accountDelete the specified NetApp account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.- 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 accountName, com.azure.core.util.Context context) Delete a NetApp accountDelete the specified NetApp account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.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
Delete a NetApp accountDelete the specified NetApp account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.- 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 NetApp accountDelete the specified NetApp account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetAppAccountInner>,NetAppAccountInner> beginUpdate(String resourceGroupName, String accountName, NetAppAccountPatch body) Update a NetApp accountPatch the specified NetApp account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.body
- NetApp Account object supplied in the body of the operation.- Returns:
- the
SyncPoller
for polling of netApp account resource. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetAppAccountInner>,NetAppAccountInner> beginUpdate(String resourceGroupName, String accountName, NetAppAccountPatch body, com.azure.core.util.Context context) Update a NetApp accountPatch the specified NetApp account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.body
- NetApp Account object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of netApp account resource. - 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.
-
update
Update a NetApp accountPatch the specified NetApp account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.body
- NetApp Account object supplied in the body of the operation.- Returns:
- netApp account resource.
- 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.
-
update
NetAppAccountInner update(String resourceGroupName, String accountName, NetAppAccountPatch body, com.azure.core.util.Context context) Update a NetApp accountPatch the specified NetApp account.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.body
- NetApp Account object supplied in the body of the operation.context
- The context to associate with this operation.- Returns:
- netApp account resource.
- 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.
-
beginRenewCredentials
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRenewCredentials(String resourceGroupName, String accountName) Renew identity credentialsRenew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.- 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.
-
beginRenewCredentials
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRenewCredentials(String resourceGroupName, String accountName, com.azure.core.util.Context context) Renew identity credentialsRenew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.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.
-
renewCredentials
Renew identity credentialsRenew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.- 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.
-
renewCredentials
void renewCredentials(String resourceGroupName, String accountName, com.azure.core.util.Context context) Renew identity credentialsRenew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it.
- Parameters:
resourceGroupName
- The name of the resource group.accountName
- The name of the NetApp account.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.
-