Aracılığıyla paylaş


ExtensionsOperationsExtensions.CreateAsync Method

Definition

Creates an HDInsight cluster extension.

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

Parameters

operations
IExtensionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster.

extensionName
String

The name of the cluster extension.

parameters
Extension

The cluster extensions create request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to