Delen via


NetworkStatusOperationsExtensions.ListByServiceAsync 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<System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.NetworkStatusContractByLocation>> ListByServiceAsync (this Microsoft.Azure.Management.ApiManagement.INetworkStatusOperations operations, string resourceGroupName, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member ListByServiceAsync : Microsoft.Azure.Management.ApiManagement.INetworkStatusOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.NetworkStatusContractByLocation>>
<Extension()>
Public Function ListByServiceAsync (operations As INetworkStatusOperations, resourceGroupName As String, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of NetworkStatusContractByLocation))

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to