大网数据广告活动
Hyper-V与虚拟化

CIM_StorageAllocationSettingData class

· 52CE 我爱测

Represents settings for the allocation of virtual storage.

Represents settings for the allocation of virtual storage.

Syntax

[Abstract, Version("2.22.0"), UMLPackagePath("CIM::Core::Resource"), AMENDMENT]
class CIM_StorageAllocationSettingData : CIM_ResourceAllocationSettingData
{
  uint64 VirtualResourceBlockSize;
  uint64 VirtualQuantity;
  string VirtualQuantityUnits = "count(fixed size block)";
  uint16 Access;
  uint64 HostResourceBlockSize;
  uint64 Reservation;
  uint64 Limit;
  uint64 HostExtentStartingAddress;
  string HostExtentName;
  uint16 HostExtentNameFormat;
  string OtherHostExtentNameFormat;
  uint16 HostExtentNameNamespace;
  string OtherHostExtentNameNamespace;
};

Members

The CIM_StorageAllocationSettingData class has these types of members:

Properties

The CIM_StorageAllocationSettingData class has these properties.

Access

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_StorageExtent.Access")

The read/write support of the storage allocation.

Unknown (0)

Readable (1)

Writeable (2)

Read/Write Supported (3)

DMTF Reserved (..)

HostExtentName

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_StorageAllocationSettingData.HostExtentNameFormat", "CIM_StorageAllocationSettingData.HostExtentNameNamespace", "CIM_StorageExtent.Name")

A unique identifier of the host storage extent.

HostExtentNameFormat

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_StorageAllocationSettingData.HostExtentName", "CIM_StorageAllocationSettingData.OtherHostExtentNameFormat", "CIM_StorageExtent.NameFormat")

The format that of the HostExtentName property value.

Unknown (0)

Other (1)

SNVM (7)

Serial Number/Vendor/Model (SNVM) SNVM is 3 strings representing the vendor name, product name within the vendor namespace, and the serial number within the model namespace. Strings are delimited with a '+'. Spaces may be included and are significant. The serial number is the text representation of the serial number in hexadecimal upper case. This represents the vendor and model ID from SCSI Inquiry data; the vendor field MUST be 8 characters wide and the product field MUST be 16 characters wide. For example,

'ACME____+SUPER DISK______+124437458' (_ is a space character)

NAA (9)

9 = NAA as a generic format. Formatted as 16 or 32 unseparated uppercase hex characters (2 per binary byte).

For example '21000020372D3C73'

EUI64 (10)

EUI as a generic format (EUI64) See

https://standards.ieee.org/content/dam/ieee-standards/standards/web/documents/tutorials/eui.pdf.

T10VID (11)

T10 vendor identifier format as returned by SCSI Inquiry VPD page 83, identifier type 1. See T10 SPC-3 specification. This is the 8-byte ASCII vendor ID from the T10 registry followed by a vendor specific ASCII identifier; spaces are permitted. For non SCSI volumes, 'SNVM' may be the most appropriate choice.

OS Device Name (12)

OS Device Name (for LogicalDisks). See LogicalDisk Name description for details.

DMTF Reserved (..)

HostExtentNameNamespace

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_StorageAllocationSettingData.HostExtentName", "CIM_StorageAllocationSettingData.OtherHostExtentNameNamespace", "CIM_StorageAllocationSettingData.HostExtentNameFormat", "CIM_StorageExtent.Namespace")

The naming format for the Name property.

Unknown (0)

Other (1)

VPD83Type3 (2)

VPD83Type2 (3)

VPD83Type1 (4)

VPD80 (5)

NodeWWN (6)

SNVM (7)

OS Device Namespace (8)

DMTF Reserved (..)

HostExtentStartingAddress

Data type: uint64

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_StorageAllocationSettingData.HostResourceBlockSize", "CIM_BasedOn.StartingAddress")

The starting address on the host storage extent. A NULL val;ue indicates that there is no direct mapping between the virtual storage extent and the host storage extent.

HostResourceBlockSize

Data type: uint64

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_StorageExtent.BlockSize"), PUnit ("byte")

The size, in bytes, of the blocks that are allocated on the host for the storage allocation. If the block size is variable, then the maximum block size in bytes should be specified. If the block size is unknown or if a block concept does not apply, then the value "1" (unknown) should be used.

Limit

Data type: uint64

Access type: Read-only

Qualifiers: Override ("Limit"), ModelCorrespondence ("CIM_StorageAllocationSettingData.HostResourceBlockSize")

The maximum amount of blocks that will be granted for the storage resource allocation on the host. The block size is specified by the HostResourceBlockSize property.

OtherHostExtentNameFormat

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_StorageAllocationSettingData.HostExtentNameFormat")

The format of the HostExtentName property if the property is set to "1" (other).

OtherHostExtentNameNamespace

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_StorageAllocationSettingData.HostExtentNameNamespace")

A string that describes the namespace of the HostExtentName property if the value of the HostExtentNameNamespace property is "1" (other).

Reservation

Data type: uint64

Access type: Read-only

Qualifiers: Override ("Reservation"), ModelCorrespondence ("CIM_StorageAllocationSettingData.HostResourceBlockSize")

The amount of blocks that are guaranteed to be available for the storage resource allocation on the host. The block size is specified by the HostResourceBlockSize property.

VirtualQuantity

Data type: uint64

Access type: Read-only

Qualifiers: Override ("VirtualQuantity"), ModelCorrespondence ("CIM_StorageExtent.NumberOfBlocks", "CIM_StorageAllocationSettingData.VirtualQuantityUnits")

The number of blocks that the storage allocation presents to the consumer.

Note:
The VirtualQuantity property can specify a block size of "1", even if VirtualResourceBlockSize is unknown.

VirtualQuantityUnits

Data type: string

Access type: Read-only

Qualifiers: Override ("VirtualQuantityUnits"), ModelCorrespondence ("CIM_StorageAllocationSettingData.VirtualQuantity"), IsPUnit

The units used by the VirtualQuantity property. This value shall should be set to "count(fixed size block)" or "byte". The default value, "count(fixed size block)" should be used for a fixed block size, and "byte" should be used for an unknown or variable block size.

VirtualResourceBlockSize

Data type: uint64

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_StorageExtent.BlockSize"), PUnit ("byte")

The size, in bytes, of the blocks that form the storage allocation request. If the block size is variable, then the maximum block size should be specified. If the block size is unknown or if a block concept does not apply, then the block size should be "1" (unknown).

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Namespace Root\virtualization\v2
MOF WindowsVirtualization.V2.mof
DLL Vmms.exe

See also

CIM_ResourceAllocationSettingData

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。