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
Field |
Description |
networkId |
string Required field. ID of the Network resource to return. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "string",
"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 String in RFC3339 To work with values in this field, use the APIs described in the |
name |
string Name of the network. |
description |
string Optional description of the network. 0-256 characters long. |
labels |
string Resource labels as |
defaultSecurityGroupId |
string ID of default security group for network. |