StandardsClient Interface

public interface StandardsClient

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

Method Summary

Modifier and Type Method and Description
abstract StandardInner createOrUpdate(String resourceGroupName, String standardId, StandardInner standard)

Create a security standard on the given scope.

abstract Response<StandardInner> createOrUpdateWithResponse(String resourceGroupName, String standardId, StandardInner standard, Context context)

Create a security standard on the given scope.

abstract void delete(String resourceGroupName, String standardId)

Delete a security standard on a scope.

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

Delete a security standard on a scope.

abstract StandardInner getByResourceGroup(String resourceGroupName, String standardId)

Get a specific security standard for the requested scope.

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

Get a specific security standard for the requested scope.

abstract PagedIterable<StandardInner> list()

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

abstract PagedIterable<StandardInner> list(Context context)

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

abstract PagedIterable<StandardInner> listByResourceGroup(String resourceGroupName)

Get security standards on all your resources inside a scope.

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

Get security standards on all your resources inside a scope.

Method Details

createOrUpdate

public abstract StandardInner createOrUpdate(String resourceGroupName, String standardId, StandardInner standard)

Create a security standard on the given scope. Available only for custom standards. Will create/update the required standard definitions.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
standardId - The Security Standard key - unique key for the standard type.
standard - Custom security standard over a pre-defined scope.

Returns:

security Standard on a resource.

createOrUpdateWithResponse

public abstract Response<StandardInner> createOrUpdateWithResponse(String resourceGroupName, String standardId, StandardInner standard, Context context)

Create a security standard on the given scope. Available only for custom standards. Will create/update the required standard definitions.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
standardId - The Security Standard key - unique key for the standard type.
standard - Custom security standard over a pre-defined scope.
context - The context to associate with this operation.

Returns:

security Standard on a resource along with Response<T>.

delete

public abstract void delete(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.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(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:

getByResourceGroup

public abstract StandardInner 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<StandardInner> 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<StandardInner> 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<StandardInner> 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<StandardInner> 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<StandardInner> 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