ArmScVmmModelFactory.VirtualMachineTemplateInventoryItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of VirtualMachineTemplateInventoryItem.
public static Azure.ResourceManager.ScVmm.Models.VirtualMachineTemplateInventoryItem VirtualMachineTemplateInventoryItem (string managedResourceId = default, string uuid = default, string inventoryItemName = default, Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState? provisioningState = default, int? cpuCount = default, int? memoryMB = default, Azure.ResourceManager.ScVmm.Models.ScVmmOSType? osType = default, string osName = default);
static member VirtualMachineTemplateInventoryItem : string * string * string * Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmOSType> * string -> Azure.ResourceManager.ScVmm.Models.VirtualMachineTemplateInventoryItem
Public Shared Function VirtualMachineTemplateInventoryItem (Optional managedResourceId As String = Nothing, Optional uuid As String = Nothing, Optional inventoryItemName As String = Nothing, Optional provisioningState As Nullable(Of ScVmmProvisioningState) = Nothing, Optional cpuCount As Nullable(Of Integer) = Nothing, Optional memoryMB As Nullable(Of Integer) = Nothing, Optional osType As Nullable(Of ScVmmOSType) = Nothing, Optional osName As String = Nothing) As VirtualMachineTemplateInventoryItem
Parameters
- managedResourceId
- String
Gets the tracked resource id corresponding to the inventory resource.
- uuid
- String
Gets the UUID (which is assigned by VMM) for the inventory item.
- inventoryItemName
- String
Gets the Managed Object name in VMM for the inventory item.
- provisioningState
- Nullable<ScVmmProvisioningState>
Provisioning state of the resource.
- osType
- Nullable<ScVmmOSType>
Gets the type of the os.
- osName
- String
Gets os name.
Returns
A new VirtualMachineTemplateInventoryItem instance for mocking.
Applies to
Azure SDK for .NET