PolicyOperationsExtensions.GetAsync(IPolicyOperations, String, String, CancellationToken) PolicyOperationsExtensions.GetAsync(IPolicyOperations, String, String, CancellationToken) Method

Definition

Get the Global policy definition of the Api Management service.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.PolicyContract> GetAsync (this Microsoft.Azure.Management.ApiManagement.IPolicyOperations operations, string resourceGroupName, string serviceName, System.Threading.CancellationToken cancellationToken = null);
static member GetAsync : Microsoft.Azure.Management.ApiManagement.IPolicyOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.PolicyContract>

Parameters

operations
IPolicyOperations IPolicyOperations

The operations group for this extension method.

resourceGroupName
String String

The name of the resource group.

serviceName
String String

The name of the API Management service.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Applies to