gcloud alpha netapp active-directories create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha netapp active-directories create - create a Cloud NetApp Active Directory
- SYNOPSIS
gcloud alpha netapp active-directories create(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][--labels=[KEY=VALUE,…]][--nfs-users-with-ldap=NFS_USERS_WITH_LDAP][--organizational-unit=ORGANIZATIONAL_UNIT][--security-operators=[SECURITY_OPERATOR,…]][--site=SITE][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)Creates an AD (Active Directory) config for Cloud NetAppVolumes.- EXAMPLES
- The following command creates an AD named AD_NAME with the required arguments:
gcloudalphanetappactive-directoriescreateAD_NAME--location=us-central1--domain=example-domain.com--dns=0.0.0.0--net-bios-prefix=prefix-1--enable-aes=true--username=user1--password="secure1"--backup-operators=backup_op1,backup_op2--security-operators=sec_op1,sec_op2--enable-ldap-signing=false - POSITIONAL ARGUMENTS
- Active directory resource - The Active Directory to create. 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 the
projectattribute:- provide the argument
active_directoryon the command line with afully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
ACTIVE_DIRECTORY- ID of the active_directory or fully qualified identifier for theactive_directory.
To set the
active_directoryattribute:- provide the argument
active_directoryon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The location of the active_directory.
To set the
locationattribute:- provide the argument
active_directoryon the command line with afully specified name; - provide the argument
--locationon the command line; - set the property
netapp/location.
- provide the argument
- provide the argument
- Active directory resource - The Active Directory to create. 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.
- 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.
--labels=[KEY=VALUE,…]- List of label KEY=VALUE pairs to add.
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. --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.
- 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 helpfor details. - NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudnetappactive-directoriescreategcloudbetanetappactive-directoriescreate
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.