diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts index 79ff67e5c57e..f7f9dccd7efe 100644 --- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts @@ -38,6 +38,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -52,9 +53,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -101,6 +104,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -117,6 +121,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -130,6 +135,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts index 2bf213a00079..ed2fc0e24abc 100644 --- a/sdk/compute/arm-compute/src/models/containerServicesMappers.ts +++ b/sdk/compute/arm-compute/src/models/containerServicesMappers.ts @@ -38,6 +38,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -52,9 +53,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -101,6 +104,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -117,6 +121,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -130,6 +135,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts index 6292e9f494d2..f3bb37fb5261 100644 --- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts +++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -52,9 +53,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -101,6 +104,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -117,6 +121,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -130,6 +135,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts index 1c0e0ccc4ef9..302971aef816 100644 --- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts +++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -52,9 +53,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -101,6 +104,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -117,6 +121,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -130,6 +135,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts index e2c9ac73d20f..3929547470b7 100644 --- a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -53,9 +54,11 @@ export { DiskEncryptionSetParameters, DiskEncryptionSettings, DiskEncryptionSetUpdate, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -102,6 +105,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -118,6 +122,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -131,6 +136,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts index b1017371f623..e89ef13e509a 100644 --- a/sdk/compute/arm-compute/src/models/disksMappers.ts +++ b/sdk/compute/arm-compute/src/models/disksMappers.ts @@ -38,6 +38,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -52,11 +53,13 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskList, DiskSku, DiskUpdate, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -104,6 +107,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -120,6 +124,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -133,6 +138,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts index 416e83aa59ad..e0ea127f1105 100644 --- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -101,6 +104,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -117,6 +121,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -130,6 +135,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts index 48b31aae6efb..b7682e94de99 100644 --- a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -101,6 +104,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -117,6 +121,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -130,6 +135,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts index 8a7f1b7035af..8d725c9c06db 100644 --- a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -101,6 +104,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -117,6 +121,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -130,6 +135,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts index e0170afc004e..61e484336ea5 100644 --- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -101,6 +104,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -117,6 +121,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -130,6 +135,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts index 6a98e19ff14d..89382b3dcf82 100644 --- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -101,6 +104,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -117,6 +121,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -130,6 +135,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts index 851c06207f8c..c1a5481de1d9 100644 --- a/sdk/compute/arm-compute/src/models/imagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -101,6 +104,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -117,6 +121,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -130,6 +135,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index 0b9ed9a3ea14..84bd74b37930 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -182,21 +182,6 @@ export interface UpdateResource extends BaseResource { * Resource tags */ tags?: { [propertyName: string]: string }; - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; } /** @@ -649,7 +634,7 @@ export interface VirtualMachineExtensionUpdate extends UpdateResource { /** * Specifies the type of the extension; an example is "CustomScriptExtension". */ - virtualMachineExtensionUpdateType?: string; + type?: string; /** * Specifies the version of the script handler. */ @@ -4381,6 +4366,10 @@ export interface CreationData { * Disk source information. */ imageReference?: ImageDiskReference; + /** + * Required if creating from a Gallery Image + */ + galleryImageReference?: ImageDiskReference; /** * If createOption is Import, this is the URI of a blob to be imported into a managed disk. */ @@ -4492,7 +4481,18 @@ export interface Encryption { * The type of key used to encrypt the data of the disk. Possible values include: * 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey' */ - type: EncryptionType; + type?: EncryptionType; +} + +/** + * An interface representing ShareInfoElement. + */ +export interface ShareInfoElement { + /** + * A relative URI containing the ID of the VM that has the disk attached. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vmUri?: string; } /** @@ -4504,6 +4504,12 @@ export interface Disk extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly managedBy?: string; + /** + * List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares + * should be set to a value greater than one for disks to allow attaching them to multiple VMs. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly managedByExtended?: string[]; sku?: DiskSku; /** * The Logical zone list for Disk. @@ -4565,6 +4571,17 @@ export interface Disk extends Resource { * bytes per second - MB here uses the ISO notation, of powers of 10. */ diskMBpsReadWrite?: number; + /** + * The total number of IOPS that will be allowed across all VMs mounting the shared disk as + * ReadOnly. One operation can transfer between 4k and 256k bytes. + */ + diskIOPSReadOnly?: number; + /** + * The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as + * ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers + * of 10. + */ + diskMBpsReadOnly?: number; /** * The state of the disk. Possible values include: 'Unattached', 'Attached', 'Reserved', * 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload' @@ -4576,6 +4593,17 @@ export interface Disk extends Resource { * managed keys. */ encryption?: Encryption; + /** + * The maximum number of VMs that can attach to the disk at the same time. Value greater than one + * indicates a disk that can be mounted on multiple VMs at the same time. + */ + maxShares?: number; + /** + * Details of the list of all VMs that have the disk attached. maxShares should be set to a value + * greater than one for disks to allow attaching them to multiple VMs. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly shareInfo?: ShareInfoElement[]; } /** @@ -4608,6 +4636,22 @@ export interface DiskUpdate { * bytes per second - MB here uses the ISO notation, of powers of 10. */ diskMBpsReadWrite?: number; + /** + * The total number of IOPS that will be allowed across all VMs mounting the shared disk as + * ReadOnly. One operation can transfer between 4k and 256k bytes. + */ + diskIOPSReadOnly?: number; + /** + * The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as + * ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers + * of 10. + */ + diskMBpsReadOnly?: number; + /** + * The maximum number of VMs that can attach to the disk at the same time. Value greater than one + * indicates a disk that can be mounted on multiple VMs at the same time. + */ + maxShares?: number; /** * Encryption property can be used to encrypt data at rest with customer managed keys or platform * managed keys. @@ -4795,6 +4839,11 @@ export interface DiskEncryptionSet extends Resource { * The key vault key which is currently used by this disk encryption set. */ activeKey?: KeyVaultAndKeyReference; + /** + * The type of key used to encrypt the data of the disk. Possible values include: + * 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey' + */ + diskEncryptionSetType?: EncryptionType; /** * A readonly collection of key vault keys previously used by this disk encryption set while a * key rotation is in progress. It will be empty if there is no ongoing key rotation. @@ -4848,10 +4897,35 @@ export interface Gallery extends Resource { readonly provisioningState?: ProvisioningState; } +/** + * The Update Resource model definition. + */ +export interface UpdateResourceDefinition extends BaseResource { + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Resource tags + */ + tags?: { [propertyName: string]: string }; +} + /** * Specifies information about the Shared Image Gallery that you want to update. */ -export interface GalleryUpdate extends UpdateResource { +export interface GalleryUpdate extends UpdateResourceDefinition { /** * The description of this Shared Image Gallery resource. This property is updatable. */ @@ -4903,7 +4977,7 @@ export interface GalleryApplication extends Resource { /** * Specifies information about the gallery Application Definition that you want to update. */ -export interface GalleryApplicationUpdate extends UpdateResource { +export interface GalleryApplicationUpdate extends UpdateResourceDefinition { /** * The description of this gallery Application Definition resource. This property is updatable. */ @@ -5064,7 +5138,7 @@ export interface GalleryApplicationVersion extends Resource { /** * Specifies information about the gallery Application Version that you want to update. */ -export interface GalleryApplicationVersionUpdate extends UpdateResource { +export interface GalleryApplicationVersionUpdate extends UpdateResourceDefinition { publishingProfile: GalleryApplicationVersionPublishingProfile; /** * The current state of the gallery Application Version. The provisioning state, which only @@ -5205,7 +5279,7 @@ export interface GalleryImage extends Resource { /** * Specifies information about the gallery Image Definition that you want to update. */ -export interface GalleryImageUpdate extends UpdateResource { +export interface GalleryImageUpdate extends UpdateResourceDefinition { /** * The description of this gallery Image Definition resource. This property is updatable. */ @@ -5342,7 +5416,7 @@ export interface GalleryImageVersion extends Resource { /** * Specifies information about the gallery Image Version that you want to update. */ -export interface GalleryImageVersionUpdate extends UpdateResource { +export interface GalleryImageVersionUpdate extends UpdateResourceDefinition { publishingProfile?: GalleryImageVersionPublishingProfile; /** * The current state of the gallery Image Version. The provisioning state, which only appears in @@ -5358,6 +5432,46 @@ export interface GalleryImageVersionUpdate extends UpdateResource { readonly replicationStatus?: ReplicationStatus; } +/** + * This is the disk image encryption base class. + */ +export interface DiskImageEncryption { + /** + * A relative URI containing the resource ID of the disk encryption set. + */ + diskEncryptionSetId?: string; +} + +/** + * Contains encryption settings for an OS disk image. + */ +export interface OSDiskImageEncryption extends DiskImageEncryption { +} + +/** + * Contains encryption settings for a data disk image. + */ +export interface DataDiskImageEncryption extends DiskImageEncryption { + /** + * This property specifies the logical unit number of the data disk. This value is used to + * identify data disks within the Virtual Machine and therefore must be unique for each data disk + * attached to the Virtual Machine. + */ + lun: number; +} + +/** + * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in + * the gallery artifact. + */ +export interface EncryptionImages { + osDiskImage?: OSDiskImageEncryption; + /** + * A list of encryption specifications for data disk images. + */ + dataDiskImages?: DataDiskImageEncryption[]; +} + /** * Describes the target region information. */ @@ -5376,6 +5490,7 @@ export interface TargetRegion { * updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS' */ storageAccountType?: StorageAccountType; + encryption?: EncryptionImages; } /** diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index 3a4161031371..ca7e6fcc28c4 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -280,27 +280,6 @@ export const UpdateResource: msRest.CompositeMapper = { } } } - }, - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } } } } @@ -1081,7 +1060,7 @@ export const VirtualMachineExtensionUpdate: msRest.CompositeMapper = { name: "String" } }, - virtualMachineExtensionUpdateType: { + type: { serializedName: "properties.type", type: { name: "String" @@ -6823,6 +6802,13 @@ export const CreationData: msRest.CompositeMapper = { className: "ImageDiskReference" } }, + galleryImageReference: { + serializedName: "galleryImageReference", + type: { + name: "Composite", + className: "ImageDiskReference" + } + }, sourceUri: { serializedName: "sourceUri", type: { @@ -6990,7 +6976,6 @@ export const Encryption: msRest.CompositeMapper = { } }, type: { - required: true, serializedName: "type", type: { name: "String" @@ -7000,6 +6985,23 @@ export const Encryption: msRest.CompositeMapper = { } }; +export const ShareInfoElement: msRest.CompositeMapper = { + serializedName: "ShareInfoElement", + type: { + name: "Composite", + className: "ShareInfoElement", + modelProperties: { + vmUri: { + readOnly: true, + serializedName: "vmUri", + type: { + name: "String" + } + } + } + } +}; + export const Disk: msRest.CompositeMapper = { serializedName: "Disk", type: { @@ -7014,6 +7016,18 @@ export const Disk: msRest.CompositeMapper = { name: "String" } }, + managedByExtended: { + readOnly: true, + serializedName: "managedByExtended", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, sku: { serializedName: "sku", type: { @@ -7109,6 +7123,18 @@ export const Disk: msRest.CompositeMapper = { name: "Number" } }, + diskIOPSReadOnly: { + serializedName: "properties.diskIOPSReadOnly", + type: { + name: "Number" + } + }, + diskMBpsReadOnly: { + serializedName: "properties.diskMBpsReadOnly", + type: { + name: "Number" + } + }, diskState: { readOnly: true, serializedName: "properties.diskState", @@ -7122,6 +7148,25 @@ export const Disk: msRest.CompositeMapper = { name: "Composite", className: "Encryption" } + }, + maxShares: { + serializedName: "properties.maxShares", + type: { + name: "Number" + } + }, + shareInfo: { + readOnly: true, + serializedName: "properties.shareInfo", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ShareInfoElement" + } + } + } } } } @@ -7168,6 +7213,24 @@ export const DiskUpdate: msRest.CompositeMapper = { name: "Number" } }, + diskIOPSReadOnly: { + serializedName: "properties.diskIOPSReadOnly", + type: { + name: "Number" + } + }, + diskMBpsReadOnly: { + serializedName: "properties.diskMBpsReadOnly", + type: { + name: "Number" + } + }, + maxShares: { + serializedName: "properties.maxShares", + type: { + name: "Number" + } + }, encryption: { serializedName: "properties.encryption", type: { @@ -7473,6 +7536,12 @@ export const DiskEncryptionSet: msRest.CompositeMapper = { className: "KeyVaultAndKeyReference" } }, + diskEncryptionSetType: { + serializedName: "properties.type", + type: { + name: "String" + } + }, previousKeys: { readOnly: true, serializedName: "properties.previousKeys", @@ -7573,13 +7642,55 @@ export const Gallery: msRest.CompositeMapper = { } }; +export const UpdateResourceDefinition: msRest.CompositeMapper = { + serializedName: "UpdateResourceDefinition", + type: { + name: "Composite", + className: "UpdateResourceDefinition", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } + } + } +}; + export const GalleryUpdate: msRest.CompositeMapper = { serializedName: "GalleryUpdate", type: { name: "Composite", className: "GalleryUpdate", modelProperties: { - ...UpdateResource.type.modelProperties, + ...UpdateResourceDefinition.type.modelProperties, description: { serializedName: "properties.description", type: { @@ -7662,7 +7773,7 @@ export const GalleryApplicationUpdate: msRest.CompositeMapper = { name: "Composite", className: "GalleryApplicationUpdate", modelProperties: { - ...UpdateResource.type.modelProperties, + ...UpdateResourceDefinition.type.modelProperties, description: { serializedName: "properties.description", type: { @@ -7924,7 +8035,7 @@ export const GalleryApplicationVersionUpdate: msRest.CompositeMapper = { name: "Composite", className: "GalleryApplicationVersionUpdate", modelProperties: { - ...UpdateResource.type.modelProperties, + ...UpdateResourceDefinition.type.modelProperties, publishingProfile: { required: true, serializedName: "properties.publishingProfile", @@ -8189,7 +8300,7 @@ export const GalleryImageUpdate: msRest.CompositeMapper = { name: "Composite", className: "GalleryImageUpdate", modelProperties: { - ...UpdateResource.type.modelProperties, + ...UpdateResourceDefinition.type.modelProperties, description: { serializedName: "properties.description", type: { @@ -8463,7 +8574,7 @@ export const GalleryImageVersionUpdate: msRest.CompositeMapper = { name: "Composite", className: "GalleryImageVersionUpdate", modelProperties: { - ...UpdateResource.type.modelProperties, + ...UpdateResourceDefinition.type.modelProperties, publishingProfile: { serializedName: "properties.publishingProfile", type: { @@ -8498,6 +8609,80 @@ export const GalleryImageVersionUpdate: msRest.CompositeMapper = { } }; +export const DiskImageEncryption: msRest.CompositeMapper = { + serializedName: "DiskImageEncryption", + type: { + name: "Composite", + className: "DiskImageEncryption", + modelProperties: { + diskEncryptionSetId: { + serializedName: "diskEncryptionSetId", + type: { + name: "String" + } + } + } + } +}; + +export const OSDiskImageEncryption: msRest.CompositeMapper = { + serializedName: "OSDiskImageEncryption", + type: { + name: "Composite", + className: "OSDiskImageEncryption", + modelProperties: { + ...DiskImageEncryption.type.modelProperties + } + } +}; + +export const DataDiskImageEncryption: msRest.CompositeMapper = { + serializedName: "DataDiskImageEncryption", + type: { + name: "Composite", + className: "DataDiskImageEncryption", + modelProperties: { + ...DiskImageEncryption.type.modelProperties, + lun: { + required: true, + serializedName: "lun", + type: { + name: "Number" + } + } + } + } +}; + +export const EncryptionImages: msRest.CompositeMapper = { + serializedName: "EncryptionImages", + type: { + name: "Composite", + className: "EncryptionImages", + modelProperties: { + osDiskImage: { + serializedName: "osDiskImage", + type: { + name: "Composite", + className: "OSDiskImageEncryption" + } + }, + dataDiskImages: { + serializedName: "dataDiskImages", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DataDiskImageEncryption" + } + } + } + } + } + } +}; + export const TargetRegion: msRest.CompositeMapper = { serializedName: "TargetRegion", type: { @@ -8522,6 +8707,13 @@ export const TargetRegion: msRest.CompositeMapper = { type: { name: "String" } + }, + encryption: { + serializedName: "encryption", + type: { + name: "Composite", + className: "EncryptionImages" + } } } } diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index 807b3b71cea0..4207c0004079 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -45,6 +45,30 @@ export const apiVersion1: msRest.OperationQueryParameter = { } }; export const apiVersion2: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2019-11-01', + type: { + name: "String" + } + } +}; +export const apiVersion3: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2019-12-01', + type: { + name: "String" + } + } +}; +export const apiVersion4: 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 48aefeff44c4..98eda426a9e5 100644 --- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts +++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -100,6 +103,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -117,6 +121,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -130,6 +135,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts index cb8cf4141e32..775006fffb3d 100644 --- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts +++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts @@ -38,6 +38,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -52,9 +53,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -102,6 +105,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -118,6 +122,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotList, @@ -133,6 +138,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts index 21994e1787cd..e611b2ffb6b4 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -100,6 +103,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -116,6 +120,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -129,6 +134,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts index aea1dfa81516..be4d9613ee15 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -100,6 +103,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -116,6 +120,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -129,6 +134,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts index 21994e1787cd..e611b2ffb6b4 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -100,6 +103,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -116,6 +120,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -129,6 +134,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts index 246888a24f4f..b10f7a75f125 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -100,6 +103,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -116,6 +120,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -129,6 +134,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts index 21994e1787cd..e611b2ffb6b4 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -100,6 +103,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -116,6 +120,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -129,6 +134,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts index aea1dfa81516..be4d9613ee15 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -100,6 +103,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -116,6 +120,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -129,6 +134,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts index 39c95ed70c9d..fc7ba43f4734 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -100,6 +103,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -119,6 +123,7 @@ export { RunCommandResult, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -132,6 +137,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts index 21e769bf74df..e89157d00c26 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -100,6 +103,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -118,6 +122,7 @@ export { RollingUpgradeStatusInfo, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -131,6 +136,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradeOperationHistoricalStatusInfo, UpgradeOperationHistoricalStatusInfoProperties, UpgradeOperationHistoryStatus, diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts index 7412dccf4543..f4f08b90903a 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts @@ -37,6 +37,7 @@ export { CreationData, DataDisk, DataDiskImage, + DataDiskImageEncryption, DedicatedHost, DedicatedHostAllocatableVM, DedicatedHostAvailableCapacity, @@ -51,9 +52,11 @@ export { DiskEncryptionSet, DiskEncryptionSetParameters, DiskEncryptionSettings, + DiskImageEncryption, DiskInstanceView, DiskSku, Encryption, + EncryptionImages, EncryptionSetIdentity, EncryptionSettingsCollection, EncryptionSettingsElement, @@ -100,6 +103,7 @@ export { NetworkProfile, OSDisk, OSDiskImage, + OSDiskImageEncryption, OSProfile, Plan, ProximityPlacementGroup, @@ -119,6 +123,7 @@ export { RunCommandResult, ScaleInPolicy, ScheduledEventsProfile, + ShareInfoElement, Sku, Snapshot, SnapshotSku, @@ -132,6 +137,7 @@ export { TargetRegion, TerminateNotificationProfile, UpdateResource, + UpdateResourceDefinition, UpgradePolicy, UserArtifactSource, VaultCertificate, diff --git a/sdk/compute/arm-compute/src/operations/containerServices.ts b/sdk/compute/arm-compute/src/operations/containerServices.ts index 282f1bc59fd9..a0b681fc5406 100644 --- a/sdk/compute/arm-compute/src/operations/containerServices.ts +++ b/sdk/compute/arm-compute/src/operations/containerServices.ts @@ -274,7 +274,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -299,7 +299,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -323,7 +323,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -348,7 +348,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage @@ -386,7 +386,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion4 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts index 2f01f2601461..328526cca99e 100644 --- a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts +++ b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts @@ -297,7 +297,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.diskEncryptionSetName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -321,7 +321,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -344,7 +344,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -369,7 +369,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.diskEncryptionSetName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -385,7 +385,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.DiskEncryptionSet }, - 201: { + 202: { bodyMapper: Mappers.DiskEncryptionSet }, default: { @@ -404,7 +404,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.diskEncryptionSetName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -439,7 +439,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.diskEncryptionSetName ], queryParameters: [ - Parameters.apiVersion0 + 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 8ef1125a771d..97002da76ce8 100644 --- a/sdk/compute/arm-compute/src/operations/disks.ts +++ b/sdk/compute/arm-compute/src/operations/disks.ts @@ -364,7 +364,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.diskName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -388,7 +388,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -411,7 +411,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -436,7 +436,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.diskName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -471,7 +471,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.diskName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -506,7 +506,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.diskName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -531,7 +531,7 @@ const beginGrantAccessOperationSpec: msRest.OperationSpec = { Parameters.diskName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -564,7 +564,7 @@ const beginRevokeAccessOperationSpec: msRest.OperationSpec = { Parameters.diskName ], queryParameters: [ - Parameters.apiVersion0 + 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 4f6c2b97875d..f5b3dd565142 100644 --- a/sdk/compute/arm-compute/src/operations/galleries.ts +++ b/sdk/compute/arm-compute/src/operations/galleries.ts @@ -279,7 +279,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -303,7 +303,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -326,7 +326,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -351,7 +351,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -389,7 +389,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -421,7 +421,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts index e8ca678a3f1c..6f21204e3e9e 100644 --- a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts @@ -303,7 +303,7 @@ const getOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.expand0, - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -329,7 +329,7 @@ const listByGalleryApplicationOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -356,7 +356,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -396,7 +396,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -430,7 +430,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/galleryApplications.ts b/sdk/compute/arm-compute/src/operations/galleryApplications.ts index 5ac2e43b7d24..08d78de63174 100644 --- a/sdk/compute/arm-compute/src/operations/galleryApplications.ts +++ b/sdk/compute/arm-compute/src/operations/galleryApplications.ts @@ -263,7 +263,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -288,7 +288,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -314,7 +314,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -353,7 +353,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -386,7 +386,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryApplicationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts index 007854770ed3..0799bdde9106 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts @@ -282,7 +282,7 @@ const getOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.expand0, - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -308,7 +308,7 @@ const listByGalleryImageOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -335,7 +335,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -375,7 +375,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -409,7 +409,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageVersionName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/galleryImages.ts b/sdk/compute/arm-compute/src/operations/galleryImages.ts index e0e5b21e7060..bdc5ac10b2ce 100644 --- a/sdk/compute/arm-compute/src/operations/galleryImages.ts +++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts @@ -261,7 +261,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -286,7 +286,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = { Parameters.galleryName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -312,7 +312,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -351,7 +351,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage @@ -384,7 +384,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.galleryImageName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion3 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/compute/arm-compute/src/operations/snapshots.ts b/sdk/compute/arm-compute/src/operations/snapshots.ts index 09c6b33a9809..5a5e9c9090c2 100644 --- a/sdk/compute/arm-compute/src/operations/snapshots.ts +++ b/sdk/compute/arm-compute/src/operations/snapshots.ts @@ -366,7 +366,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.snapshotName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -390,7 +390,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -413,7 +413,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -438,7 +438,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.snapshotName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -473,7 +473,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.snapshotName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -508,7 +508,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.snapshotName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -533,7 +533,7 @@ const beginGrantAccessOperationSpec: msRest.OperationSpec = { Parameters.snapshotName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage @@ -566,7 +566,7 @@ const beginRevokeAccessOperationSpec: msRest.OperationSpec = { Parameters.snapshotName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage