다음을 통해 공유


DataPolicyManifestsOperationsExtensions.GetByPolicyModeAsync Method

Definition

Retrieves a data policy manifest.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DataPolicyManifest> GetByPolicyModeAsync (this Microsoft.Azure.Management.ResourceManager.IDataPolicyManifestsOperations operations, string policyMode, System.Threading.CancellationToken cancellationToken = default);
static member GetByPolicyModeAsync : Microsoft.Azure.Management.ResourceManager.IDataPolicyManifestsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DataPolicyManifest>
<Extension()>
Public Function GetByPolicyModeAsync (operations As IDataPolicyManifestsOperations, policyMode As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DataPolicyManifest)

Parameters

operations
IDataPolicyManifestsOperations

The operations group for this extension method.

policyMode
String

The policy mode of the data policy manifest to get.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

This operation retrieves the data policy manifest with the given policy mode.

Applies to