Compliances Interface

public interface Compliances

Resource collection API of Compliances.

Method Summary

Modifier and Type Method and Description
abstract Compliance get(String scope, String complianceName)

Details of a specific Compliance.

abstract Response<Compliance> getWithResponse(String scope, String complianceName, Context context)

Details of a specific Compliance.

abstract PagedIterable<Compliance> list(String scope)

The Compliance scores of the specific management group.

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

The Compliance scores of the specific management group.

Method Details

get

public abstract Compliance get(String scope, String complianceName)

Details of a specific Compliance.

Parameters:

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

Returns:

compliance of a scope.

getWithResponse

public abstract Response getWithResponse(String scope, String complianceName, Context context)

Details of a specific Compliance.

Parameters:

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

Returns:

compliance of a scope along with Response<T>.

list

public abstract PagedIterable list(String scope)

The Compliance scores of the specific management group.

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 objects response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String scope, Context context)

The Compliance scores of the specific management group.

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 objects response as paginated response with PagedIterable<T>.

Applies to