diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json index 117c35a6b556..15595435a5d3 100644 --- a/sdk/compute/arm-compute/package.json +++ b/sdk/compute/arm-compute/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts index 8d444e9570b6..7bc366fa6949 100644 --- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts @@ -70,6 +70,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -152,7 +153,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts b/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts index 8a02931bafde..0ae1e9df98d1 100644 --- a/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts +++ b/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts @@ -70,6 +70,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -152,7 +153,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts b/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts index 7d430c73882a..a893aac70c05 100644 --- a/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts +++ b/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts @@ -70,6 +70,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -152,7 +153,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts index 9d23800b726d..a8a0cf04a6d3 100644 --- a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts +++ b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -145,7 +146,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts index 041431b3f276..1268f288828d 100644 --- a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts +++ b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts @@ -67,6 +67,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -148,7 +149,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts index 085c8e88867e..027c885a0d78 100644 --- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts +++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts @@ -70,6 +70,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -152,7 +153,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts index 56f0edc929d4..ddff05c0008c 100644 --- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts +++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts @@ -70,6 +70,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -152,7 +153,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts index 4f46885515de..bdb1594623e6 100644 --- a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts +++ b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts @@ -66,6 +66,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -148,7 +149,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts index 3c2f6ade85a3..d5c551861636 100644 --- a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts @@ -66,6 +66,7 @@ export { DiskEncryptionSetUpdate, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -146,7 +147,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts index 3deeb35306cc..2a46c550a9fb 100644 --- a/sdk/compute/arm-compute/src/models/disksMappers.ts +++ b/sdk/compute/arm-compute/src/models/disksMappers.ts @@ -66,6 +66,7 @@ export { DiskImageEncryption, DiskInstanceView, DiskList, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, DiskUpdate, @@ -147,7 +148,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts index 20e85d6081d2..1960d595d86d 100644 --- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -144,7 +145,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts index 1119c75b9cb0..74e0c38cbf3b 100644 --- a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -144,7 +145,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts index 5b5817f14cdd..bcf72c289003 100644 --- a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -144,7 +145,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts index 9095befad49d..e45b4b03ac45 100644 --- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -144,7 +145,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts index 7f56a2f6a256..09c29e2695cd 100644 --- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -144,7 +145,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts b/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts index d7ce7f78b210..ea6ea3527d43 100644 --- a/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts +++ b/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -143,7 +144,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts index 753f4662605a..0ff108ff68d8 100644 --- a/sdk/compute/arm-compute/src/models/imagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts @@ -69,6 +69,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -152,7 +153,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index 89edfb587daf..8dda05fdb965 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -641,8 +641,10 @@ export interface BootDiagnostics { export interface DiagnosticsProfile { /** * Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot - * to diagnose VM status.

You can easily view the output of your console log.

- * Azure also enables you to see a screenshot of the VM from the hypervisor. + * to diagnose VM status.
**NOTE**: If storageUri is being specified then ensure that the + * storage account is in the same region and subscription as the VM.

You can easily view + * the output of your console log.

Azure also enables you to see a screenshot of the VM + * from the hypervisor. */ bootDiagnostics?: BootDiagnostics; } @@ -729,25 +731,57 @@ export interface RestorePointSourceMetadata { } /** - * Restore Point Provisioning details. + * The instance view of a disk restore point. */ -export interface RestorePointProvisioningDetails { +export interface DiskRestorePointInstanceView { /** - * Gets the creation time of the restore point. + * Disk restore point Id. + */ + id?: string; + /** + * The disk restore point replication status information. + */ + replicationStatus?: any; +} + +/** + * Instance view status. + */ +export interface InstanceViewStatus { + /** + * The status code. + */ + code?: string; + /** + * The level code. Possible values include: 'Info', 'Warning', 'Error' + */ + level?: StatusLevelTypes; + /** + * The short localizable label for the status. + */ + displayStatus?: string; + /** + * The detailed status message, including for alerts and error messages. */ - creationTime?: Date; + message?: string; /** - * Gets the total size of the data in all the disks which are part of the restore point. + * The time of the status. */ - totalUsedSizeInBytes?: number; + time?: Date; +} + +/** + * The instance view of a restore point. + */ +export interface RestorePointInstanceView { /** - * Gets the status of the Create restore point operation. + * The disk restore points information. */ - statusCode?: number; + diskRestorePoints?: DiskRestorePointInstanceView[]; /** - * Gets the status message of the Create restore point operation. + * The resource status information. */ - statusMessage?: string; + statuses?: InstanceViewStatus[]; } /** @@ -799,10 +833,18 @@ export interface RestorePoint extends ProxyResource { */ readonly consistencyMode?: ConsistencyModeTypes; /** - * Gets the provisioning details set by the server during Create restore point operation. + * Gets the creation time of the restore point. + */ + timeCreated?: Date; + /** + * Resource Id of the source restore point from which a copy needs to be created. + */ + sourceRestorePoint?: ApiEntityReference; + /** + * The restore point instance view. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly provisioningDetails?: RestorePointProvisioningDetails; + readonly instanceView?: RestorePointInstanceView; } /** @@ -888,6 +930,16 @@ export interface RestorePointCollectionUpdate extends UpdateResource { readonly restorePoints?: RestorePoint[]; } +/** + * The instance view of a disk restore point. + */ +export interface DiskRestorePointReplicationStatus { + /** + * The resource status information. + */ + status?: any; +} + /** * Describes the properties of a Compute Operation value. */ @@ -950,32 +1002,6 @@ export interface RetrieveBootDiagnosticsDataResult { readonly serialConsoleLogBlobUri?: string; } -/** - * Instance view status. - */ -export interface InstanceViewStatus { - /** - * The status code. - */ - code?: string; - /** - * The level code. Possible values include: 'Info', 'Warning', 'Error' - */ - level?: StatusLevelTypes; - /** - * The short localizable label for the status. - */ - displayStatus?: string; - /** - * The detailed status message, including for alerts and error messages. - */ - message?: string; - /** - * The time of the status. - */ - time?: Date; -} - /** * Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the * hardware the scale set is currently on, you need to deallocate the VMs in the scale set before @@ -9249,7 +9275,7 @@ export interface VirtualMachineImagesEdgeZoneListOptionalParams extends msRest.R */ export interface VirtualMachinesDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Optional parameter to force delete virtual machines.(Feature in Preview) + * Optional parameter to force delete virtual machines. */ forceDeletion?: boolean; } @@ -9327,7 +9353,7 @@ export interface VirtualMachinesRetrieveBootDiagnosticsDataOptionalParams extend */ export interface VirtualMachinesBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { /** - * Optional parameter to force delete virtual machines.(Feature in Preview) + * Optional parameter to force delete virtual machines. */ forceDeletion?: boolean; } @@ -9622,6 +9648,17 @@ export interface RestorePointCollectionsGetOptionalParams extends msRest.Request expand?: RestorePointCollectionExpandOptions; } +/** + * Optional Parameters. + */ +export interface RestorePointsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * The expand expression to apply on the operation. 'InstanceView' retrieves information about + * the run-time state of a restore point. Possible values include: 'instanceView' + */ + expand?: RestorePointExpandOptions; +} + /** * Optional Parameters. */ @@ -10870,6 +10907,14 @@ export type SecurityTypes = 'TrustedLaunch'; */ export type ConsistencyModeTypes = 'CrashConsistent' | 'FileSystemConsistent' | 'ApplicationConsistent'; +/** + * Defines values for StatusLevelTypes. + * Possible values include: 'Info', 'Warning', 'Error' + * @readonly + * @enum {string} + */ +export type StatusLevelTypes = 'Info' | 'Warning' | 'Error'; + /** * Defines values for VmDiskTypes. * Possible values include: 'None', 'Unmanaged' @@ -10886,14 +10931,6 @@ export type VmDiskTypes = 'None' | 'Unmanaged'; */ export type HyperVGenerationTypes = 'V1' | 'V2'; -/** - * Defines values for StatusLevelTypes. - * Possible values include: 'Info', 'Warning', 'Error' - * @readonly - * @enum {string} - */ -export type StatusLevelTypes = 'Info' | 'Warning' | 'Error'; - /** * Defines values for AvailabilitySetSkuTypes. * Possible values include: 'Classic', 'Aligned' @@ -11486,6 +11523,14 @@ export type InstanceViewTypes = 'instanceView' | 'userData'; */ export type RestorePointCollectionExpandOptions = 'restorePoints'; +/** + * Defines values for RestorePointExpandOptions. + * Possible values include: 'instanceView' + * @readonly + * @enum {string} + */ +export type RestorePointExpandOptions = 'instanceView'; + /** * Defines values for CapacityReservationGroupInstanceViewTypes. * Possible values include: 'instanceView' diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index 73aa841d63bd..52e473e0672a 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -921,35 +921,102 @@ export const RestorePointSourceMetadata: msRest.CompositeMapper = { } }; -export const RestorePointProvisioningDetails: msRest.CompositeMapper = { - serializedName: "RestorePointProvisioningDetails", +export const DiskRestorePointInstanceView: msRest.CompositeMapper = { + serializedName: "DiskRestorePointInstanceView", type: { name: "Composite", - className: "RestorePointProvisioningDetails", + className: "DiskRestorePointInstanceView", modelProperties: { - creationTime: { - serializedName: "creationTime", + id: { + serializedName: "id", type: { - name: "DateTime" + name: "String" } }, - totalUsedSizeInBytes: { - serializedName: "totalUsedSizeInBytes", + replicationStatus: { + serializedName: "replicationStatus", type: { - name: "Number" + name: "Object" + } + } + } + } +}; + +export const InstanceViewStatus: msRest.CompositeMapper = { + serializedName: "InstanceViewStatus", + type: { + name: "Composite", + className: "InstanceViewStatus", + modelProperties: { + code: { + serializedName: "code", + type: { + name: "String" } }, - statusCode: { - serializedName: "statusCode", + level: { + serializedName: "level", type: { - name: "Number" + name: "Enum", + allowedValues: [ + "Info", + "Warning", + "Error" + ] } }, - statusMessage: { - serializedName: "statusMessage", + displayStatus: { + serializedName: "displayStatus", type: { name: "String" } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + }, + time: { + serializedName: "time", + type: { + name: "DateTime" + } + } + } + } +}; + +export const RestorePointInstanceView: msRest.CompositeMapper = { + serializedName: "RestorePointInstanceView", + type: { + name: "Composite", + className: "RestorePointInstanceView", + modelProperties: { + diskRestorePoints: { + serializedName: "diskRestorePoints", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskRestorePointInstanceView" + } + } + } + }, + statuses: { + serializedName: "statuses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InstanceViewStatus" + } + } + } } } } @@ -1027,12 +1094,25 @@ export const RestorePoint: msRest.CompositeMapper = { name: "String" } }, - provisioningDetails: { + timeCreated: { + serializedName: "properties.timeCreated", + type: { + name: "DateTime" + } + }, + sourceRestorePoint: { + serializedName: "properties.sourceRestorePoint", + type: { + name: "Composite", + className: "ApiEntityReference" + } + }, + instanceView: { readOnly: true, - serializedName: "properties.provisioningDetails", + serializedName: "properties.instanceView", type: { name: "Composite", - className: "RestorePointProvisioningDetails" + className: "RestorePointInstanceView" } } } @@ -1199,6 +1279,22 @@ export const RestorePointCollectionUpdate: msRest.CompositeMapper = { } }; +export const DiskRestorePointReplicationStatus: msRest.CompositeMapper = { + serializedName: "DiskRestorePointReplicationStatus", + type: { + name: "Composite", + className: "DiskRestorePointReplicationStatus", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "Object" + } + } + } + } +}; + export const ComputeOperationValue: msRest.CompositeMapper = { serializedName: "ComputeOperationValue", type: { @@ -1291,51 +1387,6 @@ export const RetrieveBootDiagnosticsDataResult: msRest.CompositeMapper = { } }; -export const InstanceViewStatus: msRest.CompositeMapper = { - serializedName: "InstanceViewStatus", - type: { - name: "Composite", - className: "InstanceViewStatus", - modelProperties: { - code: { - serializedName: "code", - type: { - name: "String" - } - }, - level: { - serializedName: "level", - type: { - name: "Enum", - allowedValues: [ - "Info", - "Warning", - "Error" - ] - } - }, - displayStatus: { - serializedName: "displayStatus", - type: { - name: "String" - } - }, - message: { - serializedName: "message", - type: { - name: "String" - } - }, - time: { - serializedName: "time", - type: { - name: "DateTime" - } - } - } - } -}; - export const Sku: msRest.CompositeMapper = { serializedName: "Sku", type: { diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index 2b8d9ddc6556..79107fc297aa 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -25,7 +25,7 @@ export const apiVersion0: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2021-07-01', + defaultValue: '2021-11-01', type: { name: "String" } @@ -37,13 +37,25 @@ export const apiVersion1: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2021-04-01', + defaultValue: '2021-07-01', type: { name: "String" } } }; export const apiVersion2: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2021-04-01', + type: { + name: "String" + } + } +}; +export const apiVersion3: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts index 187ced15034a..610ec264d640 100644 --- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts +++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts @@ -69,6 +69,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -152,7 +153,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts b/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts index cc5f4ab7a17b..d7b95a677909 100644 --- a/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts @@ -69,6 +69,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -152,7 +153,7 @@ export { RestorePointCollectionListResult, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/restorePointsMappers.ts b/sdk/compute/arm-compute/src/models/restorePointsMappers.ts index d7ce7f78b210..ea6ea3527d43 100644 --- a/sdk/compute/arm-compute/src/models/restorePointsMappers.ts +++ b/sdk/compute/arm-compute/src/models/restorePointsMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -143,7 +144,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts index 387293388fc3..9ab86d53d3af 100644 --- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts +++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts @@ -65,6 +65,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -145,7 +146,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts index 0d4bca40e291..b4d52b1810fb 100644 --- a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts +++ b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts @@ -69,6 +69,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -151,7 +152,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts index d7ce7f78b210..ea6ea3527d43 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -143,7 +144,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts index 62a01fa12ecb..b64b16dddea8 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts @@ -69,6 +69,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -151,7 +152,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts index d7ce7f78b210..ea6ea3527d43 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -143,7 +144,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts index d7ce7f78b210..ea6ea3527d43 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -143,7 +144,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts index 5ae18212ef0b..f629c54ab793 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts @@ -69,6 +69,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -151,7 +152,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts index 9f1d50e2df0b..c8d0a24bc217 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -143,7 +144,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts index d7ce7f78b210..ea6ea3527d43 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -143,7 +144,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts index b3eb9269b5bc..0991f6ad4f4e 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -143,7 +144,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts index 26f452d3cc74..db563ebbdccc 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts @@ -69,6 +69,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -151,7 +152,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts index d45c1c96758f..3e10d416ca91 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts @@ -64,6 +64,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -143,7 +144,7 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts index c43298b5630b..2c141c5e49c3 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts @@ -69,6 +69,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -154,7 +155,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts index 1ae38b0736b1..3a3c345edd1a 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts @@ -69,6 +69,7 @@ export { DiskEncryptionSettings, DiskImageEncryption, DiskInstanceView, + DiskRestorePointInstanceView, DiskSecurityProfile, DiskSku, Encryption, @@ -153,7 +154,7 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, + RestorePointInstanceView, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts b/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts index 4ba1adb23801..6f43ef73efb0 100644 --- a/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts +++ b/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts @@ -223,7 +223,7 @@ const getOSVersionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -247,7 +247,7 @@ const listOSVersionsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -272,7 +272,7 @@ const getOSFamilyOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -296,7 +296,7 @@ const listOSFamiliesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -320,7 +320,7 @@ const listOSVersionsNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -344,7 +344,7 @@ const listOSFamiliesNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts index 243cd59d84d6..214f94547db5 100644 --- a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts +++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts @@ -351,7 +351,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2, + Parameters.apiVersion3, Parameters.expand1 ], headerParameters: [ @@ -378,7 +378,7 @@ const getInstanceViewOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -403,7 +403,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2, + Parameters.apiVersion3, Parameters.expand1 ], headerParameters: [ @@ -430,7 +430,7 @@ const getRemoteDesktopFileOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -461,7 +461,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -487,7 +487,7 @@ const beginRestartOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -512,7 +512,7 @@ const beginReimageOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -537,7 +537,7 @@ const beginRebuildOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -560,7 +560,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion2, + Parameters.apiVersion3, Parameters.expand1 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts index 0f409ac33b27..113e446db757 100644 --- a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts +++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts @@ -136,7 +136,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -161,7 +161,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -185,7 +185,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/cloudServices.ts b/sdk/compute/arm-compute/src/operations/cloudServices.ts index 0a5884204d1c..989841b89abb 100644 --- a/sdk/compute/arm-compute/src/operations/cloudServices.ts +++ b/sdk/compute/arm-compute/src/operations/cloudServices.ts @@ -498,7 +498,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -523,7 +523,7 @@ const getInstanceViewOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -546,7 +546,7 @@ const listAllOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -570,7 +570,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -595,7 +595,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -630,7 +630,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -662,7 +662,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -687,7 +687,7 @@ const beginStartOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -711,7 +711,7 @@ const beginPowerOffOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -735,7 +735,7 @@ const beginRestartOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -766,7 +766,7 @@ const beginReimageOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -797,7 +797,7 @@ const beginRebuildOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -828,7 +828,7 @@ const beginDeleteInstancesOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -858,7 +858,7 @@ const listAllNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -882,7 +882,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts index 13164ea9fb45..1bf654aae4bf 100644 --- a/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts +++ b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts @@ -180,7 +180,7 @@ const getUpdateDomainOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -205,7 +205,7 @@ const listUpdateDomainsOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -231,7 +231,7 @@ const beginWalkUpdateDomainOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -261,7 +261,7 @@ const listUpdateDomainsNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/communityGalleries.ts b/sdk/compute/arm-compute/src/operations/communityGalleries.ts index 870d1133fbf9..ef411c76216c 100644 --- a/sdk/compute/arm-compute/src/operations/communityGalleries.ts +++ b/sdk/compute/arm-compute/src/operations/communityGalleries.ts @@ -69,7 +69,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.publicGalleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/communityGalleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/communityGalleryImageVersions.ts index 69eb5f01b58f..165bb526eb6c 100644 --- a/sdk/compute/arm-compute/src/operations/communityGalleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/communityGalleryImageVersions.ts @@ -85,7 +85,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/communityGalleryImages.ts b/sdk/compute/arm-compute/src/operations/communityGalleryImages.ts index 1a1643c5d303..624f6a2158d6 100644 --- a/sdk/compute/arm-compute/src/operations/communityGalleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/communityGalleryImages.ts @@ -74,7 +74,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/diskAccesses.ts b/sdk/compute/arm-compute/src/operations/diskAccesses.ts index eb266e172523..b2258301b883 100644 --- a/sdk/compute/arm-compute/src/operations/diskAccesses.ts +++ b/sdk/compute/arm-compute/src/operations/diskAccesses.ts @@ -519,7 +519,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.diskAccessName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -543,7 +543,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -566,7 +566,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -591,7 +591,7 @@ const getPrivateLinkResourcesOperationSpec: msRest.OperationSpec = { Parameters.diskAccessName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -617,7 +617,7 @@ const getAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { Parameters.privateEndpointConnectionName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -642,7 +642,7 @@ const listPrivateEndpointConnectionsOperationSpec: msRest.OperationSpec = { Parameters.diskAccessName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -667,7 +667,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.diskAccessName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -702,7 +702,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.diskAccessName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -737,7 +737,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.diskAccessName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -763,7 +763,7 @@ const beginUpdateAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = Parameters.privateEndpointConnectionName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -799,7 +799,7 @@ const beginDeleteAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = Parameters.privateEndpointConnectionName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -823,7 +823,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -847,7 +847,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -871,7 +871,7 @@ const listPrivateEndpointConnectionsNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts index a8488c840650..0b5eaa646f70 100644 --- a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts +++ b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts @@ -362,7 +362,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.diskEncryptionSetName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -386,7 +386,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -409,7 +409,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -434,7 +434,7 @@ const listAssociatedResourcesOperationSpec: msRest.OperationSpec = { Parameters.diskEncryptionSetName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -459,7 +459,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.diskEncryptionSetName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -494,7 +494,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.diskEncryptionSetName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -529,7 +529,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.diskEncryptionSetName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -553,7 +553,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -577,7 +577,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -601,7 +601,7 @@ const listAssociatedResourcesNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts index 40cacb0be433..a50400f3315d 100644 --- a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts +++ b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts @@ -239,7 +239,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.diskRestorePointName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -265,7 +265,7 @@ const listByRestorePointOperationSpec: msRest.OperationSpec = { Parameters.vmRestorePointName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -292,7 +292,7 @@ const beginGrantAccessOperationSpec: msRest.OperationSpec = { Parameters.diskRestorePointName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -327,7 +327,7 @@ const beginRevokeAccessOperationSpec: msRest.OperationSpec = { Parameters.diskRestorePointName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -350,7 +350,7 @@ const listByRestorePointNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/disks.ts b/sdk/compute/arm-compute/src/operations/disks.ts index de70230014bc..7524f371e889 100644 --- a/sdk/compute/arm-compute/src/operations/disks.ts +++ b/sdk/compute/arm-compute/src/operations/disks.ts @@ -363,7 +363,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.diskName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -387,7 +387,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -410,7 +410,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -435,7 +435,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.diskName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -470,7 +470,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.diskName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -505,7 +505,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.diskName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -530,7 +530,7 @@ const beginGrantAccessOperationSpec: msRest.OperationSpec = { Parameters.diskName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -563,7 +563,7 @@ const beginRevokeAccessOperationSpec: msRest.OperationSpec = { Parameters.diskName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -586,7 +586,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -610,7 +610,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts index 362ae0c26b7d..8ed2d64e4b25 100644 --- a/sdk/compute/arm-compute/src/operations/galleries.ts +++ b/sdk/compute/arm-compute/src/operations/galleries.ts @@ -278,7 +278,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0, + Parameters.apiVersion1, Parameters.select ], headerParameters: [ @@ -303,7 +303,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -326,7 +326,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -351,7 +351,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -389,7 +389,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -421,7 +421,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -445,7 +445,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -469,7 +469,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts index 3fddfe854298..b965350ed190 100644 --- a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts @@ -302,7 +302,7 @@ const getOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.expand0, - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -328,7 +328,7 @@ const listByGalleryApplicationOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -355,7 +355,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -395,7 +395,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -429,7 +429,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -453,7 +453,7 @@ const listByGalleryApplicationNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/galleryApplications.ts b/sdk/compute/arm-compute/src/operations/galleryApplications.ts index 855e0f7a16e3..9dea27695bbe 100644 --- a/sdk/compute/arm-compute/src/operations/galleryApplications.ts +++ b/sdk/compute/arm-compute/src/operations/galleryApplications.ts @@ -262,7 +262,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -287,7 +287,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -313,7 +313,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -352,7 +352,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -385,7 +385,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -409,7 +409,7 @@ const listByGalleryNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts index 03345034e715..8bd8433d3aaa 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts @@ -281,7 +281,7 @@ const getOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.expand0, - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -307,7 +307,7 @@ const listByGalleryImageOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -334,7 +334,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -374,7 +374,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -408,7 +408,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -432,7 +432,7 @@ const listByGalleryImageNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/galleryImages.ts b/sdk/compute/arm-compute/src/operations/galleryImages.ts index 0e021fcc33c9..4be564df2331 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts @@ -260,7 +260,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -285,7 +285,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -311,7 +311,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -350,7 +350,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -383,7 +383,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -407,7 +407,7 @@ const listByGalleryNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts b/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts index fd48a678a3b1..243f9d7e4d8f 100644 --- a/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts +++ b/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts @@ -71,7 +71,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/resourceSkus.ts b/sdk/compute/arm-compute/src/operations/resourceSkus.ts index 584cf72eeddb..3ae8f023bae0 100644 --- a/sdk/compute/arm-compute/src/operations/resourceSkus.ts +++ b/sdk/compute/arm-compute/src/operations/resourceSkus.ts @@ -87,7 +87,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0, + Parameters.apiVersion1, Parameters.filter, Parameters.includeExtendedLocations ], @@ -113,7 +113,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0, + Parameters.apiVersion1, Parameters.filter, Parameters.includeExtendedLocations ], diff --git a/sdk/compute/arm-compute/src/operations/restorePoints.ts b/sdk/compute/arm-compute/src/operations/restorePoints.ts index ae4dbbb49508..689c228cdba9 100644 --- a/sdk/compute/arm-compute/src/operations/restorePoints.ts +++ b/sdk/compute/arm-compute/src/operations/restorePoints.ts @@ -62,7 +62,7 @@ export class RestorePoints { * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, options?: Models.RestorePointsGetOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group. * @param restorePointCollectionName The name of the restore point collection. @@ -77,8 +77,8 @@ export class RestorePoints { * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, options: Models.RestorePointsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, restorePointCollectionName: string, restorePointName: string, options?: Models.RestorePointsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -146,6 +146,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.restorePointName ], queryParameters: [ + Parameters.expand0, Parameters.apiVersion0 ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleries.ts b/sdk/compute/arm-compute/src/operations/sharedGalleries.ts index 1218a879d6e5..97006c4d6733 100644 --- a/sdk/compute/arm-compute/src/operations/sharedGalleries.ts +++ b/sdk/compute/arm-compute/src/operations/sharedGalleries.ts @@ -124,7 +124,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.location0 ], queryParameters: [ - Parameters.apiVersion0, + Parameters.apiVersion1, Parameters.sharedTo ], headerParameters: [ @@ -150,7 +150,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryUniqueName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -174,7 +174,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0, + Parameters.apiVersion1, Parameters.sharedTo ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts index bbf15a1ae517..62170c228369 100644 --- a/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts @@ -154,7 +154,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0, + Parameters.apiVersion1, Parameters.sharedTo ], headerParameters: [ @@ -182,7 +182,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -206,7 +206,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0, + Parameters.apiVersion1, Parameters.sharedTo ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts b/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts index 21cc53cbd39c..1e6ae6f34d65 100644 --- a/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts @@ -136,7 +136,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.galleryUniqueName ], queryParameters: [ - Parameters.apiVersion0, + Parameters.apiVersion1, Parameters.sharedTo ], headerParameters: [ @@ -163,7 +163,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -187,7 +187,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0, + Parameters.apiVersion1, Parameters.sharedTo ], headerParameters: [ diff --git a/sdk/compute/arm-compute/src/operations/snapshots.ts b/sdk/compute/arm-compute/src/operations/snapshots.ts index daa880c743f1..b35c1e9fbc5e 100644 --- a/sdk/compute/arm-compute/src/operations/snapshots.ts +++ b/sdk/compute/arm-compute/src/operations/snapshots.ts @@ -365,7 +365,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.snapshotName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -389,7 +389,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -412,7 +412,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -437,7 +437,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.snapshotName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -472,7 +472,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.snapshotName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -507,7 +507,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.snapshotName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -532,7 +532,7 @@ const beginGrantAccessOperationSpec: msRest.OperationSpec = { Parameters.snapshotName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -565,7 +565,7 @@ const beginRevokeAccessOperationSpec: msRest.OperationSpec = { Parameters.snapshotName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -588,7 +588,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -612,7 +612,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts index 9a6664c30959..ba34a5e26e92 100644 --- a/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts +++ b/sdk/compute/arm-compute/src/operations/virtualMachineScaleSetVMs.ts @@ -619,7 +619,7 @@ export class VirtualMachineScaleSetVMs { const serializer = new msRest.Serializer(Mappers); const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}", urlParameters: [ Parameters.resourceGroupName, Parameters.vmScaleSetName, @@ -646,7 +646,7 @@ const getOperationSpec: msRest.OperationSpec = { const getInstanceViewOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/instanceView", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/instanceView", urlParameters: [ Parameters.resourceGroupName, Parameters.vmScaleSetName, @@ -751,7 +751,7 @@ const simulateEvictionOperationSpec: msRest.OperationSpec = { const beginReimageOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimage", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimage", urlParameters: [ Parameters.resourceGroupName, Parameters.vmScaleSetName, @@ -783,7 +783,7 @@ const beginReimageOperationSpec: msRest.OperationSpec = { const beginReimageAllOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimageall", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimageall", urlParameters: [ Parameters.resourceGroupName, Parameters.vmScaleSetName, @@ -808,7 +808,7 @@ const beginReimageAllOperationSpec: msRest.OperationSpec = { const beginDeallocateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/deallocate", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/deallocate", urlParameters: [ Parameters.resourceGroupName, Parameters.vmScaleSetName, @@ -833,7 +833,7 @@ const beginDeallocateOperationSpec: msRest.OperationSpec = { const beginUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}", urlParameters: [ Parameters.resourceGroupName, Parameters.vmScaleSetName, @@ -869,7 +869,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}", urlParameters: [ Parameters.resourceGroupName, Parameters.vmScaleSetName,