Share via


BindingsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create a new Binding or update an exiting Binding.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.BindingResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.AppPlatform.IBindingsOperations operations, string resourceGroupName, string serviceName, string appName, string bindingName, Microsoft.Azure.Management.AppPlatform.Models.BindingResource bindingResource, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.AppPlatform.IBindingsOperations * string * string * string * string * Microsoft.Azure.Management.AppPlatform.Models.BindingResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.BindingResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IBindingsOperations, resourceGroupName As String, serviceName As String, appName As String, bindingName As String, bindingResource As BindingResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BindingResource)

Parameters

operations
IBindingsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName
String

The name of the Service resource.

appName
String

The name of the App resource.

bindingName
String

The name of the Binding resource.

bindingResource
BindingResource

Parameters for the create or update operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to