你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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<Void> 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<Void> 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