你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TemplateArtifact 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
部署资源管理器模板的蓝图项目。
public class TemplateArtifact : Azure.ResourceManager.Blueprint.ArtifactData
type TemplateArtifact = class
inherit ArtifactData
Public Class TemplateArtifact
Inherits ArtifactData
- 继承
构造函数
TemplateArtifact(BinaryData, IDictionary<String,ParameterValue>) |
初始化 TemplateArtifact 的新实例。 |
属性
DependsOn |
需要在指定项目之前部署的项目。 |
Description |
多行说明此资源。 |
DisplayName |
单行字符串解释此资源。 |
Id |
资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}。 (继承自 ResourceData) |
Name |
资源的名称。 (继承自 ResourceData) |
Parameters |
资源管理器模板蓝图项目参数值。 |
ResourceGroup |
如果适用,则为将资源管理器模板蓝图项目部署到的资源组占位符的名称。 |
ResourceType |
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”。 (继承自 ResourceData) |
SystemData |
包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。 (继承自 ResourceData) |
Template |
资源管理器模板蓝图项目主体。 若要将对象分配给此属性,请使用 FromObjectAsJson<T>(T, JsonSerializerOptions)。 若要将已格式化的 json 字符串分配给此属性,请使用 FromString(String)。 示例:
|