Share via


PolicyMetadataResource.GetAsync(CancellationToken) Method

Definition

Get policy metadata resource.

  • Request Path: /providers/Microsoft.PolicyInsights/policyMetadata/{resourceName}
  • Operation Id: PolicyMetadata_GetResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PolicyInsights.PolicyMetadataResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PolicyInsights.PolicyMetadataResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PolicyInsights.PolicyMetadataResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PolicyMetadataResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to