简体   繁体   English

如何使用 ARM 模板创建 Azure DigitalTwin 模型、关系和双胞胎?

[英]How to create Azure DigitalTwin models,relationships and twins using ARM templates?

Is there a way to deploy the Azure Digital twin models,relationships and twins using ARM template.有没有办法使用 ARM 模板部署 Azure 数字孪生模型、关系和孪生

As mentioned, creating models, twins, and relationships is considered a 'data plane' operation and is not available via ARM.如前所述,创建模型、孪生和关系被视为“数据平面”操作,不能通过 ARM 获得。 You need to use SDKs, AZ CLI, or REST.您需要使用 SDK、AZ CLI 或 REST。

However, you can do those things via a "post deployment script" from an ARM deployment.但是,您可以通过 ARM 部署中的“部署后脚本”来执行这些操作。 For an example of how do that, see this deployment which has an ARM template that deploys the ADT instance (among other things) and then pre-creates a twin graph via a bash post-deployment script (despite it ending in.ps1, which is an error).有关如何执行此操作的示例,请参阅此部署,该部署具有 ARM 模板,该模板部署 ADT 实例(除其他外),然后通过 bash 部署后脚本预先创建双图(尽管它以.ps1 结尾,是一个错误)。

https://github.com/Azure-Samples/digital-twins-samples/tree/master/HandsOnLab/deployment https://github.com/Azure-Samples/digital-twins-samples/tree/master/HandsOnLab/deployment

No, ARM templates are used to deploy infrastructure.不,ARM 模板用于部署基础架构。

Azure Digital Twin models are deployed through SDKs, az cli commands and REST API calls. Azure 数字孪生模型通过 SDK、az cli 命令和 REST API 调用部署。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用ARM模板创建Azure Kubernetes服务(AKS) - How to Create Azure Kubernetes Service (AKS) using ARM Templates 如何在Azure ARM模板中创建新资源? - How to create a new resource in Azure ARM templates? 使用 Azure Devops 管道自动化标准逻辑应用程序/如何使用 ARM 模板创建标准类型逻辑应用程序? - Automate the Standard logicapp using Azure Devops pipeline/How to create standard type Logic Apps using ARM templates? 使用ARM模板在Azure上使用特定密码创建数据库帐户 - Create database account on Azure with specific password using ARM templates 使用 ARM 模板创建 Azure 自动化 Runbook Webhook? - Create Azure Automation Runbook Webhook using ARM templates? 如何使用PowerShell的ARM模板将Azure WebApp创建到现有v1 VNet? - How to create Azure WebApp to an existing v1 VNet using ARM templates of PowerShell? 使用Azure ARM模板中的条件 - Using conditions in Azure ARM templates Azure 数字双胞胎 - 模型/双胞胎的 RBAC 访问 - Azure Digital Twin - RBAC access for models/twins 如何使用ARM模板在azure监视器中配置新警报? - how to configure the new alerts in azure monitor using ARM templates? 如何使用ARM模板将诊断设置添加到现有的Azure Kubernetes? - How to add Diagnostic Setting to existing Azure Kubernetes using ARM Templates?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM