Share via


ApiManagementServiceResource.GetNetworkStatusByLocationAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract>> GetNetworkStatusByLocationAsync (Azure.Core.AzureLocation locationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkStatusByLocationAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract>>
override this.GetNetworkStatusByLocationAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract>>
Public Overridable Function GetNetworkStatusByLocationAsync (locationName As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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