Cloud Functions Service, REST: Network.listConnectedResources
Retrieves the list of serverless resources connected to any network from the specified scope.
HTTP request
GET https://serverless-functions.api.cloud.yandex.net/functions/v1/networks/connections
Query parameters
Parameter | Description |
---|---|
pageSize | The maximum number of results per page to return. If the number of available results is larger than Default value: 100. The maximum value is 1000. |
pageToken | Page token. To get the next page of results, set The maximum string length in characters is 100. |
networkId | ID of the network to list serverless resources connected to it. |
cloudId | ID of the cloud to list serverless resources connected to any network from it. |
folderId | ID of the folder to list serverless resources connected to any network from it. |
Response
HTTP Code: 200 - OK
{
"resources": [
{
"networkId": "string",
"resourceType": "string",
"resourceId": "string",
"subresourceType": "string",
"subresourceId": "string",
"resourceCloudId": "string",
"resourceFolderId": "string"
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
resources[] | object List of serverless resources connected to any network from the specified scope. |
resources[]. networkId |
string ID of the network to which the resource is connected. |
resources[]. resourceType |
string Type of the serverless resource. |
resources[]. resourceId |
string ID of the serverless resource. |
resources[]. subresourceType |
string Type of the serverless subresource. |
resources[]. subresourceId |
string ID of the serverless subresource. |
resources[]. resourceCloudId |
string ID of the cloud that the resource belongs to. |
resources[]. resourceFolderId |
string ID of the folder thar the resource belongs to. |
nextPageToken | string Token for getting the next page of the list. If the number of results is greater than the specified pageSize, use Each subsequent page will have its own |