Share via


ResourceRequirements [SPFSDK][VMROLE]

 

Applies To: Windows Azure Pack

The ResourceRequirements section of the ResourceExtension type defines the requirements of the virtual hard disk (VHD) that the VirtualMachineRole resource uses. The administrator must ensure that at least one VHD is configured according to the documented requirements of the ResourceExtension and then is tagged with the required tags to identify it appropriately.

Type Hierarchy

ResourceExtension [SPFSDK][VMROLE].ResourceRequirements

Syntax

{
    "OSVirtualHardDiskRequirements" : [
        "string",
        "string",
        "string",
        ...
     ],
}

Properties

Name

Type

Required

Default value

Description

OSVirtualHardDiskRequirements

Array of string

No

null

The tags that must appear on the operating system VHD that the VirtualMachineRole resource uses.

Remarks

The following code example provides a sample ResourceRequirements object.

{
    "OSVirtualHardDiskRequirements" : [
        "WS2008",
        "SysprepSQL"
     ],
}

See Also

ResourceExtension [SPFSDK][VMROLE]
ExtensionSettings [SPFSDK][VMROLE]