SqlServerDnsAliasOperations.DefinitionStages.WithSqlServer Interface

public interface WithSqlServer

The first stage of the SQL Server DNS alias definition.

Method Summary

Modifier and Type Method and Description
SqlServerDnsAliasOperations.DefinitionStages.WithCreate withExistingSqlServer(SqlServer sqlServer)

Sets the parent SQL server for the new Server DNS alias.

SqlServerDnsAliasOperations.DefinitionStages.WithCreate withExistingSqlServer(String resourceGroupName, String sqlServerName)

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

SqlServerDnsAliasOperations.DefinitionStages.WithCreate withExistingSqlServerId(String sqlServerId)

Sets the parent SQL server for the new Server DNS alias.

Method Details

withExistingSqlServer

public SqlServerDnsAliasOperations.DefinitionStages.WithCreate withExistingSqlServer(SqlServer sqlServer)

Sets the parent SQL server for the new Server DNS alias.

Parameters:

sqlServer - the parent SQL server

Returns:

The next stage of the definition.

withExistingSqlServer

public SqlServerDnsAliasOperations.DefinitionStages.WithCreate 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 SqlServerDnsAliasOperations.DefinitionStages.WithCreate withExistingSqlServerId(String sqlServerId)

Sets the parent SQL server for the new Server DNS alias.

Parameters:

sqlServerId - the parent SQL server ID

Returns:

The next stage of the definition.

Applies to