Skip to content

azureO365CheckNetworkSubnet

CheckAzureNetworkSubnet checks that the given subnet conforms to the requirements for the Exocompute config.

Arguments

Argument Type Description
tenantId (required) String! The Azure tenant ID.
subscriptionId (required) UUID! The Azure subscription ID.
resourceGroupName (required) String! The Azure resource group name.
vnet_name (required) String! The Azure virtual network name.
subnet_name (required) String! The Azure subnet name.
strict_addr_check (required) Boolean! Whether to fail if any address in the subnet is in use.

Returns

AzureNetworkSubnetResp!

Sample

query AzureO365CheckNetworkSubnet($tenantId: String!, $subscriptionId: UUID!, $resourceGroupName: String!, $vnet_name: String!, $subnet_name: String!, $strict_addr_check: Boolean!) {
  azureO365CheckNetworkSubnet(
    tenantId: $tenantId
    subscriptionId: $subscriptionId
    resourceGroupName: $resourceGroupName
    vnet_name: $vnet_name
    subnet_name: $subnet_name
    strict_addr_check: $strict_addr_check
  ) {
    valid
  }
}
{
  "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": {
    "azureO365CheckNetworkSubnet": {
      "valid": true
    }
  }
}