-
Notifications
You must be signed in to change notification settings - Fork 52
/
DSC_Disk.schema.mof
17 lines (16 loc) · 1.72 KB
/
DSC_Disk.schema.mof
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[ClassVersion("1.0.0.0"), FriendlyName("Disk")]
class DSC_Disk : OMI_BaseResource
{
[Key, Description("Specifies the identifier for which disk to modify.")] String DriveLetter;
[Required, Description("Specifies the disk identifier for the disk to modify.")] String DiskId;
[Write, Description("Specifies the identifier type the DiskId contains. Defaults to Number."), ValueMap{"Number","UniqueId","Guid","Location","FriendlyName","SerialNumber"}, Values{"Number","UniqueId","Guid","Location","FriendlyName","SerialNumber"}] String DiskIdType;
[Write, Description("Specifies the partition style of the disk. Defaults to GPT."), ValueMap{"MBR","GPT"}, Values{"MBR","GPT"}] String PartitionStyle;
[Write, Description("Specifies the size of new volume. Leave empty to use the remaining free space.")] Uint64 Size;
[Write, Description("Define volume label if required.")] String FSLabel;
[Write, Description("Specifies the allocation unit size to use when formatting the volume.")] Uint32 AllocationUnitSize;
[Write, Description("Specifies the file system format of the new volume."), ValueMap{"NTFS","ReFS"}, Values{"NTFS","ReFS"}] String FSFormat;
[Write, Description("Specifies if potentially destructive operations may occur.")] Boolean AllowDestructive;
[Write, Description("Specifies if the disks partition schema should be removed entirely, even if data and OEM partitions are present. Only possible with AllowDestructive enabled.")] Boolean ClearDisk;
[Write, Description("Specifies if the volume should be formatted as a Dev Drive.")] Boolean DevDrive;
[Write, Description("Specifies that a new partition and volume should be formatted onto unallocated space in the disk.")] Boolean UseUnallocatedSpace;
};