- NAME
-
- gcloud compute networks subnets - list, describe, and delete, and update Compute Engine subnetworks
- SYNOPSIS
-
-
gcloud compute networks subnets
COMMAND
[GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
Read and manipulate VPC subnetworks.
For more information about VPC, see the VPC documentation.
See also: Subnetworks API.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help
.Run
$ gcloud help
for details. - COMMANDS
-
is one of the following:COMMAND
add-iam-policy-binding
- Add an IAM policy binding to a Compute Engine subnetwork.
create
- Define a subnet for a network in custom subnet mode.
delete
- Delete Google Cloud subnetworks.
describe
- Describe a Compute Engine subnetwork.
expand-ip-range
- Expand the IP range of a Compute Engine subnetwork.
get-iam-policy
- Get the IAM policy for a Compute Engine subnetwork.
list
- List Google Compute Engine subnetworks.
list-usable
- List Compute Engine subnetworks permitted for use.
remove-iam-policy-binding
- Remove an IAM policy binding from a Compute Engine subnetwork.
set-iam-policy
- Set the IAM policy for a Compute Engine subnetwork.
update
- Updates properties of an existing Compute Engine subnetwork.
- NOTES
-
These variants are also available:
gcloud alpha compute networks subnets
gcloud beta compute networks subnets
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-04-23 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2024-04-23 UTC.",
"state": ""
}