SqlServerDnsAliasOperations Interface

public interface SqlServerDnsAliasOperations extends SupportsCreating<SqlServerDnsAliasOperations.DefinitionStages.WithSqlServer>,SqlChildrenOperations

A representation of the Azure SQL Server DNS alias operations.

Method Summary

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

Acquires server DNS alias from another server.

void acquire(String resourceGroupName, String serverName, String dnsAliasName, String sqlServerId)

Acquires server DNS alias from another server.

Completable acquireAsync(String dnsAliasName, String oldSqlServerId, String newSqlServerId)

Acquires server DNS alias from another server asynchronously.

Completable acquireAsync(String resourceGroupName, String serverName, String dnsAliasName, String sqlServerId)

Acquires server DNS alias from another server asynchronously.

Inherited Members

Method Details

acquire

public void acquire(String dnsAliasName, String oldSqlServerId, String newSqlServerId)

Acquires server DNS alias from another server.

Parameters:

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

acquire

public void acquire(String resourceGroupName, String serverName, String dnsAliasName, String sqlServerId)

Acquires server DNS alias from another server.

Parameters:

resourceGroupName - the name of the resource group that contains the resource
serverName - the name of the server that the alias is pointing to
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 oldSqlServerId, String newSqlServerId)

Acquires server DNS alias from another server asynchronously.

Parameters:

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

Returns:

a representation of the deferred computation of this call

acquireAsync

public Completable acquireAsync(String resourceGroupName, String serverName, String dnsAliasName, String sqlServerId)

Acquires server DNS alias from another server asynchronously.

Parameters:

resourceGroupName - the name of the resource group that contains the resource
serverName - the name of the server that the alias is pointing to
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

Applies to