DataPolicyManifestsOperationsExtensions.GetByPolicyModeAsync 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET