DSCResources/cVMSwitch/cVMSwitch.schema.mof
[ClassVersion("2.0.0.0"), FriendlyName("cVMSwitch")]
class cVMSwitch : OMI_BaseResource { [Key, Description("Name of the VM Switch")] String Name; [Key, Description("Type of switch"), ValueMap{"External","Internal","Private"}, Values{"External","Internal","Private"}] String Type; [Write, Description("Network adapter name for external switch type")] String NetAdapterName[]; [Write, Description("Specify is the VM host has access to the physical NIC")] Boolean AllowManagementOS; [Write] Boolean EnableIov; [Write] Boolean EnablePacketDirect; [Write, Description("Whether switch should be present or absent"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Write, ValueMap{"None","Default","Weight","Absolute"}, Values{"None","Default","Weight","Absolute"}] String MinimumBandwidthMode; [Write, ValueMap{"SwitchIndependent"}, Values{"SwitchIndependent"}] String TeamingMode; [Write, ValueMap{"Dynamic","HyperVPort"}, Values{"Dynamic","HyperVPort"}] String LoadBalancingAlgorithm; [Read, Description("Unique ID for the switch")] String Id; [Read, Description("Description of the network interface")] String NetAdapterInterfaceDescription; [Read, Description("Embedded Teaming enabled or not")] Boolean EmbeddedTeamingEnabled; }; |