VirtualMachineTemplateInventoryItem Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. InventoryItemProperties - com.
azure. resourcemanager. scvmm. models. VirtualMachineTemplateInventoryItem
- com.
- com.
public final class VirtualMachineTemplateInventoryItem
extends InventoryItemProperties
The Virtual machine template inventory item.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualMachineTemplateInventoryItem() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
cpuCount()
Get the cpu |
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| String |
inventoryItemName()
Get the inventory |
|
Inventory |
inventoryType()
Get the inventory |
| String |
managedResourceId()
Get the managed |
| Integer |
memoryMB()
Get the memoryMB property: MemoryMB is the desired size of a virtual machine's memory, in MB. |
| String |
osName()
Get the os |
|
Os |
osType()
Get the os |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uuid()
Get the uuid property: Gets the UUID (which is assigned by Vmm) for the inventory item. |
| void |
validate()
Validates the instance. |
Methods inherited from InventoryItemProperties
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineTemplateInventoryItem
public VirtualMachineTemplateInventoryItem()
Creates an instance of VirtualMachineTemplateInventoryItem class.
Method Details
cpuCount
public Integer cpuCount()
Get the cpuCount property: Gets the desired number of vCPUs for the vm.
Returns:
fromJson
public static VirtualMachineTemplateInventoryItem fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineTemplateInventoryItem from the JsonReader.
Parameters:
Returns:
Throws:
inventoryItemName
public String inventoryItemName()
Get the inventoryItemName property: Gets the Managed Object name in Vmm for the inventory item.
Overrides:
VirtualMachineTemplateInventoryItem.inventoryItemName()Returns:
inventoryType
public InventoryType inventoryType()
Get the inventoryType property: They inventory type.
Overrides:
VirtualMachineTemplateInventoryItem.inventoryType()Returns:
managedResourceId
public String managedResourceId()
Get the managedResourceId property: Gets the tracked resource id corresponding to the inventory resource.
Overrides:
VirtualMachineTemplateInventoryItem.managedResourceId()Returns:
memoryMB
public Integer memoryMB()
Get the memoryMB property: MemoryMB is the desired size of a virtual machine's memory, in MB.
Returns:
osName
public String osName()
Get the osName property: Gets os name.
Returns:
osType
public OsType osType()
Get the osType property: Gets the type of the os.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Overrides:
VirtualMachineTemplateInventoryItem.provisioningState()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualMachineTemplateInventoryItem.toJson(JsonWriter jsonWriter)Parameters:
Throws:
uuid
public String uuid()
Get the uuid property: Gets the UUID (which is assigned by Vmm) for the inventory item.
Overrides:
VirtualMachineTemplateInventoryItem.uuid()Returns:
validate
public void validate()
Validates the instance.
Overrides:
VirtualMachineTemplateInventoryItem.validate()