SecurityOperators Interface

public interface SecurityOperators

Resource collection API of SecurityOperators.

Method Summary

Modifier and Type Method and Description
abstract SecurityOperator createOrUpdate(String pricingName, String securityOperatorName)

Creates Microsoft Defender for Cloud security operator on the given scope.

abstract Response<SecurityOperator> createOrUpdateWithResponse(String pricingName, String securityOperatorName, Context context)

Creates Microsoft Defender for Cloud security operator on the given scope.

abstract void deleteByResourceGroup(String pricingName, String securityOperatorName)

Delete Microsoft Defender for Cloud securityOperator in the subscription.

abstract Response<Void> deleteByResourceGroupWithResponse(String pricingName, String securityOperatorName, Context context)

Delete Microsoft Defender for Cloud securityOperator in the subscription.

abstract SecurityOperator get(String pricingName, String securityOperatorName)

Get a specific security operator for the requested scope.

abstract Response<SecurityOperator> getWithResponse(String pricingName, String securityOperatorName, Context context)

Get a specific security operator for the requested scope.

abstract PagedIterable<SecurityOperator> list(String pricingName)

Lists Microsoft Defender for Cloud securityOperators in the subscription.

abstract PagedIterable<SecurityOperator> list(String pricingName, Context context)

Lists Microsoft Defender for Cloud securityOperators in the subscription.

Method Details

createOrUpdate

public abstract SecurityOperator createOrUpdate(String pricingName, String securityOperatorName)

Creates Microsoft Defender for Cloud security operator on the given scope.

Parameters:

pricingName - Name of the pricing configuration.
securityOperatorName - Name of the security operator.

Returns:

security operator under a given subscription and pricing.

createOrUpdateWithResponse

public abstract Response<SecurityOperator> createOrUpdateWithResponse(String pricingName, String securityOperatorName, Context context)

Creates Microsoft Defender for Cloud security operator on the given scope.

Parameters:

pricingName - Name of the pricing configuration.
securityOperatorName - Name of the security operator.
context - The context to associate with this operation.

Returns:

security operator under a given subscription and pricing along with Response<T>.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String pricingName, String securityOperatorName)

Delete Microsoft Defender for Cloud securityOperator in the subscription.

Parameters:

pricingName - Name of the pricing configuration.
securityOperatorName - Name of the security operator.

deleteByResourceGroupWithResponse

public abstract Response<Void> deleteByResourceGroupWithResponse(String pricingName, String securityOperatorName, Context context)

Delete Microsoft Defender for Cloud securityOperator in the subscription.

Parameters:

pricingName - Name of the pricing configuration.
securityOperatorName - Name of the security operator.
context - The context to associate with this operation.

Returns:

get

public abstract SecurityOperator get(String pricingName, String securityOperatorName)

Get a specific security operator for the requested scope.

Parameters:

pricingName - Name of the pricing configuration.
securityOperatorName - Name of the security operator.

Returns:

a specific security operator for the requested scope.

getWithResponse

public abstract Response<SecurityOperator> getWithResponse(String pricingName, String securityOperatorName, Context context)

Get a specific security operator for the requested scope.

Parameters:

pricingName - Name of the pricing configuration.
securityOperatorName - Name of the security operator.
context - The context to associate with this operation.

Returns:

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

list

public abstract PagedIterable<SecurityOperator> list(String pricingName)

Lists Microsoft Defender for Cloud securityOperators in the subscription.

Parameters:

pricingName - Name of the pricing configuration.

Returns:

list of SecurityOperator response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<SecurityOperator> list(String pricingName, Context context)

Lists Microsoft Defender for Cloud securityOperators in the subscription.

Parameters:

pricingName - Name of the pricing configuration.
context - The context to associate with this operation.

Returns:

list of SecurityOperator response as paginated response with PagedIterable<T>.

Applies to