Partager via


SqlServerDnsAliasOperations.SqlServerDnsAliasActionsDefinition Interface

Implements

public static interface SqlServerDnsAliasOperations.SqlServerDnsAliasActionsDefinition
extends SqlChildrenActionsDefinition<SqlServerDnsAlias>

Grouping of the Azure SQL Server DNS alias common actions.

Method Summary

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

Acquires server DNS alias from another server.

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

Acquires server DNS alias from another server asynchronously.

abstract WithCreate define(String serverDnsAliasName)

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

Method Details

acquire

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