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

Module interface

模块类型的定义。

扩展

属性

activityCount

获取或设置模块的活动计数。

contentLink

获取或设置模块的 contentLink。

creationTime

获取或设置创建时间。

description

获取或设置说明。

error

获取或设置模块的错误信息。

etag

获取或设置资源的 etag。

isComposite

获取或设置模块的类型(如果为复合模块)。

isGlobal

获取或设置模块的 isGlobal 标志。

lastModifiedTime

获取或设置上次修改时间。

provisioningState

获取或设置模块的预配状态。 可能的值包括:“Created”, 'Creating', 'StartingImportModuleRunbook', 'RunningImportModuleRunbook', 'ContentRetrieved', 'ContentDownloaded', 'ContentValidated', 'ConnectionTypeImported', 'ContentStored', 'ModuleDataStored', 'ActivitiesStored', 'ModuleImportRunbookComplete', 'Succeeded', 'Failed', 'Cancelled', 'updateing'

sizeInBytes

获取或设置模块的大小(以字节为单位)。

version

获取或设置模块的版本。

继承属性

id

资源完全限定的资源 ID 注意:此属性不会序列化。它只能由服务器填充。

location

资源所在的 Azure 区域

name

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

tags

资源标记。

type

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

属性详细信息

activityCount

获取或设置模块的活动计数。

activityCount?: number

属性值

number

获取或设置模块的 contentLink。

contentLink?: ContentLink

属性值

creationTime

获取或设置创建时间。

creationTime?: Date

属性值

Date

description

获取或设置说明。

description?: string

属性值

string

error

获取或设置模块的错误信息。

error?: ModuleErrorInfo

属性值

etag

获取或设置资源的 etag。

etag?: string

属性值

string

isComposite

获取或设置模块的类型(如果为复合模块)。

isComposite?: boolean

属性值

boolean

isGlobal

获取或设置模块的 isGlobal 标志。

isGlobal?: boolean

属性值

boolean

lastModifiedTime

获取或设置上次修改时间。

lastModifiedTime?: Date

属性值

Date

provisioningState

获取或设置模块的预配状态。 可能的值包括:“Created”, 'Creating', 'StartingImportModuleRunbook', 'RunningImportModuleRunbook', 'ContentRetrieved', 'ContentDownloaded', 'ContentValidated', 'ConnectionTypeImported', 'ContentStored', 'ModuleDataStored', 'ActivitiesStored', 'ModuleImportRunbookComplete', 'Succeeded', 'Failed', 'Cancelled', 'updateing'

provisioningState?: ModuleProvisioningState

属性值

sizeInBytes

获取或设置模块的大小(以字节为单位)。

sizeInBytes?: number

属性值

number

version

获取或设置模块的版本。

version?: string

属性值

string

继承属性详细信息

id

资源完全限定的资源 ID 注意:此属性不会序列化。它只能由服务器填充。

id?: string

属性值

string

继承自 TrackedResource.id

location

资源所在的 Azure 区域

location?: string

属性值

string

继承自TrackedResource.location

name

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

name?: string

属性值

string

继承自 TrackedResource.name

tags

资源标记。

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

属性值

{[propertyName: string]: string}

继承自TrackedResource.tags

type

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

type?: string

属性值

string

继承自TrackedResource.type