Method get

Returns the specified Network resource.

Get the list of available Network resources by making a list request.

HTTP request

GET https://vpc.api.cloud.yandex.net/vpc/v1/networks/{networkId}

Path parameters

Parameter Description
networkId Required. ID of the Network resource to return. To get the network ID, use a list request. The maximum string length in characters is 50.

Response

HTTP Code: 200 - OK

{
  "id": "string",
  "folderId": "string",
  "createdAt": "string",
  "name": "string",
  "description": "string",
  "labels": "object"
}

A Network resource. For more information, see Networks.

Field Description
id string

ID of the network.

folderId string

ID of the folder that the network belongs to.

createdAt string (date-time)

Creation timestamp in RFC3339 text format.

String in RFC3339 text format.

name string

Name of the network. The name is unique within the folder. 3-63 characters long.

description string

Optional description of the network. 0-256 characters long.

labels object

Resource labels as key:value pairs. Мaximum of 64 per resource.