Share via


VirtualMachineTemplate Interface

public interface VirtualMachineTemplate

An immutable client-side representation of VirtualMachineTemplate.

Method Summary

Modifier and Type Method and Description
abstract String customResourceName()

Gets the customResourceName property: Gets the name of the corresponding resource in Kubernetes.

abstract List<VirtualDisk> disks()

Gets the disks property: Gets or sets the disks the template.

abstract ExtendedLocation extendedLocation()

Gets the extendedLocation property: Gets or sets the extended location.

abstract FirmwareType firmwareType()

Gets the firmwareType property: Firmware type.

abstract String folderPath()

Gets the folderPath property: Gets or sets the folder path of the template.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract VirtualMachineTemplateInner innerModel()

Gets the inner com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineTemplateInner object.

abstract String inventoryItemId()

Gets the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine template.

abstract String kind()

Gets the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract Integer memorySizeMB()

Gets the memorySizeMB property: Gets or sets memory size in MBs for the template.

abstract String moName()

Gets the moName property: Gets or sets the vCenter Managed Object name for the virtual machine template.

abstract String moRefId()

Gets the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine template.

abstract String name()

Gets the name property: The name of the resource.

abstract List<NetworkInterface> networkInterfaces()

Gets the networkInterfaces property: Gets or sets the network interfaces of the template.

abstract Integer numCoresPerSocket()

Gets the numCoresPerSocket property: Gets or sets the number of cores per socket for the template.

abstract Integer numCPUs()

Gets the numCPUs property: Gets or sets the number of vCPUs for the template.

abstract String osName()

Gets the osName property: Gets or sets os name.

abstract OsType osType()

Gets the osType property: Gets or sets the type of the os.

abstract ProvisioningState provisioningState()

Gets the provisioningState property: Gets the provisioning state.

abstract VirtualMachineTemplate refresh()

Refreshes the resource to sync with Azure.

abstract VirtualMachineTemplate refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract List<ResourceStatus> statuses()

Gets the statuses property: The resource status information.

abstract SystemData systemData()

Gets the systemData property: The system data.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String toolsVersion()

Gets the toolsVersion property: Gets or sets the current version of VMware Tools.

abstract String toolsVersionStatus()

Gets the toolsVersionStatus property: Gets or sets the current version status of VMware Tools installed in the guest operating system.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the VirtualMachineTemplate resource.

abstract String uuid()

Gets the uuid property: Gets or sets a unique identifier for this resource.

abstract String vCenterId()

Gets the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this template resides.

Method Details

customResourceName

public abstract String customResourceName()

Gets the customResourceName property: Gets the name of the corresponding resource in Kubernetes.

Returns:

the customResourceName value.

disks

public abstract List<VirtualDisk> disks()

Gets the disks property: Gets or sets the disks the template.

Returns:

the disks value.

extendedLocation

public abstract ExtendedLocation extendedLocation()

Gets the extendedLocation property: Gets or sets the extended location.

Returns:

the extendedLocation value.

firmwareType

public abstract FirmwareType firmwareType()

Gets the firmwareType property: Firmware type.

Returns:

the firmwareType value.

folderPath

public abstract String folderPath()

Gets the folderPath property: Gets or sets the folder path of the template.

Returns:

the folderPath value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract VirtualMachineTemplateInner innerModel()

Gets the inner com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineTemplateInner object.

Returns:

the inner object.

inventoryItemId

public abstract String inventoryItemId()

Gets the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine template.

Returns:

the inventoryItemId value.

kind

public abstract String kind()

Gets 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.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

memorySizeMB

public abstract Integer memorySizeMB()

Gets the memorySizeMB property: Gets or sets memory size in MBs for the template.

Returns:

the memorySizeMB value.

moName

public abstract String moName()

Gets the moName property: Gets or sets the vCenter Managed Object name for the virtual machine template.

Returns:

the moName value.

moRefId

public abstract String moRefId()

Gets the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine template.

Returns:

the moRefId value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

networkInterfaces

public abstract List<NetworkInterface> networkInterfaces()

Gets the networkInterfaces property: Gets or sets the network interfaces of the template.

Returns:

the networkInterfaces value.

numCoresPerSocket

public abstract Integer numCoresPerSocket()

Gets the numCoresPerSocket property: Gets or sets the number of cores per socket for the template. Defaults to 1 if unspecified.

Returns:

the numCoresPerSocket value.

numCPUs

public abstract Integer numCPUs()

Gets the numCPUs property: Gets or sets the number of vCPUs for the template.

Returns:

the numCPUs value.

osName

public abstract String osName()

Gets the osName property: Gets or sets os name.

Returns:

the osName value.

osType

public abstract OsType osType()

Gets the osType property: Gets or sets the type of the os.

Returns:

the osType value.

provisioningState

public abstract ProvisioningState provisioningState()

Gets the provisioningState property: Gets the provisioning state.

Returns:

the provisioningState value.

refresh

public abstract VirtualMachineTemplate refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract VirtualMachineTemplate refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

statuses

public abstract List<ResourceStatus> statuses()

Gets the statuses property: The resource status information.

Returns:

the statuses value.

systemData

public abstract SystemData systemData()

Gets the systemData property: The system data.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

toolsVersion

public abstract String toolsVersion()

Gets the toolsVersion property: Gets or sets the current version of VMware Tools.

Returns:

the toolsVersion value.

toolsVersionStatus

public abstract String toolsVersionStatus()

Gets the toolsVersionStatus property: Gets or sets the current version status of VMware Tools installed in the guest operating system.

Returns:

the toolsVersionStatus value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract VirtualMachineTemplate.Update update()

Begins update for the VirtualMachineTemplate resource.

Returns:

the stage of resource update.

uuid

public abstract String uuid()

Gets the uuid property: Gets or sets a unique identifier for this resource.

Returns:

the uuid value.

vCenterId

public abstract String vCenterId()

Gets the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this template resides.

Returns:

the vCenterId value.

Applies to