mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed May 15 09:19:06 UTC 2024
This commit is contained in:
parent
e8259d86b1
commit
3b84182be4
193 changed files with 10091 additions and 581 deletions
|
|
@ -671,9 +671,9 @@ FLAGS
|
|||
Adds a network interface to the instance. Mutually exclusive with any
|
||||
of these flags: --address, --network, --network-tier, --subnet,
|
||||
--private-network-ip, --stack-type, --ipv6-network-tier,
|
||||
--ipv6-public-ptr-domain, --internal-ipv6-address,
|
||||
--internal-ipv6-prefix-length, --ipv6-address, --ipv6-prefix-length,
|
||||
--external-ipv6-address, --external-ipv6-prefix-length. This flag can
|
||||
--internal-ipv6-address, --internal-ipv6-prefix-length, --ipv6-address,
|
||||
--ipv6-prefix-length, --external-ipv6-address,
|
||||
--external-ipv6-prefix-length, --ipv6-public-ptr-domain. This flag can
|
||||
be repeated to specify multiple network interfaces.
|
||||
|
||||
The following keys are allowed:
|
||||
|
|
@ -726,6 +726,30 @@ FLAGS
|
|||
instance network interface IPv6 access config. IPV6_NETWORK_TIER
|
||||
must be PREMIUM (currently only one value is supported).
|
||||
|
||||
internal-ipv6-address
|
||||
Assigns the given internal IPv6 address or range to the instance
|
||||
that is created. The address must be the first IP address in the
|
||||
range or from a /96 IP address range. This option can be used only
|
||||
when creating a single instance.
|
||||
|
||||
internal-ipv6-prefix-length
|
||||
Optional field that indicates the prefix length of the internal
|
||||
IPv6 address range. It should be used together with
|
||||
internal-ipv6-address. Only /96 IP address range is supported and
|
||||
the default value is 96. If not set, either the prefix length from
|
||||
--internal-ipv6-address will be used or the default value of 96
|
||||
will be assigned.
|
||||
|
||||
external-ipv6-address
|
||||
Assigns the given external IPv6 address to the instance that is
|
||||
created. The address must be the first IP address in the range.
|
||||
This option can be used only when creating a single instance.
|
||||
|
||||
external-ipv6-prefix-length
|
||||
The prefix length of the external IPv6 address range. This field
|
||||
should be used together with external-ipv6-address. Only the /96 IP
|
||||
address range is supported, and the default value is 96.
|
||||
|
||||
ipv6-public-ptr-domain
|
||||
Assigns a custom PTR domain for the external IPv6 in the IPv6
|
||||
access configuration of instance. If its value is not specified,
|
||||
|
|
@ -875,8 +899,7 @@ FLAGS
|
|||
The name of the instance template that the instance will be created
|
||||
from. An instance template can be a global/regional resource.
|
||||
|
||||
Users can also override machine type and labels. Values of other flags
|
||||
will be ignored and --source-instance-template will be used instead.
|
||||
Users can override instance properties using other flags.
|
||||
|
||||
--source-machine-image=SOURCE_MACHINE_IMAGE
|
||||
The name of the machine image that the instance will be created from.
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ SYNOPSIS
|
|||
[--external-ipv6-prefix-length=EXTERNAL_IPV6_PREFIX_LENGTH]
|
||||
[--host-error-timeout-seconds=HOST_ERROR_TIMEOUT_SECONDS]
|
||||
[--instance-termination-action=INSTANCE_TERMINATION_ACTION]
|
||||
[--internal-ipv6-address=INTERNAL_IPV6_ADDRESS]
|
||||
[--internal-ipv6-prefix-length=INTERNAL_IPV6_PREFIX_LENGTH]
|
||||
[--ipv6-network-tier=IPV6_NETWORK_TIER] [--labels=[KEY=VALUE,...]]
|
||||
[--local-ssd=[device-name=DEVICE-NAME],[interface=INTERFACE]]
|
||||
[--local-ssd-recovery-timeout=LOCAL_SSD_RECOVERY_TIMEOUT]
|
||||
|
|
@ -57,6 +59,8 @@ SYNOPSIS
|
|||
[--image-project=IMAGE_PROJECT --image=IMAGE
|
||||
| --image-family=IMAGE_FAMILY] [--public-ptr | --no-public-ptr]
|
||||
[--public-ptr-domain=PUBLIC_PTR_DOMAIN | --no-public-ptr-domain]
|
||||
[--reservation=RESERVATION
|
||||
--reservation-affinity=RESERVATION_AFFINITY; default="any"]
|
||||
[--scopes=[SCOPE,...] | --no-scopes]
|
||||
[--service-account=SERVICE_ACCOUNT | --no-service-account]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -456,6 +460,19 @@ FLAGS
|
|||
Default only for Spot VMs. Stop the VM without preserving memory.
|
||||
The VM can be restarted later.
|
||||
|
||||
--internal-ipv6-address=INTERNAL_IPV6_ADDRESS
|
||||
Assigns the given internal IPv6 address or range to the instance that
|
||||
is created. The address must be the first IP address in the range or
|
||||
from a /96 IP address range. This option can be used only when creating
|
||||
a single instance.
|
||||
|
||||
--internal-ipv6-prefix-length=INTERNAL_IPV6_PREFIX_LENGTH
|
||||
Optional field that indicates the prefix length of the internal IPv6
|
||||
address range. It should be used together with --internal-ipv6-address.
|
||||
Only /96 IP address range is supported and the default value is 96. If
|
||||
not set, either the prefix length from --internal-ipv6-address will be
|
||||
used or the default value of 96 will be assigned.
|
||||
|
||||
--ipv6-network-tier=IPV6_NETWORK_TIER
|
||||
Specifies the IPv6 network tier that will be used to configure the
|
||||
instance network interface IPv6 access config. IPV6_NETWORK_TIER must
|
||||
|
|
@ -570,8 +587,11 @@ FLAGS
|
|||
--network-interface=[PROPERTY=VALUE,...]
|
||||
Adds a network interface to the instance. Mutually exclusive with any
|
||||
of these flags: --address, --network, --network-tier, --subnet,
|
||||
--private-network-ip. This flag can be repeated to specify multiple
|
||||
network interfaces.
|
||||
--private-network-ip, --stack-type, --ipv6-network-tier,
|
||||
--internal-ipv6-address, --internal-ipv6-prefix-length, --ipv6-address,
|
||||
--ipv6-prefix-length, --external-ipv6-address,
|
||||
--external-ipv6-prefix-length. This flag can be repeated to specify
|
||||
multiple network interfaces.
|
||||
|
||||
The following keys are allowed:
|
||||
address
|
||||
|
|
@ -607,6 +627,39 @@ FLAGS
|
|||
Specifies the Network Interface Controller (NIC) type for the
|
||||
interface. NIC_TYPE must be one of: GVNIC, VIRTIO_NET.
|
||||
|
||||
stack-type
|
||||
Specifies whether IPv6 is enabled on the interface. STACK_TYPE must
|
||||
be one of: IPV4_ONLY, IPV4_IPV6. The default value is IPV4_ONLY.
|
||||
|
||||
ipv6-network-tier
|
||||
Specifies the IPv6 network tier that will be used to configure the
|
||||
instance network interface IPv6 access config. IPV6_NETWORK_TIER
|
||||
must be PREMIUM (currently only one value is supported).
|
||||
|
||||
internal-ipv6-address
|
||||
Assigns the given internal IPv6 address or range to the instance
|
||||
that is created. The address must be the first IP address in the
|
||||
range or from a /96 IP address range. This option can be used only
|
||||
when creating a single instance.
|
||||
|
||||
internal-ipv6-prefix-length
|
||||
Optional field that indicates the prefix length of the internal
|
||||
IPv6 address range. It should be used together with
|
||||
internal-ipv6-address. Only /96 IP address range is supported and
|
||||
the default value is 96. If not set, either the prefix length from
|
||||
--internal-ipv6-address will be used or the default value of 96
|
||||
will be assigned.
|
||||
|
||||
external-ipv6-address
|
||||
Assigns the given external IPv6 address to the instance that is
|
||||
created. The address must be the first IP address in the range.
|
||||
This option can be used only when creating a single instance.
|
||||
|
||||
external-ipv6-prefix-length
|
||||
The prefix length of the external IPv6 address range. This field
|
||||
should be used together with external-ipv6-address. Only the /96 IP
|
||||
address range is supported, and the default value is 96.
|
||||
|
||||
aliases
|
||||
Specifies the IP alias ranges to allocate for this interface. If
|
||||
there are multiple IP alias ranges, they are separated by
|
||||
|
|
@ -711,8 +764,7 @@ FLAGS
|
|||
The name of the instance template that the instance will be created
|
||||
from. An instance template can be a global/regional resource.
|
||||
|
||||
Users can also override machine type and labels. Values of other flags
|
||||
will be ignored and --source-instance-template will be used instead.
|
||||
Users can override instance properties using other flags.
|
||||
|
||||
--stack-type=STACK_TYPE
|
||||
Specifies whether IPv6 is enabled on the default network interface. If
|
||||
|
|
@ -913,6 +965,32 @@ FLAGS
|
|||
record for the external IP of the instance with the PTR domain name
|
||||
being the DNS name of the instance.
|
||||
|
||||
Specifies the reservation for the instance.
|
||||
|
||||
--reservation=RESERVATION
|
||||
The name of the reservation, required when --reservation-affinity is
|
||||
one of: specific, specific-then-any-reservation or
|
||||
specific-then-no-reservation.
|
||||
|
||||
--reservation-affinity=RESERVATION_AFFINITY; default="any"
|
||||
The type of reservation for the instance. RESERVATION_AFFINITY must
|
||||
be one of:
|
||||
|
||||
any
|
||||
Consume any available, matching reservation.
|
||||
none
|
||||
Do not consume from any reserved capacity.
|
||||
specific
|
||||
Must consume from a specific reservation.
|
||||
specific-then-any-reservation
|
||||
Prefer to consume from a specific reservation, but still consume
|
||||
any available matching reservation if the specified reservation
|
||||
is not available or exhausted.
|
||||
specific-then-no-reservation
|
||||
Prefer to consume from a specific reservation, but still consume
|
||||
from the on-demand pool if the specified reservation is not
|
||||
available or exhausted.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--scopes=[SCOPE,...]
|
||||
|
|
|
|||
|
|
@ -113,8 +113,8 @@ COMMANDS
|
|||
(BETA) List Compute Engine instances.
|
||||
|
||||
move
|
||||
(BETA) Move an instance and its attached persistent disks between
|
||||
zones.
|
||||
(BETA) (DEPRECATED) Move an instance and its attached persistent disks
|
||||
between zones.
|
||||
|
||||
patch-partner-metadata
|
||||
(BETA) Patch partner metadata.
|
||||
|
|
|
|||
|
|
@ -8,10 +8,14 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) gcloud beta compute instances move moves a Compute Engine virtual
|
||||
machine from one zone to another. Moving a virtual machine might incur
|
||||
downtime if the guest OS must be shut down in order to quiesce disk volumes
|
||||
prior to snapshotting.
|
||||
(BETA) (DEPRECATED) This command is deprecated. Please see
|
||||
https://cloud.google.com/compute/docs/instances/moving-instance-across-zones
|
||||
for an alternative method.
|
||||
|
||||
gcloud beta compute instances move moves a Compute Engine virtual machine
|
||||
from one zone to another. Moving a virtual machine might incur downtime if
|
||||
the guest OS must be shut down in order to quiesce disk volumes prior to
|
||||
snapshotting.
|
||||
|
||||
For example, running the following command moves the instance called
|
||||
example-instance-1 with its attached persistent disks, currently running in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue