SqlServerSecurityAlertPolicyOperations Interface

public interface SqlServerSecurityAlertPolicyOperations

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

Method Summary

Modifier and Type Method and Description
SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithSqlServer define()

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

SqlServerSecurityAlertPolicy getById(String id)

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

Observable<SqlServerSecurityAlertPolicy> getByIdAsync(String id)

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

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.

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.

Observable<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.

Observable<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 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 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 Observable 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 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 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 Observable 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 Observable 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