PolicyDefinitionsOperationsExtensions.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.PolicyDefinition> GetAsync (this Microsoft.Azure.Management.Internal.Resources.IPolicyDefinitionsOperations operations, string policyDefinitionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Internal.Resources.IPolicyDefinitionsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.PolicyDefinition>
<Extension()>
Public Function GetAsync (operations As IPolicyDefinitionsOperations, policyDefinitionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PolicyDefinition)
Parameters
- operations
- IPolicyDefinitionsOperations
- policyDefinitionName
- String
- cancellationToken
- CancellationToken