LinkedServerOperationsExtensions.BeginCreateAsync(ILinkedServerOperations, String, String, String, RedisLinkedServerCreateParametersInner, CancellationToken) Method

Definition

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

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

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
RedisLinkedServerCreateParametersInner

Parameters supplied to the Create Linked server operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<RedisLinkedServerWithPropertiesInner>

Applies to