@azure/arm-compute
Version:
A generated SDK for ComputeManagementClient.
82 lines • 6.71 kB
TypeScript
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
import type { VirtualMachineRunCommand, VirtualMachineScaleSetVMRunCommandsListOptionalParams, VirtualMachineScaleSetVMRunCommandsGetOptionalParams, VirtualMachineScaleSetVMRunCommandsGetResponse, VirtualMachineScaleSetVMRunCommandsCreateOrUpdateOptionalParams, VirtualMachineScaleSetVMRunCommandsCreateOrUpdateResponse, VirtualMachineRunCommandUpdate, VirtualMachineScaleSetVMRunCommandsUpdateOptionalParams, VirtualMachineScaleSetVMRunCommandsUpdateResponse, VirtualMachineScaleSetVMRunCommandsDeleteOptionalParams } from "../models/index.js";
/** Interface representing a VirtualMachineScaleSetVMRunCommands. */
export interface VirtualMachineScaleSetVMRunCommands {
/**
* 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>;
/**
* 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>;
}
//# sourceMappingURL=virtualMachineScaleSetVMRunCommands.d.ts.map