Compartilhar via


PolicyDefinitionsOperationsExtensions.GetAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicyDefinition> GetAsync (this Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.IPolicyDefinitionsOperations operations, string policyDefinitionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.IPolicyDefinitionsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicyDefinition>
<Extension()>
Public Function GetAsync (operations As IPolicyDefinitionsOperations, policyDefinitionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PolicyDefinition)

Parameters

policyDefinitionName
String
cancellationToken
CancellationToken

Returns

Applies to