UNPKG

@azure/arm-compute

Version:
109 lines 8.02 kB
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { VirtualMachineScaleSetVMRunCommands } from "../operationsInterfaces/index.js"; import { ComputeManagementClient } from "../computeManagementClient.js"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { VirtualMachineRunCommand, VirtualMachineScaleSetVMRunCommandsListOptionalParams, VirtualMachineScaleSetVMRunCommandsGetOptionalParams, VirtualMachineScaleSetVMRunCommandsGetResponse, VirtualMachineScaleSetVMRunCommandsCreateOrUpdateOptionalParams, VirtualMachineScaleSetVMRunCommandsCreateOrUpdateResponse, VirtualMachineRunCommandUpdate, VirtualMachineScaleSetVMRunCommandsUpdateOptionalParams, VirtualMachineScaleSetVMRunCommandsUpdateResponse, VirtualMachineScaleSetVMRunCommandsDeleteOptionalParams } from "../models/index.js"; /** Class containing VirtualMachineScaleSetVMRunCommands operations. */ export declare class VirtualMachineScaleSetVMRunCommandsImpl implements VirtualMachineScaleSetVMRunCommands { private readonly client; /** * Initialize a new instance of the class VirtualMachineScaleSetVMRunCommands class. * @param client Reference to the service client */ constructor(client: ComputeManagementClient); /** * The operation to get all run commands of an instance in Virtual Machine Scaleset. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vmScaleSetName The name of the VirtualMachineScaleSet * @param instanceId The name of the VirtualMachineScaleSetVM * @param options The options parameters. */ list(resourceGroupName: string, vmScaleSetName: string, instanceId: string, options?: VirtualMachineScaleSetVMRunCommandsListOptionalParams): PagedAsyncIterableIterator<VirtualMachineRunCommand>; private listPagingPage; private listPagingAll; /** * The operation to get all run commands of an instance in Virtual Machine Scaleset. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vmScaleSetName The name of the VirtualMachineScaleSet * @param instanceId The name of the VirtualMachineScaleSetVM * @param options The options parameters. */ private _list; /** * The operation to get the VMSS VM run command. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vmScaleSetName The name of the VirtualMachineScaleSet * @param instanceId The name of the VirtualMachineScaleSetVM * @param runCommandName The name of the VirtualMachineRunCommand * @param options The options parameters. */ get(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: VirtualMachineScaleSetVMRunCommandsGetOptionalParams): Promise<VirtualMachineScaleSetVMRunCommandsGetResponse>; /** * The operation to create or update the VMSS VM run command. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vmScaleSetName The name of the VirtualMachineScaleSet * @param instanceId The name of the VirtualMachineScaleSetVM * @param runCommandName The name of the VirtualMachineRunCommand * @param runCommand Parameters supplied to the Create Virtual Machine RunCommand operation. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: VirtualMachineRunCommand, options?: VirtualMachineScaleSetVMRunCommandsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineScaleSetVMRunCommandsCreateOrUpdateResponse>, VirtualMachineScaleSetVMRunCommandsCreateOrUpdateResponse>>; /** * The operation to create or update the VMSS VM run command. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vmScaleSetName The name of the VirtualMachineScaleSet * @param instanceId The name of the VirtualMachineScaleSetVM * @param runCommandName The name of the VirtualMachineRunCommand * @param runCommand Parameters supplied to the Create Virtual Machine RunCommand operation. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: VirtualMachineRunCommand, options?: VirtualMachineScaleSetVMRunCommandsCreateOrUpdateOptionalParams): Promise<VirtualMachineScaleSetVMRunCommandsCreateOrUpdateResponse>; /** * The operation to update the VMSS VM run command. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vmScaleSetName The name of the VirtualMachineScaleSet * @param instanceId The name of the VirtualMachineScaleSetVM * @param runCommandName The name of the VirtualMachineRunCommand * @param runCommand Resource create parameters. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: VirtualMachineRunCommandUpdate, options?: VirtualMachineScaleSetVMRunCommandsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualMachineScaleSetVMRunCommandsUpdateResponse>, VirtualMachineScaleSetVMRunCommandsUpdateResponse>>; /** * The operation to update the VMSS VM run command. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vmScaleSetName The name of the VirtualMachineScaleSet * @param instanceId The name of the VirtualMachineScaleSetVM * @param runCommandName The name of the VirtualMachineRunCommand * @param runCommand Resource create parameters. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, runCommand: VirtualMachineRunCommandUpdate, options?: VirtualMachineScaleSetVMRunCommandsUpdateOptionalParams): Promise<VirtualMachineScaleSetVMRunCommandsUpdateResponse>; /** * The operation to delete the VMSS VM run command. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vmScaleSetName The name of the VirtualMachineScaleSet * @param instanceId The name of the VirtualMachineScaleSetVM * @param runCommandName The name of the VirtualMachineRunCommand * @param options The options parameters. */ beginDelete(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: VirtualMachineScaleSetVMRunCommandsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>; /** * The operation to delete the VMSS VM run command. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vmScaleSetName The name of the VirtualMachineScaleSet * @param instanceId The name of the VirtualMachineScaleSetVM * @param runCommandName The name of the VirtualMachineRunCommand * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, vmScaleSetName: string, instanceId: string, runCommandName: string, options?: VirtualMachineScaleSetVMRunCommandsDeleteOptionalParams): Promise<void>; /** * ListNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param vmScaleSetName The name of the VirtualMachineScaleSet * @param instanceId The name of the VirtualMachineScaleSetVM * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ private _listNext; } //# sourceMappingURL=virtualMachineScaleSetVMRunCommands.d.ts.map