Interface VirtualMachineScaleSetRollingUpgradesClient


  • public interface VirtualMachineScaleSetRollingUpgradesClient
    An instance of this class provides access to all the operations defined in VirtualMachineScaleSetRollingUpgradesClient.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      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.
      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.
      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.
      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.
      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.
      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.
      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.
      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.
      void cancel​(String resourceGroupName, String vmScaleSetName)
      Cancels the current virtual machine scale set rolling upgrade.
      void cancel​(String resourceGroupName, String vmScaleSetName, com.azure.core.util.Context context)
      Cancels the current virtual machine scale set rolling upgrade.
      Mono<Void> 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.
      RollingUpgradeStatusInfoInner getLatest​(String resourceGroupName, String vmScaleSetName)
      Gets the status of the latest virtual machine scale set rolling upgrade.
      Mono<RollingUpgradeStatusInfoInner> 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.
      void startExtensionUpgrade​(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.
      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.
      Mono<Void> 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.
      void startOSUpgrade​(String resourceGroupName, String vmScaleSetName)
      Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version.
      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.
      Mono<Void> 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 Detail

      • 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.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        the Response 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.
      • 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.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        the PollerFlux for 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.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        the SyncPoller for 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.
        vmScaleSetName - The name of the VM scale set.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for 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

        Mono<Void> cancelAsync​(String resourceGroupName,
                               String vmScaleSetName)
        Cancels the current virtual machine scale set rolling upgrade.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        A Mono that 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

        void cancel​(String resourceGroupName,
                    String vmScaleSetName)
        Cancels the current virtual machine scale set rolling upgrade.
        Parameters:
        resourceGroupName - The name of the resource group.
        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

        void cancel​(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.
        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.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        the Response 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.
      • 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.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        the PollerFlux for 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.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        the SyncPoller for 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.
        vmScaleSetName - The name of the VM scale set.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for 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

        Mono<Void> 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. Instances which are already running the latest available OS version are not affected.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        A Mono that 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

        void startOSUpgrade​(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.
        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.
        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.
      • 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.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        the Response 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.
      • 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.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        the PollerFlux for 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.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        the SyncPoller for 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.
        vmScaleSetName - The name of the VM scale set.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for 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

        Mono<Void> 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. Instances which are already running the latest extension versions are not affected.
        Parameters:
        resourceGroupName - The name of the resource group.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        A Mono that 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

        void startExtensionUpgrade​(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.
        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.
        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.
        vmScaleSetName - The name of the VM scale set.
        Returns:
        the status of the latest virtual machine scale set rolling upgrade along with Response 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.
      • getLatestAsync

        Mono<RollingUpgradeStatusInfoInner> getLatestAsync​(String resourceGroupName,
                                                           String vmScaleSetName)
        Gets the status of the latest virtual machine scale set rolling upgrade.
        Parameters:
        resourceGroupName - The name of the resource group.
        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.
      • getLatest

        RollingUpgradeStatusInfoInner getLatest​(String resourceGroupName,
                                                String vmScaleSetName)
        Gets the status of the latest virtual machine scale set rolling upgrade.
        Parameters:
        resourceGroupName - The name of the resource group.
        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.
      • 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.
        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.