CompliancesOperationsExtensions.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.
Details of a specific Compliance.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.Compliance> GetAsync(this Microsoft.Azure.Management.Security.ICompliancesOperations operations, string scope, string complianceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Security.ICompliancesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.Compliance>
<Extension()>
Public Function GetAsync (operations As ICompliancesOperations, scope As String, complianceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Compliance)
Parameters
- operations
- ICompliancesOperations
The operations group for this extension method.
- scope
- String
Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).
- complianceName
- String
name of the Compliance
- cancellationToken
- CancellationToken
The cancellation token.