Udostępnij za pośrednictwem


LinkedServerOperationsExtensions.BeginCreateAsync Method

Definition

Adds a linked server to the Redis cache (requires Premium SKU).

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Redis.Models.RedisLinkedServerWithProperties> BeginCreateAsync (this Microsoft.Azure.Management.Redis.ILinkedServerOperations operations, string resourceGroupName, string name, string linkedServerName, Microsoft.Azure.Management.Redis.Models.RedisLinkedServerCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.Redis.ILinkedServerOperations * string * string * string * Microsoft.Azure.Management.Redis.Models.RedisLinkedServerCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Redis.Models.RedisLinkedServerWithProperties>
<Extension()>
Public Function BeginCreateAsync (operations As ILinkedServerOperations, resourceGroupName As String, name As String, linkedServerName As String, parameters As RedisLinkedServerCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RedisLinkedServerWithProperties)

Parameters

operations
ILinkedServerOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

name
String

The name of the Redis cache.

linkedServerName
String

The name of the linked server that is being added to the Redis cache.

parameters
RedisLinkedServerCreateParameters

Parameters supplied to the Create Linked server operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to