SqlServerDnsAliasOperations.SqlServerDnsAliasActionsDefinition Interface

public interface SqlServerDnsAliasActionsDefinition

Grouping of the Azure SQL Server DNS alias common actions.

Method Summary

Modifier and Type Method and Description
void acquire(String dnsAliasName, String sqlServerId)

Acquires server DNS alias from another server.

Completable acquireAsync(String dnsAliasName, String sqlServerId)

Acquires server DNS alias from another server asynchronously.

SqlServerDnsAliasOperations.DefinitionStages.WithCreate define(String serverDnsAliasName)

Begins the definition of a new SQL Server DNS alias to be added to this server.

Method Details

acquire

public void acquire(String dnsAliasName, String sqlServerId)

Acquires server DNS alias from another server.

Parameters:

dnsAliasName - the name of the Server DNS alias
sqlServerId - the id of the other SQL server that the DNS alias was pointing to

acquireAsync

public Completable acquireAsync(String dnsAliasName, String sqlServerId)

Acquires server DNS alias from another server asynchronously.

Parameters:

dnsAliasName - the name of the Server DNS alias
sqlServerId - the id of the other SQL server that the DNS alias was pointing to

Returns:

a representation of the deferred computation of this call

define

public SqlServerDnsAliasOperations.DefinitionStages.WithCreate define(String serverDnsAliasName)

Begins the definition of a new SQL Server DNS alias to be added to this server.

Parameters:

serverDnsAliasName - the name of the new DNS alias to be created for the selected SQL server

Returns:

the first stage of the new SQL Server DNS alias definition

Applies to