aaz/Commands/netappfiles/account/_create.md

5.6 KiB

[Command] netappfiles account create

Create the specified NetApp account within the resource group

Versions

2023-05-01 Stable

examples

  • Create an ANF account

        netappfiles account create -g mygroup --name myname -l location --tags testtag1=mytag1 testtag3=mytagg
    
  • Create an ANF account enabling CMK encryption

        netappfiles account create -g mygroup --name myname -l location --key-source Microsoft.KeyVault --key-name cmkKey --key-vault-uri https://mykvuri.vault.azure.net/ --keyvault-resource-id myKeyVaultResourceId --identity-type UserAssigned --user-assigned-identity '/subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/anf-mi'
    

2023-07-01 Stable

examples

  • Create an ANF account

        netappfiles account create -g mygroup --name myname -l location --tags testtag1=mytag1 testtag3=mytagg
    
  • Create an ANF account enabling CMK encryption

        netappfiles account create -g mygroup --name myname -l location --key-source Microsoft.KeyVault --key-name cmkKey --key-vault-uri https://mykvuri.vault.azure.net/ --keyvault-resource-id myKeyVaultResourceId --identity-type UserAssigned --user-assigned-identity '/subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/anf-mi'
    

2023-11-01 Stable

examples

  • Create an ANF account

        netappfiles account create -g mygroup --name myname -l location --tags testtag1=mytag1 testtag3=mytagg
    
  • Create an ANF account enabling CMK encryption

        netappfiles account create -g mygroup --name myname -l location --key-source Microsoft.KeyVault --key-name cmkKey --key-vault-uri https://mykvuri.vault.azure.net/ --keyvault-resource-id myKeyVaultResourceId --identity-type UserAssigned --user-assigned-identity '/subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/anf-mi'
    

2024-03-01 Stable

examples

  • Create an ANF account

        netappfiles account create -g mygroup --name myname -l location --tags testtag1=mytag1 testtag3=mytagg
    
  • Create an ANF account enabling CMK encryption

        netappfiles account create -g mygroup --name myname -l location --key-source Microsoft.KeyVault --key-name cmkKey --key-vault-uri https://mykvuri.vault.azure.net/ --keyvault-resource-id myKeyVaultResourceId --identity-type UserAssigned --user-assigned-identity '/subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/anf-mi'
    

2024-03-01-preview Preview

examples

  • Create an ANF account

        netappfiles account create -g mygroup --name myname -l location --tags testtag1=mytag1 testtag3=mytagg
    
  • Create an ANF account enabling CMK encryption

        netappfiles account create -g mygroup --name myname -l location --key-source Microsoft.KeyVault --key-name cmkKey --key-vault-uri https://mykvuri.vault.azure.net/ --keyvault-resource-id myKeyVaultResourceId --identity-type UserAssigned --user-assigned-identity '/subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/anf-mi'
    

2024-07-01 Stable

examples

  • Create an ANF account

        netappfiles account create -g mygroup --name myname -l location --tags testtag1=mytag1 testtag3=mytagg
    
  • Create an ANF account enabling CMK encryption

        netappfiles account create -g mygroup --name myname -l location --key-source Microsoft.KeyVault --key-name cmkKey --key-vault-uri https://mykvuri.vault.azure.net/ --keyvault-resource-id myKeyVaultResourceId --identity-type UserAssigned --user-assigned-identity '/subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/myrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/anf-mi'