ComplianceResultsClient Interface

public interface ComplianceResultsClient

An instance of this class provides access to all the operations defined in ComplianceResultsClient.

Method Summary

Modifier and Type Method and Description
abstract ComplianceResultInner get(String resourceId, String complianceResultName)

Security Compliance Result.

abstract Response<ComplianceResultInner> getWithResponse(String resourceId, String complianceResultName, Context context)

Security Compliance Result.

abstract PagedIterable<ComplianceResultInner> list(String scope)

Security compliance results in the subscription.

abstract PagedIterable<ComplianceResultInner> list(String scope, Context context)

Security compliance results in the subscription.

Method Details

get

public abstract ComplianceResultInner get(String resourceId, String complianceResultName)

Security Compliance Result.

Parameters:

resourceId - The identifier of the resource.
complianceResultName - name of the desired assessment compliance result.

Returns:

a compliance result.

getWithResponse

public abstract Response<ComplianceResultInner> getWithResponse(String resourceId, String complianceResultName, Context context)

Security Compliance Result.

Parameters:

resourceId - The identifier of the resource.
complianceResultName - name of the desired assessment compliance result.
context - The context to associate with this operation.

Returns:

a compliance result along with Response<T>.

list

public abstract PagedIterable<ComplianceResultInner> list(String scope)

Security compliance results in the subscription.

Parameters:

scope - Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).

Returns:

list of compliance results response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ComplianceResultInner> list(String scope, Context context)

Security compliance results in the subscription.

Parameters:

scope - Scope of the query, can be subscription (/subscriptions/0b06d9ea-afe6-4779-bd59-30e5c2d9d13f) or management group (/providers/Microsoft.Management/managementGroups/mgName).
context - The context to associate with this operation.

Returns:

list of compliance results response as paginated response with PagedIterable<T>.

Applies to