Class VirtualMachineTemplateInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineTemplateInner
public final class VirtualMachineTemplateInner
extends com.azure.core.management.Resource
Define the virtualMachineTemplate.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the customResourceName property: Gets the name of the corresponding resource in Kubernetes.disks()
Get the disks property: Gets or sets the disks the template.Get the extendedLocation property: Gets or sets the extended location.Get the firmwareType property: Firmware type.Get the folderPath property: Gets or sets the folder path of the template.Get the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine template.kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g.Get the memorySizeMB property: Gets or sets memory size in MBs for the template.moName()
Get the moName property: Gets or sets the vCenter Managed Object name for the virtual machine template.moRefId()
Get the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine template.Get the networkInterfaces property: Gets or sets the network interfaces of the template.Get the numCoresPerSocket property: Gets or sets the number of cores per socket for the template.numCPUs()
Get the numCPUs property: Gets or sets the number of vCPUs for the template.osName()
Get the osName property: Gets or sets os name.osType()
Get the osType property: Gets or sets the type of the os.Get the provisioningState property: Gets or sets the provisioning state.statuses()
Get the statuses property: The resource status information.com.azure.core.management.SystemData
Get the systemData property: The system data.Get the toolsVersion property: Gets or sets the current version of VMware Tools.Get the toolsVersionStatus property: Gets or sets the current version status of VMware Tools installed in the guest operating system.uuid()
Get the uuid property: Gets or sets a unique identifier for this resource.void
validate()
Validates the instance.Get the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this template resides.withExtendedLocation
(ExtendedLocation extendedLocation) Set the extendedLocation property: Gets or sets the extended location.withInventoryItemId
(String inventoryItemId) Set the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine template.Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g.withLocation
(String location) withMoRefId
(String moRefId) Set the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine template.withVCenterId
(String vCenterId) Set the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this template resides.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
VirtualMachineTemplateInner
public VirtualMachineTemplateInner()
-
-
Method Details
-
extendedLocation
Get the extendedLocation property: Gets or sets the extended location.- Returns:
- the extendedLocation value.
-
withExtendedLocation
Set the extendedLocation property: Gets or sets the extended location.- Parameters:
extendedLocation
- the extendedLocation value to set.- Returns:
- the VirtualMachineTemplateInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system data.- Returns:
- the systemData value.
-
kind
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.- Returns:
- the kind value.
-
withKind
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.- Parameters:
kind
- the kind value to set.- Returns:
- the VirtualMachineTemplateInner object itself.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
uuid
Get the uuid property: Gets or sets a unique identifier for this resource.- Returns:
- the uuid value.
-
vCenterId
Get the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this template resides.- Returns:
- the vCenterId value.
-
withVCenterId
Set the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this template resides.- Parameters:
vCenterId
- the vCenterId value to set.- Returns:
- the VirtualMachineTemplateInner object itself.
-
moRefId
Get the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine template.- Returns:
- the moRefId value.
-
withMoRefId
Set the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine template.- Parameters:
moRefId
- the moRefId value to set.- Returns:
- the VirtualMachineTemplateInner object itself.
-
inventoryItemId
Get the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine template.- Returns:
- the inventoryItemId value.
-
withInventoryItemId
Set the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine template.- Parameters:
inventoryItemId
- the inventoryItemId value to set.- Returns:
- the VirtualMachineTemplateInner object itself.
-
moName
Get the moName property: Gets or sets the vCenter Managed Object name for the virtual machine template.- Returns:
- the moName value.
-
memorySizeMB
Get the memorySizeMB property: Gets or sets memory size in MBs for the template.- Returns:
- the memorySizeMB value.
-
numCPUs
Get the numCPUs property: Gets or sets the number of vCPUs for the template.- Returns:
- the numCPUs value.
-
numCoresPerSocket
Get the numCoresPerSocket property: Gets or sets the number of cores per socket for the template. Defaults to 1 if unspecified.- Returns:
- the numCoresPerSocket value.
-
osType
Get the osType property: Gets or sets the type of the os.- Returns:
- the osType value.
-
osName
Get the osName property: Gets or sets os name.- Returns:
- the osName value.
-
folderPath
Get the folderPath property: Gets or sets the folder path of the template.- Returns:
- the folderPath value.
-
networkInterfaces
Get the networkInterfaces property: Gets or sets the network interfaces of the template.- Returns:
- the networkInterfaces value.
-
disks
Get the disks property: Gets or sets the disks the template.- Returns:
- the disks value.
-
customResourceName
Get the customResourceName property: Gets the name of the corresponding resource in Kubernetes.- Returns:
- the customResourceName value.
-
toolsVersionStatus
Get the toolsVersionStatus property: Gets or sets the current version status of VMware Tools installed in the guest operating system.- Returns:
- the toolsVersionStatus value.
-
toolsVersion
Get the toolsVersion property: Gets or sets the current version of VMware Tools.- Returns:
- the toolsVersion value.
-
firmwareType
Get the firmwareType property: Firmware type.- Returns:
- the firmwareType value.
-
statuses
Get the statuses property: The resource status information.- Returns:
- the statuses value.
-
provisioningState
Get the provisioningState property: Gets or sets the provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-