SecurityOperatorsClient Interface

public interface SecurityOperatorsClient

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

Method Summary

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

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

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

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

abstract void delete(String pricingName, String securityOperatorName)

Delete Microsoft Defender for Cloud securityOperator in the subscription.

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

Delete Microsoft Defender for Cloud securityOperator in the subscription.

abstract SecurityOperatorInner get(String pricingName, String securityOperatorName)

Get a specific security operator for the requested scope.

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

Get a specific security operator for the requested scope.

abstract PagedIterable<SecurityOperatorInner> list(String pricingName)

Lists Microsoft Defender for Cloud securityOperators in the subscription.

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

Lists Microsoft Defender for Cloud securityOperators in the subscription.

Method Details

createOrUpdate

public abstract SecurityOperatorInner 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<SecurityOperatorInner> 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>.

delete

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

deleteWithResponse

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