azureVNets
Gets the VNets for the given subscription.
Arguments
| Argument |
Type |
Description |
| tenantId (required) |
String! |
|
| subscriptionId (required) |
UUID! |
|
| regionName (required) |
String! |
|
Returns
VnetConnection!
Sample
query AzureVNets($tenantId: String!, $subscriptionId: UUID!, $regionName: String!) {
azureVNets(
tenantId: $tenantId
subscriptionId: $subscriptionId
regionName: $regionName
) {
nodes {
id
name
regionName
}
pageInfo {
hasNextPage
endCursor
}
}
}
{
"tenantId": "example-string",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"regionName": "example-string"
}
{
"data": {
"azureVNets": {
"nodes": [
[
{
"id": "example-string",
"name": "example-string",
"regionName": "example-string"
}
]
],
"pageInfo": {
"endCursor": "example-string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "example-string"
}
}
}
}