SqlServerKeyOperations.DefinitionStages.WithSqlServer Interface

public interface WithSqlServer

The first stage of the SQL Server Key definition.

Method Summary

Modifier and Type Method and Description
SqlServerKeyOperations.DefinitionStages.WithServerKeyType withExistingSqlServer(SqlServer sqlServer)

Sets the parent SQL server for the new Server Key.

SqlServerKeyOperations.DefinitionStages.WithServerKeyType withExistingSqlServer(String resourceGroupName, String sqlServerName)

Sets the parent SQL server name and resource group it belongs to.

SqlServerKeyOperations.DefinitionStages.WithServerKeyType withExistingSqlServerId(String sqlServerId)

Sets the parent SQL server for the new Server Key.

Method Details

withExistingSqlServer

public SqlServerKeyOperations.DefinitionStages.WithServerKeyType withExistingSqlServer(SqlServer sqlServer)

Sets the parent SQL server for the new Server Key.

Parameters:

sqlServer - the parent SQL server

Returns:

The next stage of the definition.

withExistingSqlServer

public SqlServerKeyOperations.DefinitionStages.WithServerKeyType 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 server
sqlServerName - the parent SQL server name

Returns:

The next stage of the definition.

withExistingSqlServerId

public SqlServerKeyOperations.DefinitionStages.WithServerKeyType withExistingSqlServerId(String sqlServerId)

Sets the parent SQL server for the new Server Key.

Parameters:

sqlServerId - the parent SQL server ID

Returns:

The next stage of the definition.

Applies to