共用方式為


LinkedServerOperationsExtensions.CreateAsync 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> CreateAsync (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 CreateAsync : 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 CreateAsync (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

Applies to