VirtualMachineScaleSetVM Interface
public interface VirtualMachineScaleSetVM extends Resource,ChildResource,Refreshable,HasInner
An immutable client-side representation of a virtual machine instance in an Azure virtual machine scale set.
Method Summary
Inherited Members
Method Details
administratorUserName
public String administratorUserName()
Returns:
availabilitySetId
public String availabilitySetId()
Returns:
bootDiagnosticEnabled
public boolean bootDiagnosticEnabled()
Returns:
bootDiagnosticStorageAccountUri
public String bootDiagnosticStorageAccountUri()
Returns:
computerName
public String computerName()
Returns:
dataDisks
public Map
Returns:
deallocate
public void deallocate()
Shuts down the virtual machine instance and releases the associated compute resources.
deallocateAsync
public Completable deallocateAsync()
Shuts down the virtual machine instance and releases the associated compute resources.
Returns:
delete
public void delete()
Deletes the virtual machine instance.
deleteAsync
public Completable deleteAsync()
Deletes the virtual machine instance.
Returns:
diagnosticsProfile
public DiagnosticsProfile diagnosticsProfile()
Returns:
extensions
public Map
Returns:
getNetworkInterface
public VirtualMachineScaleSetNetworkInterface getNetworkInterface(String name)
Gets a network interface associated with this virtual machine instance.
Parameters:
Returns:
getOSCustomImage
public VirtualMachineCustomImage getOSCustomImage()
Returns:
getOSPlatformImage
public VirtualMachineImage getOSPlatformImage()
Returns:
instanceId
public String instanceId()
Returns:
instanceView
public VirtualMachineInstanceView instanceView()
Gets the instance view of the virtual machine instance.
To get the latest instance view use .
Returns:
isLatestScaleSetUpdateApplied
public boolean isLatestScaleSetUpdateApplied()
Returns:
isLinuxPasswordAuthenticationEnabled
public boolean isLinuxPasswordAuthenticationEnabled()
Returns:
isManagedDiskEnabled
public boolean isManagedDiskEnabled()
Returns:
isOSBasedOnCustomImage
public boolean isOSBasedOnCustomImage()
Returns:
isOSBasedOnPlatformImage
public boolean isOSBasedOnPlatformImage()
Returns:
isOSBasedOnStoredImage
public boolean isOSBasedOnStoredImage()
Returns:
isWindowsAutoUpdateEnabled
public boolean isWindowsAutoUpdateEnabled()
Returns:
isWindowsVMAgentProvisioned
public boolean isWindowsVMAgentProvisioned()
Returns:
listNetworkInterfaces
public PagedList
Returns:
networkInterfaceIds
public List
Returns:
osDiskCachingType
public CachingTypes osDiskCachingType()
Returns:
osDiskId
public String osDiskId()
Returns:
osDiskName
public String osDiskName()
Returns:
osDiskSizeInGB
public int osDiskSizeInGB()
Returns:
osProfile
public OSProfile osProfile()
Returns:
osType
public OperatingSystemTypes osType()
Returns:
osUnmanagedDiskVhdUri
public String osUnmanagedDiskVhdUri()
Returns:
platformImageReference
public ImageReference platformImageReference()
Returns:
powerOff
public void powerOff()
Stops the virtual machine instance.
powerOffAsync
public Completable powerOffAsync()
Stops the virtual machine instance.
Returns:
powerState
public PowerState powerState()
Returns:
primaryNetworkInterfaceId
public String primaryNetworkInterfaceId()
Returns:
refreshInstanceView
public VirtualMachineInstanceView refreshInstanceView()
Refreshes the instance view.
Returns:
refreshInstanceViewAsync
public Observable
Refreshes the instance view.
Returns:
reimage
public void reimage()
Updates the version of the installed operating system in the virtual machine instance.
reimageAsync
public Completable reimageAsync()
Updates the version of the installed operating system in the virtual machine instance.
Returns:
restart
public void restart()
Restarts the virtual machine instance.
restartAsync
public Completable restartAsync()
Restarts the virtual machine instance.
Returns:
size
public VirtualMachineSizeTypes size()
Returns:
sku
public Sku sku()
Returns:
start
public void start()
Starts the virtual machine instance.
startAsync
public Completable startAsync()
Starts the virtual machine instance.
Returns:
storageProfile
public StorageProfile storageProfile()
Returns:
storedImageUnmanagedVhdUri
public String storedImageUnmanagedVhdUri()
Returns:
unmanagedDataDisks
public Map
Returns:
windowsTimeZone
public String windowsTimeZone()
Returns:
Applies to
Azure SDK for Java