SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithSqlServer Interface
public static interface SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithSqlServer
The first stage of the SQL Server Security Alert Policy definition.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withExistingSqlServer(SqlServer sqlServer)
Sets the parent SQL server for the new Server Security Alert Policy. |
abstract
With |
withExistingSqlServer(String resourceGroupName, String sqlServerName)
Sets the parent SQL server name and resource group it belongs to. |
abstract
With |
withExistingSqlServerId(String sqlServerId)
Sets the parent SQL server for the new Server Security Alert Policy. |
Method Details
withExistingSqlServer
public abstract SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState withExistingSqlServer(SqlServer sqlServer)
Sets the parent SQL server for the new Server Security Alert Policy.
Parameters:
Returns:
withExistingSqlServer
public abstract SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState withExistingSqlServer(String resourceGroupName, String sqlServerName)
Sets the parent SQL server name and resource group it belongs to.
Parameters:
Returns:
withExistingSqlServerId
public abstract SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState withExistingSqlServerId(String sqlServerId)
Sets the parent SQL server for the new Server Security Alert Policy.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for