NodeTypesOperationsExtensions.BeginCreateOrUpdateAsync(INodeTypesOperations, String, String, String, NodeType, CancellationToken) Method

Definition

Creates or updates a Service Fabric node type.

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

Parameters

operations
INodeTypesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster resource.

nodeTypeName
String

The name of the node type.

parameters
NodeType

The node type resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<NodeType>

Remarks

Create or update a Service Fabric node type of a given managed cluster.

Applies to