Standards Interface

public interface Standards

Resource collection API of Standards.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new Standard resource.

abstract void deleteById(String id)

Delete a security standard on a scope.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Delete a security standard on a scope.

abstract void deleteByResourceGroup(String resourceGroupName, String standardId)

Delete a security standard on a scope.

abstract Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String standardId, Context context)

Delete a security standard on a scope.

abstract Standard getById(String id)

Get a specific security standard for the requested scope.

abstract Response<Standard> getByIdWithResponse(String id, Context context)

Get a specific security standard for the requested scope.

abstract Standard getByResourceGroup(String resourceGroupName, String standardId)

Get a specific security standard for the requested scope.

abstract Response<Standard> getByResourceGroupWithResponse(String resourceGroupName, String standardId, Context context)

Get a specific security standard for the requested scope.

abstract PagedIterable<Standard> list()

Get a list of all relevant security standards over a subscription level scope.

abstract PagedIterable<Standard> list(Context context)

Get a list of all relevant security standards over a subscription level scope.

abstract PagedIterable<Standard> listByResourceGroup(String resourceGroupName)

Get security standards on all your resources inside a scope.

abstract PagedIterable<Standard> listByResourceGroup(String resourceGroupName, Context context)

Get security standards on all your resources inside a scope.

Method Details

define

public abstract Standard.DefinitionStages.Blank define(String name)

Begins definition for a new Standard resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Standard definition.

deleteById

public abstract void deleteById(String id)

Delete a security standard on a scope.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Delete a security standard on a scope.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String standardId)

Delete a security standard on a scope.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
standardId - The Security Standard key - unique key for the standard type.

deleteByResourceGroupWithResponse

public abstract Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String standardId, Context context)

Delete a security standard on a scope.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
standardId - The Security Standard key - unique key for the standard type.
context - The context to associate with this operation.

Returns:

getById

public abstract Standard getById(String id)

Get a specific security standard for the requested scope.

Parameters:

id - the resource ID.

Returns:

a specific security standard for the requested scope along with Response<T>.

getByIdWithResponse

public abstract Response<Standard> getByIdWithResponse(String id, Context context)

Get a specific security standard for the requested scope.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a specific security standard for the requested scope along with Response<T>.

getByResourceGroup

public abstract Standard getByResourceGroup(String resourceGroupName, String standardId)

Get a specific security standard for the requested scope.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
standardId - The Security Standard key - unique key for the standard type.

Returns:

a specific security standard for the requested scope.

getByResourceGroupWithResponse

public abstract Response<Standard> getByResourceGroupWithResponse(String resourceGroupName, String standardId, Context context)

Get a specific security standard for the requested scope.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
standardId - The Security Standard key - unique key for the standard type.
context - The context to associate with this operation.

Returns:

a specific security standard for the requested scope along with Response<T>.

list

public abstract PagedIterable<Standard> list()

Get a list of all relevant security standards over a subscription level scope.

Returns:

a list of all relevant security standards over a subscription level scope as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<Standard> list(Context context)

Get a list of all relevant security standards over a subscription level scope.

Parameters:

context - The context to associate with this operation.

Returns:

a list of all relevant security standards over a subscription level scope as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<Standard> listByResourceGroup(String resourceGroupName)

Get security standards on all your resources inside a scope.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

security standards on all your resources inside a scope as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<Standard> listByResourceGroup(String resourceGroupName, Context context)

Get security standards on all your resources inside a scope.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

security standards on all your resources inside a scope as paginated response with PagedIterable<T>.

Applies to