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