Share via


VirtualMachineProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.fluent.models.VirtualMachineProperties

public final class VirtualMachineProperties

Defines the resource properties.

Constructor Summary

Constructor Description
VirtualMachineProperties()

Method Summary

Modifier and Type Method and Description
List<AvailabilitySetListItem> availabilitySets()

Get the availabilitySets property: Availability Sets in vm.

List<Checkpoint> checkpoints()

Get the checkpoints property: Checkpoints in the vm.

String checkpointType()

Get the checkpointType property: Type of checkpoint supported for the vm.

String cloudId()

Get the cloudId property: ARM Id of the cloud resource to use for deploying the vm.

Integer generation()

Get the generation property: Gets or sets the generation for the vm.

HardwareProfile hardwareProfile()

Get the hardwareProfile property: Hardware properties.

String inventoryItemId()

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

NetworkProfile networkProfile()

Get the networkProfile property: Network properties.

OsProfile osProfile()

Get the osProfile property: OS 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.

StorageProfile storageProfile()

Get the storageProfile property: Storage properties.

String templateId()

Get the templateId property: ARM Id of the template resource to use for deploying the vm.

String uuid()

Get the uuid property: Unique ID of the virtual machine.

void validate()

Validates the instance.

String vmmServerId()

Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

String vmName()

Get the vmName property: VMName is the name of VM on the SCVMM server.

VirtualMachineProperties withAvailabilitySets(List<AvailabilitySetListItem> availabilitySets)

Set the availabilitySets property: Availability Sets in vm.

VirtualMachineProperties withCheckpoints(List<Checkpoint> checkpoints)

Set the checkpoints property: Checkpoints in the vm.

VirtualMachineProperties withCheckpointType(String checkpointType)

Set the checkpointType property: Type of checkpoint supported for the vm.

VirtualMachineProperties withCloudId(String cloudId)

Set the cloudId property: ARM Id of the cloud resource to use for deploying the vm.

VirtualMachineProperties withGeneration(Integer generation)

Set the generation property: Gets or sets the generation for the vm.

VirtualMachineProperties withHardwareProfile(HardwareProfile hardwareProfile)

Set the hardwareProfile property: Hardware properties.

VirtualMachineProperties withInventoryItemId(String inventoryItemId)

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

VirtualMachineProperties withNetworkProfile(NetworkProfile networkProfile)

Set the networkProfile property: Network properties.

VirtualMachineProperties withOsProfile(OsProfile osProfile)

Set the osProfile property: OS properties.

VirtualMachineProperties withStorageProfile(StorageProfile storageProfile)

Set the storageProfile property: Storage properties.

VirtualMachineProperties withTemplateId(String templateId)

Set the templateId property: ARM Id of the template resource to use for deploying the vm.

VirtualMachineProperties withUuid(String uuid)

Set the uuid property: Unique ID of the virtual machine.

VirtualMachineProperties withVmmServerId(String vmmServerId)

Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

VirtualMachineProperties withVmName(String vmName)

Set the vmName property: VMName is the name of VM on the SCVMM server.

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineProperties

public VirtualMachineProperties()

Method Details

availabilitySets

public List<AvailabilitySetListItem> availabilitySets()

Get the availabilitySets property: Availability Sets in vm.

Returns:

the availabilitySets value.

checkpoints

public List<Checkpoint> checkpoints()

Get the checkpoints property: Checkpoints in the vm.

Returns:

the checkpoints value.

checkpointType

public String checkpointType()

Get the checkpointType property: Type of checkpoint supported for the vm.

Returns:

the checkpointType value.

cloudId

public String cloudId()

Get the cloudId property: ARM Id of the cloud resource to use for deploying the vm.

Returns:

the cloudId value.

generation

public Integer generation()

Get the generation property: Gets or sets the generation for the vm.

Returns:

the generation value.

hardwareProfile

public HardwareProfile hardwareProfile()

Get the hardwareProfile property: Hardware properties.

Returns:

the hardwareProfile value.

inventoryItemId

public String inventoryItemId()

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

Returns:

the inventoryItemId 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.

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.

storageProfile

public StorageProfile storageProfile()

Get the storageProfile property: Storage properties.

Returns:

the storageProfile value.

templateId

public String templateId()

Get the templateId property: ARM Id of the template resource to use for deploying the vm.

Returns:

the templateId value.

uuid

public String uuid()

Get the uuid property: Unique ID of the virtual machine.

Returns:

the uuid value.

validate

public void validate()

Validates the instance.

vmmServerId

public String vmmServerId()

Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Returns:

the vmmServerId value.

vmName

public String vmName()

Get the vmName property: VMName is the name of VM on the SCVMM server.

Returns:

the vmName value.

withAvailabilitySets

public VirtualMachineProperties withAvailabilitySets(List<AvailabilitySetListItem> availabilitySets)

Set the availabilitySets property: Availability Sets in vm.

Parameters:

availabilitySets - the availabilitySets value to set.

Returns:

the VirtualMachineProperties object itself.

withCheckpoints

public VirtualMachineProperties withCheckpoints(List<Checkpoint> checkpoints)

Set the checkpoints property: Checkpoints in the vm.

Parameters:

checkpoints - the checkpoints value to set.

Returns:

the VirtualMachineProperties object itself.

withCheckpointType

public VirtualMachineProperties withCheckpointType(String checkpointType)

Set the checkpointType property: Type of checkpoint supported for the vm.

Parameters:

checkpointType - the checkpointType value to set.

Returns:

the VirtualMachineProperties object itself.

withCloudId

public VirtualMachineProperties withCloudId(String cloudId)

Set the cloudId property: ARM Id of the cloud resource to use for deploying the vm.

Parameters:

cloudId - the cloudId value to set.

Returns:

the VirtualMachineProperties object itself.

withGeneration

public VirtualMachineProperties withGeneration(Integer generation)

Set the generation property: Gets or sets the generation for the vm.

Parameters:

generation - the generation value to set.

Returns:

the VirtualMachineProperties object itself.

withHardwareProfile

public VirtualMachineProperties withHardwareProfile(HardwareProfile hardwareProfile)

Set the hardwareProfile property: Hardware properties.

Parameters:

hardwareProfile - the hardwareProfile value to set.

Returns:

the VirtualMachineProperties object itself.

withInventoryItemId

public VirtualMachineProperties withInventoryItemId(String inventoryItemId)

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

Parameters:

inventoryItemId - the inventoryItemId value to set.

Returns:

the VirtualMachineProperties object itself.

withNetworkProfile

public VirtualMachineProperties withNetworkProfile(NetworkProfile networkProfile)

Set the networkProfile property: Network properties.

Parameters:

networkProfile - the networkProfile value to set.

Returns:

the VirtualMachineProperties object itself.

withOsProfile

public VirtualMachineProperties withOsProfile(OsProfile osProfile)

Set the osProfile property: OS properties.

Parameters:

osProfile - the osProfile value to set.

Returns:

the VirtualMachineProperties object itself.

withStorageProfile

public VirtualMachineProperties withStorageProfile(StorageProfile storageProfile)

Set the storageProfile property: Storage properties.

Parameters:

storageProfile - the storageProfile value to set.

Returns:

the VirtualMachineProperties object itself.

withTemplateId

public VirtualMachineProperties withTemplateId(String templateId)

Set the templateId property: ARM Id of the template resource to use for deploying the vm.

Parameters:

templateId - the templateId value to set.

Returns:

the VirtualMachineProperties object itself.

withUuid

public VirtualMachineProperties withUuid(String uuid)

Set the uuid property: Unique ID of the virtual machine.

Parameters:

uuid - the uuid value to set.

Returns:

the VirtualMachineProperties object itself.

withVmmServerId

public VirtualMachineProperties withVmmServerId(String vmmServerId)

Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Parameters:

vmmServerId - the vmmServerId value to set.

Returns:

the VirtualMachineProperties object itself.

withVmName

public VirtualMachineProperties withVmName(String vmName)

Set the vmName property: VMName is the name of VM on the SCVMM server.

Parameters:

vmName - the vmName value to set.

Returns:

the VirtualMachineProperties object itself.

Applies to