public interface VirtualMachineScaleSets extends com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing<VirtualMachineScaleSet>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByGroup<VirtualMachineScaleSet>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByGroup<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.SupportsDeleting, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByGroup, com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation<VirtualMachineScaleSet>
| Modifier and Type | Method and Description |
|---|---|
void |
deallocate(String groupName,
String name)
Shuts down the virtual machine in the scale set and releases the compute resources.
|
void |
powerOff(String groupName,
String name)
Powers off (stops) the virtual machines in the scale set.
|
void |
reimage(String groupName,
String name)
Re-images (updates the version of the installed operating system) the virtual machines in the scale set.
|
void |
restart(String groupName,
String name)
Restarts the virtual machines in the scale set.
|
void |
start(String groupName,
String name)
Starts the virtual machines in the scale set.
|
listlistByGroupgetByGroupgetByIddefinedelete, deleteAsync, deleteAsyncvoid 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 interruptedvoid 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 interruptedvoid 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 interruptedvoid 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 interruptedvoid 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/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/