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:

Gets the Network status details.

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_locationselectsubscriptionId, resourceGroupName, serviceName, locationNameGets 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_serviceexecsubscriptionId, resourceGroupName, serviceNameGets 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
locationNamestringLocation in which the API Management service is deployed. This is one of the Azure Regions like West US, East US, South Central US.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
serviceNamestringThe name of the API Management service.
subscriptionIdstringThe ID of the target subscription.

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 subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND locationName = '{{ locationName }}' -- required
;

Lifecycle Methods

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.

EXEC azure.api_management.network_status.list_by_service 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@serviceName='{{ serviceName }}' --required
;