Interface AccountsClient
public interface AccountsClient
An instance of this class provides access to all the operations defined in AccountsClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginChangeKeyVault
(String resourceGroupName, String accountName) Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account.beginChangeKeyVault
(String resourceGroupName, String accountName, ChangeKeyVault body, com.azure.core.util.Context context) Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account.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 account Create or update the specified NetApp account within the resource group.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 account Create or update the specified NetApp account within the resource group.beginDelete
(String resourceGroupName, String accountName) Delete a NetApp account Delete the specified NetApp account.beginDelete
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Delete a NetApp account Delete the specified NetApp account.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<GetKeyVaultStatusResponseInner>, GetKeyVaultStatusResponseInner> beginGetChangeKeyVaultInformation
(String resourceGroupName, String accountName) Get information about how volumes under NetApp account are encrypted.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<GetKeyVaultStatusResponseInner>, GetKeyVaultStatusResponseInner> beginGetChangeKeyVaultInformation
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Get information about how volumes under NetApp account are encrypted.beginRenewCredentials
(String resourceGroupName, String accountName) Renew identity credentials Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption.beginRenewCredentials
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Renew identity credentials Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption.beginTransitionToCmk
(String resourceGroupName, String accountName) Transition volumes encryption from PMK to CMK.beginTransitionToCmk
(String resourceGroupName, String accountName, EncryptionTransitionRequest body, com.azure.core.util.Context context) Transition volumes encryption from PMK to CMK.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<NetAppAccountInner>, NetAppAccountInner> beginUpdate
(String resourceGroupName, String accountName, NetAppAccountPatch body) Update a NetApp account Patch the specified NetApp account.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 account Patch the specified NetApp account.void
changeKeyVault
(String resourceGroupName, String accountName) Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account.void
changeKeyVault
(String resourceGroupName, String accountName, ChangeKeyVault body, com.azure.core.util.Context context) Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account.createOrUpdate
(String resourceGroupName, String accountName, NetAppAccountInner body) Create or update a NetApp account Create or update the specified NetApp account within the resource group.createOrUpdate
(String resourceGroupName, String accountName, NetAppAccountInner body, com.azure.core.util.Context context) Create or update a NetApp account Create or update the specified NetApp account within the resource group.void
Delete a NetApp account Delete the specified NetApp account.void
Delete a NetApp account Delete the specified NetApp account.getByResourceGroup
(String resourceGroupName, String accountName) Describe a NetApp Account Get the NetApp account.com.azure.core.http.rest.Response
<NetAppAccountInner> getByResourceGroupWithResponse
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Describe a NetApp Account Get the NetApp account.getChangeKeyVaultInformation
(String resourceGroupName, String accountName) Get information about how volumes under NetApp account are encrypted.getChangeKeyVaultInformation
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Get information about how volumes under NetApp account are encrypted.com.azure.core.http.rest.PagedIterable
<NetAppAccountInner> list()
Describe all NetApp Accounts in a subscription List and describe all NetApp accounts in the subscription.com.azure.core.http.rest.PagedIterable
<NetAppAccountInner> list
(com.azure.core.util.Context context) Describe all NetApp Accounts in a subscription List and describe all NetApp accounts in the subscription.com.azure.core.http.rest.PagedIterable
<NetAppAccountInner> listByResourceGroup
(String resourceGroupName) Describe all NetApp Accounts in a resource group List and describe all NetApp accounts in the resource group.com.azure.core.http.rest.PagedIterable
<NetAppAccountInner> listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Describe all NetApp Accounts in a resource group List and describe all NetApp accounts in the resource group.void
renewCredentials
(String resourceGroupName, String accountName) Renew identity credentials Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption.void
renewCredentials
(String resourceGroupName, String accountName, com.azure.core.util.Context context) Renew identity credentials Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption.void
transitionToCmk
(String resourceGroupName, String accountName) Transition volumes encryption from PMK to CMK.void
transitionToCmk
(String resourceGroupName, String accountName, EncryptionTransitionRequest body, com.azure.core.util.Context context) Transition volumes encryption from PMK to CMK.update
(String resourceGroupName, String accountName, NetAppAccountPatch body) Update a NetApp account Patch the specified NetApp account.update
(String resourceGroupName, String accountName, NetAppAccountPatch body, com.azure.core.util.Context context) Update a NetApp account Patch the specified NetApp account.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<NetAppAccountInner> list()Describe all NetApp Accounts in a subscription List 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 subscription List 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 group List and describe all NetApp accounts in the resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- 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 group List and describe all NetApp accounts in the resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<NetAppAccountInner> getByResourceGroupWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context) Describe a NetApp Account Get the NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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.
-
getByResourceGroup
Describe a NetApp Account Get the NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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.
-
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 account Create or update the specified NetApp account within the resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 account Create or update the specified NetApp account within the resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 account Create or update the specified NetApp account within the resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 account Create or update the specified NetApp account within the resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 account Delete the specified NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 account Delete the specified NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 account Delete the specified NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 account Delete the specified NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 account Patch the specified NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 account Patch the specified NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 account Patch the specified NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 account Patch the specified NetApp account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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 credentials Renew 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. The name is case insensitive.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 credentials Renew 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. The name is case insensitive.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 credentials Renew 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. The name is case insensitive.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 credentials Renew 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. The name is case insensitive.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.
-
beginTransitionToCmk
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginTransitionToCmk(String resourceGroupName, String accountName) Transition volumes encryption from PMK to CMK. Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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.
-
beginTransitionToCmk
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginTransitionToCmk(String resourceGroupName, String accountName, EncryptionTransitionRequest body, com.azure.core.util.Context context) Transition volumes encryption from PMK to CMK. Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.body
- The required parameters to perform encryption transition.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.
-
transitionToCmk
Transition volumes encryption from PMK to CMK. Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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.
-
transitionToCmk
void transitionToCmk(String resourceGroupName, String accountName, EncryptionTransitionRequest body, com.azure.core.util.Context context) Transition volumes encryption from PMK to CMK. Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.body
- The required parameters to perform encryption transition.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.
-
beginGetChangeKeyVaultInformation
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GetKeyVaultStatusResponseInner>,GetKeyVaultStatusResponseInner> beginGetChangeKeyVaultInformation(String resourceGroupName, String accountName) Get information about how volumes under NetApp account are encrypted. Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by each encryption sibling set. Response from this endpoint can be modified and used as request body for POST request.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.- Returns:
- the
SyncPoller
for polling of result of getKeyVaultStatus with information about how volumes under NetApp account are encrypted. - 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.
-
beginGetChangeKeyVaultInformation
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GetKeyVaultStatusResponseInner>,GetKeyVaultStatusResponseInner> beginGetChangeKeyVaultInformation(String resourceGroupName, String accountName, com.azure.core.util.Context context) Get information about how volumes under NetApp account are encrypted. Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by each encryption sibling set. Response from this endpoint can be modified and used as request body for POST request.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of result of getKeyVaultStatus with information about how volumes under NetApp account are encrypted. - 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.
-
getChangeKeyVaultInformation
GetKeyVaultStatusResponseInner getChangeKeyVaultInformation(String resourceGroupName, String accountName) Get information about how volumes under NetApp account are encrypted. Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by each encryption sibling set. Response from this endpoint can be modified and used as request body for POST request.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.- Returns:
- result of getKeyVaultStatus with information about how volumes under NetApp account are encrypted.
- 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.
-
getChangeKeyVaultInformation
GetKeyVaultStatusResponseInner getChangeKeyVaultInformation(String resourceGroupName, String accountName, com.azure.core.util.Context context) Get information about how volumes under NetApp account are encrypted. Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by each encryption sibling set. Response from this endpoint can be modified and used as request body for POST request.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.context
- The context to associate with this operation.- Returns:
- result of getKeyVaultStatus with information about how volumes under NetApp account are encrypted.
- 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.
-
beginChangeKeyVault
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginChangeKeyVault(String resourceGroupName, String accountName) Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account. Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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.
-
beginChangeKeyVault
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginChangeKeyVault(String resourceGroupName, String accountName, ChangeKeyVault body, com.azure.core.util.Context context) Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account. Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.body
- The required parameters to perform encryption migration.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.
-
changeKeyVault
Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account. Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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.
-
changeKeyVault
void changeKeyVault(String resourceGroupName, String accountName, ChangeKeyVault body, com.azure.core.util.Context context) Change Key Vault/Managed HSM that is used for encryption of volumes under NetApp account. Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.accountName
- The name of the NetApp account.body
- The required parameters to perform encryption migration.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.
-