Cloud Functions Service, REST: Network.getUsed
Returns the specified network used in serverless resources.
HTTP request
GET https://serverless-functions.api.cloud.yandex.net/functions/v1/networks/used/{networkId}
Path parameters
Parameter | Description |
---|---|
networkId | Required. ID of the network to return. |
Response
HTTP Code: 200 - OK
{
"networkId": "string",
"cloudId": "string",
"folderId": "string",
"status": "string",
"willBeCleanedUpAt": "string",
"connectionsCount": "string"
}
A VPC network used in serverless resources.
Field | Description |
---|---|
networkId | string ID of the VPC network. |
cloudId | string ID of the cloud that the network belongs to. |
folderId | string ID of the folder that the network belongs to. |
status | string Status of the network.
|
willBeCleanedUpAt | string (date-time) Clean-up timestamp of the obsolete network. 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). |
connectionsCount | string (int64) Number of serverless resources connected to the network. |