Dela via


AppsOperationsExtensions.UpdateAsync Method

Definition

Update the metadata of an IoT Central application.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotCentral.Models.App> UpdateAsync (this Microsoft.Azure.Management.IotCentral.IAppsOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.IotCentral.Models.AppPatch appPatch, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.IotCentral.IAppsOperations * string * string * Microsoft.Azure.Management.IotCentral.Models.AppPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotCentral.Models.App>
<Extension()>
Public Function UpdateAsync (operations As IAppsOperations, resourceGroupName As String, resourceName As String, appPatch As AppPatch, 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.

appPatch
AppPatch

The IoT Central application metadata and security metadata.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to