Udostępnij za pośrednictwem


AppsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create or update the metadata of an IoT Central application. The usual pattern to modify a property is to retrieve the IoT Central application metadata and security metadata, and then combine them with the modified values in a new body to update the IoT Central application.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotCentral.Models.App> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.IotCentral.IAppsOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.IotCentral.Models.App app, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.IotCentral.IAppsOperations * string * string * Microsoft.Azure.Management.IotCentral.Models.App * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotCentral.Models.App>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IAppsOperations, resourceGroupName As String, resourceName As String, app As App, Optional cancellationToken As CancellationToken = Nothing) As Task(Of App)

Parameters

operations
IAppsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the IoT Central application.

resourceName
String

The ARM resource name of the IoT Central application.

app
App

The IoT Central application metadata and security metadata.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to