Virtual Private Cloud API, REST: Network.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",
"defaultSecurityGroupId": "string"
}
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. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
name | string Name of the network. The name is unique within the folder. Value must match the regular expression |
description | string Optional description of the network. 0-256 characters long. |
labels | object Resource labels as |
defaultSecurityGroupId | string ID of default security group for network. |