UNPKG

@azure-rest/arm-compute

Version:
920 lines (919 loc) 151 kB
import type { HttpResponse } from "@azure-rest/core-client"; import type { ComputeOperationListResultOutput, CloudErrorOutput, ListUsagesResultOutput, VirtualMachineSizeListResultOutput, VirtualMachineScaleSetListResultOutput, VirtualMachineScaleSetOutput, VirtualMachineScaleSetInstanceViewOutput, VirtualMachineScaleSetListWithLinkResultOutput, VirtualMachineScaleSetListSkusResultOutput, VirtualMachineScaleSetListOSUpgradeHistoryOutput, RecoveryWalkResponseOutput, VirtualMachineScaleSetExtensionOutput, VirtualMachineScaleSetExtensionListResultOutput, RollingUpgradeStatusInfoOutput, VirtualMachineScaleSetVMExtensionOutput, VirtualMachineScaleSetVMExtensionsListResultOutput, VirtualMachineScaleSetVMOutput, VirtualMachineScaleSetVMInstanceViewOutput, VirtualMachineScaleSetVMListResultOutput, RetrieveBootDiagnosticsDataResultOutput, RunCommandResultOutput, VirtualMachineExtensionOutput, VirtualMachineExtensionsListResultOutput, VirtualMachineListResultOutput, VirtualMachineCaptureResultOutput, VirtualMachineOutput, VirtualMachineInstanceViewOutput, VirtualMachineAssessPatchesResultOutput, VirtualMachineInstallPatchesResultOutput, VirtualMachineImageOutput, VirtualMachineImageResourceOutput, VmImagesInEdgeZoneListResultOutput, VirtualMachineExtensionImageOutput, AvailabilitySetOutput, AvailabilitySetListResultOutput, ProximityPlacementGroupOutput, ProximityPlacementGroupListResultOutput, DedicatedHostGroupOutput, DedicatedHostGroupListResultOutput, DedicatedHostOutput, DedicatedHostListResultOutput, SshPublicKeysGroupListResultOutput, SshPublicKeyResourceOutput, SshPublicKeyGenerateKeyPairResultOutput, ImageOutput, ImageListResultOutput, RestorePointCollectionOutput, RestorePointCollectionListResultOutput, RestorePointOutput, CapacityReservationGroupOutput, CapacityReservationGroupListResultOutput, CapacityReservationOutput, CapacityReservationListResultOutput, LogAnalyticsOperationResultOutput, RunCommandListResultOutput, RunCommandDocumentOutput, VirtualMachineRunCommandOutput, VirtualMachineRunCommandsListResultOutput, DiskOutput, DiskListOutput, AccessUriOutput, DiskAccessOutput, DiskAccessListOutput, PrivateLinkResourceListResultOutput, PrivateEndpointConnectionOutput, PrivateEndpointConnectionListResultOutput, DiskEncryptionSetOutput, DiskEncryptionSetListOutput, ResourceUriListOutput, DiskRestorePointOutput, DiskRestorePointListOutput, SnapshotOutput, SnapshotListOutput, ResourceSkusResultOutput, GalleryOutput, GalleryListOutput, GalleryImageOutput, GalleryImageListOutput, GalleryImageVersionOutput, GalleryImageVersionListOutput, GalleryApplicationOutput, GalleryApplicationListOutput, GalleryApplicationVersionOutput, GalleryApplicationVersionListOutput, SharingUpdateOutput, SharedGalleryListOutput, SharedGalleryOutput, SharedGalleryImageListOutput, SharedGalleryImageOutput, SharedGalleryImageVersionListOutput, SharedGalleryImageVersionOutput, CommunityGalleryOutput, CommunityGalleryImageOutput, CommunityGalleryImageListOutput, CommunityGalleryImageVersionOutput, CommunityGalleryImageVersionListOutput, RoleInstanceOutput, RoleInstanceViewOutput, RoleInstanceListResultOutput, CloudServiceRoleOutput, CloudServiceRoleListResultOutput, CloudServiceOutput, CloudServiceInstanceViewOutput, CloudServiceListResultOutput, UpdateDomainOutput, UpdateDomainListResultOutput, OSVersionOutput, OSVersionListResultOutput, OSFamilyOutput, OSFamilyListResultOutput } from "./outputModels.js"; /** Gets a list of compute operations. */ export interface OperationsList200Response extends HttpResponse { status: "200"; body: ComputeOperationListResultOutput; } /** Gets a list of compute operations. */ export interface OperationsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription. */ export interface UsageList200Response extends HttpResponse { status: "200"; body: ListUsagesResultOutput; } /** Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription. */ export interface UsageListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list) */ export interface VirtualMachineSizesList200Response extends HttpResponse { status: "200"; body: VirtualMachineSizeListResultOutput; } /** This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list) */ export interface VirtualMachineSizesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the VM scale sets under the specified subscription for the specified location. */ export interface VirtualMachineScaleSetsListByLocation200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetListResultOutput; } /** Gets all the VM scale sets under the specified subscription for the specified location. */ export interface VirtualMachineScaleSetsListByLocationDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Create or update a VM scale set. */ export interface VirtualMachineScaleSetsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetOutput; } /** Create or update a VM scale set. */ export interface VirtualMachineScaleSetsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualMachineScaleSetOutput; } /** Create or update a VM scale set. */ export interface VirtualMachineScaleSetsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Update a VM scale set. */ export interface VirtualMachineScaleSetsUpdate200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetOutput; } /** Update a VM scale set. */ export interface VirtualMachineScaleSetsUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a VM scale set. */ export interface VirtualMachineScaleSetsDelete200Response extends HttpResponse { status: "200"; } /** Deletes a VM scale set. */ export interface VirtualMachineScaleSetsDelete202Response extends HttpResponse { status: "202"; } /** Deletes a VM scale set. */ export interface VirtualMachineScaleSetsDelete204Response extends HttpResponse { status: "204"; } /** Deletes a VM scale set. */ export interface VirtualMachineScaleSetsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Display information about a virtual machine scale set. */ export interface VirtualMachineScaleSetsGet200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetOutput; } /** Display information about a virtual machine scale set. */ export interface VirtualMachineScaleSetsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. */ export interface VirtualMachineScaleSetsDeallocate200Response extends HttpResponse { status: "200"; } /** Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. */ export interface VirtualMachineScaleSetsDeallocate202Response extends HttpResponse { status: "202"; } /** Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. */ export interface VirtualMachineScaleSetsDeallocateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsDeleteInstances200Response extends HttpResponse { status: "200"; } /** Deletes virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsDeleteInstances202Response extends HttpResponse { status: "202"; } /** Deletes virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsDeleteInstancesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the status of a VM scale set instance. */ export interface VirtualMachineScaleSetsGetInstanceView200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetInstanceViewOutput; } /** Gets the status of a VM scale set instance. */ export interface VirtualMachineScaleSetsGetInstanceViewDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets a list of all VM scale sets under a resource group. */ export interface VirtualMachineScaleSetsList200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetListResultOutput; } /** Gets a list of all VM scale sets under a resource group. */ export interface VirtualMachineScaleSetsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets. */ export interface VirtualMachineScaleSetsListAll200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetListWithLinkResultOutput; } /** Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets. */ export interface VirtualMachineScaleSetsListAllDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU. */ export interface VirtualMachineScaleSetsListSkus200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetListSkusResultOutput; } /** Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU. */ export interface VirtualMachineScaleSetsListSkusDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets list of OS upgrades on a VM scale set instance. */ export interface VirtualMachineScaleSetsGetOSUpgradeHistory200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetListOSUpgradeHistoryOutput; } /** Gets list of OS upgrades on a VM scale set instance. */ export interface VirtualMachineScaleSetsGetOSUpgradeHistoryDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetsPowerOff200Response extends HttpResponse { status: "200"; } /** Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetsPowerOff202Response extends HttpResponse { status: "202"; } /** Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetsPowerOffDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Restarts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsRestart200Response extends HttpResponse { status: "200"; } /** Restarts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsRestart202Response extends HttpResponse { status: "202"; } /** Restarts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsRestartDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Starts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsStart200Response extends HttpResponse { status: "200"; } /** Starts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsStart202Response extends HttpResponse { status: "202"; } /** Starts one or more virtual machines in a VM scale set. */ export interface VirtualMachineScaleSetsStartDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. */ export interface VirtualMachineScaleSetsRedeploy200Response extends HttpResponse { status: "200"; } /** Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. */ export interface VirtualMachineScaleSetsRedeploy202Response extends HttpResponse { status: "202"; } /** Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. */ export interface VirtualMachineScaleSetsRedeployDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications */ export interface VirtualMachineScaleSetsPerformMaintenance200Response extends HttpResponse { status: "200"; } /** Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications */ export interface VirtualMachineScaleSetsPerformMaintenance202Response extends HttpResponse { status: "202"; } /** Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications */ export interface VirtualMachineScaleSetsPerformMaintenanceDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. */ export interface VirtualMachineScaleSetsUpdateInstances200Response extends HttpResponse { status: "200"; } /** Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. */ export interface VirtualMachineScaleSetsUpdateInstances202Response extends HttpResponse { status: "202"; } /** Upgrades one or more virtual machines to the latest SKU set in the VM scale set model. */ export interface VirtualMachineScaleSetsUpdateInstancesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. */ export interface VirtualMachineScaleSetsReimage200Response extends HttpResponse { status: "200"; } /** Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. */ export interface VirtualMachineScaleSetsReimage202Response extends HttpResponse { status: "202"; } /** Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. */ export interface VirtualMachineScaleSetsReimageDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetsReimageAll200Response extends HttpResponse { status: "200"; } /** Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetsReimageAll202Response extends HttpResponse { status: "202"; } /** Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetsReimageAllDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. */ export interface VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalk200Response extends HttpResponse { status: "200"; body: RecoveryWalkResponseOutput; } /** Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. */ export interface VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Converts SinglePlacementGroup property to false for a existing virtual machine scale set. */ export interface VirtualMachineScaleSetsConvertToSinglePlacementGroup200Response extends HttpResponse { status: "200"; } /** Converts SinglePlacementGroup property to false for a existing virtual machine scale set. */ export interface VirtualMachineScaleSetsConvertToSinglePlacementGroupDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Changes ServiceState property for a given service */ export interface VirtualMachineScaleSetsSetOrchestrationServiceState200Response extends HttpResponse { status: "200"; } /** Changes ServiceState property for a given service */ export interface VirtualMachineScaleSetsSetOrchestrationServiceState202Response extends HttpResponse { status: "202"; } /** Changes ServiceState property for a given service */ export interface VirtualMachineScaleSetsSetOrchestrationServiceStateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to create or update an extension. */ export interface VirtualMachineScaleSetExtensionsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetExtensionOutput; } /** The operation to create or update an extension. */ export interface VirtualMachineScaleSetExtensionsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualMachineScaleSetExtensionOutput; } /** The operation to create or update an extension. */ export interface VirtualMachineScaleSetExtensionsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to update an extension. */ export interface VirtualMachineScaleSetExtensionsUpdate200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetExtensionOutput; } /** The operation to update an extension. */ export interface VirtualMachineScaleSetExtensionsUpdate201Response extends HttpResponse { status: "201"; body: VirtualMachineScaleSetExtensionOutput; } /** The operation to update an extension. */ export interface VirtualMachineScaleSetExtensionsUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to delete the extension. */ export interface VirtualMachineScaleSetExtensionsDelete200Response extends HttpResponse { status: "200"; } /** The operation to delete the extension. */ export interface VirtualMachineScaleSetExtensionsDelete202Response extends HttpResponse { status: "202"; } /** The operation to delete the extension. */ export interface VirtualMachineScaleSetExtensionsDelete204Response extends HttpResponse { status: "204"; } /** The operation to delete the extension. */ export interface VirtualMachineScaleSetExtensionsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to get the extension. */ export interface VirtualMachineScaleSetExtensionsGet200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetExtensionOutput; } /** The operation to get the extension. */ export interface VirtualMachineScaleSetExtensionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets a list of all extensions in a VM scale set. */ export interface VirtualMachineScaleSetExtensionsList200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetExtensionListResultOutput; } /** Gets a list of all extensions in a VM scale set. */ export interface VirtualMachineScaleSetExtensionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Cancels the current virtual machine scale set rolling upgrade. */ export interface VirtualMachineScaleSetRollingUpgradesCancel200Response extends HttpResponse { status: "200"; } /** Cancels the current virtual machine scale set rolling upgrade. */ export interface VirtualMachineScaleSetRollingUpgradesCancel202Response extends HttpResponse { status: "202"; } /** Cancels the current virtual machine scale set rolling upgrade. */ export interface VirtualMachineScaleSetRollingUpgradesCancelDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** 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. */ export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgrade200Response extends HttpResponse { status: "200"; } /** 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. */ export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgrade202Response extends HttpResponse { status: "202"; } /** 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. */ export interface VirtualMachineScaleSetRollingUpgradesStartOSUpgradeDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** 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. */ export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade200Response extends HttpResponse { status: "200"; } /** 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. */ export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgrade202Response extends HttpResponse { status: "202"; } /** 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. */ export interface VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the status of the latest virtual machine scale set rolling upgrade. */ export interface VirtualMachineScaleSetRollingUpgradesGetLatest200Response extends HttpResponse { status: "200"; body: RollingUpgradeStatusInfoOutput; } /** Gets the status of the latest virtual machine scale set rolling upgrade. */ export interface VirtualMachineScaleSetRollingUpgradesGetLatestDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to create or update the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetVMExtensionOutput; } /** The operation to create or update the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualMachineScaleSetVMExtensionOutput; } /** The operation to create or update the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to update the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsUpdate200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetVMExtensionOutput; } /** The operation to update the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to delete the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsDelete200Response extends HttpResponse { status: "200"; } /** The operation to delete the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsDelete202Response extends HttpResponse { status: "202"; } /** The operation to delete the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsDelete204Response extends HttpResponse { status: "204"; } /** The operation to delete the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to get the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsGet200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetVMExtensionOutput; } /** The operation to get the VMSS VM extension. */ export interface VirtualMachineScaleSetVMExtensionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to get all extensions of an instance in Virtual Machine Scaleset. */ export interface VirtualMachineScaleSetVMExtensionsList200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetVMExtensionsListResultOutput; } /** The operation to get all extensions of an instance in Virtual Machine Scaleset. */ export interface VirtualMachineScaleSetVMExtensionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsReimage200Response extends HttpResponse { status: "200"; } /** Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsReimage202Response extends HttpResponse { status: "202"; } /** Reimages (upgrade the operating system) a specific virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsReimageDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetVMsReimageAll200Response extends HttpResponse { status: "200"; } /** Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetVMsReimageAll202Response extends HttpResponse { status: "202"; } /** Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. */ export interface VirtualMachineScaleSetVMsReimageAllDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. */ export interface VirtualMachineScaleSetVMsDeallocate200Response extends HttpResponse { status: "200"; } /** Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. */ export interface VirtualMachineScaleSetVMsDeallocate202Response extends HttpResponse { status: "202"; } /** Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. */ export interface VirtualMachineScaleSetVMsDeallocateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Updates a virtual machine of a VM scale set. */ export interface VirtualMachineScaleSetVMsUpdate200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetVMOutput; } /** Updates a virtual machine of a VM scale set. */ export interface VirtualMachineScaleSetVMsUpdate202Response extends HttpResponse { status: "202"; body: VirtualMachineScaleSetVMOutput; } /** Updates a virtual machine of a VM scale set. */ export interface VirtualMachineScaleSetVMsUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Deletes a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsDelete200Response extends HttpResponse { status: "200"; } /** Deletes a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsDelete202Response extends HttpResponse { status: "202"; } /** Deletes a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsDelete204Response extends HttpResponse { status: "204"; } /** Deletes a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsGet200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetVMOutput; } /** Gets a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets the status of a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsGetInstanceView200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetVMInstanceViewOutput; } /** Gets the status of a virtual machine from a VM scale set. */ export interface VirtualMachineScaleSetVMsGetInstanceViewDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets a list of all virtual machines in a VM scale sets. */ export interface VirtualMachineScaleSetVMsList200Response extends HttpResponse { status: "200"; body: VirtualMachineScaleSetVMListResultOutput; } /** Gets a list of all virtual machines in a VM scale sets. */ export interface VirtualMachineScaleSetVMsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetVMsPowerOff200Response extends HttpResponse { status: "200"; } /** Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetVMsPowerOff202Response extends HttpResponse { status: "202"; } /** Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. */ export interface VirtualMachineScaleSetVMsPowerOffDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Restarts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRestart200Response extends HttpResponse { status: "200"; } /** Restarts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRestart202Response extends HttpResponse { status: "202"; } /** Restarts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRestartDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Starts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsStart200Response extends HttpResponse { status: "200"; } /** Starts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsStart202Response extends HttpResponse { status: "202"; } /** Starts a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsStartDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. */ export interface VirtualMachineScaleSetVMsRedeploy200Response extends HttpResponse { status: "200"; } /** Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. */ export interface VirtualMachineScaleSetVMsRedeploy202Response extends HttpResponse { status: "202"; } /** Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. */ export interface VirtualMachineScaleSetVMsRedeployDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsData200Response extends HttpResponse { status: "200"; body: RetrieveBootDiagnosticsDataResultOutput; } /** The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRetrieveBootDiagnosticsDataDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Performs maintenance on a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsPerformMaintenance200Response extends HttpResponse { status: "200"; } /** Performs maintenance on a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsPerformMaintenance202Response extends HttpResponse { status: "202"; } /** Performs maintenance on a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsPerformMaintenanceDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to simulate the eviction of spot virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsSimulateEviction204Response extends HttpResponse { status: "204"; } /** The operation to simulate the eviction of spot virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsSimulateEvictionDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Run command on a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRunCommand200Response extends HttpResponse { status: "200"; body: RunCommandResultOutput; } /** Run command on a virtual machine in a VM scale set. */ export interface VirtualMachineScaleSetVMsRunCommand202Response extends HttpResponse { status: "202"; } /** The operation to create or update the extension. */ export interface VirtualMachineExtensionsCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualMachineExtensionOutput; } /** The operation to create or update the extension. */ export interface VirtualMachineExtensionsCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualMachineExtensionOutput; } /** The operation to create or update the extension. */ export interface VirtualMachineExtensionsCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to update the extension. */ export interface VirtualMachineExtensionsUpdate200Response extends HttpResponse { status: "200"; body: VirtualMachineExtensionOutput; } /** The operation to update the extension. */ export interface VirtualMachineExtensionsUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to delete the extension. */ export interface VirtualMachineExtensionsDelete200Response extends HttpResponse { status: "200"; } /** The operation to delete the extension. */ export interface VirtualMachineExtensionsDelete202Response extends HttpResponse { status: "202"; } /** The operation to delete the extension. */ export interface VirtualMachineExtensionsDelete204Response extends HttpResponse { status: "204"; } /** The operation to delete the extension. */ export interface VirtualMachineExtensionsDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to get the extension. */ export interface VirtualMachineExtensionsGet200Response extends HttpResponse { status: "200"; body: VirtualMachineExtensionOutput; } /** The operation to get the extension. */ export interface VirtualMachineExtensionsGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to get all extensions of a Virtual Machine. */ export interface VirtualMachineExtensionsList200Response extends HttpResponse { status: "200"; body: VirtualMachineExtensionsListResultOutput; } /** The operation to get all extensions of a Virtual Machine. */ export interface VirtualMachineExtensionsListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Gets all the virtual machines under the specified subscription for the specified location. */ export interface VirtualMachinesListByLocation200Response extends HttpResponse { status: "200"; body: VirtualMachineListResultOutput; } /** Gets all the virtual machines under the specified subscription for the specified location. */ export interface VirtualMachinesListByLocationDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. */ export interface VirtualMachinesCapture200Response extends HttpResponse { status: "200"; body: VirtualMachineCaptureResultOutput; } /** Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. */ export interface VirtualMachinesCapture202Response extends HttpResponse { status: "202"; } /** Captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. */ export interface VirtualMachinesCaptureDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. */ export interface VirtualMachinesCreateOrUpdate200Response extends HttpResponse { status: "200"; body: VirtualMachineOutput; } /** The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. */ export interface VirtualMachinesCreateOrUpdate201Response extends HttpResponse { status: "201"; body: VirtualMachineOutput; } /** The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. */ export interface VirtualMachinesCreateOrUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to update a virtual machine. */ export interface VirtualMachinesUpdate200Response extends HttpResponse { status: "200"; body: VirtualMachineOutput; } /** The operation to update a virtual machine. */ export interface VirtualMachinesUpdateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to delete a virtual machine. */ export interface VirtualMachinesDelete200Response extends HttpResponse { status: "200"; } /** The operation to delete a virtual machine. */ export interface VirtualMachinesDelete202Response extends HttpResponse { status: "202"; } /** The operation to delete a virtual machine. */ export interface VirtualMachinesDelete204Response extends HttpResponse { status: "204"; } /** The operation to delete a virtual machine. */ export interface VirtualMachinesDeleteDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves information about the model view or the instance view of a virtual machine. */ export interface VirtualMachinesGet200Response extends HttpResponse { status: "200"; body: VirtualMachineOutput; } /** Retrieves information about the model view or the instance view of a virtual machine. */ export interface VirtualMachinesGetDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Retrieves information about the run-time state of a virtual machine. */ export interface VirtualMachinesInstanceView200Response extends HttpResponse { status: "200"; body: VirtualMachineInstanceViewOutput; } /** Retrieves information about the run-time state of a virtual machine. */ export interface VirtualMachinesInstanceViewDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. */ export interface VirtualMachinesConvertToManagedDisks200Response extends HttpResponse { status: "200"; } /** Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. */ export interface VirtualMachinesConvertToManagedDisks202Response extends HttpResponse { status: "202"; } /** Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. */ export interface VirtualMachinesConvertToManagedDisksDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. */ export interface VirtualMachinesDeallocate200Response extends HttpResponse { status: "200"; } /** Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. */ export interface VirtualMachinesDeallocate202Response extends HttpResponse { status: "202"; } /** Shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. */ export interface VirtualMachinesDeallocateDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation. <br>For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).<br>For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). */ export interface VirtualMachinesGeneralize200Response extends HttpResponse { status: "200"; } /** Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation. <br>For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).<br>For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). */ export interface VirtualMachinesGeneralizeDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines. */ export interface VirtualMachinesList200Response extends HttpResponse { status: "200"; body: VirtualMachineListResultOutput; } /** Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines. */ export interface VirtualMachinesListDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines. */ export interface VirtualMachinesListAll200Response extends HttpResponse { status: "200"; body: VirtualMachineListResultOutput; } /** Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines. */ export interface VirtualMachinesListAllDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** Lists all available virtual machine sizes to which the specified virtual machine can be resized. */ export interface VirtualMachinesListAvailableSizes200Response extends HttpResponse { status: "200"; body: VirtualMachineSizeListResultOutput; } /** Lists all available virtual machine sizes to which the specified virtual machine can be resized. */ export interface VirtualMachinesListAvailableSizesDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. */ export interface VirtualMachinesPowerOff200Response extends HttpResponse { status: "200"; } /** The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. */ export interface VirtualMachinesPowerOff202Response extends HttpResponse { status: "202"; } /** The operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. */ export interface VirtualMachinesPowerOffDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to reapply a virtual machine's state. */ export interface VirtualMachinesReapply200Response extends HttpResponse { status: "200"; } /** The operation to reapply a virtual machine's state. */ export interface VirtualMachinesReapply202Response extends HttpResponse { status: "202"; } /** The operation to reapply a virtual machine's state. */ export interface VirtualMachinesReapplyDefaultResponse extends HttpResponse { status: string; body: CloudErrorOutput; } /** The operation to restart a virtual machine. */ export interface VirtualMachinesRestart200Response extends HttpResponse {