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.
|
RunCommandResult |
runCommandInVMInstance(String groupName,
String scaleSetName,
String vmId,
RunCommandInput inputCommand)
Run commands in a virtual machine instance in a scale set.
|
rx.Observable<RunCommandResult> |
runCommandVMInstanceAsync(String groupName,
String scaleSetName,
String vmId,
RunCommandInput inputCommand)
Run commands in a virtual machine instance in a scale set asynchronously.
|
RunCommandResult |
runPowerShellScriptInVMInstance(String groupName,
String scaleSetName,
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 groupName,
String scaleSetName,
String vmId,
List<String> scriptLines,
List<RunCommandInputParameter> scriptParameters)
Run PowerShell in a virtual machine instance in a scale set asynchronously.
|
RunCommandResult |
runShellScriptInVMInstance(String groupName,
String scaleSetName,
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 groupName,
String scaleSetName,
String vmId,
List<String> scriptLines,
List<RunCommandInputParameter> scriptParameters)
Run shell script in a virtual machine instance in a 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 interruptedrx.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 setcom.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 interruptedrx.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 setcom.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 interruptedrx.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 namecom.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 interruptedrx.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 setcom.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 interruptedrx.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 setcom.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 failureRunCommandResult runPowerShellScriptInVMInstance(String groupName, String scaleSetName, String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
groupName - the resource group namescaleSetName - the virtual machine scale set namevmId - the virtual machine instance idscriptLines - PowerShell script linesscriptParameters - script parametersrx.Observable<RunCommandResult> runPowerShellScriptInVMInstanceAsync(String groupName, String scaleSetName, String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
groupName - the resource group namescaleSetName - the virtual machine scale set namevmId - the virtual machine instance idscriptLines - PowerShell script linesscriptParameters - script parametersRunCommandResult runShellScriptInVMInstance(String groupName, String scaleSetName, String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
groupName - the resource group namescaleSetName - the virtual machine scale set namevmId - the virtual machine instance idscriptLines - shell script linesscriptParameters - script parametersrx.Observable<RunCommandResult> runShellScriptInVMInstanceAsync(String groupName, String scaleSetName, String vmId, List<String> scriptLines, List<RunCommandInputParameter> scriptParameters)
groupName - the resource group namescaleSetName - the virtual machine scale set namevmId - the virtual machine instance idscriptLines - shell script linesscriptParameters - script parametersRunCommandResult runCommandInVMInstance(String groupName, String scaleSetName, String vmId, RunCommandInput inputCommand)
groupName - the resource group namescaleSetName - the virtual machine scale set namevmId - the virtual machine instance idinputCommand - command inputrx.Observable<RunCommandResult> runCommandVMInstanceAsync(String groupName, String scaleSetName, String vmId, RunCommandInput inputCommand)
groupName - the resource group namescaleSetName - the virtual machine scale set namevmId - the virtual machine instance idinputCommand - command input/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/