Sdílet prostřednictvím


AppsOperationsExtensions.CreateOrUpdate 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 Microsoft.Azure.Management.IotCentral.Models.App CreateOrUpdate (this Microsoft.Azure.Management.IotCentral.IAppsOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.IotCentral.Models.App app);
static member CreateOrUpdate : Microsoft.Azure.Management.IotCentral.IAppsOperations * string * string * Microsoft.Azure.Management.IotCentral.Models.App -> Microsoft.Azure.Management.IotCentral.Models.App
<Extension()>
Public Function CreateOrUpdate (operations As IAppsOperations, resourceGroupName As String, resourceName As String, app As App) As 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.

Returns

App

Applies to