public interface VirtualMachineScaleSets extends com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing<VirtualMachineScaleSet>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup<VirtualMachineScaleSet>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup<VirtualMachineScaleSet>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<VirtualMachineScaleSet>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating<VirtualMachineScaleSet.DefinitionStages.Blank>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup, com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation<VirtualMachineScaleSet>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsBatchDeletion, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.compute.implementation.ComputeManager>, com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.compute.implementation.VirtualMachineScaleSetsInner>
| Modifier and Type | Method and Description |
|---|---|
void |
deallocate(String groupName,
String name)
Shuts down the virtual machines in the scale set and releases the compute resources.
|
rx.Completable |
deallocateAsync(String groupName,
String name)
Shuts down the virtual machines in the scale set and releases the compute resources asynchronously.
|
com.microsoft.rest.ServiceFuture<Void> |
deallocateAsync(String groupName,
String name,
com.microsoft.rest.ServiceCallback<Void> callback)
Shuts down the virtual machines in the scale set and releases the compute resources asynchronously.
|
void |
powerOff(String groupName,
String name)
Powers off (stops) the virtual machines in the scale set.
|
rx.Completable |
powerOffAsync(String groupName,
String name)
Powers off (stops) the virtual machines in the scale set asynchronously.
|
com.microsoft.rest.ServiceFuture<Void> |
powerOffAsync(String groupName,
String name,
com.microsoft.rest.ServiceCallback<Void> callback)
Powers off (stop) the virtual machines in the scale set asynchronously.
|
void |
reimage(String groupName,
String name)
Re-images (updates the version of the installed operating system) the virtual machines in the scale set.
|
rx.Completable |
reimageAsync(String groupName,
String name)
Re-images (updates the version of the installed operating system) the virtual machines in the scale set asynchronously.
|
com.microsoft.rest.ServiceFuture<Void> |
reimageAsync(String groupName,
String name,
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(String groupName,
String name)
Restarts the virtual machines in the scale set.
|
rx.Completable |
restartAsync(String groupName,
String name)
Restarts the virtual machines in the scale set asynchronously.
|
com.microsoft.rest.ServiceFuture<Void> |
restartAsync(String groupName,
String name,
com.microsoft.rest.ServiceCallback<Void> callback)
Restarts the virtual machines in the scale set asynchronously.
|
void |
start(String groupName,
String name)
Starts the virtual machines in the scale set.
|
rx.Completable |
startAsync(String groupName,
String name)
Starts the virtual machines in the scale set asynchronously.
|
com.microsoft.rest.ServiceFuture<Void> |
startAsync(String groupName,
String name,
com.microsoft.rest.ServiceCallback<Void> callback)
Starts the virtual machines in the scale set asynchronously.
|
list, listAsynclistByResourceGroup, listByResourceGroupAsyncgetByResourceGroup, getByResourceGroupAsync, getByResourceGroupAsyncgetById, getByIdAsync, getByIdAsyncdefinedeleteById, deleteByIdAsync, deleteByIdAsyncdeleteByResourceGroup, deleteByResourceGroupAsync, deleteByResourceGroupAsynccreate, create, createAsync, createAsync, createAsync, createAsyncdeleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsyncvoid deallocate(String groupName, String name) throws com.microsoft.azure.CloudException, IOException, InterruptedException
groupName - the name of the resource group the virtual machine scale set is inname - the name of the virtual machine scale setcom.microsoft.azure.CloudException - thrown for an invalid response from the service.IOException - exception thrown from serialization/deserializationInterruptedException - exception thrown when the operation is interrupted@Beta(value=V1_2_0) rx.Completable deallocateAsync(String groupName, String name)
groupName - the name of the resource group the virtual machine scale set is inname - the name of the virtual machine scale set@Beta(value=V1_2_0) com.microsoft.rest.ServiceFuture<Void> deallocateAsync(String groupName, String name, com.microsoft.rest.ServiceCallback<Void> callback)
groupName - the name of the resource group the virtual machine scale set is inname - the name of the virtual machine scale setcallback - the callback to call on success or failurevoid powerOff(String groupName, String name) throws com.microsoft.azure.CloudException, IOException, InterruptedException
groupName - the name of the resource group the virtual machine scale set is inname - the name of the virtual machine scale setcom.microsoft.azure.CloudException - thrown for an invalid response from the service.IOException - exception thrown from serialization/deserializationInterruptedException - exception thrown when the operation is interrupted@Beta(value=V1_2_0) rx.Completable powerOffAsync(String groupName, String name)
groupName - the name of the resource group the virtual machine in the scale set is inname - the name of the virtual machine scale set@Beta(value=V1_2_0) com.microsoft.rest.ServiceFuture<Void> powerOffAsync(String groupName, String name, com.microsoft.rest.ServiceCallback<Void> callback)
groupName - the name of the resource group the virtual machine in the scale set is inname - the name of the virtual machine scale setcallback - the callback to call on success or failurevoid restart(String groupName, String name) throws com.microsoft.azure.CloudException, IOException, InterruptedException
groupName - the name of the resource group the virtual machine scale set is inname - the name of the virtual machine scale setcom.microsoft.azure.CloudException - thrown for an invalid response from the service.IOException - exception thrown from serialization/deserializationInterruptedException - exception thrown when the operation is interrupted@Beta(value=V1_2_0) rx.Completable restartAsync(String groupName, String name)
groupName - the name of the resource group the virtual machine scale set is inname - the virtual machine scale set name@Beta(value=V1_2_0) com.microsoft.rest.ServiceFuture<Void> restartAsync(String groupName, String name, com.microsoft.rest.ServiceCallback<Void> callback)
groupName - the name of the resource group the virtual machine scale set is inname - the virtual machine scale set namecallback - the callback to call on success or failurevoid start(String groupName, String name) throws com.microsoft.azure.CloudException, IOException, InterruptedException
groupName - the name of the resource group the virtual machine scale set is inname - the name of the virtual machine scale setcom.microsoft.azure.CloudException - thrown for an invalid response from the service.IOException - exception thrown from serialization/deserializationInterruptedException - exception thrown when the operation is interrupted@Beta(value=V1_2_0) rx.Completable startAsync(String groupName, String name)
groupName - the name of the resource group the virtual machine scale set is inname - the name of the virtual machine scale set@Beta(value=V1_2_0) com.microsoft.rest.ServiceFuture<Void> startAsync(String groupName, String name, com.microsoft.rest.ServiceCallback<Void> callback)
groupName - the name of the resource group the virtual machine scale set is inname - the name of the virtual machine scale setcallback - the callback to call on success or failurevoid reimage(String groupName, String name) throws com.microsoft.azure.CloudException, IOException, InterruptedException
groupName - the name of the resource group the virtual machine scale set is inname - the name of the virtual machine scale setcom.microsoft.azure.CloudException - thrown for an invalid response from the service.IOException - exception thrown from serialization/deserializationInterruptedException - exception thrown when the operation is interrupted@Beta(value=V1_2_0) rx.Completable reimageAsync(String groupName, String name)
groupName - the name of the resource group the virtual machine scale set is inname - the name of the virtual machine scale set@Beta(value=V1_2_0) com.microsoft.rest.ServiceFuture<Void> reimageAsync(String groupName, String name, com.microsoft.rest.ServiceCallback<Void> callback)
groupName - the name of the resource group the virtual machine scale set is inname - the name of the virtual machine scale setcallback - the callback to call on success or failure/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/