Class VirtualMachineInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineInner
public final class VirtualMachineInner
extends com.azure.core.management.Resource
Define the virtualMachine.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the customResourceName property: Gets the name of the corresponding resource in Kubernetes.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 vm.Get the guestAgentProfile property: Guest agent status properties.Get the hardwareProfile property: Hardware properties.identity()
Get the identity property: The identity of the resource.Get the instanceUuid property: Gets or sets the instance uuid of the vm.Get the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine.kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g.moName()
Get the moName property: Gets or sets the vCenter Managed Object name for the virtual machine.moRefId()
Get the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine.Get the networkProfile property: Network properties.Get the osProfile property: OS properties.Get the placementProfile property: Placement properties.Get the powerState property: Gets the power state of the virtual machine.Get the provisioningState property: Gets or sets the provisioning state.Get the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.Get the securityProfile property: Gets the security profile.Get the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.statuses()
Get the statuses property: The resource status information.Get the storageProfile property: Storage properties.com.azure.core.management.SystemData
Get the systemData property: The system data.Get the templateId property: Gets or sets the ARM Id of the template resource to deploy the virtual machine.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 resource pool resides.vmId()
Get the vmId property: Gets or sets a unique identifier for the vm resource.withExtendedLocation
(ExtendedLocation extendedLocation) Set the extendedLocation property: Gets or sets the extended location.withFirmwareType
(FirmwareType firmwareType) Set the firmwareType property: Firmware type.withGuestAgentProfile
(GuestAgentProfile guestAgentProfile) Set the guestAgentProfile property: Guest agent status properties.withHardwareProfile
(HardwareProfile hardwareProfile) Set the hardwareProfile property: Hardware properties.withIdentity
(Identity identity) Set the identity property: The identity of the resource.withInventoryItemId
(String inventoryItemId) Set the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine.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.withNetworkProfile
(NetworkProfile networkProfile) Set the networkProfile property: Network properties.withOsProfile
(OsProfile osProfile) Set the osProfile property: OS properties.withPlacementProfile
(PlacementProfile placementProfile) Set the placementProfile property: Placement properties.withResourcePoolId
(String resourcePoolId) Set the resourcePoolId property: Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.withSecurityProfile
(SecurityProfile securityProfile) Set the securityProfile property: Gets the security profile.withSmbiosUuid
(String smbiosUuid) Set the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.withStorageProfile
(StorageProfile storageProfile) Set the storageProfile property: Storage properties.withTemplateId
(String templateId) Set the templateId property: Gets or sets the ARM Id of the template resource to deploy the virtual machine.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 class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
VirtualMachineInner
public VirtualMachineInner()
-
-
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 VirtualMachineInner 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 VirtualMachineInner object itself.
-
identity
Get the identity property: The identity of the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity of the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the VirtualMachineInner object itself.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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.
-
withResourcePoolId
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.
-
templateId
Get the templateId property: Gets or sets the ARM Id of the template resource to deploy the virtual machine.- Returns:
- the templateId value.
-
withTemplateId
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.
-
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.
-
withVCenterId
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.
-
placementProfile
Get the placementProfile property: Placement properties.- Returns:
- the placementProfile value.
-
withPlacementProfile
Set the placementProfile property: Placement properties.- Parameters:
placementProfile
- the placementProfile value to set.- Returns:
- the VirtualMachineInner object itself.
-
osProfile
Get the osProfile property: OS properties.- Returns:
- the osProfile value.
-
withOsProfile
Set the osProfile property: OS properties.- Parameters:
osProfile
- the osProfile value to set.- Returns:
- the VirtualMachineInner object itself.
-
hardwareProfile
Get the hardwareProfile property: Hardware properties.- Returns:
- the hardwareProfile value.
-
withHardwareProfile
Set the hardwareProfile property: Hardware properties.- Parameters:
hardwareProfile
- the hardwareProfile value to set.- Returns:
- the VirtualMachineInner object itself.
-
networkProfile
Get the networkProfile property: Network properties.- Returns:
- the networkProfile value.
-
withNetworkProfile
Set the networkProfile property: Network properties.- Parameters:
networkProfile
- the networkProfile value to set.- Returns:
- the VirtualMachineInner object itself.
-
storageProfile
Get the storageProfile property: Storage properties.- Returns:
- the storageProfile value.
-
withStorageProfile
Set the storageProfile property: Storage properties.- Parameters:
storageProfile
- the storageProfile value to set.- Returns:
- the VirtualMachineInner object itself.
-
guestAgentProfile
Get the guestAgentProfile property: Guest agent status properties.- Returns:
- the guestAgentProfile value.
-
withGuestAgentProfile
Set the guestAgentProfile property: Guest agent status properties.- Parameters:
guestAgentProfile
- the guestAgentProfile value to set.- Returns:
- the VirtualMachineInner object itself.
-
securityProfile
Get the securityProfile property: Gets the security profile.- Returns:
- the securityProfile value.
-
withSecurityProfile
Set the securityProfile property: Gets the security profile.- Parameters:
securityProfile
- the securityProfile value to set.- Returns:
- the VirtualMachineInner object itself.
-
moRefId
Get the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine.- Returns:
- the moRefId value.
-
withMoRefId
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.
-
inventoryItemId
Get the inventoryItemId property: Gets or sets the inventory Item ID for the virtual machine.- Returns:
- the inventoryItemId value.
-
withInventoryItemId
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.
-
moName
Get the moName property: Gets or sets the vCenter Managed Object name for the virtual machine.- Returns:
- the moName value.
-
folderPath
Get the folderPath property: Gets or sets the folder path of the vm.- Returns:
- the folderPath value.
-
instanceUuid
Get the instanceUuid property: Gets or sets the instance uuid of the vm.- Returns:
- the instanceUuid value.
-
smbiosUuid
Get the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.- Returns:
- the smbiosUuid value.
-
withSmbiosUuid
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.
-
firmwareType
Get the firmwareType property: Firmware type.- Returns:
- the firmwareType value.
-
withFirmwareType
Set the firmwareType property: Firmware type.- Parameters:
firmwareType
- the firmwareType value to set.- Returns:
- the VirtualMachineInner object itself.
-
powerState
Get the powerState property: Gets the power state of the virtual machine.- Returns:
- the powerState value.
-
customResourceName
Get the customResourceName property: Gets the name of the corresponding resource in Kubernetes.- Returns:
- the customResourceName value.
-
uuid
Get the uuid property: Gets or sets a unique identifier for this resource.- Returns:
- the uuid 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.
-
vmId
Get the vmId property: Gets or sets a unique identifier for the vm resource.- Returns:
- the vmId value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-