Msvm_HeartbeatComponentSettingData 类
表示检测信号服务的已配置状态。
以下语法是简化的托管对象格式 (MOF) 代码,其中包含所有继承的属性。
语法
[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_HeartbeatComponentSettingData : CIM_ResourceAllocationSettingData
{
string InstanceID = "Microsoft:GUID\DeviceSpecificData";
string Caption = "Heartbeat";
string Description = "Microsoft Heartbeat Service Setting Data";
string ElementName = "Heartbeat";
uint16 ResourceType = 1;
string OtherResourceType = "Microsoft Heartbeat Component";
string ResourceSubType;
string PoolID;
uint16 ConsumerVisibility = 3;
string HostResource[];
string AllocationUnits = "Integration Components";
uint64 VirtualQuantity = 1;
uint64 Reservation = 1;
uint64 Limit = 1;
uint32 Weight = 0;
boolean AutomaticAllocation = True;
boolean AutomaticDeallocation = True;
string Parent;
string Connection[];
string Address;
uint16 MappingBehavior;
string AddressOnParent;
string VirtualQuantityUnits = "count";
uint16 EnabledState = 2;
uint32 ErrorThreshold = 2;
uint32 Interval = 2000;
uint32 Latency = 1000;
};
成员
Msvm_HeartbeatComponentSettingData 类具有以下类型的成员:
属性
Msvm_HeartbeatComponentSettingData 类具有这些属性。
-
Address
-
-
数据类型: string
-
访问类型:只读
资源的地址。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 Null。
-
-
AddressOnParent
-
-
数据类型: string
-
访问类型:只读
描述父级上下文中此资源的地址。 父/AddressOnParent 属性用于描述控制器关系以及控制器上设备的排序。 例如,如果父级是 PCI 控制器,则此属性将指定此子设备的 PCI 槽。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 Null。
-
-
AllocationUnits
-
-
数据类型: string
-
访问类型:只读
预留和限制属性使用的分配单位。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为“集成组件”。
-
-
AutomaticAllocation
-
-
数据类型: 布尔值
-
访问类型:只读
指示是否自动分配资源。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 True。
-
-
AutomaticDeallocation
-
-
数据类型: 布尔值
-
访问类型:只读
指示是否自动取消分配资源。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 True。
-
-
Caption
-
-
数据类型: string
-
访问类型:只读
对象的简短说明。 此属性继承自 CIM_ManagedElement 类,始终设置为“检测信号”。
-
-
Connection
-
-
数据类型: 字符串 数组
-
访问类型:只读
此资源所连接到的项。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 Null。
-
-
ConsumerVisibility
-
-
数据类型: uint16
-
访问类型:只读
描述使用者对已分配资源的可见性。 此属性继承自 CIM_ResourceAllocationSettingData , (虚拟化) 始终设置为 3。
-
-
说明
-
-
数据类型: string
-
访问类型:只读
对象的说明。 此属性继承自 CIM_ManagedElement,并且始终设置为“Microsoft 检测信号服务设置数据”。
-
-
ElementName
-
-
数据类型: string
-
访问类型:只读
对象的显示名称。 此属性继承自 CIM_SettingData,并且始终设置为“检测信号”。 更改此属性将更改关联CIM_LogicalDevice派生的 ElementName 属性。
这是一个只读属性,但可以使用 Msvm_VirtualSystemManagementService 类的 ModifyResourceSettings 方法对其进行更改。
-
-
EnabledState
-
-
数据类型: uint16
-
访问类型:只读
元素的启用和禁用状态。
这是一个只读属性,但可以使用 Msvm_VirtualSystemManagementService 类的 ModifyResourceSettings 方法对其进行更改。
-
-
已启用 (2)
-
已禁用 (3)
ErrorThreshold
-
数据类型: uint32
-
访问类型:只读
元素的已启用状态的管理员启动配置。 此属性始终设置为 2 (Enabled) 。
这是一个只读属性,但可以使用 Msvm_VirtualSystemManagementService 类的 ModifyResourceSettings 方法对其进行更改。
HostResource
-
数据类型: 字符串 数组
-
访问类型:只读
向主机或基础资源公开特定的分配。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 Null。
InstanceID
-
数据类型: string
-
访问类型:只读
-
限定符: 键
唯一标识此类的实例。 此属性继承自 CIM_SettingData ,始终设置为“Microsoft:GUID\DeviceSpecificData”。
时间间隔
-
数据类型: uint32
-
访问类型:只读
ping 尝试之间的间隔(以毫秒为单位)。 这始终设置为 2000。
这是一个只读属性,但可以使用 Msvm_VirtualSystemManagementService 类的 ModifyResourceSettings 方法对其进行更改。
延迟
-
数据类型: uint32
-
访问类型:只读
在给定请求被视为已删除之前,请求 ping 和响应之间的最大预期延迟(以毫秒为单位)。 此属性始终设置为 1000。
这是一个只读属性,但可以使用 Msvm_VirtualSystemManagementService 类的 ModifyResourceSettings 方法对其进行更改。
限制
-
数据类型: uint64
-
访问类型:只读
将为此分配授予的资源上限或最大资源量。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 1。
MappingBehavior
-
数据类型: uint16
-
访问类型:只读
指定此资源如何映射到基础资源。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 Null。
OtherResourceType
-
数据类型: 字符串
-
访问类型:只读
一个描述资源类型的字符串,当定义完善的值不可用并且 ResourceType 属性的值为 1 (Other) 。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为“Microsoft 检测信号组件”。
Parent
-
数据类型: 字符串
-
访问类型:只读
资源的父级。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 Null。
PoolID
-
数据类型: 字符串
-
访问类型:只读
从中分配资源的资源池的 ID。 此属性继承自 CIM_ResourceAllocationSettingData。
预留
-
数据类型: uint64
-
访问类型:只读
保证可用于此分配的资源量。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 1。
ResourceSubType
-
数据类型: 字符串
-
访问类型:只读
此资源的实现特定子类型。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 Null。
ResourceType
-
数据类型: uint16
-
访问类型:只读
此分配设置表示的资源类型。 此属性继承自 CIM_ResourceAllocationSettingData 类,始终设置为 1 (Other) 。
VirtualQuantity
-
数据类型: uint64
-
访问类型:只读
呈现给使用者的资源数量。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 1。
VirtualQuantityUnits
-
数据类型: 字符串
-
访问类型:只读
指定 VirtualQuantity 属性使用的单位。 例如,如果 ResourceType=Processor,则 VirtualQuantityUnits 属性的值可以设置为“count”,表示 VirtualQuantity 属性的值表示为 count。 如果 ResourceType=Memory,则 VirtualQuantityUnits 属性的值可以设置为“bytes*10^3”,表示 VirtualQuantity 属性的值以 KB 表示。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为“count”。
Weight
-
数据类型: uint32
-
访问类型:只读
此分配相对于同一资源池中其他分配的相对优先级。 此属性继承自 CIM_ResourceAllocationSettingData ,始终设置为 0。
备注
UAC 筛选可能会限制对 Msvm_HeartbeatComponentSettingData 类的访问。 有关详细信息,请参阅 用户帐户控制和 WMI。
要求
要求 | 值 |
---|---|
最低受支持的客户端 |
Windows 8 [仅限桌面应用] |
最低受支持的服务器 |
Windows Server 2012 [仅限桌面应用] |
命名空间 |
Root\Virtualization\V2 |
MOF |
|
DLL |
|