SqlServerDnsAliasOperations Interface

Implements

public interface SqlServerDnsAliasOperations
extends SupportsCreating<WithSqlServer>, SqlChildrenOperations<SqlServerDnsAlias>

A representation of the Azure SQL Server DNS alias operations.

Method Summary

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

Acquires server DNS alias from another server.

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

Acquires server DNS alias from another server.

abstract Mono<Void> acquireAsync(String dnsAliasName, String oldSqlServerId, String newSqlServerId)

Acquires server DNS alias from another server asynchronously.

abstract Mono<Void> acquireAsync(String resourceGroupName, String serverName, String dnsAliasName, String sqlServerId)

Acquires server DNS alias from another server asynchronously.

Method Details

acquire

public abstract 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 abstract 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 abstract Mono 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 abstract Mono 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