Interface SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithSqlServer
- All Known Subinterfaces:
SqlServerSecurityAlertPolicyOperations.SqlServerSecurityAlertPolicyOperationsDefinition
- Enclosing interface:
- SqlServerSecurityAlertPolicyOperations.DefinitionStages
@Beta(V1_15_0)
public static interface SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithSqlServer
The first stage of the SQL Server Security Alert Policy definition.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingSqlServer
(SqlServer sqlServer) Sets the parent SQL server for the new Server Security Alert Policy.withExistingSqlServer
(String resourceGroupName, String sqlServerName) Sets the parent SQL server name and resource group it belongs to.withExistingSqlServerId
(String sqlServerId) Sets the parent SQL server for the new Server Security Alert Policy.
-
Method Details
-
withExistingSqlServer
SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState withExistingSqlServer(String resourceGroupName, String sqlServerName) Sets the parent SQL server name and resource group it belongs to.- Parameters:
resourceGroupName
- the name of the resource group the parent SQL serversqlServerName
- the parent SQL server name- Returns:
- The next stage of the definition.
-
withExistingSqlServerId
SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState withExistingSqlServerId(String sqlServerId) Sets the parent SQL server for the new Server Security Alert Policy.- Parameters:
sqlServerId
- the parent SQL server ID- Returns:
- The next stage of the definition.
-
withExistingSqlServer
SqlServerSecurityAlertPolicyOperations.DefinitionStages.WithState withExistingSqlServer(SqlServer sqlServer) Sets the parent SQL server for the new Server Security Alert Policy.- Parameters:
sqlServer
- the parent SQL server- Returns:
- The next stage of the definition.
-