SecurityStandardsClient Interface

public interface SecurityStandardsClient

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

Method Summary

Modifier and Type Method and Description
abstract SecurityStandardInner createOrUpdate(String scope, String standardId, SecurityStandardInner standard)

Creates or updates a security standard over a given scope.

abstract Response<SecurityStandardInner> createOrUpdateWithResponse(String scope, String standardId, SecurityStandardInner standard, Context context)

Creates or updates a security standard over a given scope.

abstract void delete(String scope, String standardId)

Delete a security standard over a given scope.

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

Delete a security standard over a given scope.

abstract SecurityStandardInner get(String scope, String standardId)

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

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

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

abstract PagedIterable<SecurityStandardInner> list(String scope)

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

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

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

Method Details

createOrUpdate

public abstract SecurityStandardInner createOrUpdate(String scope, String standardId, SecurityStandardInner standard)

Creates or updates 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.
standard - Custom security standard over a pre-defined scope.

Returns:

security Standard on a resource.

createOrUpdateWithResponse

public abstract Response<SecurityStandardInner> createOrUpdateWithResponse(String scope, String standardId, SecurityStandardInner standard, Context context)

Creates or updates 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.
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 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.

deleteWithResponse

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

getWithResponse

public abstract Response<SecurityStandardInner> 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<SecurityStandardInner> 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<SecurityStandardInner> 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