Skip to main content

network_status

Creates, updates, deletes, gets or lists a network_status resource.

Overview

Namenetwork_status
TypeResource
Idazure.api_management.network_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
connectivityStatusarrayGets the list of Connectivity Status to the Resources on which the service depends upon. Required.
dnsServersarrayGets the list of DNS servers IPV4 addresses. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_locationselectresource_group_name, service_name, location_name, subscription_idGets the Connectivity Status to the external resources on which the Api Management service depends from inside the Cloud Service. This also returns the DNS Servers as visible to the CloudService.
list_by_serviceselectresource_group_name, service_name, subscription_idGets the Connectivity Status to the external resources on which the Api Management service depends from inside the Cloud Service. This also returns the DNS Servers as visible to the CloudService.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
location_namestringLocation in which the API Management service is deployed. This is one of the Azure Regions like West US, East US, South Central US. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
service_namestringThe name of the API Management service. Required.
subscription_idstring

SELECT examples

Gets the Connectivity Status to the external resources on which the Api Management service depends from inside the Cloud Service. This also returns the DNS Servers as visible to the CloudService.

SELECT
connectivityStatus,
dnsServers
FROM azure.api_management.network_status
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND location_name = '{{ location_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;