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

Formula interface

用于创建 VM、指定映像基础和其他参数的公式

扩展

属性

author

公式的作者。 注意:此属性不会序列化。 它只能由服务器填充。

creationDate

公式的创建日期。 注意:此属性不会序列化。 它只能由服务器填充。

description

公式的说明。

formulaContent

公式的内容。

osType

公式的 OS 类型。

provisioningState

资源的预配状态。 注意:此属性不会序列化。 它只能由服务器填充。

uniqueIdentifier

资源的唯一不可变标识符(Guid)。 注意:此属性不会序列化。 它只能由服务器填充。

vm

有关要从中创建公式的 VM 的信息。

继承属性

id

资源的标识符。 注意:此属性不会序列化。 它只能由服务器填充。

location

资源的位置。

name

资源的名称。 注意:此属性不会序列化。 它只能由服务器填充。

tags

资源的标记。

type

资源的类型。 注意:此属性不会序列化。 它只能由服务器填充。

属性详细信息

author

公式的作者。 注意:此属性不会序列化。 它只能由服务器填充。

author?: string

属性值

string

creationDate

公式的创建日期。 注意:此属性不会序列化。 它只能由服务器填充。

creationDate?: Date

属性值

Date

description

公式的说明。

description?: string

属性值

string

formulaContent

公式的内容。

formulaContent?: LabVirtualMachineCreationParameter

属性值

osType

公式的 OS 类型。

osType?: string

属性值

string

provisioningState

资源的预配状态。 注意:此属性不会序列化。 它只能由服务器填充。

provisioningState?: string

属性值

string

uniqueIdentifier

资源的唯一不可变标识符(Guid)。 注意:此属性不会序列化。 它只能由服务器填充。

uniqueIdentifier?: string

属性值

string

vm

有关要从中创建公式的 VM 的信息。

vm?: FormulaPropertiesFromVm

属性值

继承属性详细信息

id

资源的标识符。 注意:此属性不会序列化。 它只能由服务器填充。

id?: string

属性值

string

继承自 Resource.id

location

资源的位置。

location?: string

属性值

string

继承自Resource.location

name

资源的名称。 注意:此属性不会序列化。 它只能由服务器填充。

name?: string

属性值

string

继承自 Resource.name

tags

资源的标记。

tags?: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}

继承自Resource.tags

type

资源的类型。 注意:此属性不会序列化。 它只能由服务器填充。

type?: string

属性值

string

继承自resource.type