Partager via


ServerSecurityAlertPoliciesClient Interface

public interface ServerSecurityAlertPoliciesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

abstract SyncPoller<PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, Context context)

Creates or updates a threat detection policy.

abstract PollerFlux<PollResult<ServerSecurityAlertPolicyInner>,ServerSecurityAlertPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

abstract ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

abstract ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, Context context)

Creates or updates a threat detection policy.

abstract Mono<ServerSecurityAlertPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

abstract ServerSecurityAlertPolicyInner get(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)

Get a server's security alert policy.

abstract Mono<ServerSecurityAlertPolicyInner> getAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)

Get a server's security alert policy.

abstract Response<ServerSecurityAlertPolicyInner> getWithResponse(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, Context context)

Get a server's security alert policy.

abstract Mono<Response<ServerSecurityAlertPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)

Get a server's security alert policy.

abstract PagedIterable<ServerSecurityAlertPolicyInner> listByServer(String resourceGroupName, String serverName)

Get the server's threat detection policies.

abstract PagedIterable<ServerSecurityAlertPolicyInner> listByServer(String resourceGroupName, String serverName, Context context)

Get the server's threat detection policies.

abstract PagedFlux<ServerSecurityAlertPolicyInner> listByServerAsync(String resourceGroupName, String serverName)

Get the server's threat detection policies.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
securityAlertPolicyName - The name of the threat detection policy.
parameters - The server security alert policy.

Returns:

the SyncPoller<T,U> for polling of a server security alert policy.

beginCreateOrUpdate

public abstract SyncPoller,ServerSecurityAlertPolicyInner> beginCreateOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, Context context)

Creates or updates a threat detection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
securityAlertPolicyName - The name of the threat detection policy.
parameters - The server security alert policy.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a server security alert policy.

beginCreateOrUpdateAsync

public abstract PollerFlux,ServerSecurityAlertPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
securityAlertPolicyName - The name of the threat detection policy.
parameters - The server security alert policy.

Returns:

the PollerFlux<T,U> for polling of a server security alert policy.

createOrUpdate

public abstract ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
securityAlertPolicyName - The name of the threat detection policy.
parameters - The server security alert policy.

Returns:

a server security alert policy.

createOrUpdate

public abstract ServerSecurityAlertPolicyInner createOrUpdate(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters, Context context)

Creates or updates a threat detection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
securityAlertPolicyName - The name of the threat detection policy.
parameters - The server security alert policy.
context - The context to associate with this operation.

Returns:

a server security alert policy.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
securityAlertPolicyName - The name of the threat detection policy.
parameters - The server security alert policy.

Returns:

a server security alert policy on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, ServerSecurityAlertPolicyInner parameters)

Creates or updates a threat detection policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
securityAlertPolicyName - The name of the threat detection policy.
parameters - The server security alert policy.

Returns:

a server security alert policy along with Response<T> on successful completion of Mono.

get

public abstract ServerSecurityAlertPolicyInner get(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)

Get a server's security alert policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
securityAlertPolicyName - The name of the security alert policy.

Returns:

a server's security alert policy.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)

Get a server's security alert policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
securityAlertPolicyName - The name of the security alert policy.

Returns:

a server's security alert policy on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName, Context context)

Get a server's security alert policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
securityAlertPolicyName - The name of the security alert policy.
context - The context to associate with this operation.

Returns:

a server's security alert policy along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String serverName, SecurityAlertPolicyNameAutoGenerated securityAlertPolicyName)

Get a server's security alert policy.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
securityAlertPolicyName - The name of the security alert policy.

Returns:

a server's security alert policy along with Response<T> on successful completion of Mono.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName)

Get the server's threat detection policies.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.

Returns:

the server's threat detection policies as paginated response with PagedIterable<T>.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName, Context context)

Get the server's threat detection policies.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.
context - The context to associate with this operation.

Returns:

the server's threat detection policies as paginated response with PagedIterable<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName)

Get the server's threat detection policies.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverName - The name of the server.

Returns:

the server's threat detection policies as paginated response with PagedFlux<T>.

Applies to