VirtualMachineTemplateInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. connectedvmware. fluent. models. VirtualMachineTemplateInner
- com.
- com.
- com.
public final class VirtualMachineTemplateInner
extends Resource
Define the virtualMachineTemplate.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualMachineTemplateInner() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
customResourceName()
Get the custom |
|
List<Virtual |
disks()
Get the disks property: Gets or sets the disks the template. |
|
Extended |
extendedLocation()
Get the extended |
|
Firmware |
firmwareType()
Get the firmware |
| String |
folderPath()
Get the folder |
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
inventoryItemId()
Get the inventory |
| String |
kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e. |
| Integer |
memorySizeMB()
Get the memory |
| String |
moName()
Get the mo |
| String |
moRefId()
Get the mo |
| String |
name()
Get the name property: The name of the resource. |
|
List<Network |
networkInterfaces()
Get the network |
| Integer |
numCoresPerSocket()
Get the num |
| Integer |
numCPUs()
Get the num |
| String |
osName()
Get the os |
|
Os |
osType()
Get the os |
|
Provisioning |
provisioningState()
Get the provisioning |
|
List<Resource |
statuses()
Get the statuses property: The resource status information. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
toolsVersion()
Get the tools |
| String |
toolsVersionStatus()
Get the tools |
| String |
type()
Get the type property: The type of the resource. |
| String |
uuid()
Get the uuid property: Gets or sets a unique identifier for this resource. |
| void |
validate()
Validates the instance. |
| String |
vCenterId()
Get the v |
|
Virtual |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
|
Virtual |
withInventoryItemId(String inventoryItemId)
Set the inventory |
|
Virtual |
withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e. |
|
Virtual |
withLocation(String location) |
|
Virtual |
withMoRefId(String moRefId)
Set the mo |
|
Virtual |
withTags(Map<String,String> tags) |
|
Virtual |
withVCenterId(String vCenterId)
Set the v |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineTemplateInner
public VirtualMachineTemplateInner()
Creates an instance of VirtualMachineTemplateInner class.
Method Details
customResourceName
public String customResourceName()
Get the customResourceName property: Gets the name of the corresponding resource in Kubernetes.
Returns:
disks
public List<VirtualDisk> disks()
Get the disks property: Gets or sets the disks the template.
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: Gets or sets the extended location.
Returns:
firmwareType
public FirmwareType firmwareType()
Get the firmwareType property: Firmware type.
Returns:
folderPath
public String folderPath()
Get the folderPath property: Gets or sets the folder path of the template.
Returns:
fromJson
public static VirtualMachineTemplateInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineTemplateInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
VirtualMachineTemplateInner.id()Returns:
inventoryItemId
public String inventoryItemId()
Get the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine template.
Returns:
kind
public String 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:
memorySizeMB
public Integer memorySizeMB()
Get the memorySizeMB property: Gets or sets memory size in MBs for the template.
Returns:
moName
public String moName()
Get the moName property: Gets or sets the vCenter Managed Object name for the virtual machine template.
Returns:
moRefId
public String moRefId()
Get the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine template.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VirtualMachineTemplateInner.name()Returns:
networkInterfaces
public List<NetworkInterface> networkInterfaces()
Get the networkInterfaces property: Gets or sets the network interfaces of the template.
Returns:
numCoresPerSocket
public Integer numCoresPerSocket()
Get the numCoresPerSocket property: Gets or sets the number of cores per socket for the template. Defaults to 1 if unspecified.
Returns:
numCPUs
public Integer numCPUs()
Get the numCPUs property: Gets or sets the number of vCPUs for the template.
Returns:
osName
public String osName()
Get the osName property: Gets or sets os name.
Returns:
osType
public OsType osType()
Get the osType property: Gets or sets the type of the os.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Gets the provisioning state.
Returns:
statuses
public List<ResourceStatus> statuses()
Get the statuses property: The resource status information.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system data.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualMachineTemplateInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
toolsVersion
public String toolsVersion()
Get the toolsVersion property: Gets or sets the current version of VMware Tools.
Returns:
toolsVersionStatus
public String toolsVersionStatus()
Get the toolsVersionStatus property: Gets or sets the current version status of VMware Tools installed in the guest operating system.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VirtualMachineTemplateInner.type()Returns:
uuid
public String uuid()
Get the uuid property: Gets or sets a unique identifier for this resource.
Returns:
validate
public void validate()
Validates the instance.
vCenterId
public String vCenterId()
Get the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this template resides.
Returns:
withExtendedLocation
public VirtualMachineTemplateInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: Gets or sets the extended location.
Parameters:
Returns:
withInventoryItemId
public VirtualMachineTemplateInner withInventoryItemId(String inventoryItemId)
Set the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine template.
Parameters:
Returns:
withKind
public VirtualMachineTemplateInner withKind(String kind)
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:
Returns:
withLocation
public VirtualMachineTemplateInner withLocation(String location)
Overrides:
VirtualMachineTemplateInner.withLocation(String location)Parameters:
withMoRefId
public VirtualMachineTemplateInner withMoRefId(String moRefId)
Set the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine template.
Parameters:
Returns:
withTags
public VirtualMachineTemplateInner withTags(Map<String,String> tags)
Overrides:
VirtualMachineTemplateInner.withTags(Map<String,String> tags)Parameters:
withVCenterId
public VirtualMachineTemplateInner withVCenterId(String vCenterId)
Set the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this template resides.
Parameters:
Returns: