VirtualMachineScaleSets Interface
public interface VirtualMachineScaleSets extends SupportsListing,SupportsListingByResourceGroup,SupportsGettingByResourceGroup,SupportsGettingById,SupportsCreating<VirtualMachineScaleSet.DefinitionStages.Blank>,SupportsDeletingById,SupportsDeletingByResourceGroup,SupportsBatchCreation,SupportsBatchDeletion,HasManager,HasInner
Entry point to virtual machine scale set management API.
Method Summary
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. |
Completable |
deallocateAsync(String groupName, String name)
Shuts down the virtual machines in the scale set and releases the compute resources asynchronously. |
ServiceFuture<Void> |
deallocateAsync(String groupName, String name, 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. |
Completable |
powerOffAsync(String groupName, String name)
Powers off (stops) the virtual machines in the scale set asynchronously. |
ServiceFuture<Void> |
powerOffAsync(String groupName, String name, 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. |
Completable |
reimageAsync(String groupName, String name)
Re-images (updates the version of the installed operating system) the virtual machines in the scale set asynchronously. |
ServiceFuture<Void> |
reimageAsync(String groupName, String name, 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. |
Completable |
restartAsync(String groupName, String name)
Restarts the virtual machines in the scale set asynchronously. |
ServiceFuture<Void> |
restartAsync(String groupName, String name, 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. |
Completable |
startAsync(String groupName, String name)
Starts the virtual machines in the scale set asynchronously. |
ServiceFuture<Void> |
startAsync(String groupName, String name, ServiceCallback<Void> callback)
Starts the virtual machines in the scale set asynchronously. |
Inherited Members
Method Details
deallocate
public void deallocate(String groupName, String name)
Shuts down the virtual machines in the scale set and releases the compute resources.
Parameters:
Throws:
deallocateAsync
public Completable deallocateAsync(String groupName, String name)
Shuts down the virtual machines in the scale set and releases the compute resources asynchronously.
Parameters:
Returns:
deallocateAsync
public ServiceFuture
Shuts down the virtual machines in the scale set and releases the compute resources asynchronously.
Parameters:
Returns:
powerOff
public void powerOff(String groupName, String name)
Powers off (stops) the virtual machines in the scale set.
Parameters:
Throws:
powerOffAsync
public Completable powerOffAsync(String groupName, String name)
Powers off (stops) the virtual machines in the scale set asynchronously.
Parameters:
Returns:
powerOffAsync
public ServiceFuture
Powers off (stop) the virtual machines in the scale set asynchronously.
Parameters:
Returns:
reimage
public void reimage(String groupName, String name)
Re-images (updates the version of the installed operating system) the virtual machines in the scale set.
Parameters:
Throws:
reimageAsync
public Completable reimageAsync(String groupName, String name)
Re-images (updates the version of the installed operating system) the virtual machines in the scale set asynchronously.
Parameters:
Returns:
reimageAsync
public ServiceFuture
Re-images (updates the version of the installed operating system) the virtual machines in the scale set asynchronously.
Parameters:
Returns:
restart
public void restart(String groupName, String name)
Restarts the virtual machines in the scale set.
Parameters:
Throws:
restartAsync
public Completable restartAsync(String groupName, String name)
Restarts the virtual machines in the scale set asynchronously.
Parameters:
Returns:
restartAsync
public ServiceFuture
Restarts the virtual machines in the scale set asynchronously.
Parameters:
Returns:
start
public void start(String groupName, String name)
Starts the virtual machines in the scale set.
Parameters:
Throws:
startAsync
public Completable startAsync(String groupName, String name)
Starts the virtual machines in the scale set asynchronously.
Parameters:
Returns:
startAsync
public ServiceFuture
Starts the virtual machines in the scale set asynchronously.
Parameters:
Returns:
Applies to
Azure SDK for Java
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示