SecurityStandards Interface

public interface SecurityStandards

Resource collection API of SecurityStandards.

Method Summary

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

Begins definition for a new SecurityStandard resource.

abstract void deleteById(String id)

Delete a security standard over a given scope.

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

Delete a security standard over a given scope.

abstract void deleteByResourceGroup(String scope, String standardId)

Delete a security standard over a given scope.

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

Delete a security standard over a given scope.

abstract SecurityStandard get(String scope, String standardId)

Get a specific security standard for the requested scope by standardId.

abstract SecurityStandard getById(String id)

Get a specific security standard for the requested scope by standardId.

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

Get a specific security standard for the requested scope by standardId.

abstract Response<SecurityStandard> getWithResponse(String scope, String standardId, Context context)

Get a specific security standard for the requested scope by standardId.

abstract PagedIterable<SecurityStandard> list(String scope)

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

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

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

Method Details

define

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

Begins definition for a new SecurityStandard resource.

Parameters:

name - resource name.

Returns:

the first stage of the new SecurityStandard definition.

deleteById

public abstract void deleteById(String id)

Delete a security standard over a given scope.

Parameters:

id - the resource ID.

deleteByIdWithResponse

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

Delete a security standard over a given scope.

Parameters:

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

Returns:

deleteByResourceGroup

public abstract void deleteByResourceGroup(String scope, String standardId)

Delete a security standard over a given scope.

Parameters:

scope - The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
standardId - The Security Standard key - unique key for the standard type.

deleteByResourceGroupWithResponse

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

Delete a security standard over a given scope.

Parameters:

scope - The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
standardId - The Security Standard key - unique key for the standard type.
context - The context to associate with this operation.

Returns:

get

public abstract SecurityStandard get(String scope, String standardId)

Get a specific security standard for the requested scope by standardId.

Parameters:

scope - The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
standardId - The Security Standard key - unique key for the standard type.

Returns:

a specific security standard for the requested scope by standardId.

getById

public abstract SecurityStandard getById(String id)

Get a specific security standard for the requested scope by standardId.

Parameters:

id - the resource ID.

Returns:

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

getByIdWithResponse

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

Get a specific security standard for the requested scope by standardId.

Parameters:

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

Returns:

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

getWithResponse

public abstract Response<SecurityStandard> getWithResponse(String scope, String standardId, Context context)

Get a specific security standard for the requested scope by standardId.

Parameters:

scope - The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
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 by standardId along with Response<T>.

list

public abstract PagedIterable<SecurityStandard> list(String scope)

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

Parameters:

scope - The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.

Returns:

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

list

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

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

Parameters:

scope - The scope of the security standard. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'.
context - The context to associate with this operation.

Returns:

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

Applies to