az netappfiles account ad
Manage Azure NetApp Files (ANF) Account active directories.
Commands
Name | Description | Type | Status |
---|---|---|---|
az netappfiles account ad add |
Add an active directory to the account. |
Core | GA |
az netappfiles account ad list |
List the active directories of an account. |
Core | GA |
az netappfiles account ad remove |
Remove an active directory from the account. |
Core | GA |
az netappfiles account ad show |
Get the specified ANF active directory. |
Core | GA |
az netappfiles account ad update |
Updates an active directory to the account. |
Core | GA |
az netappfiles account ad wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az netappfiles account ad add
Add an active directory to the account.
az netappfiles account ad add --account-name
--resource-group
[--active-directory-id]
[--ad-name]
[--administrators]
[--aes-encryption {0, 1, f, false, n, no, t, true, y, yes}]
[--allow-local-ldap-users {0, 1, f, false, n, no, t, true, y, yes}]
[--backup-operators]
[--dns]
[--domain]
[--encrypt-dc-conn {0, 1, f, false, n, no, t, true, y, yes}]
[--kdc-ip]
[--ldap-over-tls {0, 1, f, false, n, no, t, true, y, yes}]
[--ldap-search-scope]
[--ldap-signing {0, 1, f, false, n, no, t, true, y, yes}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--organizational-unit]
[--password]
[--preferred-servers-for-ldap-client]
[--security-operators]
[--server-root-ca-cert]
[--site]
[--smb-server-name]
[--username]
Examples
Add an active directory to the account
az netappfiles account ad add -g mygroup -a myname --username aduser --password aduser --smb-server-name SMBSERVER --dns 1.2.3.4 --domain westcentralus
Required Parameters
The name of the NetApp account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Id of the Active Directory.
Name of the active directory machine. This optional parameter is used only while creating kerberos volume.
Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
If enabled, AES encryption will be enabled for SMB communication.
If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.
Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain.
Name of the Active Directory domain.
If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted.
Kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume.
Specifies whether or not the LDAP traffic needs to be secured via TLS.
LDAP Search scope options Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Specifies whether or not the LDAP traffic needs to be signed.
Do not wait for the long-running operation to finish.
The Organizational Unit (OU) within the Windows Active Directory.
Plain text password of Active Directory domain administrator, value is masked in the response.
Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed.
Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.
The Active Directory site the service will limit Domain Controller discovery to.
NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes.
A domain user account with permission to create machine accounts.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account ad list
List the active directories of an account.
az netappfiles account ad list --account-name
--resource-group
Examples
List the active directories of an account.
az netappfiles account ad list -g mygroup -a myname
Required Parameters
The name of the NetApp account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account ad remove
Remove an active directory from the account.
az netappfiles account ad remove --account-name
--active-directory
--resource-group
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--yes]
Examples
Remove an active directory from the account
az netappfiles account ad remove -g mygroup --name myname --active-directory-id 13641da9-c0e9-4b97-84fc-4f8014a93848
Required Parameters
The name of the NetApp account.
Id of the Active Directory.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account ad show
Get the specified ANF active directory.
az netappfiles account ad show --account-name
--active-directory-id
--resource-group
Examples
Get an active directory on the account
az netappfiles account ad show -g mygroup --name myname --active-directory-id 13641da9-c0e9-4b97-84fc-4f8014a93848
Required Parameters
The name of the NetApp account.
Id of the Active Directory.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account ad update
Updates an active directory to the account.
az netappfiles account ad update --account-name
--active-directory-id
--resource-group
[--ad-name]
[--add]
[--administrators]
[--aes-encryption {0, 1, f, false, n, no, t, true, y, yes}]
[--allow-local-ldap-users {0, 1, f, false, n, no, t, true, y, yes}]
[--backup-operators]
[--dns]
[--domain]
[--encrypt-dc-connections {0, 1, f, false, n, no, t, true, y, yes}]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--kdc-ip]
[--ldap-over-tls {0, 1, f, false, n, no, t, true, y, yes}]
[--ldap-search-scope]
[--ldap-signing {0, 1, f, false, n, no, t, true, y, yes}]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--organizational-unit]
[--password]
[--preferred-servers-for-ldap-client]
[--remove]
[--security-operators]
[--server-root-ca-cert]
[--set]
[--site]
[--smb-server-name]
[--username]
Examples
Update an active directory on the account
az netappfiles account ad update -g mygroup --name myname --active-directory-id 13641da9-c0e9-4b97-84fc-4f8014a93848 --username ad_username --password ad_password --domain northeurope --dns 1.2.3.4 --smb-server-name SMBSERVER
Required Parameters
The name of the NetApp account.
Id of the Active Directory.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Name of the active directory machine. This optional parameter is used only while creating kerberos volume.
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
If enabled, AES encryption will be enabled for SMB communication.
If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.
Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain.
Name of the Active Directory domain.
If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume.
Specifies whether or not the LDAP traffic needs to be secured via TLS.
LDAP Search scope options Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Specifies whether or not the LDAP traffic needs to be signed.
Do not wait for the long-running operation to finish.
The Organizational Unit (OU) within the Windows Active Directory.
Plain text password of Active Directory domain administrator, value is masked in the response.
Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
The Active Directory site the service will limit Domain Controller discovery to.
NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes.
A domain user account with permission to create machine accounts.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az netappfiles account ad wait
Place the CLI in a waiting state until a condition is met.
az netappfiles account ad wait [--account-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
The name of the NetApp account.
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Polling interval in seconds.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.