gcloud iap tcp dest-groups update - update the IAP TCP Destination Group resource
gcloud iap tcp dest-groups update GROUP_NAME --region=REGION (--fqdn-list=FQDN_LIST --ip-range-list=IP_RANGE_LIST) [GCLOUD_WIDE_FLAG ...]
Update the IAP TCP Destination Group resource.
To update a DestGroup with name GROUP_NAME, in region REGION with ip ranges CIDR1, CIDR2 in the current project run:
$ gcloud iap tcp dest-groups update DEST_GROUP_NAME \ --region=REGION --ip-range-list=CIDR1,CIDR2
To update a DestGroup with name GROUP_NAME, in region REGION with fqdns FQDN1, FQDN2 in the current project run:
$ gcloud iap tcp dest-groups update DEST_GROUP_NAME \ --region=REGION --fqdn-list=FQDN1,FQDN2
To update a DestGroup with name GROUP_NAME, in region REGION with fqdns FQDN1, FQDN2 and ip ranges CIDR1, CIDR2 in the project PROJECT_ID run:
$ gcloud iap tcp dest-groups update DEST_GROUP_NAME \ --region=REGION --fqdn-list=FQDN1,FQDN2 \ --ip-range-list=CIDR1,CIDR2 --project=PROJECT_ID
To clear the fqdn list in a DestGroup with name GROUP_NAME, in region REGION in the current project run:
$ gcloud iap tcp dest-groups update DEST_GROUP_NAME \ --region=REGION --fqdn-list=""
To clear the ip range list in a DestGroup with name GROUP_NAME, in region REGION in the current project run:
$ gcloud iap tcp dest-groups update DEST_GROUP_NAME \ --region=REGION --ip-range-list=""
- GROUP_NAME
Name of the Destination Group.
- --region=REGION
Region of the Destination Group.
- At least one of these must be specified:
- --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.
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.
These variants are also available:
$ gcloud alpha iap tcp dest-groups update
$ gcloud beta iap tcp dest-groups update