ApplicationsOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates or updates a Service Fabric managed application resource.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ApplicationResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.ServiceFabricManagedClusters.IApplicationsOperations operations, string resourceGroupName, string clusterName, string applicationName, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ApplicationResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ServiceFabricManagedClusters.IApplicationsOperations * string * string * string * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ApplicationResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ApplicationResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IApplicationsOperations, resourceGroupName As String, clusterName As String, applicationName As String, parameters As ApplicationResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplicationResource)
Parameters
- operations
- IApplicationsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- clusterName
- String
The name of the cluster resource.
- applicationName
- String
The name of the application resource.
- parameters
- ApplicationResource
The application resource.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Create or update a Service Fabric managed application resource with the specified name.
Applies to
Azure SDK for .NET