Udostępnij za pośrednictwem


RedisEnterpriseOperationsExtensions.CreateAsync Method

Definition

Creates or updates an existing (overwrite/recreate, with potential downtime) cache cluster

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RedisEnterprise.Models.Cluster> CreateAsync (this Microsoft.Azure.Management.RedisEnterprise.IRedisEnterpriseOperations operations, string resourceGroupName, string clusterName, Microsoft.Azure.Management.RedisEnterprise.Models.Cluster parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.RedisEnterprise.IRedisEnterpriseOperations * string * string * Microsoft.Azure.Management.RedisEnterprise.Models.Cluster * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RedisEnterprise.Models.Cluster>
<Extension()>
Public Function CreateAsync (operations As IRedisEnterpriseOperations, resourceGroupName As String, clusterName As String, parameters As Cluster, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Cluster)

Parameters

operations
IRedisEnterpriseOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

clusterName
String

The name of the RedisEnterprise cluster.

parameters
Cluster

Parameters supplied to the Create RedisEnterprise operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to