Subnet

A set of methods for managing Subnet resources.

JSON Representation

 {
  "id": "string",
  "folderId": "string",
  "createdAt": "string",
  "name": "string",
  "description": "string",
  "labels": "object",
  "networkId": "string",
  "zoneId": "string",
  "v4CidrBlocks": [
    "string"
  ],
  "v6CidrBlocks": [
    "string"
  ],
  "routeTableId": "string"
}

Methods

Method Description
create Creates a subnet in the specified folder and network. Method starts an asynchronous operation that can be cancelled while it is in progress.
delete Deletes the specified subnet.
get Returns the specified Subnet resource.
list Retrieves the list of Subnet resources in the specified folder.
listOperations List operations for the specified subnet.
update Updates the specified subnet. Method starts an asynchronous operation that can be cancelled while it is in progress.