import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import { ComputeManagementClientContext } from "../computeManagementClientContext"; /** Class representing a VirtualMachineScaleSetRollingUpgrades. */ export declare class VirtualMachineScaleSetRollingUpgrades { private readonly client; /** * Create a VirtualMachineScaleSetRollingUpgrades. * @param {ComputeManagementClientContext} client Reference to the service client. */ constructor(client: ComputeManagementClientContext); /** * Cancels the current virtual machine scale set rolling upgrade. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param [options] The optional parameters * @returns Promise */ cancel(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase): Promise; /** * 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. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param [options] The optional parameters * @returns Promise */ startOSUpgrade(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase): Promise; /** * Gets the status of the latest virtual machine scale set rolling upgrade. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param [options] The optional parameters * @returns Promise */ getLatest(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param callback The callback */ getLatest(resourceGroupName: string, vmScaleSetName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param options The optional parameters * @param callback The callback */ getLatest(resourceGroupName: string, vmScaleSetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * Cancels the current virtual machine scale set rolling upgrade. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param [options] The optional parameters * @returns Promise */ beginCancel(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase): Promise; /** * 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. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set. * @param [options] The optional parameters * @returns Promise */ beginStartOSUpgrade(resourceGroupName: string, vmScaleSetName: string, options?: msRest.RequestOptionsBase): Promise; } //# sourceMappingURL=virtualMachineScaleSetRollingUpgrades.d.ts.map