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 - The fully qualified Azure Resource manager identifier of the resource.
complianceName - name of the Compliance.

Returns:

compliance of a scope.

getWithResponse

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

Details of a specific Compliance.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
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<Compliance> list(String scope)

The Compliance scores of the specific management group.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.

Returns:

list of Compliance objects response as paginated response with PagedIterable<T>.

list

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

The Compliance scores of the specific management group.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
context - The context to associate with this operation.

Returns:

list of Compliance objects response as paginated response with PagedIterable<T>.

Applies to