你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AppsOperationsExtensions.BeginCreateOrUpdate 方法

定义

创建或更新 IoT Central 应用程序的元数据。 修改属性的常用模式是检索 IoT Central 应用程序元数据和安全元数据,然后将它们与新正文中修改的值合并,以更新 IoT Central 应用程序。

public static Microsoft.Azure.Management.IotCentral.Models.App BeginCreateOrUpdate(this Microsoft.Azure.Management.IotCentral.IAppsOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.IotCentral.Models.App app);
static member BeginCreateOrUpdate : Microsoft.Azure.Management.IotCentral.IAppsOperations * string * string * Microsoft.Azure.Management.IotCentral.Models.App -> Microsoft.Azure.Management.IotCentral.Models.App
<Extension()>
Public Function BeginCreateOrUpdate (operations As IAppsOperations, resourceGroupName As String, resourceName As String, app As App) As App

参数

operations
IAppsOperations

此扩展方法的操作组。

resourceGroupName
String

包含 IoT Central 应用程序的资源组的名称。

resourceName
String

IoT Central 应用程序的 ARM 资源名称。

app
App

IoT Central 应用程序元数据和安全元数据。

返回

App

适用于