Compliances interface
Interface representing a Compliances.
Methods
get(string, string, Compliances |
Details of a specific Compliance. |
list(string, Compliances |
The Compliance scores of the specific management group. |
Method Details
get(string, string, CompliancesGetOptionalParams)
Details of a specific Compliance.
function get(scope: string, complianceName: string, options?: CompliancesGetOptionalParams): Promise<Compliance>
Parameters
- 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
- options
- CompliancesGetOptionalParams
The options parameters.
Returns
Promise<Compliance>
list(string, CompliancesListOptionalParams)
The Compliance scores of the specific management group.
function list(scope: string, options?: CompliancesListOptionalParams): PagedAsyncIterableIterator<Compliance, Compliance[], PageSettings>
Parameters
- scope
-
string
Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).
- options
- CompliancesListOptionalParams
The options parameters.
Returns
Azure SDK for JavaScript