Aracılığıyla paylaş


ApplicationTypeVersionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a Service Fabric application type version resource.

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

Parameters

operations
IApplicationTypeVersionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster resource.

applicationTypeName
String

The name of the application type name resource.

version
String

The application type version.

parameters
ApplicationTypeVersionResource

The application type version resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create or update a Service Fabric application type version resource with the specified name.

Applies to