共用方式為


ApplicationTypesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a Service Fabric managed application type name resource.

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

Parameters

operations
IApplicationTypesOperations

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.

parameters
ApplicationTypeResource

The application type name resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to