ServerDnsAliasesOperationsExtensions.BeginAcquireAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Acquires server DNS alias from another server.
public static System.Threading.Tasks.Task BeginAcquireAsync (this Microsoft.Azure.Management.Sql.Fluent.IServerDnsAliasesOperations operations, string resourceGroupName, string serverName, string dnsAliasName, string oldServerDnsAliasId = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginAcquireAsync : Microsoft.Azure.Management.Sql.Fluent.IServerDnsAliasesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginAcquireAsync (operations As IServerDnsAliasesOperations, resourceGroupName As String, serverName As String, dnsAliasName As String, Optional oldServerDnsAliasId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IServerDnsAliasesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName
- String
The name of the server that the alias is pointing to.
- dnsAliasName
- String
The name of the server dns alias.
- oldServerDnsAliasId
- String
The id of the server alias that will be acquired to point to this server instead.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET