Package | Description |
---|---|
com.azure.resourcemanager.devtestlabs.fluent |
Package containing the service clients for DevTestLabsClient.
|
com.azure.resourcemanager.devtestlabs.fluent.models |
Package containing the inner data models for DevTestLabsClient.
|
com.azure.resourcemanager.devtestlabs.models |
Package containing the data models for DevTestLabsClient.
|
Modifier and Type | Method and Description |
---|---|
LabVirtualMachineInner |
VirtualMachinesClient.createOrUpdate(String resourceGroupName,
String labName,
String name,
LabVirtualMachineInner labVirtualMachine)
Create or replace an existing virtual machine.
|
LabVirtualMachineInner |
VirtualMachinesClient.createOrUpdate(String resourceGroupName,
String labName,
String name,
LabVirtualMachineInner labVirtualMachine,
com.azure.core.util.Context context)
Create or replace an existing virtual machine.
|
LabVirtualMachineInner |
VirtualMachinesClient.get(String resourceGroupName,
String labName,
String name)
Get virtual machine.
|
LabVirtualMachineInner |
VirtualMachinesClient.update(String resourceGroupName,
String labName,
String name,
LabVirtualMachineFragment labVirtualMachine)
Allows modifying tags of virtual machines.
|
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LabVirtualMachineInner>,LabVirtualMachineInner> |
VirtualMachinesClient.beginCreateOrUpdate(String resourceGroupName,
String labName,
String name,
LabVirtualMachineInner labVirtualMachine)
Create or replace an existing virtual machine.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LabVirtualMachineInner>,LabVirtualMachineInner> |
VirtualMachinesClient.beginCreateOrUpdate(String resourceGroupName,
String labName,
String name,
LabVirtualMachineInner labVirtualMachine,
com.azure.core.util.Context context)
Create or replace an existing virtual machine.
|
LabVirtualMachineInner |
VirtualMachinesClient.createOrUpdate(String resourceGroupName,
String labName,
String name,
LabVirtualMachineInner labVirtualMachine)
Create or replace an existing virtual machine.
|
LabVirtualMachineInner |
VirtualMachinesClient.createOrUpdate(String resourceGroupName,
String labName,
String name,
LabVirtualMachineInner labVirtualMachine,
com.azure.core.util.Context context)
Create or replace an existing virtual machine.
|
Modifier and Type | Method and Description |
---|---|
LabVirtualMachineInner |
LabVirtualMachineInner.withAllowClaim(Boolean allowClaim)
Set the allowClaim property: Indicates whether another user can take ownership of the virtual machine.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withArtifacts(List<ArtifactInstallProperties> artifacts)
Set the artifacts property: The artifacts to be installed on the virtual machine.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withCreatedDate(OffsetDateTime createdDate)
Set the createdDate property: The creation date of the virtual machine.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withCustomImageId(String customImageId)
Set the customImageId property: The custom image identifier of the virtual machine.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withDataDiskParameters(List<DataDiskProperties> dataDiskParameters)
Set the dataDiskParameters property: New or existing data disks to attach to the virtual machine after creation.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withDisallowPublicIpAddress(Boolean disallowPublicIpAddress)
Set the disallowPublicIpAddress property: Indicates whether the virtual machine is to be created without a public
IP address.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withEnvironmentId(String environmentId)
Set the environmentId property: The resource ID of the environment that contains this virtual machine, if any.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withExpirationDate(OffsetDateTime expirationDate)
Set the expirationDate property: The expiration date for VM.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withGalleryImageReference(GalleryImageReference galleryImageReference)
Set the galleryImageReference property: The Microsoft Azure Marketplace image reference of the virtual machine.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withIsAuthenticationWithSshKey(Boolean isAuthenticationWithSshKey)
Set the isAuthenticationWithSshKey property: Indicates whether this virtual machine uses an SSH key for
authentication.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withLabSubnetName(String labSubnetName)
Set the labSubnetName property: The lab subnet name of the virtual machine.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withLabVirtualNetworkId(String labVirtualNetworkId)
Set the labVirtualNetworkId property: The lab virtual network identifier of the virtual machine.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withLocation(String location) |
LabVirtualMachineInner |
LabVirtualMachineInner.withNetworkInterface(NetworkInterfaceProperties networkInterface)
Set the networkInterface property: The network interface properties.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withNotes(String notes)
Set the notes property: The notes of the virtual machine.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withOwnerObjectId(String ownerObjectId)
Set the ownerObjectId property: The object identifier of the owner of the virtual machine.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withOwnerUserPrincipalName(String ownerUserPrincipalName)
Set the ownerUserPrincipalName property: The user principal name of the virtual machine owner.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withPassword(String password)
Set the password property: The password of the virtual machine administrator.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withPlanId(String planId)
Set the planId property: The id of the plan associated with the virtual machine image.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withScheduleParameters(List<ScheduleCreationParameter> scheduleParameters)
Set the scheduleParameters property: Virtual Machine schedules to be created.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withSize(String size)
Set the size property: The size of the virtual machine.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withSshKey(String sshKey)
Set the sshKey property: The SSH key of the virtual machine administrator.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withStorageType(String storageType)
Set the storageType property: Storage type to use for virtual machine (i.e.
|
LabVirtualMachineInner |
LabVirtualMachineInner.withTags(Map<String,String> tags) |
LabVirtualMachineInner |
LabVirtualMachineInner.withUsername(String username)
Set the username property: The user name of the virtual machine.
|
Modifier and Type | Method and Description |
---|---|
LabVirtualMachineInner |
LabVirtualMachine.innerModel()
Gets the inner com.azure.resourcemanager.devtestlabs.fluent.models.LabVirtualMachineInner object.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.