Udostępnij za pośrednictwem


NetworkStatusOperationsExtensions.ListByLocationAsync 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.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.NetworkStatusContract> ListByLocationAsync (this Microsoft.Azure.Management.ApiManagement.INetworkStatusOperations operations, string resourceGroupName, string serviceName, string locationName, System.Threading.CancellationToken cancellationToken = default);
static member ListByLocationAsync : Microsoft.Azure.Management.ApiManagement.INetworkStatusOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.NetworkStatusContract>
<Extension()>
Public Function ListByLocationAsync (operations As INetworkStatusOperations, resourceGroupName As String, serviceName As String, locationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NetworkStatusContract)

Parameters

operations
INetworkStatusOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

locationName
String

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.

Returns

Applies to