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 |
|---|---|
Set<com.microsoft.azure.management.resources.fluentcore.arm.AvailabilityZoneId> |
availabilityZones() |
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 |
isManagedDiskEnabled() |
boolean |
isManagedServiceIdentityEnabled() |
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() |
String |
managedServiceIdentityPrincipalId() |
String |
managedServiceIdentityTenantId() |
VirtualMachineScaleSetNetworkProfile |
networkProfile() |
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.
|
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() |
UpgradeMode |
upgradeModel() |
List<String> |
vhdContainers() |
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 failureString 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()
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_2_0) String managedServiceIdentityTenantId()
@Beta(value=V1_2_0) String managedServiceIdentityPrincipalId()
@Beta(value=V1_3_0) Set<com.microsoft.azure.management.resources.fluentcore.arm.AvailabilityZoneId> availabilityZones()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/