- NAME
-
- gcloud iap tcp dest-groups update - update the IAP TCP Destination Group resource
- SYNOPSIS
-
-
gcloud iap tcp dest-groups update
GROUP_NAME
--region
=REGION
(--fqdn-list
=FQDN_LIST
--ip-range-list
=IP_RANGE_LIST
) [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
- Update the IAP TCP Destination Group resource.
- EXAMPLES
-
To update a DestGroup with name
, in regionGROUP_NAME
with ip rangesREGION
,CIDR1
in the current project run:CIDR2
gcloud iap tcp dest-groups update DEST_GROUP_NAME --region=REGION --ip-range-list=CIDR1,CIDR2
To update a DestGroup with name
, in regionGROUP_NAME
with fqdnsREGION
,FQDN1
in the current project run:FQDN2
gcloud iap tcp dest-groups update DEST_GROUP_NAME --region=REGION --fqdn-list=FQDN1,FQDN2
To update a DestGroup with name
, in regionGROUP_NAME
with fqdnsREGION
,FQDN1
and ip rangesFQDN2
,CIDR1
in the projectCIDR2
run:PROJECT_ID
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
, in regionGROUP_NAME
in the current project run:REGION
gcloud iap tcp dest-groups update DEST_GROUP_NAME --region=REGION --fqdn-list=""
To clear the ip range list in a DestGroup with name
, in regionGROUP_NAME
in the current project run:REGION
gcloud iap tcp dest-groups update DEST_GROUP_NAME --region=REGION --ip-range-list=""
- POSITIONAL ARGUMENTS
-
GROUP_NAME
- Name of the Destination Group.
- REQUIRED FLAGS
-
--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.
- 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:
gcloud alpha iap tcp dest-groups update
gcloud beta iap tcp dest-groups update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.