public class LabVirtualMachineInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
LabVirtualMachineInner() |
Modifier and Type | Method and Description |
---|---|
Boolean |
allowClaim()
Get the allowClaim property: Indicates whether another user can take ownership of the virtual machine.
|
ApplicableScheduleInner |
applicableSchedule()
Get the applicableSchedule property: The applicable schedule for the virtual machine.
|
ArtifactDeploymentStatusProperties |
artifactDeploymentStatus()
Get the artifactDeploymentStatus property: The artifact deployment status for the virtual machine.
|
List<ArtifactInstallProperties> |
artifacts()
Get the artifacts property: The artifacts to be installed on the virtual machine.
|
String |
computeId()
Get the computeId property: The resource identifier (Microsoft.Compute) of the virtual machine.
|
ComputeVmProperties |
computeVm()
Get the computeVm property: The compute virtual machine properties.
|
String |
createdByUser()
Get the createdByUser property: The email address of creator of the virtual machine.
|
String |
createdByUserId()
Get the createdByUserId property: The object identifier of the creator of the virtual machine.
|
OffsetDateTime |
createdDate()
Get the createdDate property: The creation date of the virtual machine.
|
String |
customImageId()
Get the customImageId property: The custom image identifier of the virtual machine.
|
List<DataDiskProperties> |
dataDiskParameters()
Get the dataDiskParameters property: New or existing data disks to attach to the virtual machine after creation.
|
Boolean |
disallowPublicIpAddress()
Get the disallowPublicIpAddress property: Indicates whether the virtual machine is to be created without a public
IP address.
|
String |
environmentId()
Get the environmentId property: The resource ID of the environment that contains this virtual machine, if any.
|
OffsetDateTime |
expirationDate()
Get the expirationDate property: The expiration date for VM.
|
String |
fqdn()
Get the fqdn property: The fully-qualified domain name of the virtual machine.
|
GalleryImageReference |
galleryImageReference()
Get the galleryImageReference property: The Microsoft Azure Marketplace image reference of the virtual machine.
|
Boolean |
isAuthenticationWithSshKey()
Get the isAuthenticationWithSshKey property: Indicates whether this virtual machine uses an SSH key for
authentication.
|
String |
labSubnetName()
Get the labSubnetName property: The lab subnet name of the virtual machine.
|
String |
labVirtualNetworkId()
Get the labVirtualNetworkId property: The lab virtual network identifier of the virtual machine.
|
String |
lastKnownPowerState()
Get the lastKnownPowerState property: Last known compute power state captured in DTL.
|
NetworkInterfaceProperties |
networkInterface()
Get the networkInterface property: The network interface properties.
|
String |
notes()
Get the notes property: The notes of the virtual machine.
|
String |
osType()
Get the osType property: The OS type of the virtual machine.
|
String |
ownerObjectId()
Get the ownerObjectId property: The object identifier of the owner of the virtual machine.
|
String |
ownerUserPrincipalName()
Get the ownerUserPrincipalName property: The user principal name of the virtual machine owner.
|
String |
password()
Get the password property: The password of the virtual machine administrator.
|
String |
planId()
Get the planId property: The id of the plan associated with the virtual machine image.
|
String |
provisioningState()
Get the provisioningState property: The provisioning status of the resource.
|
List<ScheduleCreationParameter> |
scheduleParameters()
Get the scheduleParameters property: Virtual Machine schedules to be created.
|
String |
size()
Get the size property: The size of the virtual machine.
|
String |
sshKey()
Get the sshKey property: The SSH key of the virtual machine administrator.
|
String |
storageType()
Get the storageType property: Storage type to use for virtual machine (i.e.
|
String |
uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
|
String |
username()
Get the username property: The user name of the virtual machine.
|
void |
validate()
Validates the instance.
|
VirtualMachineCreationSource |
virtualMachineCreationSource()
Get the virtualMachineCreationSource property: Tells source of creation of lab virtual machine.
|
LabVirtualMachineInner |
withAllowClaim(Boolean allowClaim)
Set the allowClaim property: Indicates whether another user can take ownership of the virtual machine.
|
LabVirtualMachineInner |
withArtifacts(List<ArtifactInstallProperties> artifacts)
Set the artifacts property: The artifacts to be installed on the virtual machine.
|
LabVirtualMachineInner |
withCreatedDate(OffsetDateTime createdDate)
Set the createdDate property: The creation date of the virtual machine.
|
LabVirtualMachineInner |
withCustomImageId(String customImageId)
Set the customImageId property: The custom image identifier of the virtual machine.
|
LabVirtualMachineInner |
withDataDiskParameters(List<DataDiskProperties> dataDiskParameters)
Set the dataDiskParameters property: New or existing data disks to attach to the virtual machine after creation.
|
LabVirtualMachineInner |
withDisallowPublicIpAddress(Boolean disallowPublicIpAddress)
Set the disallowPublicIpAddress property: Indicates whether the virtual machine is to be created without a public
IP address.
|
LabVirtualMachineInner |
withEnvironmentId(String environmentId)
Set the environmentId property: The resource ID of the environment that contains this virtual machine, if any.
|
LabVirtualMachineInner |
withExpirationDate(OffsetDateTime expirationDate)
Set the expirationDate property: The expiration date for VM.
|
LabVirtualMachineInner |
withGalleryImageReference(GalleryImageReference galleryImageReference)
Set the galleryImageReference property: The Microsoft Azure Marketplace image reference of the virtual machine.
|
LabVirtualMachineInner |
withIsAuthenticationWithSshKey(Boolean isAuthenticationWithSshKey)
Set the isAuthenticationWithSshKey property: Indicates whether this virtual machine uses an SSH key for
authentication.
|
LabVirtualMachineInner |
withLabSubnetName(String labSubnetName)
Set the labSubnetName property: The lab subnet name of the virtual machine.
|
LabVirtualMachineInner |
withLabVirtualNetworkId(String labVirtualNetworkId)
Set the labVirtualNetworkId property: The lab virtual network identifier of the virtual machine.
|
LabVirtualMachineInner |
withLocation(String location) |
LabVirtualMachineInner |
withNetworkInterface(NetworkInterfaceProperties networkInterface)
Set the networkInterface property: The network interface properties.
|
LabVirtualMachineInner |
withNotes(String notes)
Set the notes property: The notes of the virtual machine.
|
LabVirtualMachineInner |
withOwnerObjectId(String ownerObjectId)
Set the ownerObjectId property: The object identifier of the owner of the virtual machine.
|
LabVirtualMachineInner |
withOwnerUserPrincipalName(String ownerUserPrincipalName)
Set the ownerUserPrincipalName property: The user principal name of the virtual machine owner.
|
LabVirtualMachineInner |
withPassword(String password)
Set the password property: The password of the virtual machine administrator.
|
LabVirtualMachineInner |
withPlanId(String planId)
Set the planId property: The id of the plan associated with the virtual machine image.
|
LabVirtualMachineInner |
withScheduleParameters(List<ScheduleCreationParameter> scheduleParameters)
Set the scheduleParameters property: Virtual Machine schedules to be created.
|
LabVirtualMachineInner |
withSize(String size)
Set the size property: The size of the virtual machine.
|
LabVirtualMachineInner |
withSshKey(String sshKey)
Set the sshKey property: The SSH key of the virtual machine administrator.
|
LabVirtualMachineInner |
withStorageType(String storageType)
Set the storageType property: Storage type to use for virtual machine (i.e.
|
LabVirtualMachineInner |
withTags(Map<String,String> tags) |
LabVirtualMachineInner |
withUsername(String username)
Set the username property: The user name of the virtual machine.
|
public String notes()
public LabVirtualMachineInner withNotes(String notes)
notes
- the notes value to set.public String ownerObjectId()
public LabVirtualMachineInner withOwnerObjectId(String ownerObjectId)
ownerObjectId
- the ownerObjectId value to set.public String ownerUserPrincipalName()
public LabVirtualMachineInner withOwnerUserPrincipalName(String ownerUserPrincipalName)
ownerUserPrincipalName
- the ownerUserPrincipalName value to set.public String createdByUserId()
public String createdByUser()
public OffsetDateTime createdDate()
public LabVirtualMachineInner withCreatedDate(OffsetDateTime createdDate)
createdDate
- the createdDate value to set.public String computeId()
public String customImageId()
public LabVirtualMachineInner withCustomImageId(String customImageId)
customImageId
- the customImageId value to set.public String osType()
public String size()
public LabVirtualMachineInner withSize(String size)
size
- the size value to set.public String username()
public LabVirtualMachineInner withUsername(String username)
username
- the username value to set.public String password()
public LabVirtualMachineInner withPassword(String password)
password
- the password value to set.public String sshKey()
public LabVirtualMachineInner withSshKey(String sshKey)
sshKey
- the sshKey value to set.public Boolean isAuthenticationWithSshKey()
public LabVirtualMachineInner withIsAuthenticationWithSshKey(Boolean isAuthenticationWithSshKey)
isAuthenticationWithSshKey
- the isAuthenticationWithSshKey value to set.public String fqdn()
public String labSubnetName()
public LabVirtualMachineInner withLabSubnetName(String labSubnetName)
labSubnetName
- the labSubnetName value to set.public String labVirtualNetworkId()
public LabVirtualMachineInner withLabVirtualNetworkId(String labVirtualNetworkId)
labVirtualNetworkId
- the labVirtualNetworkId value to set.public Boolean disallowPublicIpAddress()
public LabVirtualMachineInner withDisallowPublicIpAddress(Boolean disallowPublicIpAddress)
disallowPublicIpAddress
- the disallowPublicIpAddress value to set.public List<ArtifactInstallProperties> artifacts()
public LabVirtualMachineInner withArtifacts(List<ArtifactInstallProperties> artifacts)
artifacts
- the artifacts value to set.public ArtifactDeploymentStatusProperties artifactDeploymentStatus()
public GalleryImageReference galleryImageReference()
public LabVirtualMachineInner withGalleryImageReference(GalleryImageReference galleryImageReference)
galleryImageReference
- the galleryImageReference value to set.public String planId()
public LabVirtualMachineInner withPlanId(String planId)
planId
- the planId value to set.public ComputeVmProperties computeVm()
public NetworkInterfaceProperties networkInterface()
public LabVirtualMachineInner withNetworkInterface(NetworkInterfaceProperties networkInterface)
networkInterface
- the networkInterface value to set.public ApplicableScheduleInner applicableSchedule()
public OffsetDateTime expirationDate()
public LabVirtualMachineInner withExpirationDate(OffsetDateTime expirationDate)
expirationDate
- the expirationDate value to set.public Boolean allowClaim()
public LabVirtualMachineInner withAllowClaim(Boolean allowClaim)
allowClaim
- the allowClaim value to set.public String storageType()
public LabVirtualMachineInner withStorageType(String storageType)
storageType
- the storageType value to set.public VirtualMachineCreationSource virtualMachineCreationSource()
public String environmentId()
public LabVirtualMachineInner withEnvironmentId(String environmentId)
environmentId
- the environmentId value to set.public List<DataDiskProperties> dataDiskParameters()
public LabVirtualMachineInner withDataDiskParameters(List<DataDiskProperties> dataDiskParameters)
dataDiskParameters
- the dataDiskParameters value to set.public List<ScheduleCreationParameter> scheduleParameters()
public LabVirtualMachineInner withScheduleParameters(List<ScheduleCreationParameter> scheduleParameters)
scheduleParameters
- the scheduleParameters value to set.public String lastKnownPowerState()
public String provisioningState()
public String uniqueIdentifier()
public LabVirtualMachineInner withLocation(String location)
withLocation
in class com.azure.core.management.Resource
public LabVirtualMachineInner withTags(Map<String,String> tags)
withTags
in class com.azure.core.management.Resource
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.