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 application resource.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.ServiceFabric.IApplicationsOperations operations, string resourceGroupName, string clusterName, string applicationName, Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ServiceFabric.IApplicationsOperations * string * string * string * Microsoft.Azure.Management.ServiceFabric.Models.ApplicationResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabric.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 application resource with the specified name.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET