Interface NetAppAccount


public interface NetAppAccount
An immutable client-side representation of NetAppAccount.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • location

      String location()
      Gets the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • etag

      String etag()
      Gets the etag property: A unique read-only string that changes whenever the resource is updated.
      Returns:
      the etag value.
    • identity

      Gets the identity property: The identity used for the resource.
      Returns:
      the identity value.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • provisioningState

      String provisioningState()
      Gets the provisioningState property: Azure lifecycle management.
      Returns:
      the provisioningState value.
    • activeDirectories

      List<ActiveDirectory> activeDirectories()
      Gets the activeDirectories property: Active Directories.
      Returns:
      the activeDirectories value.
    • encryption

      AccountEncryption encryption()
      Gets the encryption property: Encryption settings.
      Returns:
      the encryption value.
    • disableShowmount

      Boolean disableShowmount()
      Gets the disableShowmount property: Shows the status of disableShowmount for all volumes under the subscription, null equals false.
      Returns:
      the disableShowmount value.
    • nfsV4IdDomain

      String nfsV4IdDomain()
      Gets the nfsV4IdDomain property: Domain for NFSv4 user ID mapping. This property will be set for all NetApp accounts in the subscription and region and only affect non ldap NFSv4 volumes.
      Returns:
      the nfsV4IdDomain value.
    • multiAdStatus

      MultiAdStatus multiAdStatus()
      Gets the multiAdStatus property: MultiAD Status for the account.
      Returns:
      the multiAdStatus value.
    • region

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      NetAppAccountInner innerModel()
      Gets the inner com.azure.resourcemanager.netapp.fluent.models.NetAppAccountInner object.
      Returns:
      the inner object.
    • update

      Begins update for the NetAppAccount resource.
      Returns:
      the stage of resource update.
    • refresh

      NetAppAccount refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      NetAppAccount refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • renewCredentials

      void 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.
      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.
    • renewCredentials

      void renewCredentials(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:
      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.
    • transitionToCmk

      void 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.
      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.
    • transitionToCmk

      void transitionToCmk(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:
      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.
    • getChangeKeyVaultInformation

      GetKeyVaultStatusResponse getChangeKeyVaultInformation()
      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.
      Returns:
      result of getKeyVaultStatus with information about how volumes under NetApp account are encrypted.
      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.
    • getChangeKeyVaultInformation

      GetKeyVaultStatusResponse getChangeKeyVaultInformation(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:
      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.
    • changeKeyVault

      void 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.
      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.
    • changeKeyVault

      void changeKeyVault(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:
      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.