PLACEMENT_OPTIONS列舉 (clusapi.h)
定義放置叢集的選項。
這個列舉包含 PlacementOptions 屬性的值。
Syntax
typedef enum PLACEMENT_OPTIONS {
PLACEMENT_OPTIONS_MIN_VALUE = 0x00000000,
PLACEMENT_OPTIONS_DEFAULT_PLACEMENT_OPTIONS,
PLACEMENT_OPTIONS_DISABLE_CSV_VM_DEPENDENCY = 0x00000001,
PLACEMENT_OPTIONS_CONSIDER_OFFLINE_VMS = 0x00000002,
PLACEMENT_OPTIONS_DONT_USE_MEMORY = 0x00000004,
PLACEMENT_OPTIONS_DONT_USE_CPU = 0x00000008,
PLACEMENT_OPTIONS_DONT_USE_LOCAL_TEMP_DISK = 0x00000010,
PLACEMENT_OPTIONS_DONT_RESUME_VMS_WITH_EXISTING_TEMP_DISK = 0x00000020,
PLACEMENT_OPTIONS_SAVE_VMS_WITH_LOCAL_DISK_ON_DRAIN_OVERWRITE = 0x00000040,
PLACEMENT_OPTIONS_DONT_RESUME_AVAILABILTY_SET_VMS_WITH_EXISTING_TEMP_DISK = 0x00000080,
PLACEMENT_OPTIONS_SAVE_AVAILABILTY_SET_VMS_WITH_LOCAL_DISK_ON_DRAIN_OVERWRITE = 0x00000100,
PLACEMENT_OPTIONS_AVAILABILITY_SET_DOMAIN_AFFINITY = 0x00000200,
PLACEMENT_OPTIONS_ALL
} ;
常數
PLACEMENT_OPTIONS_MIN_VALUE 值: 0x00000000 最小值 |
PLACEMENT_OPTIONS_DEFAULT_PLACEMENT_OPTIONS 預設值 |
PLACEMENT_OPTIONS_DISABLE_CSV_VM_DEPENDENCY 值: 0x00000001 停用 VM cependency |
PLACEMENT_OPTIONS_CONSIDER_OFFLINE_VMS 值: 0x00000002 考慮離線 VMS |
PLACEMENT_OPTIONS_DONT_USE_MEMORY 值: 0x00000004 不要使用記憶體 |
PLACEMENT_OPTIONS_DONT_USE_CPU 值: 0x00000008 請勿使用 CPU |
PLACEMENT_OPTIONS_DONT_USE_LOCAL_TEMP_DISK 值: 0x00000010 |
PLACEMENT_OPTIONS_DONT_RESUME_VMS_WITH_EXISTING_TEMP_DISK 值: 0x00000020 |
PLACEMENT_OPTIONS_SAVE_VMS_WITH_LOCAL_DISK_ON_DRAIN_OVERWRITE 值: 0x00000040 |
PLACEMENT_OPTIONS_DONT_RESUME_AVAILABILTY_SET_VMS_WITH_EXISTING_TEMP_DISK 值: 0x00000080 |
PLACEMENT_OPTIONS_SAVE_AVAILABILTY_SET_VMS_WITH_LOCAL_DISK_ON_DRAIN_OVERWRITE 值: 0x00000100 |
PLACEMENT_OPTIONS_AVAILABILITY_SET_DOMAIN_AFFINITY 值: 0x00000200 |
PLACEMENT_OPTIONS_ALL 最大值 |
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | 都不支援 |
最低支援的伺服器 | Windows Server 2016 |
標頭 | clusapi.h |