gcloud netapp active-directories update

NAME
gcloud netapp active-directories update - update a Cloud NetApp Active Directory
SYNOPSIS
gcloud netapp active-directories update(ACTIVE_DIRECTORY :--location=LOCATION)--dns=DNS--domain=DOMAIN--net-bios-prefix=NET_BIOS_PREFIX--password=PASSWORD--username=USERNAME[--administrators=[ADMINISTRATOR,…]][--async][--backup-operators=[BACKUP_OPERATOR,…]][--description=DESCRIPTION][--enable-aes=ENABLE_AES][--enable-ldap-signing=ENABLE_LDAP_SIGNING][--encrypt-dc-connections=ENCRYPT_DC_CONNECTIONS][--kdc-hostname=KDC_HOSTNAME][--kdc-ip=KDC_IP][--nfs-users-with-ldap=NFS_USERS_WITH_LDAP][--organizational-unit=ORGANIZATIONAL_UNIT][--security-operators=[SECURITY_OPERATOR,…]][--site=SITE][--update-labels=[KEY=VALUE,…]][--clear-labels    |--remove-labels=[KEY,…]][GCLOUD_WIDE_FLAG]
DESCRIPTION
Updates AD (Active Directory) configs for Cloud NetApp Volumes.
EXAMPLES
The following command updates an AD config in the given project and locationwith specified arguments:
gcloudnetappactive-directoriesupdateAD_NAME--location=us-central1--domain=new-domain.com--dns=1.1.1.1--site=new_site--net-bios-prefix=new_prefix--organizational-unit=ou2--enable-aes=true--username=user2--password="secure2"--backup-operators=backup_op1,backup_op2--security-operators=secure_op1,secure_op2--administrators=admin_op1,admin_op2--enable-ldap-signing=true--encrypt-dc-connections=yes--kdc-hostname=kdc-host1
POSITIONAL ARGUMENTS
Active directory resource - The Active Directory to update. The arguments inthis group can be used to specify the attributes of this resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentactive_directory on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

ACTIVE_DIRECTORY
ID of the active_directory or fully qualified identifier for theactive_directory.

To set theactive_directory attribute:

  • provide the argumentactive_directory on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
The location of the active_directory.

To set thelocation attribute:

  • provide the argumentactive_directory on the command line with afully specified name;
  • provide the argument--location on the command line;
  • set the propertynetapp/location.
REQUIRED FLAGS
--dns=DNS
A comma separated list of DNS server IP addresses for the Active Directorydomain.
--domain=DOMAIN
The Active Directory domain.
--net-bios-prefix=NET_BIOS_PREFIX
NetBIOS prefix name of the server.
--password=PASSWORD
Password of the Active Directory domain administrator.
--username=USERNAME
Username of the Active Directory domain administrator.
OPTIONAL FLAGS
--administrators=[ADMINISTRATOR,…]
Members of the Active Directory built-in Administrators group.
--async
Return immediately, without waiting for the operation in progress to complete.
--backup-operators=[BACKUP_OPERATOR,…]
Users to be added to the Built-in Backup Operator Active Directory group.
--description=DESCRIPTION
A description of the Cloud NetApp Active Directory
--enable-aes=ENABLE_AES
The Boolean value indiciating whether AES encryption will be enabled for SMBcommunication.
--enable-ldap-signing=ENABLE_LDAP_SIGNING
Boolean flag that specifies whether or not LDAP traffic needs to be signed.
--encrypt-dc-connections=ENCRYPT_DC_CONNECTIONS
Boolean flag that specifies whether traffic between SMB server to DomainController (DC) will be encrypted.
--kdc-hostname=KDC_HOSTNAME
Name of the Active Directory machine.
--kdc-ip=KDC_IP
KDC server IP address for the Active Directory machine.
--nfs-users-with-ldap=NFS_USERS_WITH_LDAP
Boolean flag that allows access to local users and LDAP users. If access isneeded only for LDAP users, it has to be disabled.
--organizational-unit=ORGANIZATIONAL_UNIT
The Organizational Unit (OU) within the Windows Active Directory the userbelongs to.
--security-operators=[SECURITY_OPERATOR,…]
Domain users to be given the Security privilege.
--site=SITE
The Active Directory site the service will limit Domain Controller discovery to.
--update-labels=[KEY=VALUE,…]
List of label KEY=VALUE pairs to update. If a label exists, its value ismodified. Otherwise, a new label is created.

Keys must start with a lowercase character and contain only hyphens(-), underscores (_), lowercase characters, andnumbers. Values must contain only hyphens (-), underscores(_), lowercase characters, and numbers.

At most one of these can be specified:
--clear-labels
Remove all labels. If--update-labels is also specified then--clear-labels is applied first.

For example, to remove all labels:

gcloudnetappactive-directoriesupdate--clear-labels

To remove all existing labels and create two new labels,foo andbaz:

gcloudnetappactive-directoriesupdate--clear-labels--update-labelsfoo=bar,baz=qux
--remove-labels=[KEY,…]
List of label keys to remove. If a label does not exist it is silently ignored.If--update-labels is also specified then--update-labels is applied first.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

NOTES
These variants are also available:
gcloudalphanetappactive-directoriesupdate
gcloudbetanetappactive-directoriesupdate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.