import { OperationParameter , OperationURLParameter , OperationQueryParameter } from "@azure/core-client" ; import { AvailabilitySet as AvailabilitySetMapper , AvailabilitySetUpdate as AvailabilitySetUpdateMapper , ProximityPlacementGroup as ProximityPlacementGroupMapper , ProximityPlacementGroupUpdate as ProximityPlacementGroupUpdateMapper , DedicatedHostGroup as DedicatedHostGroupMapper , DedicatedHostGroupUpdate as DedicatedHostGroupUpdateMapper , DedicatedHost as DedicatedHostMapper , DedicatedHostUpdate as DedicatedHostUpdateMapper , SshPublicKeyResource as SshPublicKeyResourceMapper , SshPublicKeyUpdateResource as SshPublicKeyUpdateResourceMapper , VirtualMachineExtension as VirtualMachineExtensionMapper , VirtualMachineExtensionUpdate as VirtualMachineExtensionUpdateMapper , VirtualMachineCaptureParameters as VirtualMachineCaptureParametersMapper , VirtualMachine as VirtualMachineMapper , VirtualMachineUpdate as VirtualMachineUpdateMapper , VirtualMachineReimageParameters as VirtualMachineReimageParametersMapper , VirtualMachineInstallPatchesParameters as VirtualMachineInstallPatchesParametersMapper , RunCommandInput as RunCommandInputMapper , VirtualMachineScaleSet as VirtualMachineScaleSetMapper , VirtualMachineScaleSetUpdate as VirtualMachineScaleSetUpdateMapper , VirtualMachineScaleSetVMInstanceIDs as VirtualMachineScaleSetVMInstanceIDsMapper , VirtualMachineScaleSetVMInstanceRequiredIDs as VirtualMachineScaleSetVMInstanceRequiredIDsMapper , VirtualMachineScaleSetReimageParameters as VirtualMachineScaleSetReimageParametersMapper , VMScaleSetConvertToSinglePlacementGroupInput as VMScaleSetConvertToSinglePlacementGroupInputMapper , OrchestrationServiceStateInput as OrchestrationServiceStateInputMapper , Image as ImageMapper , ImageUpdate as ImageUpdateMapper , RestorePointCollection as RestorePointCollectionMapper , RestorePointCollectionUpdate as RestorePointCollectionUpdateMapper , RestorePoint as RestorePointMapper , CapacityReservationGroup as CapacityReservationGroupMapper , CapacityReservationGroupUpdate as CapacityReservationGroupUpdateMapper , CapacityReservation as CapacityReservationMapper , CapacityReservationUpdate as CapacityReservationUpdateMapper , VirtualMachineScaleSetExtension as VirtualMachineScaleSetExtensionMapper , VirtualMachineScaleSetExtensionUpdate as VirtualMachineScaleSetExtensionUpdateMapper , VirtualMachineScaleSetVMExtension as VirtualMachineScaleSetVMExtensionMapper , VirtualMachineScaleSetVMExtensionUpdate as VirtualMachineScaleSetVMExtensionUpdateMapper , VirtualMachineScaleSetVMReimageParameters as VirtualMachineScaleSetVMReimageParametersMapper , VirtualMachineScaleSetVM as VirtualMachineScaleSetVMMapper , RequestRateByIntervalInput as RequestRateByIntervalInputMapper , ThrottledRequestsInput as ThrottledRequestsInputMapper , VirtualMachineRunCommand as VirtualMachineRunCommandMapper , VirtualMachineRunCommandUpdate as VirtualMachineRunCommandUpdateMapper , Disk as DiskMapper , DiskUpdate as DiskUpdateMapper , GrantAccessData as GrantAccessDataMapper , Snapshot as SnapshotMapper , SnapshotUpdate as SnapshotUpdateMapper , DiskEncryptionSet as DiskEncryptionSetMapper , DiskEncryptionSetUpdate as DiskEncryptionSetUpdateMapper , DiskAccess as DiskAccessMapper , DiskAccessUpdate as DiskAccessUpdateMapper , PrivateEndpointConnection as PrivateEndpointConnectionMapper , Gallery as GalleryMapper , GalleryUpdate as GalleryUpdateMapper , GalleryImage as GalleryImageMapper , GalleryImageUpdate as GalleryImageUpdateMapper , GalleryImageVersion as GalleryImageVersionMapper , GalleryImageVersionUpdate as GalleryImageVersionUpdateMapper , GalleryApplication as GalleryApplicationMapper , GalleryApplicationUpdate as GalleryApplicationUpdateMapper , GalleryApplicationVersion as GalleryApplicationVersionMapper , GalleryApplicationVersionUpdate as GalleryApplicationVersionUpdateMapper , SharingUpdate as SharingUpdateMapper , CloudService as CloudServiceMapper , CloudServiceUpdate as CloudServiceUpdateMapper , RoleInstances as RoleInstancesMapper , UpdateDomain as UpdateDomainMapper } from "../models/mappers" ; export const accept = { parameterPath : "accept" , mapper : { defaultValue : "application/json" , isConstant : true , serializedName : "Accept" , type : { name : "String" } } } ; export const $host = { parameterPath : "$host" , mapper : { serializedName : "$host" , required : true , type : { name : "String" } } , skipEncoding : true } ; export const apiVersion = { parameterPath : "apiVersion" , mapper : { defaultValue : "2021-07-01" , isConstant : true , serializedName : "api-version" , type : { name : "String" } } } ; export const contentType = { parameterPath : [ "options" , "contentType" ] , mapper : { defaultValue : "application/json" , isConstant : true , serializedName : "Content-Type" , type : { name : "String" } } } ; export const parameters = { parameterPath : "parameters" , mapper : AvailabilitySetMapper } ; export const resourceGroupName = { parameterPath : "resourceGroupName" , mapper : { serializedName : "resourceGroupName" , required : true , type : { name : "String" } } } ; export const availabilitySetName = { parameterPath : "availabilitySetName" , mapper : { serializedName : "availabilitySetName" , required : true , type : { name : "String" } } } ; export const subscriptionId = { parameterPath : "subscriptionId" , mapper : { serializedName : "subscriptionId" , required : true , type : { name : "String" } } } ; export const parameters1 = { parameterPath : "parameters" , mapper : AvailabilitySetUpdateMapper } ; export const expand = { parameterPath : [ "options" , "expand" ] , mapper : { serializedName : "$expand" , type : { name : "String" } } } ; export const nextLink = { parameterPath : "nextLink" , mapper : { serializedName : "nextLink" , required : true , type : { name : "String" } } , skipEncoding : true } ; export const parameters2 = { parameterPath : "parameters" , mapper : ProximityPlacementGroupMapper } ; export const proximityPlacementGroupName = { parameterPath : "proximityPlacementGroupName" , mapper : { serializedName : "proximityPlacementGroupName" , required : true , type : { name : "String" } } } ; export const parameters3 = { parameterPath : "parameters" , mapper : ProximityPlacementGroupUpdateMapper } ; export const includeColocationStatus = { parameterPath : [ "options" , "includeColocationStatus" ] , mapper : { serializedName : "includeColocationStatus" , type : { name : "String" } } } ; export const parameters4 = { parameterPath : "parameters" , mapper : DedicatedHostGroupMapper } ; export const hostGroupName = { parameterPath : "hostGroupName" , mapper : { serializedName : "hostGroupName" , required : true , type : { name : "String" } } } ; export const parameters5 = { parameterPath : "parameters" , mapper : DedicatedHostGroupUpdateMapper } ; export const expand1 = { parameterPath : [ "options" , "expand" ] , mapper : { serializedName : "$expand" , type : { name : "Enum" , allowedValues : [ "instanceView" , "userData" ] } } } ; export const parameters6 = { parameterPath : "parameters" , mapper : DedicatedHostMapper } ; export const hostName = { parameterPath : "hostName" , mapper : { serializedName : "hostName" , required : true , type : { name : "String" } } } ; export const parameters7 = { parameterPath : "parameters" , mapper : DedicatedHostUpdateMapper } ; export const parameters8 = { parameterPath : "parameters" , mapper : SshPublicKeyResourceMapper } ; export const sshPublicKeyName = { parameterPath : "sshPublicKeyName" , mapper : { serializedName : "sshPublicKeyName" , required : true , type : { name : "String" } } } ; export const parameters9 = { parameterPath : "parameters" , mapper : SshPublicKeyUpdateResourceMapper } ; export const location = { parameterPath : "location" , mapper : { serializedName : "location" , required : true , type : { name : "String" } } } ; export const publisherName = { parameterPath : "publisherName" , mapper : { serializedName : "publisherName" , required : true , type : { name : "String" } } } ; export const typeParam = { parameterPath : "typeParam" , mapper : { serializedName : "type" , required : true , type : { name : "String" } } } ; export const version = { parameterPath : "version" , mapper : { serializedName : "version" , required : true , type : { name : "String" } } } ; export const filter = { parameterPath : [ "options" , "filter" ] , mapper : { serializedName : "$filter" , type : { name : "String" } } } ; export const top = { parameterPath : [ "options" , "top" ] , mapper : { serializedName : "$top" , type : { name : "Number" } } } ; export const orderby = { parameterPath : [ "options" , "orderby" ] , mapper : { serializedName : "$orderby" , type : { name : "String" } } } ; export const extensionParameters = { parameterPath : "extensionParameters" , mapper : VirtualMachineExtensionMapper } ; export const vmName = { parameterPath : "vmName" , mapper : { serializedName : "vmName" , required : true , type : { name : "String" } } } ; export const vmExtensionName = { parameterPath : "vmExtensionName" , mapper : { serializedName : "vmExtensionName" , required : true , type : { name : "String" } } } ; export const extensionParameters1 = { parameterPath : "extensionParameters" , mapper : VirtualMachineExtensionUpdateMapper } ; export const offer = { parameterPath : "offer" , mapper : { serializedName : "offer" , required : true , type : { name : "String" } } } ; export const skus = { parameterPath : "skus" , mapper : { serializedName : "skus" , required : true , type : { name : "String" } } } ; export const edgeZone = { parameterPath : "edgeZone" , mapper : { serializedName : "edgeZone" , required : true , type : { name : "String" } } } ; export const location1 = { parameterPath : "location" , mapper : { constraints : { Pattern : new RegExp ( "^[-\\w\\._]+$" ) } , serializedName : "location" , required : true , type : { name : "String" } } } ; export const parameters10 = { parameterPath : "parameters" , mapper : VirtualMachineCaptureParametersMapper } ; export const parameters11 = { parameterPath : "parameters" , mapper : VirtualMachineMapper } ; export const parameters12 = { parameterPath : "parameters" , mapper : VirtualMachineUpdateMapper } ; export const forceDeletion = { parameterPath : [ "options" , "forceDeletion" ] , mapper : { serializedName : "forceDeletion" , type : { name : "Boolean" } } } ; export const hibernate = { parameterPath : [ "options" , "hibernate" ] , mapper : { serializedName : "hibernate" , type : { name : "Boolean" } } } ; export const statusOnly = { parameterPath : [ "options" , "statusOnly" ] , mapper : { serializedName : "statusOnly" , type : { name : "String" } } } ; export const skipShutdown = { parameterPath : [ "options" , "skipShutdown" ] , mapper : { defaultValue : false , serializedName : "skipShutdown" , type : { name : "Boolean" } } } ; export const parameters13 = { parameterPath : [ "options" , "parameters" ] , mapper : VirtualMachineReimageParametersMapper } ; export const sasUriExpirationTimeInMinutes = { parameterPath : [ "options" , "sasUriExpirationTimeInMinutes" ] , mapper : { serializedName : "sasUriExpirationTimeInMinutes" , type : { name : "Number" } } } ; export const installPatchesInput = { parameterPath : "installPatchesInput" , mapper : VirtualMachineInstallPatchesParametersMapper } ; export const parameters14 = { parameterPath : "parameters" , mapper : RunCommandInputMapper } ; export const accept1 = { parameterPath : "accept" , mapper : { defaultValue : "application/json, text/json" , isConstant : true , serializedName : "Accept" , type : { name : "String" } } } ; export const parameters15 = { parameterPath : "parameters" , mapper : VirtualMachineScaleSetMapper } ; export const vmScaleSetName = { parameterPath : "vmScaleSetName" , mapper : { serializedName : "vmScaleSetName" , required : true , type : { name : "String" } } } ; export const parameters16 = { parameterPath : "parameters" , mapper : VirtualMachineScaleSetUpdateMapper } ; export const expand2 = { parameterPath : [ "options" , "expand" ] , mapper : { serializedName : "$expand" , type : { name : "String" } } } ; export const vmInstanceIDs = { parameterPath : [ "options" , "vmInstanceIDs" ] , mapper : VirtualMachineScaleSetVMInstanceIDsMapper } ; export const vmInstanceIDs1 = { parameterPath : "vmInstanceIDs" , mapper : VirtualMachineScaleSetVMInstanceRequiredIDsMapper } ; export const vmScaleSetReimageInput = { parameterPath : [ "options" , "vmScaleSetReimageInput" ] , mapper : VirtualMachineScaleSetReimageParametersMapper } ; export const platformUpdateDomain = { parameterPath : "platformUpdateDomain" , mapper : { serializedName : "platformUpdateDomain" , required : true , type : { name : "Number" } } } ; export const parameters17 = { parameterPath : "parameters" , mapper : VMScaleSetConvertToSinglePlacementGroupInputMapper } ; export const parameters18 = { parameterPath : "parameters" , mapper : OrchestrationServiceStateInputMapper } ; export const parameters19 = { parameterPath : "parameters" , mapper : ImageMapper } ; export const imageName = { parameterPath : "imageName" , mapper : { serializedName : "imageName" , required : true , type : { name : "String" } } } ; export const parameters20 = { parameterPath : "parameters" , mapper : ImageUpdateMapper } ; export const parameters21 = { parameterPath : "parameters" , mapper : RestorePointCollectionMapper } ; export const restorePointCollectionName = { parameterPath : "restorePointCollectionName" , mapper : { serializedName : "restorePointCollectionName" , required : true , type : { name : "String" } } } ; export const parameters22 = { parameterPath : "parameters" , mapper : RestorePointCollectionUpdateMapper } ; export const expand3 = { parameterPath : [ "options" , "expand" ] , mapper : { serializedName : "$expand" , type : { name : "String" } } } ; export const parameters23 = { parameterPath : "parameters" , mapper : RestorePointMapper } ; export const restorePointName = { parameterPath : "restorePointName" , mapper : { serializedName : "restorePointName" , required : true , type : { name : "String" } } } ; export const parameters24 = { parameterPath : "parameters" , mapper : CapacityReservationGroupMapper } ; export const capacityReservationGroupName = { parameterPath : "capacityReservationGroupName" , mapper : { serializedName : "capacityReservationGroupName" , required : true , type : { name : "String" } } } ; export const parameters25 = { parameterPath : "parameters" , mapper : CapacityReservationGroupUpdateMapper } ; export const expand4 = { parameterPath : [ "options" , "expand" ] , mapper : { serializedName : "$expand" , type : { name : "String" } } } ; export const expand5 = { parameterPath : [ "options" , "expand" ] , mapper : { serializedName : "$expand" , type : { name : "String" } } } ; export const parameters26 = { parameterPath : "parameters" , mapper : CapacityReservationMapper } ; export const capacityReservationName = { parameterPath : "capacityReservationName" , mapper : { serializedName : "capacityReservationName" , required : true , type : { name : "String" } } } ; export const parameters27 = { parameterPath : "parameters" , mapper : CapacityReservationUpdateMapper } ; export const expand6 = { parameterPath : [ "options" , "expand" ] , mapper : { serializedName : "$expand" , type : { name : "String" } } } ; export const extensionParameters2 = { parameterPath : "extensionParameters" , mapper : VirtualMachineScaleSetExtensionMapper } ; export const vmssExtensionName = { parameterPath : "vmssExtensionName" , mapper : { serializedName : "vmssExtensionName" , required : true , type : { name : "String" } } } ; export const extensionParameters3 = { parameterPath : "extensionParameters" , mapper : VirtualMachineScaleSetExtensionUpdateMapper } ; export const extensionParameters4 = { parameterPath : "extensionParameters" , mapper : VirtualMachineScaleSetVMExtensionMapper } ; export const instanceId = { parameterPath : "instanceId" , mapper : { serializedName : "instanceId" , required : true , type : { name : "String" } } } ; export const extensionParameters5 = { parameterPath : "extensionParameters" , mapper : VirtualMachineScaleSetVMExtensionUpdateMapper } ; export const vmScaleSetVMReimageInput = { parameterPath : [ "options" , "vmScaleSetVMReimageInput" ] , mapper : VirtualMachineScaleSetVMReimageParametersMapper } ; export const parameters28 = { parameterPath : "parameters" , mapper : VirtualMachineScaleSetVMMapper } ; export const virtualMachineScaleSetName = { parameterPath : "virtualMachineScaleSetName" , mapper : { serializedName : "virtualMachineScaleSetName" , required : true , type : { name : "String" } } } ; export const select = { parameterPath : [ "options" , "select" ] , mapper : { serializedName : "$select" , type : { name : "String" } } } ; export const parameters29 = { parameterPath : "parameters" , mapper : RequestRateByIntervalInputMapper } ; export const parameters30 = { parameterPath : "parameters" , mapper : ThrottledRequestsInputMapper } ; export const commandId = { parameterPath : "commandId" , mapper : { serializedName : "commandId" , required : true , type : { name : "String" } } } ; export const runCommand = { parameterPath : "runCommand" , mapper : VirtualMachineRunCommandMapper } ; export const runCommandName = { parameterPath : "runCommandName" , mapper : { serializedName : "runCommandName" , required : true , type : { name : "String" } } } ; export const runCommand1 = { parameterPath : "runCommand" , mapper : VirtualMachineRunCommandUpdateMapper } ; export const includeExtendedLocations = { parameterPath : [ "options" , "includeExtendedLocations" ] , mapper : { serializedName : "includeExtendedLocations" , type : { name : "String" } } } ; export const disk = { parameterPath : "disk" , mapper : DiskMapper } ; export const diskName = { parameterPath : "diskName" , mapper : { serializedName : "diskName" , required : true , type : { name : "String" } } } ; export const apiVersion1 = { parameterPath : "apiVersion" , mapper : { defaultValue : "2021-04-01" , isConstant : true , serializedName : "api-version" , type : { name : "String" } } } ; export const disk1 = { parameterPath : "disk" , mapper : DiskUpdateMapper } ; export const grantAccessData = { parameterPath : "grantAccessData" , mapper : GrantAccessDataMapper } ; export const snapshot = { parameterPath : "snapshot" , mapper : SnapshotMapper } ; export const snapshotName = { parameterPath : "snapshotName" , mapper : { serializedName : "snapshotName" , required : true , type : { name : "String" } } } ; export const snapshot1 = { parameterPath : "snapshot" , mapper : SnapshotUpdateMapper } ; export const diskEncryptionSet = { parameterPath : "diskEncryptionSet" , mapper : DiskEncryptionSetMapper } ; export const diskEncryptionSetName = { parameterPath : "diskEncryptionSetName" , mapper : { serializedName : "diskEncryptionSetName" , required : true , type : { name : "String" } } } ; export const diskEncryptionSet1 = { parameterPath : "diskEncryptionSet" , mapper : DiskEncryptionSetUpdateMapper } ; export const diskAccess = { parameterPath : "diskAccess" , mapper : DiskAccessMapper } ; export const diskAccessName = { parameterPath : "diskAccessName" , mapper : { serializedName : "diskAccessName" , required : true , type : { name : "String" } } } ; export const diskAccess1 = { parameterPath : "diskAccess" , mapper : DiskAccessUpdateMapper } ; export const privateEndpointConnection = { parameterPath : "privateEndpointConnection" , mapper : PrivateEndpointConnectionMapper } ; export const privateEndpointConnectionName = { parameterPath : "privateEndpointConnectionName" , mapper : { serializedName : "privateEndpointConnectionName" , required : true , type : { name : "String" } } } ; export const vmRestorePointName = { parameterPath : "vmRestorePointName" , mapper : { serializedName : "vmRestorePointName" , required : true , type : { name : "String" } } } ; export const diskRestorePointName = { parameterPath : "diskRestorePointName" , mapper : { serializedName : "diskRestorePointName" , required : true , type : { name : "String" } } } ; export const gallery = { parameterPath : "gallery" , mapper : GalleryMapper } ; export const galleryName = { parameterPath : "galleryName" , mapper : { serializedName : "galleryName" , required : true , type : { name : "String" } } } ; export const gallery1 = { parameterPath : "gallery" , mapper : GalleryUpdateMapper } ; export const select1 = { parameterPath : [ "options" , "select" ] , mapper : { serializedName : "$select" , type : { name : "String" } } } ; export const galleryImage = { parameterPath : "galleryImage" , mapper : GalleryImageMapper } ; export const galleryImageName = { parameterPath : "galleryImageName" , mapper : { serializedName : "galleryImageName" , required : true , type : { name : "String" } } } ; export const galleryImage1 = { parameterPath : "galleryImage" , mapper : GalleryImageUpdateMapper } ; export const galleryImageVersion = { parameterPath : "galleryImageVersion" , mapper : GalleryImageVersionMapper } ; export const galleryImageVersionName = { parameterPath : "galleryImageVersionName" , mapper : { serializedName : "galleryImageVersionName" , required : true , type : { name : "String" } } } ; export const galleryImageVersion1 = { parameterPath : "galleryImageVersion" , mapper : GalleryImageVersionUpdateMapper } ; export const expand7 = { parameterPath : [ "options" , "expand" ] , mapper : { serializedName : "$expand" , type : { name : "String" } } } ; export const galleryApplication = { parameterPath : "galleryApplication" , mapper : GalleryApplicationMapper } ; export const galleryApplicationName = { parameterPath : "galleryApplicationName" , mapper : { serializedName : "galleryApplicationName" , required : true , type : { name : "String" } } } ; export const galleryApplication1 = { parameterPath : "galleryApplication" , mapper : GalleryApplicationUpdateMapper } ; export const galleryApplicationVersion = { parameterPath : "galleryApplicationVersion" , mapper : GalleryApplicationVersionMapper } ; export const galleryApplicationVersionName = { parameterPath : "galleryApplicationVersionName" , mapper : { serializedName : "galleryApplicationVersionName" , required : true , type : { name : "String" } } } ; export const galleryApplicationVersion1 = { parameterPath : "galleryApplicationVersion" , mapper : GalleryApplicationVersionUpdateMapper } ; export const sharingUpdate = { parameterPath : "sharingUpdate" , mapper : SharingUpdateMapper } ; export const sharedTo = { parameterPath : [ "options" , "sharedTo" ] , mapper : { serializedName : "sharedTo" , type : { name : "String" } } } ; export const galleryUniqueName = { parameterPath : "galleryUniqueName" , mapper : { serializedName : "galleryUniqueName" , required : true , type : { name : "String" } } } ; export const publicGalleryName = { parameterPath : "publicGalleryName" , mapper : { serializedName : "publicGalleryName" , required : true , type : { name : "String" } } } ; export const roleInstanceName = { parameterPath : "roleInstanceName" , mapper : { serializedName : "roleInstanceName" , required : true , type : { name : "String" } } } ; export const cloudServiceName = { parameterPath : "cloudServiceName" , mapper : { serializedName : "cloudServiceName" , required : true , type : { name : "String" } } } ; export const apiVersion2 = { parameterPath : "apiVersion" , mapper : { defaultValue : "2021-03-01" , isConstant : true , serializedName : "api-version" , type : { name : "String" } } } ; export const accept2 = { parameterPath : "accept" , mapper : { defaultValue : "application/x-rdp" , isConstant : true , serializedName : "Accept" , type : { name : "String" } } } ; export const roleName = { parameterPath : "roleName" , mapper : { serializedName : "roleName" , required : true , type : { name : "String" } } } ; export const parameters31 = { parameterPath : [ "options" , "parameters" ] , mapper : CloudServiceMapper } ; export const parameters32 = { parameterPath : [ "options" , "parameters" ] , mapper : CloudServiceUpdateMapper } ; export const parameters33 = { parameterPath : [ "options" , "parameters" ] , mapper : RoleInstancesMapper } ; export const parameters34 = { parameterPath : [ "options" , "parameters" ] , mapper : UpdateDomainMapper } ; export const updateDomain = { parameterPath : "updateDomain" , mapper : { serializedName : "updateDomain" , required : true , type : { name : "Number" } } } ; export const osVersionName = { parameterPath : "osVersionName" , mapper : { serializedName : "osVersionName" , required : true , type : { name : "String" } } } ; export const osFamilyName = { parameterPath : "osFamilyName" , mapper : { serializedName : "osFamilyName" , required : true , type : { name : "String" } } } ;