Partilhar via


SqlServerSecurityAlertPolicyOperations Interface

public interface SqlServerSecurityAlertPolicyOperations

A representation of the Azure SQL Server Security Alert Policy operations.

Method Summary

Modifier and Type Method and Description
abstract WithSqlServer define()

Begins a definition for a new SQL Server Security Alert Policy resource.

abstract SqlServerSecurityAlertPolicy getById(String id)

Gets the information about a SQL Server Security Alert Policy resource from Azure SQL server using the resource ID.

abstract Mono<SqlServerSecurityAlertPolicy> getByIdAsync(String id)

Asynchronously gets the information about a SQL Server Security Alert Policy resource from Azure SQL server using the resource ID.

abstract SqlServerSecurityAlertPolicy getBySqlServer(SqlServer sqlServer)

Gets the information about a SQL Server Security Alert Policy resource from Azure SQL server, identifying it by its parent SQL Server.

abstract SqlServerSecurityAlertPolicy getBySqlServer(String resourceGroupName, String sqlServerName)

Gets the information about a SQL Server Security Alert Policy resource from Azure SQL server, identifying it by its resource group.

abstract Mono<SqlServerSecurityAlertPolicy> getBySqlServerAsync(SqlServer sqlServer)

Asynchronously gets the information about a SQL Server Security Alert Policy resource from Azure SQL server, identifying it by its parent SQL server.

abstract Mono<SqlServerSecurityAlertPolicy> getBySqlServerAsync(String resourceGroupName, String sqlServerName)

Asynchronously gets the information about a SQL Server Security Alert Policy resource from Azure SQL server, identifying it by its resource group.

Method Details

define

public abstract SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithSqlServer define()

Begins a definition for a new SQL Server Security Alert Policy resource.

Returns:

the first stage of the resource definition

getById

public abstract SqlServerSecurityAlertPolicy getById(String id)

Gets the information about a SQL Server Security Alert Policy resource from Azure SQL server using the resource ID.

Parameters:

id - the ID of the resource.

Returns:

an immutable representation of the resource

getByIdAsync

public abstract Mono getByIdAsync(String id)

Asynchronously gets the information about a SQL Server Security Alert Policy resource from Azure SQL server using the resource ID.

Parameters:

id - the ID of the resource.

Returns:

a representation of the deferred computation of this call

getBySqlServer

public abstract SqlServerSecurityAlertPolicy getBySqlServer(SqlServer sqlServer)

Gets the information about a SQL Server Security Alert Policy resource from Azure SQL server, identifying it by its parent SQL Server.

Parameters:

sqlServer - the SQL server parent resource

Returns:

an immutable representation of the resource

getBySqlServer

public abstract SqlServerSecurityAlertPolicy getBySqlServer(String resourceGroupName, String sqlServerName)

Gets the information about a SQL Server Security Alert Policy resource from Azure SQL server, identifying it by its resource group.

Parameters:

resourceGroupName - the name of resource group
sqlServerName - the name of SQL server parent resource

Returns:

an immutable representation of the resource

getBySqlServerAsync

public abstract Mono getBySqlServerAsync(SqlServer sqlServer)

Asynchronously gets the information about a SQL Server Security Alert Policy resource from Azure SQL server, identifying it by its parent SQL server.

Parameters:

sqlServer - the SQL server parent resource

Returns:

a representation of the deferred computation of this call returning the found resource

getBySqlServerAsync

public abstract Mono getBySqlServerAsync(String resourceGroupName, String sqlServerName)

Asynchronously gets the information about a SQL Server Security Alert Policy resource from Azure SQL server, identifying it by its resource group.

Parameters:

resourceGroupName - the name of resource group
sqlServerName - the name of SQL server parent resource

Returns:

a representation of the deferred computation of this call returning the found resource

Applies to