VirtualMachineScaleSetVM Interface
Implements
public interface VirtualMachineScaleSetVM
extends Resource, ChildResource<VirtualMachineScaleSet>, Refreshable<VirtualMachineScaleSetVM>, Updatable<Update>, HasInnerModel<VirtualMachineScaleSetVMInner>
An immutable client-side representation of a virtual machine instance in an Azure virtual machine scale set.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String | administratorUserName() |
abstract String | availabilitySetId() |
abstract boolean | bootDiagnosticEnabled() |
abstract String | bootDiagnosticStorageAccountUri() |
abstract String | computerName() |
abstract
Map<Integer,Virtual |
dataDisks() |
abstract void |
deallocate()
Shuts down the virtual machine instance and releases the associated compute resources. |
abstract Mono<Void> |
deallocateAsync()
Shuts down the virtual machine instance and releases the associated compute resources. |
abstract void |
delete()
Deletes the virtual machine instance. |
abstract Mono<Void> |
deleteAsync()
Deletes the virtual machine instance. |
abstract
Diagnostics |
diagnosticsProfile() |
abstract
Map<String,Virtual |
extensions() |
abstract
Virtual |
getNetworkInterface(String name)
Gets a network interface associated with this virtual machine instance. |
abstract
Mono<Virtual |
getNetworkInterfaceAsync(String name)
Gets a network interface associated with this virtual machine instance. |
abstract
Virtual |
getOSCustomImage() |
abstract
Virtual |
getOSPlatformImage() |
abstract String | instanceId() |
abstract
Virtual |
instanceView()
Gets the instance view of the virtual machine instance. |
abstract boolean | isLatestScaleSetUpdateApplied() |
abstract boolean | isLinuxPasswordAuthenticationEnabled() |
abstract boolean | isManagedDiskEnabled() |
abstract boolean | isOSBasedOnCustomImage() |
abstract boolean | isOSBasedOnPlatformImage() |
abstract boolean | isOSBasedOnStoredImage() |
abstract boolean | isWindowsAutoUpdateEnabled() |
abstract boolean | isWindowsVMAgentProvisioned() |
abstract
Paged |
listNetworkInterfaces() |
abstract
Paged |
listNetworkInterfacesAsync() |
abstract String | modelDefinitionApplied() |
abstract List<String> | networkInterfaceIds() |
abstract
Virtual |
networkProfileConfiguration() |
abstract
Caching |
osDiskCachingType() |
abstract String | osDiskId() |
abstract String | osDiskName() |
abstract int | osDiskSizeInGB() |
abstract OSProfile | osProfile() |
abstract
Operating |
osType() |
abstract String | osUnmanagedDiskVhdUri() |
abstract
Image |
platformImageReference() |
abstract void |
powerOff()
Stops the virtual machine instance. |
abstract void |
powerOff(boolean skipShutdown)
Stops the virtual machine instance. |
abstract Mono<Void> |
powerOffAsync()
Stops the virtual machine instance. |
abstract Mono<Void> |
powerOffAsync(boolean skipShutdown)
Stops the virtual machine instances. |
abstract
Power |
powerState() |
abstract String | primaryNetworkInterfaceId() |
abstract
Virtual |
protectionPolicy() |
abstract void |
redeploy()
Shuts down the virtual machine instance, move them to new node, and powers them back on. |
abstract Mono<Void> |
redeployAsync()
Shuts down the virtual machine instance, move them to new node, and powers them back on. |
abstract
Virtual |
refreshInstanceView()
Refreshes the instance view. |
abstract
Mono<Virtual |
refreshInstanceViewAsync()
Refreshes the instance view. |
abstract void |
reimage()
Updates the version of the installed operating system in the virtual machine instance. |
abstract Mono<Void> |
reimageAsync()
Updates the version of the installed operating system in the virtual machine instance. |
abstract void |
restart()
Restarts the virtual machine instance. |
abstract Mono<Void> |
restartAsync()
Restarts the virtual machine instance. |
abstract
Virtual |
size() |
abstract Sku | sku() |
abstract void |
start()
Starts the virtual machine instance. |
abstract Mono<Void> |
startAsync()
Starts the virtual machine instance. |
abstract
Storage |
storageProfile() |
abstract String | storedImageUnmanagedVhdUri() |
abstract
Offset |
timeCreated() |
abstract
Map<Integer,Virtual |
unmanagedDataDisks() |
abstract String | windowsTimeZone() |
Method Details
administratorUserName
public abstract String administratorUserName()
Returns:
availabilitySetId
public abstract String availabilitySetId()
Returns:
bootDiagnosticEnabled
public abstract boolean bootDiagnosticEnabled()
Returns:
bootDiagnosticStorageAccountUri
public abstract String bootDiagnosticStorageAccountUri()
Returns:
computerName
public abstract String computerName()
Returns:
dataDisks
public abstract Map
Returns:
deallocate
public abstract void deallocate()
Shuts down the virtual machine instance and releases the associated compute resources.
deallocateAsync
public abstract Mono
Shuts down the virtual machine instance and releases the associated compute resources.
Returns:
delete
public abstract void delete()
Deletes the virtual machine instance.
deleteAsync
public abstract Mono
Deletes the virtual machine instance.
Returns:
diagnosticsProfile
public abstract DiagnosticsProfile diagnosticsProfile()
Returns:
extensions
public abstract Map
Returns:
getNetworkInterface
public abstract VirtualMachineScaleSetNetworkInterface getNetworkInterface(String name)
Gets a network interface associated with this virtual machine instance.
Parameters:
Returns:
getNetworkInterfaceAsync
public abstract Mono
Gets a network interface associated with this virtual machine instance.
Parameters:
Returns:
getOSCustomImage
public abstract VirtualMachineCustomImage getOSCustomImage()
Returns:
getOSPlatformImage
public abstract VirtualMachineImage getOSPlatformImage()
Returns:
instanceId
public abstract String instanceId()
Returns:
instanceView
public abstract VirtualMachineInstanceView instanceView()
Gets the instance view of the virtual machine instance.
To get the latest instance view use refreshInstanceView()
.
Returns:
isLatestScaleSetUpdateApplied
public abstract boolean isLatestScaleSetUpdateApplied()
Returns:
isLinuxPasswordAuthenticationEnabled
public abstract boolean isLinuxPasswordAuthenticationEnabled()
Returns:
isManagedDiskEnabled
public abstract boolean isManagedDiskEnabled()
Returns:
isOSBasedOnCustomImage
public abstract boolean isOSBasedOnCustomImage()
Returns:
isOSBasedOnPlatformImage
public abstract boolean isOSBasedOnPlatformImage()
Returns:
isOSBasedOnStoredImage
public abstract boolean isOSBasedOnStoredImage()
Returns:
isWindowsAutoUpdateEnabled
public abstract boolean isWindowsAutoUpdateEnabled()
Returns:
isWindowsVMAgentProvisioned
public abstract boolean isWindowsVMAgentProvisioned()
Returns:
listNetworkInterfaces
public abstract PagedIterable
Returns:
listNetworkInterfacesAsync
public abstract PagedFlux
Returns:
modelDefinitionApplied
public abstract String modelDefinitionApplied()
Returns:
networkInterfaceIds
public abstract List
Returns:
networkProfileConfiguration
public abstract VirtualMachineScaleSetVMNetworkProfileConfiguration networkProfileConfiguration()
Returns:
osDiskCachingType
public abstract CachingTypes osDiskCachingType()
Returns:
osDiskId
public abstract String osDiskId()
Returns:
osDiskName
public abstract String osDiskName()
Returns:
osDiskSizeInGB
public abstract int osDiskSizeInGB()
Returns:
osProfile
public abstract OSProfile osProfile()
Returns:
osType
public abstract OperatingSystemTypes osType()
Returns:
osUnmanagedDiskVhdUri
public abstract String osUnmanagedDiskVhdUri()
Returns:
platformImageReference
public abstract ImageReference platformImageReference()
Returns:
powerOff
public abstract void powerOff()
Stops the virtual machine instance.
powerOff
public abstract void powerOff(boolean skipShutdown)
Stops the virtual machine instance.
Parameters:
powerOffAsync
public abstract Mono
Stops the virtual machine instance.
Returns:
powerOffAsync
public abstract Mono
Stops the virtual machine instances.
Parameters:
Returns:
powerState
public abstract PowerState powerState()
Returns:
primaryNetworkInterfaceId
public abstract String primaryNetworkInterfaceId()
Returns:
protectionPolicy
public abstract VirtualMachineScaleSetVMProtectionPolicy protectionPolicy()
Returns:
redeploy
public abstract void redeploy()
Shuts down the virtual machine instance, move them to new node, and powers them back on.
redeployAsync
public abstract Mono
Shuts down the virtual machine instance, move them to new node, and powers them back on.
Returns:
refreshInstanceView
public abstract VirtualMachineInstanceView refreshInstanceView()
Refreshes the instance view.
Returns:
refreshInstanceViewAsync
public abstract Mono
Refreshes the instance view.
Returns:
reimage
public abstract void reimage()
Updates the version of the installed operating system in the virtual machine instance.
reimageAsync
public abstract Mono
Updates the version of the installed operating system in the virtual machine instance.
Returns:
restart
public abstract void restart()
Restarts the virtual machine instance.
restartAsync
public abstract Mono
Restarts the virtual machine instance.
Returns:
size
public abstract VirtualMachineSizeTypes size()
Returns:
sku
public abstract Sku sku()
Returns:
start
public abstract void start()
Starts the virtual machine instance.
startAsync
public abstract Mono
Starts the virtual machine instance.
Returns:
storageProfile
public abstract StorageProfile storageProfile()
Returns:
storedImageUnmanagedVhdUri
public abstract String storedImageUnmanagedVhdUri()
Returns:
timeCreated
public abstract OffsetDateTime timeCreated()
Returns:
unmanagedDataDisks
public abstract Map
Returns:
windowsTimeZone
public abstract String windowsTimeZone()
Returns:
Applies to
Azure SDK for Java