你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GlobalSchemaContract interface
全局架构协定详细信息。
- 扩展
属性
description | 自由格式的架构实体说明。 |
document | 基于 json 的架构格式的全局架构文档对象 (例如 json 架构) 。 |
schema |
架构类型。 不可变。 |
value | 非基于 json 的架构的 Json 编码字符串。 |
继承属性
id | 资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会被序列化。 它只能由服务器填充。 |
name | 资源的名称 注意:此属性不会被序列化。 它只能由服务器填充。 |
type | 资源类型。 例如,“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会被序列化。 它只能由服务器填充。 |
属性详细信息
description
自由格式的架构实体说明。
description?: string
属性值
string
document
基于 json 的架构格式的全局架构文档对象 (例如 json 架构) 。
document?: Record<string, unknown>
属性值
Record<string, unknown>
schemaType
架构类型。 不可变。
schemaType?: string
属性值
string
value
非基于 json 的架构的 Json 编码字符串。
value?: any
属性值
any
继承属性详细信息
id
资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会被序列化。 它只能由服务器填充。
id?: string
属性值
string
name
type
资源类型。 例如,“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会被序列化。 它只能由服务器填充。
type?: string
属性值
string