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 VirtualMachineExtensions. */ export declare class VirtualMachineExtensions { private readonly client; /** * Create a VirtualMachineExtensions. * @param {ComputeManagementClientContext} client Reference to the service client. */ constructor(client: ComputeManagementClientContext); /** * The operation to create or update the extension. * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine where the extension should be created or updated. * @param vmExtensionName The name of the virtual machine extension. * @param extensionParameters Parameters supplied to the Create Virtual Machine Extension * operation. * @param [options] The optional parameters * @returns Promise */ createOrUpdate(resourceGroupName: string, vmName: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineExtension, options?: msRest.RequestOptionsBase): Promise; /** * The operation to update the extension. * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine where the extension should be updated. * @param vmExtensionName The name of the virtual machine extension. * @param extensionParameters Parameters supplied to the Update Virtual Machine Extension * operation. * @param [options] The optional parameters * @returns Promise */ update(resourceGroupName: string, vmName: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineExtensionUpdate, options?: msRest.RequestOptionsBase): Promise; /** * The operation to delete the extension. * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine where the extension should be deleted. * @param vmExtensionName The name of the virtual machine extension. * @param [options] The optional parameters * @returns Promise */ deleteMethod(resourceGroupName: string, vmName: string, vmExtensionName: string, options?: msRest.RequestOptionsBase): Promise; /** * The operation to get the extension. * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine containing the extension. * @param vmExtensionName The name of the virtual machine extension. * @param [options] The optional parameters * @returns Promise */ get(resourceGroupName: string, vmName: string, vmExtensionName: string, options?: Models.VirtualMachineExtensionsGetOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine containing the extension. * @param vmExtensionName The name of the virtual machine extension. * @param callback The callback */ get(resourceGroupName: string, vmName: string, vmExtensionName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine containing the extension. * @param vmExtensionName The name of the virtual machine extension. * @param options The optional parameters * @param callback The callback */ get(resourceGroupName: string, vmName: string, vmExtensionName: string, options: Models.VirtualMachineExtensionsGetOptionalParams, callback: msRest.ServiceCallback): void; /** * The operation to create or update the extension. * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine where the extension should be created or updated. * @param vmExtensionName The name of the virtual machine extension. * @param extensionParameters Parameters supplied to the Create Virtual Machine Extension * operation. * @param [options] The optional parameters * @returns Promise */ beginCreateOrUpdate(resourceGroupName: string, vmName: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineExtension, options?: msRest.RequestOptionsBase): Promise; /** * The operation to update the extension. * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine where the extension should be updated. * @param vmExtensionName The name of the virtual machine extension. * @param extensionParameters Parameters supplied to the Update Virtual Machine Extension * operation. * @param [options] The optional parameters * @returns Promise */ beginUpdate(resourceGroupName: string, vmName: string, vmExtensionName: string, extensionParameters: Models.VirtualMachineExtensionUpdate, options?: msRest.RequestOptionsBase): Promise; /** * The operation to delete the extension. * @param resourceGroupName The name of the resource group. * @param vmName The name of the virtual machine where the extension should be deleted. * @param vmExtensionName The name of the virtual machine extension. * @param [options] The optional parameters * @returns Promise */ beginDeleteMethod(resourceGroupName: string, vmName: string, vmExtensionName: string, options?: msRest.RequestOptionsBase): Promise; } //# sourceMappingURL=virtualMachineExtensions.d.ts.map