1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-22 07:40:10 +00:00

gcloud: Wed Sep 21 11:28:40 UTC 2022

This commit is contained in:
Automated 2022-09-21 11:28:40 +00:00
parent 8f4214beb2
commit 29683b8af4
Failed to extract signature
122 changed files with 2393 additions and 199 deletions

View file

@ -9,8 +9,8 @@ SYNOPSIS
--routing-policy-backup-data-type=ROUTING_POLICY_BACKUP_DATA_TYPE
--routing-policy-primary-data=ROUTING_POLICY_PRIMARY_DATA
: --backup-data-trickle-ratio=BACKUP_DATA_TRICKLE_RATIO])
: --enable-geo-fencing --enable-health-checking]) [--ttl=TTL]
[GCLOUD_WIDE_FLAG ...]
: --enable-geo-fencing --enable-health-checking])
[--location=LOCATION] [--ttl=TTL] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
This command creates a record-set contained within the specified
@ -24,12 +24,12 @@ EXAMPLES
--rrdatas=1.2.3.4,9.8.7.6 --type=A --ttl=60 --zone=my_zone
To create a geo routed record-set with dnsName foo.bar.com., record type A,
routing-policy-data "us-centra1=1.2.3.4,2.3.4.5;us-west1=3.4.5.6,9.8.7.6"
routing_policy_data "us-centra1=1.2.3.4,2.3.4.5;us-west1=3.4.5.6,9.8.7.6"
and ttl 60 in my_zone.
$ gcloud dns record-sets create foo.bar.com. \
--routing-policy-data="us-centra1=1.2.3.4,2.3.4.5;us-west1=3.4.5\
.6,9.8.7.6" --routing-policy-type=GEO --type=A --ttl=60 \
--routing_policy_data="us-centra1=1.2.3.4,2.3.4.5;us-west1=3.4.5\
.6,9.8.7.6" --routing_policy_type=GEO --type=A --ttl=60 \
--zone=my_zone --location=us-east1-a
To create a record-set with dnsName foo.bar.com., record type A, rrdata
@ -45,7 +45,7 @@ EXAMPLES
traffic ratio of 10% to the backup data, and ttl 60 in my_zone.
$ gcloud dns record-sets create foo.bar.com. --type=A --ttl=60 \
--zone=routing-policy-test --routing-policy-type=FAILOVER \
--zone=routing-policy-test --routing_policy_type=FAILOVER \
--routing-policy-primary-data='config1' \
--routing-policy-backup-data-type=GEO \
--routing-policy-backup-data='us-centra1=1.2.3.4,2.3.4.5;us-west\
@ -58,8 +58,8 @@ EXAMPLES
my_zone.
$ gcloud dns record-sets create foo.bar.com. --type=A --ttl=60 \
--zone=routing-policy-test --routing-policy-type=GEO \
--routing-policy-data='us-centra1=config1,config2;us-west1=3.4.5\
--zone=routing-policy-test --routing_policy_type=GEO \
--routing_policy_data='us-centra1=config1,config2;us-west1=3.4.5\
.6,9.8.7.6' --enable-health-checking --enable-geo-fencing \
--zone=my_zone
@ -161,6 +161,11 @@ REQUIRED FLAGS
targets even when the primary targets are healthy.
OPTIONAL FLAGS
--location=LOCATION
Specifies the desired service location the request is sent to. Defaults
to Cloud DNS global service. Use --location=global if you want to
target the global service.
--ttl=TTL
TTL (time to live) for the record-set.

View file

@ -3,7 +3,7 @@ NAME
SYNOPSIS
gcloud dns record-sets delete DNS_NAME --type=TYPE --zone=ZONE, -z ZONE
[GCLOUD_WIDE_FLAG ...]
[--location=LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
This command deletes a record-set contained within the specified
@ -26,6 +26,12 @@ REQUIRED FLAGS
--zone=ZONE, -z ZONE
Name of the managed zone whose record sets you want to manage.
OPTIONAL FLAGS
--location=LOCATION
Specifies the desired service location the request is sent to. Defaults
to Cloud DNS global service. Use --location=global if you want to
target the global service.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,

View file

@ -3,7 +3,7 @@ NAME
SYNOPSIS
gcloud dns record-sets describe DNS_NAME --type=TYPE --zone=ZONE, -z ZONE
[GCLOUD_WIDE_FLAG ...]
[--location=LOCATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
This command describes a record-set contained within the specified
@ -27,6 +27,12 @@ REQUIRED FLAGS
--zone=ZONE, -z ZONE
Name of the managed zone whose record sets you want to manage.
OPTIONAL FLAGS
--location=LOCATION
Specifies the desired service location the request is sent to. Defaults
to Cloud DNS global service. Use --location=global if you want to
target the global service.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,

View file

@ -3,7 +3,7 @@ NAME
SYNOPSIS
gcloud dns record-sets export RECORDS_FILE --zone=ZONE, -z ZONE
[--zone-file-format] [GCLOUD_WIDE_FLAG ...]
[--location=LOCATION] [--zone-file-format] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
This command exports the record-sets contained within the specified
@ -34,6 +34,11 @@ REQUIRED FLAGS
Name of the managed zone whose record sets you want to manage.
OPTIONAL FLAGS
--location=LOCATION
Specifies the desired service location the request is sent to. Defaults
to Cloud DNS global service. Use --location=global if you want to
target the global service.
--zone-file-format
Indicates that records-file should be in the zone file format. When
using this flag, expect the record-set to be exported to a BIND zone

View file

@ -3,8 +3,8 @@ NAME
SYNOPSIS
gcloud dns record-sets import RECORDS_FILE --zone=ZONE, -z ZONE
[--delete-all-existing] [--replace-origin-ns] [--zone-file-format]
[GCLOUD_WIDE_FLAG ...]
[--delete-all-existing] [--location=LOCATION] [--replace-origin-ns]
[--zone-file-format] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
This command imports record-sets contained within the specified record-sets
@ -47,6 +47,11 @@ OPTIONAL FLAGS
Indicates that all existing record-sets should be deleted before
importing the record-sets in the records-file.
--location=LOCATION
Specifies the desired service location the request is sent to. Defaults
to Cloud DNS global service. Use --location=global if you want to
target the global service.
--replace-origin-ns
Indicates that NS records for the origin of a zone should be imported
if defined

View file

@ -3,7 +3,7 @@ NAME
managed-zone
SYNOPSIS
gcloud dns record-sets list --zone=ZONE, -z ZONE
gcloud dns record-sets list --zone=ZONE, -z ZONE [--location=LOCATION]
[--name=NAME : --type=TYPE] [--filter=EXPRESSION] [--limit=LIMIT]
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
[GCLOUD_WIDE_FLAG ...]
@ -35,6 +35,11 @@ REQUIRED FLAGS
Name of the managed zone whose record sets you want to manage.
FLAGS
--location=LOCATION
Specifies the desired service location the request is sent to. Defaults
to Cloud DNS global service. Use --location=global if you want to
target the global service.
--name=NAME
Only list record-sets with this exact domain name.

View file

@ -9,8 +9,8 @@ SYNOPSIS
--routing-policy-backup-data-type=ROUTING_POLICY_BACKUP_DATA_TYPE
--routing-policy-primary-data=ROUTING_POLICY_PRIMARY_DATA
: --backup-data-trickle-ratio=BACKUP_DATA_TRICKLE_RATIO])
: --enable-geo-fencing --enable-health-checking]) [--ttl=TTL]
[GCLOUD_WIDE_FLAG ...]
: --enable-geo-fencing --enable-health-checking])
[--location=LOCATION] [--ttl=TTL] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
This command updates a record-set contained within the specified
@ -23,6 +23,14 @@ EXAMPLES
$ gcloud dns record-sets update foo.bar.com. \
--rrdatas=1.2.3.4,9.8.7.6 --type=A --ttl=60 --zone=my_zone
To update a record-set with dnsName foo.bar.com., record type A to have
rrdata [1.2.3.4, 9.8.7.6] and ttl 60 in my_zone that is located in
us-east1-a, run:
$ gcloud dns record-sets update foo.bar.com. \
--rrdatas=1.2.3.4,9.8.7.6 --type=A --ttl=60 --zone=my_zone \
--location=us-east1-a
POSITIONAL ARGUMENTS
DNS_NAME
DNS or domain name of the record-set.
@ -121,6 +129,11 @@ REQUIRED FLAGS
targets even when the primary targets are healthy.
OPTIONAL FLAGS
--location=LOCATION
Specifies the desired service location the request is sent to. Defaults
to Cloud DNS global service. Use --location=global if you want to
target the global service.
--ttl=TTL
TTL (time to live) for the record-set.