VirtualMachineInner Class

public final class VirtualMachineInner
extends Resource

Define the virtualMachine.

Constructor Summary

Constructor Description
VirtualMachineInner()

Method Summary

Modifier and Type Method and Description
String customResourceName()

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

ExtendedLocation extendedLocation()

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

FirmwareType firmwareType()

Get the firmwareType property: Firmware type.

String folderPath()

Get the folderPath property: Gets or sets the folder path of the vm.

GuestAgentProfile guestAgentProfile()

Get the guestAgentProfile property: Guest agent status properties.

HardwareProfile hardwareProfile()

Get the hardwareProfile property: Hardware properties.

Identity identity()

Get the identity property: The identity of the resource.

String instanceUuid()

Get the instanceUuid property: Gets or sets the instance uuid of the vm.

String inventoryItemId()

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

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.

String moName()

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

String moRefId()

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

NetworkProfile networkProfile()

Get the networkProfile property: Network properties.

OsProfile osProfile()

Get the osProfile property: OS properties.

PlacementProfile placementProfile()

Get the placementProfile property: Placement properties.

String powerState()

Get the powerState property: Gets the power state of the virtual machine.

String provisioningState()

Get the provisioningState property: Gets or sets the provisioning state.

String resourcePoolId()

Get the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.

SecurityProfile securityProfile()

Get the securityProfile property: Gets the security profile.

String smbiosUuid()

Get the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.

List<ResourceStatus> statuses()

Get the statuses property: The resource status information.

StorageProfile storageProfile()

Get the storageProfile property: Storage properties.

SystemData systemData()

Get the systemData property: The system data.

String templateId()

Get the templateId property: Gets or sets the ARM Id of the template resource to deploy the virtual machine.

String uuid()

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

void validate()

Validates the instance.

String vCenterId()

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

String vmId()

Get the vmId property: Gets or sets a unique identifier for the vm resource.

VirtualMachineInner withExtendedLocation(ExtendedLocation extendedLocation)

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

VirtualMachineInner withFirmwareType(FirmwareType firmwareType)

Set the firmwareType property: Firmware type.

VirtualMachineInner withGuestAgentProfile(GuestAgentProfile guestAgentProfile)

Set the guestAgentProfile property: Guest agent status properties.

VirtualMachineInner withHardwareProfile(HardwareProfile hardwareProfile)

Set the hardwareProfile property: Hardware properties.

VirtualMachineInner withIdentity(Identity identity)

Set the identity property: The identity of the resource.

VirtualMachineInner withInventoryItemId(String inventoryItemId)

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

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

VirtualMachineInner withLocation(String location)
VirtualMachineInner withMoRefId(String moRefId)

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

VirtualMachineInner withNetworkProfile(NetworkProfile networkProfile)

Set the networkProfile property: Network properties.

VirtualMachineInner withOsProfile(OsProfile osProfile)

Set the osProfile property: OS properties.

VirtualMachineInner withPlacementProfile(PlacementProfile placementProfile)

Set the placementProfile property: Placement properties.

VirtualMachineInner withResourcePoolId(String resourcePoolId)

Set the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.

VirtualMachineInner withSecurityProfile(SecurityProfile securityProfile)

Set the securityProfile property: Gets the security profile.

VirtualMachineInner withSmbiosUuid(String smbiosUuid)

Set the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.

VirtualMachineInner withStorageProfile(StorageProfile storageProfile)

Set the storageProfile property: Storage properties.

VirtualMachineInner withTags(Map<String,String> tags)
VirtualMachineInner withTemplateId(String templateId)

Set the templateId property: Gets or sets the ARM Id of the template resource to deploy the virtual machine.

VirtualMachineInner withVCenterId(String vCenterId)

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

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineInner

public VirtualMachineInner()

Method Details

customResourceName

public String customResourceName()

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

Returns:

the customResourceName value.

extendedLocation

public ExtendedLocation extendedLocation()

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

Returns:

the extendedLocation value.

firmwareType

public FirmwareType firmwareType()

Get the firmwareType property: Firmware type.

Returns:

the firmwareType value.

folderPath

public String folderPath()

Get the folderPath property: Gets or sets the folder path of the vm.

Returns:

the folderPath value.

guestAgentProfile

public GuestAgentProfile guestAgentProfile()

Get the guestAgentProfile property: Guest agent status properties.

Returns:

the guestAgentProfile value.

hardwareProfile

public HardwareProfile hardwareProfile()

Get the hardwareProfile property: Hardware properties.

Returns:

the hardwareProfile value.

identity

public Identity identity()

Get the identity property: The identity of the resource.

Returns:

the identity value.

instanceUuid

public String instanceUuid()

Get the instanceUuid property: Gets or sets the instance uuid of the vm.

Returns:

the instanceUuid value.

inventoryItemId

public String inventoryItemId()

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

Returns:

the inventoryItemId value.

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:

the kind value.

moName

public String moName()

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

Returns:

the moName value.

moRefId

public String moRefId()

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

Returns:

the moRefId value.

networkProfile

public NetworkProfile networkProfile()

Get the networkProfile property: Network properties.

Returns:

the networkProfile value.

osProfile

public OsProfile osProfile()

Get the osProfile property: OS properties.

Returns:

the osProfile value.

placementProfile

public PlacementProfile placementProfile()

Get the placementProfile property: Placement properties.

Returns:

the placementProfile value.

powerState

public String powerState()

Get the powerState property: Gets the power state of the virtual machine.

Returns:

the powerState value.

provisioningState

public String provisioningState()

Get the provisioningState property: Gets or sets the provisioning state.

Returns:

the provisioningState value.

resourcePoolId

public String resourcePoolId()

Get the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.

Returns:

the resourcePoolId value.

securityProfile

public SecurityProfile securityProfile()

Get the securityProfile property: Gets the security profile.

Returns:

the securityProfile value.

smbiosUuid

public String smbiosUuid()

Get the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.

Returns:

the smbiosUuid value.

statuses

public List<ResourceStatus> statuses()

Get the statuses property: The resource status information.

Returns:

the statuses value.

storageProfile

public StorageProfile storageProfile()

Get the storageProfile property: Storage properties.

Returns:

the storageProfile value.

systemData

public SystemData systemData()

Get the systemData property: The system data.

Returns:

the systemData value.

templateId

public String templateId()

Get the templateId property: Gets or sets the ARM Id of the template resource to deploy the virtual machine.

Returns:

the templateId value.

uuid

public String uuid()

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

Returns:

the uuid value.

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 resource pool resides.

Returns:

the vCenterId value.

vmId

public String vmId()

Get the vmId property: Gets or sets a unique identifier for the vm resource.

Returns:

the vmId value.

withExtendedLocation

public VirtualMachineInner withExtendedLocation(ExtendedLocation extendedLocation)

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

Parameters:

extendedLocation - the extendedLocation value to set.

Returns:

the VirtualMachineInner object itself.

withFirmwareType

public VirtualMachineInner withFirmwareType(FirmwareType firmwareType)

Set the firmwareType property: Firmware type.

Parameters:

firmwareType - the firmwareType value to set.

Returns:

the VirtualMachineInner object itself.

withGuestAgentProfile

public VirtualMachineInner withGuestAgentProfile(GuestAgentProfile guestAgentProfile)

Set the guestAgentProfile property: Guest agent status properties.

Parameters:

guestAgentProfile - the guestAgentProfile value to set.

Returns:

the VirtualMachineInner object itself.

withHardwareProfile

public VirtualMachineInner withHardwareProfile(HardwareProfile hardwareProfile)

Set the hardwareProfile property: Hardware properties.

Parameters:

hardwareProfile - the hardwareProfile value to set.

Returns:

the VirtualMachineInner object itself.

withIdentity

public VirtualMachineInner withIdentity(Identity identity)

Set the identity property: The identity of the resource.

Parameters:

identity - the identity value to set.

Returns:

the VirtualMachineInner object itself.

withInventoryItemId

public VirtualMachineInner withInventoryItemId(String inventoryItemId)

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

Parameters:

inventoryItemId - the inventoryItemId value to set.

Returns:

the VirtualMachineInner object itself.

withKind

public VirtualMachineInner 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:

kind - the kind value to set.

Returns:

the VirtualMachineInner object itself.

withLocation

public VirtualMachineInner withLocation(String location)

Overrides:

VirtualMachineInner.withLocation(String location)

Parameters:

location

withMoRefId

public VirtualMachineInner withMoRefId(String moRefId)

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

Parameters:

moRefId - the moRefId value to set.

Returns:

the VirtualMachineInner object itself.

withNetworkProfile

public VirtualMachineInner withNetworkProfile(NetworkProfile networkProfile)

Set the networkProfile property: Network properties.

Parameters:

networkProfile - the networkProfile value to set.

Returns:

the VirtualMachineInner object itself.

withOsProfile

public VirtualMachineInner withOsProfile(OsProfile osProfile)

Set the osProfile property: OS properties.

Parameters:

osProfile - the osProfile value to set.

Returns:

the VirtualMachineInner object itself.

withPlacementProfile

public VirtualMachineInner withPlacementProfile(PlacementProfile placementProfile)

Set the placementProfile property: Placement properties.

Parameters:

placementProfile - the placementProfile value to set.

Returns:

the VirtualMachineInner object itself.

withResourcePoolId

public VirtualMachineInner withResourcePoolId(String resourcePoolId)

Set the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.

Parameters:

resourcePoolId - the resourcePoolId value to set.

Returns:

the VirtualMachineInner object itself.

withSecurityProfile

public VirtualMachineInner withSecurityProfile(SecurityProfile securityProfile)

Set the securityProfile property: Gets the security profile.

Parameters:

securityProfile - the securityProfile value to set.

Returns:

the VirtualMachineInner object itself.

withSmbiosUuid

public VirtualMachineInner withSmbiosUuid(String smbiosUuid)

Set the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.

Parameters:

smbiosUuid - the smbiosUuid value to set.

Returns:

the VirtualMachineInner object itself.

withStorageProfile

public VirtualMachineInner withStorageProfile(StorageProfile storageProfile)

Set the storageProfile property: Storage properties.

Parameters:

storageProfile - the storageProfile value to set.

Returns:

the VirtualMachineInner object itself.

withTags

public VirtualMachineInner withTags(Map<String,String> tags)

Overrides:

VirtualMachineInner.withTags(Map<String,String> tags)

Parameters:

tags

withTemplateId

public VirtualMachineInner withTemplateId(String templateId)

Set the templateId property: Gets or sets the ARM Id of the template resource to deploy the virtual machine.

Parameters:

templateId - the templateId value to set.

Returns:

the VirtualMachineInner object itself.

withVCenterId

public VirtualMachineInner withVCenterId(String vCenterId)

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

Parameters:

vCenterId - the vCenterId value to set.

Returns:

the VirtualMachineInner object itself.

Applies to