1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-19 07:15:23 +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.