Skip to content

azureO365GetNetworkSubnetUnusedAddr

Retrieves the unused addresses available in a subnet.

Arguments

Argument Type Description
tenantId (required) String!
subscriptionId (required) UUID!
resourceGroupName (required) String!
vnet_name (required) String!
subnet_name (required) String!
strict_addr_check (required) Boolean!

Returns

AzureNetworkSubnetUnusedAddrResp!

Sample

query AzureO365GetNetworkSubnetUnusedAddr($tenantId: String!, $subscriptionId: UUID!, $resourceGroupName: String!, $vnet_name: String!, $subnet_name: String!, $strict_addr_check: Boolean!) {
  azureO365GetNetworkSubnetUnusedAddr(
    tenantId: $tenantId
    subscriptionId: $subscriptionId
    resourceGroupName: $resourceGroupName
    vnet_name: $vnet_name
    subnet_name: $subnet_name
    strict_addr_check: $strict_addr_check
  ) {
    unusedAddr
  }
}
{
  "tenantId": "example-string",
  "subscriptionId": "00000000-0000-0000-0000-000000000000",
  "resourceGroupName": "example-string",
  "vnet_name": "example-string",
  "subnet_name": "example-string",
  "strict_addr_check": true
}
{
  "data": {
    "azureO365GetNetworkSubnetUnusedAddr": {
      "unusedAddr": 0
    }
  }
}