gcloud alpha iap tcp dest-groups create

NAME
gcloud alpha iap tcp dest-groups create - create the IAP TCP Destination Group resource
SYNOPSIS
gcloud alpha iap tcp dest-groups createGROUP_NAME--region=REGION[--fqdn-list=FQDN_LIST][--ip-range-list=IP_RANGE_LIST][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Create the IAP TCP Destination Group resource.
EXAMPLES
To create a DestGroup with nameGROUP_NAME,in regionREGION in the current projectrun:
gcloudalphaiaptcpdest-groupscreateGROUP_NAME--region=REGION

To create a DestGroup with nameGROUP_NAME,in regionREGION with ip rangesCIDR1,CIDR2 in the current project run:

gcloudalphaiaptcpdest-groupscreateGROUP_NAME--region=REGION--ip-range-list=CIDR1,CIDR2

To create a DestGroup with nameGROUP_NAME,in regionREGION with fqdnsFQDN1,FQDN2 in the current project run:

gcloudalphaiaptcpdest-groupscreateGROUP_NAME--region=REGION--fqdn-list=FQDN1,FQDN2

To create a DestGroup with nameGROUP_NAME,in regionREGION with fqdnsFQDN1,FQDN2 and ip rangesCIDR1,CIDR2in the projectPROJECT_ID run:

gcloudalphaiaptcpdest-groupscreateGROUP_NAME--region=REGION--fqdn-list=FQDN1,FQDN2--ip-range-list=CIDR1,CIDR2--project=PROJECT_ID

GROUP_NAME can only contain lower-case letters (a-z) and dashes (-).

POSITIONAL ARGUMENTS
GROUP_NAME
Name of the Destination Group.
REQUIRED FLAGS
--region=REGION
Region of the Destination Group.
OPTIONAL FLAGS
--fqdn-list=FQDN_LIST
List of FQDNs in the Destination Group.
--ip-range-list=IP_RANGE_LIST
List of ip-ranges in the Destination Group.
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
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:
gcloudiaptcpdest-groupscreate
gcloudbetaiaptcpdest-groupscreate

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.