Interface VirtualMachineScaleSetRollingUpgradesClient
public interface VirtualMachineScaleSetRollingUpgradesClient
An instance of this class provides access to all the operations defined in
VirtualMachineScaleSetRollingUpgradesClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginCancel(String resourceGroupName, String vmScaleSetName) Cancels the current virtual machine scale set rolling upgrade.beginCancel(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Cancels the current virtual machine scale set rolling upgrade.beginCancelAsync(String resourceGroupName, String vmScaleSetName) Cancels the current virtual machine scale set rolling upgrade.beginStartExtensionUpgrade(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version.beginStartExtensionUpgrade(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version.beginStartExtensionUpgradeAsync(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version.beginStartOSUpgrade(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version.beginStartOSUpgrade(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version.beginStartOSUpgradeAsync(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version.voidCancels the current virtual machine scale set rolling upgrade.voidCancels the current virtual machine scale set rolling upgrade.cancelAsync(String resourceGroupName, String vmScaleSetName) Cancels the current virtual machine scale set rolling upgrade.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> cancelWithResponseAsync(String resourceGroupName, String vmScaleSetName) Cancels the current virtual machine scale set rolling upgrade.Gets the status of the latest virtual machine scale set rolling upgrade.getLatestAsync(String resourceGroupName, String vmScaleSetName) Gets the status of the latest virtual machine scale set rolling upgrade.com.azure.core.http.rest.Response<RollingUpgradeStatusInfoInner> getLatestWithResponse(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Gets the status of the latest virtual machine scale set rolling upgrade.Mono<com.azure.core.http.rest.Response<RollingUpgradeStatusInfoInner>> getLatestWithResponseAsync(String resourceGroupName, String vmScaleSetName) Gets the status of the latest virtual machine scale set rolling upgrade.voidstartExtensionUpgrade(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version.voidstartExtensionUpgrade(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version.startExtensionUpgradeAsync(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startExtensionUpgradeWithResponseAsync(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version.voidstartOSUpgrade(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version.voidstartOSUpgrade(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version.startOSUpgradeAsync(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startOSUpgradeWithResponseAsync(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version.
-
Method Details
-
startExtensionUpgradeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startExtensionUpgradeWithResponseAsync(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStartExtensionUpgradeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginStartExtensionUpgradeAsync(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStartExtensionUpgrade
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginStartExtensionUpgrade(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStartExtensionUpgrade
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginStartExtensionUpgrade(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startExtensionUpgradeAsync
Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startExtensionUpgrade
Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startExtensionUpgrade
void startExtensionUpgrade(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startOSUpgradeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startOSUpgradeWithResponseAsync(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStartOSUpgradeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginStartOSUpgradeAsync(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStartOSUpgrade
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginStartOSUpgrade(String resourceGroupName, String vmScaleSetName) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStartOSUpgrade
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginStartOSUpgrade(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startOSUpgradeAsync
Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startOSUpgrade
Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startOSUpgrade
void startOSUpgrade(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> cancelWithResponseAsync(String resourceGroupName, String vmScaleSetName) Cancels the current virtual machine scale set rolling upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCancelAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginCancelAsync(String resourceGroupName, String vmScaleSetName) Cancels the current virtual machine scale set rolling upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCancel
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginCancel(String resourceGroupName, String vmScaleSetName) Cancels the current virtual machine scale set rolling upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCancel
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginCancel(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Cancels the current virtual machine scale set rolling upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAsync
Cancels the current virtual machine scale set rolling upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancel
Cancels the current virtual machine scale set rolling upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancel
Cancels the current virtual machine scale set rolling upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getLatestWithResponseAsync
Mono<com.azure.core.http.rest.Response<RollingUpgradeStatusInfoInner>> getLatestWithResponseAsync(String resourceGroupName, String vmScaleSetName) Gets the status of the latest virtual machine scale set rolling upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- the status of the latest virtual machine scale set rolling upgrade along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getLatestAsync
Gets the status of the latest virtual machine scale set rolling upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- the status of the latest virtual machine scale set rolling upgrade on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getLatestWithResponse
com.azure.core.http.rest.Response<RollingUpgradeStatusInfoInner> getLatestWithResponse(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context) Gets the status of the latest virtual machine scale set rolling upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.context- The context to associate with this operation.- Returns:
- the status of the latest virtual machine scale set rolling upgrade along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getLatest
Gets the status of the latest virtual machine scale set rolling upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.vmScaleSetName- The name of the VM scale set.- Returns:
- the status of the latest virtual machine scale set rolling upgrade.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ApiErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-