DSCResources/xHyper-V/DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13

[ClassVersion("2.0.0.0"), FriendlyName("xVMNetworkAdapter")]
class MSFT_xVMNetworkAdapter : OMI_BaseResource
{
    [Key] String Id;
    [Required] String Name;
    [Required] String SwitchName;
    [Required] String VMName;
    [Write] String MacAddress;
    [Write, ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Read] Boolean DynamicMacAddress;
};