ComplianceResults interface

Interface representing a ComplianceResults.

Methods

get(string, string, ComplianceResultsGetOptionalParams)

Security Compliance Result

list(string, ComplianceResultsListOptionalParams)

Security compliance results in the subscription

Method Details

get(string, string, ComplianceResultsGetOptionalParams)

Security Compliance Result

function get(resourceId: string, complianceResultName: string, options?: ComplianceResultsGetOptionalParams): Promise<ComplianceResult>

Parameters

resourceId

string

The identifier of the resource.

complianceResultName

string

name of the desired assessment compliance result

options
ComplianceResultsGetOptionalParams

The options parameters.

Returns

Promise<ComplianceResult>

list(string, ComplianceResultsListOptionalParams)

Security compliance results in the subscription

function list(scope: string, options?: ComplianceResultsListOptionalParams): PagedAsyncIterableIterator<ComplianceResult, ComplianceResult[], 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
ComplianceResultsListOptionalParams

The options parameters.

Returns