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 VirtualMachineScaleSetExtensions. */ export declare class VirtualMachineScaleSetExtensions { private readonly client; /** * Create a VirtualMachineScaleSetExtensions. * @param {ComputeManagementClientContext} client Reference to the service client. */ constructor(client: ComputeManagementClientContext); /** * The operation to create or update an extension. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set where the extension should be create or * updated. * @param vmssExtensionName The name of the VM scale set extension. * @param extensionParameters Parameters supplied to the Create VM scale set Extension operation. * @param [options] The optional parameters * @returns Promise */ createOrUpdate(resourceGroupName: string, vmScaleSetName: string, vmssExtensionName: string, extensionParameters: Models.VirtualMachineScaleSetExtension, options?: msRest.RequestOptionsBase): Promise; /** * The operation to delete the extension. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set where the extension should be deleted. * @param vmssExtensionName The name of the VM scale set extension. * @param [options] The optional parameters * @returns Promise */ deleteMethod(resourceGroupName: string, vmScaleSetName: string, vmssExtensionName: string, options?: msRest.RequestOptionsBase): Promise; /** * The operation to get the extension. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set containing the extension. * @param vmssExtensionName The name of the VM scale set extension. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, vmScaleSetName: string, vmssExtensionName: string, options?: Models.VirtualMachineScaleSetExtensionsGetOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set containing the extension. * @param vmssExtensionName The name of the VM scale set extension. * @param callback The callback */ get(resourceGroupName: string, vmScaleSetName: string, vmssExtensionName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set containing the extension. * @param vmssExtensionName The name of the VM scale set extension. * @param options The optional parameters * @param callback The callback */ get(resourceGroupName: string, vmScaleSetName: string, vmssExtensionName: string, options: Models.VirtualMachineScaleSetExtensionsGetOptionalParams, callback: msRest.ServiceCallback): void; /** * Gets a list of all extensions in a VM scale set. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set containing the extension. * @param [options] The optional parameters * @returns Promise */ list(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 containing the extension. * @param callback The callback */ list(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 containing the extension. * @param options The optional parameters * @param callback The callback */ list(resourceGroupName: string, vmScaleSetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * The operation to create or update an extension. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set where the extension should be create or * updated. * @param vmssExtensionName The name of the VM scale set extension. * @param extensionParameters Parameters supplied to the Create VM scale set Extension operation. * @param [options] The optional parameters * @returns Promise */ beginCreateOrUpdate(resourceGroupName: string, vmScaleSetName: string, vmssExtensionName: string, extensionParameters: Models.VirtualMachineScaleSetExtension, options?: msRest.RequestOptionsBase): Promise; /** * The operation to delete the extension. * @param resourceGroupName The name of the resource group. * @param vmScaleSetName The name of the VM scale set where the extension should be deleted. * @param vmssExtensionName The name of the VM scale set extension. * @param [options] The optional parameters * @returns Promise */ beginDeleteMethod(resourceGroupName: string, vmScaleSetName: string, vmssExtensionName: string, options?: msRest.RequestOptionsBase): Promise; /** * Gets a list of all extensions in a VM scale set. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise */ listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; } //# sourceMappingURL=virtualMachineScaleSetExtensions.d.ts.map