@azure/arm-compute
Version:
A generated SDK for ComputeManagementClient.
71 lines • 5.1 kB
TypeScript
import { VirtualMachineScaleSetRollingUpgrades } from "../operationsInterfaces/index.js";
import { ComputeManagementClient } from "../computeManagementClient.js";
import { SimplePollerLike, OperationState } from "@azure/core-lro";
import { VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeOptionalParams, VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOptionalParams, VirtualMachineScaleSetRollingUpgradesCancelOptionalParams, VirtualMachineScaleSetRollingUpgradesGetLatestOptionalParams, VirtualMachineScaleSetRollingUpgradesGetLatestResponse } from "../models/index.js";
/** Class containing VirtualMachineScaleSetRollingUpgrades operations. */
export declare class VirtualMachineScaleSetRollingUpgradesImpl implements VirtualMachineScaleSetRollingUpgrades {
private readonly client;
/**
* Initialize a new instance of the class VirtualMachineScaleSetRollingUpgrades class.
* @param client Reference to the service client
*/
constructor(client: ComputeManagementClient);
/**
* 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.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vmScaleSetName The name of the VM scale set.
* @param options The options parameters.
*/
beginStartExtensionUpgrade(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
/**
* 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.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vmScaleSetName The name of the VM scale set.
* @param options The options parameters.
*/
beginStartExtensionUpgradeAndWait(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeOptionalParams): Promise<void>;
/**
* 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. The name is case insensitive.
* @param vmScaleSetName The name of the VM scale set.
* @param options The options parameters.
*/
beginStartOSUpgrade(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
/**
* 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. The name is case insensitive.
* @param vmScaleSetName The name of the VM scale set.
* @param options The options parameters.
*/
beginStartOSUpgradeAndWait(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesStartOSUpgradeOptionalParams): Promise<void>;
/**
* Cancels the current virtual machine scale set rolling upgrade.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vmScaleSetName The name of the VM scale set.
* @param options The options parameters.
*/
beginCancel(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesCancelOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
/**
* Cancels the current virtual machine scale set rolling upgrade.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vmScaleSetName The name of the VM scale set.
* @param options The options parameters.
*/
beginCancelAndWait(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesCancelOptionalParams): Promise<void>;
/**
* Gets the status of the latest virtual machine scale set rolling upgrade.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vmScaleSetName The name of the VM scale set.
* @param options The options parameters.
*/
getLatest(resourceGroupName: string, vmScaleSetName: string, options?: VirtualMachineScaleSetRollingUpgradesGetLatestOptionalParams): Promise<VirtualMachineScaleSetRollingUpgradesGetLatestResponse>;
}
//# sourceMappingURL=virtualMachineScaleSetRollingUpgrades.d.ts.map