public interface VirtualMachineScaleSet extends com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<com.microsoft.azure.management.compute.implementation.ComputeManager,com.microsoft.azure.management.compute.implementation.VirtualMachineScaleSetInner>, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<VirtualMachineScaleSet>, com.microsoft.azure.management.resources.fluentcore.model.Updatable<VirtualMachineScaleSet.UpdateStages.WithPrimaryLoadBalancer>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
VirtualMachineScaleSet.DefinitionManaged
The entirety of the managed disk based virtual machine scale set definition.
|
static interface |
VirtualMachineScaleSet.DefinitionManagedOrUnmanaged
The entirety of the virtual machine scale set definition.
|
static interface |
VirtualMachineScaleSet.DefinitionShared
The virtual machine scale set stages shared between managed and unmanaged based
virtual machine scale set definitions.
|
static interface |
VirtualMachineScaleSet.DefinitionStages
Grouping of virtual machine scale set definition stages.
|
static interface |
VirtualMachineScaleSet.DefinitionUnmanaged
The entirety of the unmanaged disk based virtual machine scale set definition.
|
static interface |
VirtualMachineScaleSet.Update
The entirety of the virtual machine scale set update.
|
static interface |
VirtualMachineScaleSet.UpdateStages
Grouping of virtual machine scale set update stages.
|
com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags<T>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<T>| Modifier and Type | Method and Description |
|---|---|
List<String> |
applicationGatewayBackendAddressPoolsIds() |
List<String> |
applicationSecurityGroupIds() |
Set<com.microsoft.azure.management.resources.fluentcore.arm.AvailabilityZoneId> |
availabilityZones() |
String |
bootDiagnosticsStorageUri() |
int |
capacity() |
String |
computerNamePrefix() |
void |
deallocate()
Shuts down the virtual machines in the scale set and releases its compute resources.
|
rx.Completable |
deallocateAsync()
Shuts down the virtual machines in the scale set and releases its compute resources asynchronously.
|
com.microsoft.rest.ServiceFuture<Void> |
deallocateAsync(com.microsoft.rest.ServiceCallback<Void> callback)
Shuts down the virtual machines in the scale set and releases its compute resources asynchronously.
|
Map<String,VirtualMachineScaleSetExtension> |
extensions() |
com.microsoft.azure.management.network.VirtualMachineScaleSetNetworkInterface |
getNetworkInterfaceByInstanceId(String instanceId,
String name)
Gets a network interface associated with a virtual machine scale set instance.
|
com.microsoft.azure.management.network.LoadBalancer |
getPrimaryInternalLoadBalancer() |
com.microsoft.azure.management.network.LoadBalancer |
getPrimaryInternetFacingLoadBalancer() |
com.microsoft.azure.management.network.Network |
getPrimaryNetwork() |
boolean |
isAcceleratedNetworkingEnabled() |
boolean |
isBootDiagnosticsEnabled() |
boolean |
isIpForwardingEnabled() |
boolean |
isManagedDiskEnabled() |
boolean |
isManagedServiceIdentityEnabled() |
boolean |
isSinglePlacementGroupEnabled() |
com.microsoft.azure.PagedList<VirtualMachineScaleSetSku> |
listAvailableSkus() |
com.microsoft.azure.PagedList<com.microsoft.azure.management.network.VirtualMachineScaleSetNetworkInterface> |
listNetworkInterfaces() |
com.microsoft.azure.PagedList<com.microsoft.azure.management.network.VirtualMachineScaleSetNetworkInterface> |
listNetworkInterfacesByInstanceId(String virtualMachineInstanceId)
Lists the network interface associated with a specific virtual machine instance in the scale set.
|
Map<String,com.microsoft.azure.management.network.LoadBalancerBackend> |
listPrimaryInternalLoadBalancerBackends() |
Map<String,com.microsoft.azure.management.network.LoadBalancerInboundNatPool> |
listPrimaryInternalLoadBalancerInboundNatPools() |
Map<String,com.microsoft.azure.management.network.LoadBalancerBackend> |
listPrimaryInternetFacingLoadBalancerBackends() |
Map<String,com.microsoft.azure.management.network.LoadBalancerInboundNatPool> |
listPrimaryInternetFacingLoadBalancerInboundNatPools() |
StorageAccountTypes |
managedOSDiskStorageAccountType() |
ResourceIdentityType |
managedServiceIdentityType() |
VirtualMachineScaleSetNetworkProfile |
networkProfile() |
String |
networkSecurityGroupId() |
CachingTypes |
osDiskCachingType() |
String |
osDiskName() |
OperatingSystemTypes |
osType() |
boolean |
overProvisionEnabled() |
void |
powerOff()
Powers off (stops) the virtual machines in the scale set.
|
rx.Completable |
powerOffAsync()
Powers off (stops) the virtual machines in the scale set asynchronously.
|
com.microsoft.rest.ServiceFuture<Void> |
powerOffAsync(com.microsoft.rest.ServiceCallback<Void> callback)
Powers off (stops) the virtual machines in the scale set asynchronously.
|
List<String> |
primaryPublicIPAddressIds() |
void |
reimage()
Re-images (updates the version of the installed operating system) the virtual machines in the scale set.
|
rx.Completable |
reimageAsync()
Re-images (updates the version of the installed operating system) the virtual machines in the scale set asynchronously.
|
com.microsoft.rest.ServiceFuture<Void> |
reimageAsync(com.microsoft.rest.ServiceCallback<Void> callback)
Re-images (updates the version of the installed operating system) the virtual machines in the scale set asynchronously.
|
void |
restart()
Restarts the virtual machines in the scale set.
|
rx.Completable |
restartAsync()
Restarts the virtual machines in the scale set asynchronously.
|
com.microsoft.rest.ServiceFuture<Void> |
restartAsync(com.microsoft.rest.ServiceCallback<Void> callback)
Restarts the virtual machines in the scale set asynchronously.
|
RunCommandResult |
runCommandInVMInstance(String vmId,
RunCommandInput inputCommand)
Run commands in a virtual machine instance in a scale set.
|
rx.Observable<RunCommandResult> |
runCommandVMInstanceAsync(String vmId,
RunCommandInput inputCommand)
Run commands in a virtual machine instance in a scale set asynchronously.
|
RunCommandResult |
runPowerShellScriptInVMInstance(String vmId,
List<String> scriptLines,
List<RunCommandInputParameter> scriptParameters)
Run PowerShell script in a virtual machine instance in a scale set.
|
rx.Observable<RunCommandResult> |
runPowerShellScriptInVMInstanceAsync(String vmId,
List<String> scriptLines,
List<RunCommandInputParameter> scriptParameters)
Run PowerShell in a virtual machine instance in a scale set asynchronously.
|
RunCommandResult |
runShellScriptInVMInstance(String vmId,
List<String> scriptLines,
List<RunCommandInputParameter> scriptParameters)
Run shell script in a virtual machine instance in a scale set.
|
rx.Observable<RunCommandResult> |
runShellScriptInVMInstanceAsync(String vmId,
List<String> scriptLines,
List<RunCommandInputParameter> scriptParameters)
Run shell script in a virtual machine instance in a scale set asynchronously.
|
VirtualMachineScaleSetSkuTypes |
sku() |
void |
start()
Starts the virtual machines in the scale set.
|
rx.Completable |
startAsync()
Starts the virtual machines in the scale set asynchronously.
|
com.microsoft.rest.ServiceFuture<Void> |
startAsync(com.microsoft.rest.ServiceCallback<Void> callback)
Starts the virtual machines in the scale set asynchronously.
|
VirtualMachineScaleSetStorageProfile |
storageProfile() |
String |
systemAssignedManagedServiceIdentityPrincipalId() |
String |
systemAssignedManagedServiceIdentityTenantId() |
UpgradeMode |
upgradeModel() |
Set<String> |
userAssignedManagedServiceIdentityIds() |
List<String> |
vhdContainers() |
VirtualMachineEvictionPolicyTypes |
virtualMachineEvictionPolicy() |
VirtualMachinePriorityTypes |
virtualMachinePriority() |
VirtualMachineScaleSetPublicIPAddressConfiguration |
virtualMachinePublicIpConfig() |
VirtualMachineScaleSetVMs |
virtualMachines() |
region, regionName, tags, typekeyidnameresourceGroupNamemanagerinnerVirtualMachineScaleSetVMs virtualMachines()
com.microsoft.azure.PagedList<VirtualMachineScaleSetSku> listAvailableSkus()
void deallocate()
rx.Completable deallocateAsync()
com.microsoft.rest.ServiceFuture<Void> deallocateAsync(com.microsoft.rest.ServiceCallback<Void> callback)
callback - the callback to call on success or failurevoid powerOff()
rx.Completable powerOffAsync()
com.microsoft.rest.ServiceFuture<Void> powerOffAsync(com.microsoft.rest.ServiceCallback<Void> callback)
callback - the callback to call on success or failurevoid restart()
rx.Completable restartAsync()
com.microsoft.rest.ServiceFuture<Void> restartAsync(com.microsoft.rest.ServiceCallback<Void> callback)
callback - the callback to call on success or failurevoid start()
rx.Completable startAsync()
com.microsoft.rest.ServiceFuture<Void> startAsync(com.microsoft.rest.ServiceCallback<Void> callback)
callback - the callback to call on success or failurevoid reimage()
rx.Completable reimageAsync()
com.microsoft.rest.ServiceFuture<Void> reimageAsync(com.microsoft.rest.ServiceCallback<Void> callback)
callback - the callback to call on success or failureRunCommandResult runPowerShellScriptInVMInstance(String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
vmId - the virtual machine instance idscriptLines - PowerShell script linesscriptParameters - script parametersrx.Observable<RunCommandResult> runPowerShellScriptInVMInstanceAsync(String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
vmId - the virtual machine instance idscriptLines - PowerShell script linesscriptParameters - script parametersRunCommandResult runShellScriptInVMInstance(String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
vmId - the virtual machine instance idscriptLines - shell script linesscriptParameters - script parametersrx.Observable<RunCommandResult> runShellScriptInVMInstanceAsync(String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
vmId - the virtual machine instance idscriptLines - shell script linesscriptParameters - script parametersRunCommandResult runCommandInVMInstance(String vmId, RunCommandInput inputCommand)
vmId - the virtual machine instance idinputCommand - command inputrx.Observable<RunCommandResult> runCommandVMInstanceAsync(String vmId, RunCommandInput inputCommand)
vmId - the virtual machine instance idinputCommand - command inputString computerNamePrefix()
OperatingSystemTypes osType()
CachingTypes osDiskCachingType()
String osDiskName()
UpgradeMode upgradeModel()
boolean overProvisionEnabled()
VirtualMachineScaleSetSkuTypes sku()
int capacity()
com.microsoft.azure.management.network.Network getPrimaryNetwork()
throws IOException
A primary internal load balancer associated with the primary network interfaces of the scale set virtual machine will be also belong to this network
IOException - the IO exceptioncom.microsoft.azure.management.network.LoadBalancer getPrimaryInternetFacingLoadBalancer()
throws IOException
IOException - the IO exceptionMap<String,com.microsoft.azure.management.network.LoadBalancerBackend> listPrimaryInternetFacingLoadBalancerBackends() throws IOException
IOException - the IO exceptionMap<String,com.microsoft.azure.management.network.LoadBalancerInboundNatPool> listPrimaryInternetFacingLoadBalancerInboundNatPools() throws IOException
IOException - the IO exceptioncom.microsoft.azure.management.network.LoadBalancer getPrimaryInternalLoadBalancer()
throws IOException
IOException - the IO exceptionMap<String,com.microsoft.azure.management.network.LoadBalancerBackend> listPrimaryInternalLoadBalancerBackends() throws IOException
IOException - the IO exceptionMap<String,com.microsoft.azure.management.network.LoadBalancerInboundNatPool> listPrimaryInternalLoadBalancerInboundNatPools() throws IOException
IOException - the IO exceptionList<String> primaryPublicIPAddressIds() throws IOException
IOException - the IO exceptionList<String> vhdContainers()
VirtualMachineScaleSetStorageProfile storageProfile()
VirtualMachineScaleSetNetworkProfile networkProfile()
Map<String,VirtualMachineScaleSetExtension> extensions()
@Beta(value=V1_8_0) VirtualMachinePriorityTypes virtualMachinePriority()
@Beta(value=V1_11_0) VirtualMachineEvictionPolicyTypes virtualMachineEvictionPolicy()
com.microsoft.azure.management.network.VirtualMachineScaleSetNetworkInterface getNetworkInterfaceByInstanceId(String instanceId, String name)
instanceId - the virtual machine scale set vm instance IDname - the network interface namecom.microsoft.azure.PagedList<com.microsoft.azure.management.network.VirtualMachineScaleSetNetworkInterface> listNetworkInterfaces()
com.microsoft.azure.PagedList<com.microsoft.azure.management.network.VirtualMachineScaleSetNetworkInterface> listNetworkInterfacesByInstanceId(String virtualMachineInstanceId)
virtualMachineInstanceId - the instance IDboolean isManagedDiskEnabled()
@Beta(value=V1_2_0) boolean isManagedServiceIdentityEnabled()
@Beta(value=V1_5_0) String systemAssignedManagedServiceIdentityTenantId()
@Beta(value=V1_5_0) String systemAssignedManagedServiceIdentityPrincipalId()
@Beta(value=V1_4_0) ResourceIdentityType managedServiceIdentityType()
@Beta(value=V1_5_1) Set<String> userAssignedManagedServiceIdentityIds()
@Beta(value=V1_3_0) Set<com.microsoft.azure.management.resources.fluentcore.arm.AvailabilityZoneId> availabilityZones()
@Beta(value=V1_4_0) boolean isBootDiagnosticsEnabled()
@Beta(value=V1_4_0) String bootDiagnosticsStorageUri()
@Beta(value=V1_4_0) StorageAccountTypes managedOSDiskStorageAccountType()
@Beta(value=V1_14_0) VirtualMachineScaleSetPublicIPAddressConfiguration virtualMachinePublicIpConfig()
@Beta(value=V1_14_0) boolean isIpForwardingEnabled()
@Beta(value=V1_14_0) boolean isAcceleratedNetworkingEnabled()
@Beta(value=V1_14_0) String networkSecurityGroupId()
@Beta(value=V1_14_0) boolean isSinglePlacementGroupEnabled()
List<String> applicationGatewayBackendAddressPoolsIds()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/