Share via


ApiManagementServiceResource.GetNetworkStatusByLocation Method

Definition

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.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/locations/{locationName}/networkstatus
  • Operation Id: NetworkStatus_ListByLocation
  • Default Api Version: 2023-03-01-preview
public virtual Azure.Response<Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract> GetNetworkStatusByLocation (Azure.Core.AzureLocation locationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkStatusByLocation : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract>
override this.GetNetworkStatusByLocation : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract>
Public Overridable Function GetNetworkStatusByLocation (locationName As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetworkStatusContract)

Parameters

locationName
AzureLocation

Location in which the API Management service is deployed. This is one of the Azure Regions like West US, East US, South Central US.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to