From c7410153f3d9a539f1e832deb62fb3bb1170c5d2 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 27 Sep 2021 09:48:22 +0000 Subject: [PATCH] CodeGen from PR 16099 in Azure/azure-rest-api-specs Merge 4e8af293fe2175d5df6cbf42678c783a45d982f8 into 5dbc2b65a3329f246971fa72c758d19bb72a8e83 --- sdk/compute/arm-compute/package.json | 2 +- .../src/models/availabilitySetsMappers.ts | 2 +- .../capacityReservationGroupsMappers.ts | 2 +- .../src/models/capacityReservationsMappers.ts | 2 +- .../cloudServiceRoleInstancesMappers.ts | 2 +- .../src/models/cloudServicesMappers.ts | 2 +- .../src/models/dedicatedHostGroupsMappers.ts | 2 +- .../src/models/dedicatedHostsMappers.ts | 2 +- .../src/models/diskAccessesMappers.ts | 2 +- .../src/models/diskEncryptionSetsMappers.ts | 2 +- .../diskRestorePointOperationsMappers.ts | 3 +- .../arm-compute/src/models/disksMappers.ts | 2 +- .../src/models/galleriesMappers.ts | 2 +- .../galleryApplicationVersionsMappers.ts | 2 +- .../src/models/galleryApplicationsMappers.ts | 2 +- .../src/models/galleryImageVersionsMappers.ts | 2 +- .../src/models/galleryImagesMappers.ts | 2 +- .../models/gallerySharingProfileMappers.ts | 2 +- .../arm-compute/src/models/imagesMappers.ts | 2 +- sdk/compute/arm-compute/src/models/index.ts | 135 +++++++++++---- sdk/compute/arm-compute/src/models/mappers.ts | 161 +++++++++++++----- .../arm-compute/src/models/parameters.ts | 2 +- .../models/proximityPlacementGroupsMappers.ts | 2 +- .../models/restorePointCollectionsMappers.ts | 2 +- .../src/models/restorePointsMappers.ts | 2 +- .../src/models/snapshotsMappers.ts | 2 +- .../src/models/sshPublicKeysMappers.ts | 2 +- .../virtualMachineExtensionImagesMappers.ts | 2 +- .../models/virtualMachineExtensionsMappers.ts | 2 +- .../virtualMachineImagesEdgeZoneMappers.ts | 2 +- .../src/models/virtualMachineImagesMappers.ts | 2 +- .../virtualMachineRunCommandsMappers.ts | 2 +- ...virtualMachineScaleSetExtensionsMappers.ts | 2 +- ...alMachineScaleSetRollingUpgradesMappers.ts | 2 +- ...rtualMachineScaleSetVMExtensionsMappers.ts | 2 +- ...tualMachineScaleSetVMRunCommandsMappers.ts | 2 +- .../virtualMachineScaleSetVMsMappers.ts | 2 +- .../models/virtualMachineScaleSetsMappers.ts | 2 +- .../src/models/virtualMachinesMappers.ts | 2 +- .../src/operations/diskAccesses.ts | 58 +++---- .../src/operations/diskEncryptionSets.ts | 24 +-- .../operations/diskRestorePointOperations.ts | 81 +++------ .../arm-compute/src/operations/disks.ts | 26 +-- .../arm-compute/src/operations/snapshots.ts | 26 +-- 44 files changed, 356 insertions(+), 230 deletions(-) diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json index 5b14d19a9162..d202f802d783 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 07e51c06d613..c4260fd08b6a 100644 --- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts @@ -152,7 +152,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -183,6 +182,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts b/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts index 81a54047cdea..e7f9be0e24fa 100644 --- a/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts +++ b/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts @@ -152,7 +152,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -183,6 +182,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts b/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts index c6001c0806a4..f9f35eb33313 100644 --- a/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts +++ b/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts @@ -152,7 +152,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -183,6 +182,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts index 7ca8284636fe..7a7a3b8de7a3 100644 --- a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts +++ b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts @@ -145,7 +145,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -180,6 +179,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts index 49cc871f61f2..6a0f43688e47 100644 --- a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts +++ b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts @@ -148,7 +148,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -180,6 +179,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts index 63c70cd5c2bc..275b116fe462 100644 --- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts +++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts @@ -152,7 +152,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -183,6 +182,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts index 31f78a76479a..616c4cacbe3f 100644 --- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts +++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts @@ -152,7 +152,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -183,6 +182,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts index 8571d3f9fce7..cdd760728f4e 100644 --- a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts +++ b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts @@ -148,7 +148,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -178,6 +177,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts index 30fa4fff0192..dca782e64c97 100644 --- a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts @@ -146,7 +146,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -176,6 +175,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/diskRestorePointOperationsMappers.ts b/sdk/compute/arm-compute/src/models/diskRestorePointOperationsMappers.ts index 34a49ba70c0b..b890247e499c 100644 --- a/sdk/compute/arm-compute/src/models/diskRestorePointOperationsMappers.ts +++ b/sdk/compute/arm-compute/src/models/diskRestorePointOperationsMappers.ts @@ -17,5 +17,6 @@ export { GrantAccessData, InnerError, ProxyOnlyResource, - PurchasePlan + PurchasePlan, + SupportedCapabilities } from "../models/mappers"; diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts index efc256644526..14ef0998258b 100644 --- a/sdk/compute/arm-compute/src/models/disksMappers.ts +++ b/sdk/compute/arm-compute/src/models/disksMappers.ts @@ -147,7 +147,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -177,6 +176,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts index ea25b1bb89ce..690c54c059ae 100644 --- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts @@ -144,7 +144,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -174,6 +173,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts index b8902d38adcf..344b3618d7bc 100644 --- a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts @@ -144,7 +144,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -174,6 +173,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts index 775f9b84fec3..a85006e67e29 100644 --- a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts @@ -144,7 +144,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -174,6 +173,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts index bc7fe6a8a657..c4d6e158a1a1 100644 --- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts @@ -144,7 +144,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -174,6 +173,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts index 283971d67cb7..9cc115b6292b 100644 --- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts @@ -144,7 +144,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -174,6 +173,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts b/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts index 5a46d0fc707d..037dc1854406 100644 --- a/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts +++ b/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts @@ -143,7 +143,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -173,6 +172,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts index 329174072913..47170c60a9eb 100644 --- a/sdk/compute/arm-compute/src/models/imagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts @@ -152,7 +152,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -183,6 +182,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts index aa19605f3f59..b0d7d0475470 100644 --- a/sdk/compute/arm-compute/src/models/index.ts +++ b/sdk/compute/arm-compute/src/models/index.ts @@ -728,28 +728,6 @@ export interface RestorePointSourceMetadata { location?: string; } -/** - * Restore Point Provisioning details. - */ -export interface RestorePointProvisioningDetails { - /** - * Gets the creation time of the restore point. - */ - creationTime?: Date; - /** - * Gets the total size of the data in all the disks which are part of the restore point. - */ - totalUsedSizeInBytes?: number; - /** - * Gets the status of the Create restore point operation. - */ - statusCode?: number; - /** - * Gets the status message of the Create restore point operation. - */ - statusMessage?: string; -} - /** * The resource model definition for an Azure Resource Manager proxy resource. It will not have * tags and a location @@ -799,10 +777,9 @@ export interface RestorePoint extends ProxyResource { */ readonly consistencyMode?: ConsistencyModeTypes; /** - * Gets the provisioning details set by the server during Create restore point operation. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Gets the creation time of the restore point. */ - readonly provisioningDetails?: RestorePointProvisioningDetails; + creationTime?: Date; } /** @@ -6501,6 +6478,17 @@ export interface DiskSku { readonly tier?: string; } +/** + * List of supported capabilities (like accelerated networking) persisted on the disk resource for + * VM use. + */ +export interface SupportedCapabilities { + /** + * True if the image from which the OS disk is created supports accelerated networking. + */ + acceleratedNetwork?: boolean; +} + /** * The source image used for creating the disk. */ @@ -6522,7 +6510,7 @@ export interface ImageDiskReference { export interface CreationData { /** * This enumerates the possible sources of a disk's creation. Possible values include: 'Empty', - * 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload' + * 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload', 'CopyStart' */ createOption: DiskCreateOption; /** @@ -6732,6 +6720,10 @@ export interface Disk extends Resource { * 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer} */ purchasePlan?: PurchasePlan; + /** + * List of supported capabilities for the image from which the OS disk was created. + */ + supportedCapabilities?: SupportedCapabilities; /** * Disk source information. CreationData information cannot be changed after the disk has been * created. @@ -6787,7 +6779,7 @@ export interface Disk extends Resource { diskMBpsReadOnly?: number; /** * The state of the disk. Possible values include: 'Unattached', 'Attached', 'Reserved', - * 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload' + * 'Frozen', 'ActiveSAS', 'ActiveSASFrozen', 'ReadyToUpload', 'ActiveUpload' */ diskState?: DiskState; /** @@ -6838,6 +6830,15 @@ export interface Disk extends Resource { * Contains the security related information for the resource. */ securityProfile?: DiskSecurityProfile; + /** + * Percentage complete for the background copy when a resource is created via the CopyStart + * operation. + */ + completionPercent?: number; + /** + * Possible values include: 'Enabled', 'Disabled' + */ + publicNetworkAccess?: PublicNetworkAccess; } /** @@ -6914,6 +6915,10 @@ export interface DiskUpdate { * Purchase plan information to be added on the OS disk */ purchasePlan?: PurchasePlan; + /** + * List of supported capabilities (like accelerated networking) to be added on the OS disk. + */ + supportedCapabilities?: SupportedCapabilities; /** * Properties of the disk for which update is pending. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -6923,6 +6928,10 @@ export interface DiskUpdate { * Indicates the OS on a disk supports hibernation. */ supportsHibernation?: boolean; + /** + * Possible values include: 'Enabled', 'Disabled' + */ + publicNetworkAccess?: PublicNetworkAccess; /** * Resource tags */ @@ -7021,6 +7030,11 @@ export interface Snapshot extends Resource { * originally created. */ purchasePlan?: PurchasePlan; + /** + * List of supported capabilities (like Accelerated Networking) for the image from which the + * source disk from the snapshot was originally created. + */ + supportedCapabilities?: SupportedCapabilities; /** * Disk source information. CreationData information cannot be changed after the disk has been * created. @@ -7040,7 +7054,7 @@ export interface Snapshot extends Resource { readonly diskSizeBytes?: number; /** * The state of the snapshot. Possible values include: 'Unattached', 'Attached', 'Reserved', - * 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload' + * 'Frozen', 'ActiveSAS', 'ActiveSASFrozen', 'ReadyToUpload', 'ActiveUpload' */ diskState?: DiskState; /** @@ -7080,6 +7094,15 @@ export interface Snapshot extends Resource { * Indicates the OS on a snapshot supports hibernation. */ supportsHibernation?: boolean; + /** + * Possible values include: 'Enabled', 'Disabled' + */ + publicNetworkAccess?: PublicNetworkAccess; + /** + * Percentage complete for the background copy when a resource is created via the CopyStart + * operation. + */ + completionPercent?: number; } /** @@ -7119,6 +7142,10 @@ export interface SnapshotUpdate { * Indicates the OS on a snapshot supports hibernation. */ supportsHibernation?: boolean; + /** + * Possible values include: 'Enabled', 'Disabled' + */ + publicNetworkAccess?: PublicNetworkAccess; /** * Resource tags */ @@ -7189,6 +7216,12 @@ export interface DiskEncryptionSet extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastKeyRotationTimestamp?: Date; + /** + * The error that was encountered during auto-key rotation. If an error is present, then auto-key + * rotation will not be attempted until the error on this disk encryption set is fixed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly autoKeyRotationError?: ApiError; } /** @@ -7300,6 +7333,11 @@ export interface DiskAccess extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly timeCreated?: Date; + /** + * The extended location where the disk access will be created. Extended location cannot be + * changed. + */ + extendedLocation?: ExtendedLocation; } /** @@ -7375,6 +7413,11 @@ export interface DiskRestorePoint extends ProxyOnlyResource { * Purchase plan information for the the image from which the OS disk was created. */ purchasePlan?: PurchasePlan; + /** + * List of supported capabilities (like accelerated networking) for the image from which the OS + * disk was created. + */ + supportedCapabilities?: SupportedCapabilities; /** * id of the backing snapshot's MIS family * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -7395,6 +7438,23 @@ export interface DiskRestorePoint extends ProxyOnlyResource { * Indicates the OS on a disk supports hibernation. */ supportsHibernation?: boolean; + /** + * Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll' + */ + networkAccessPolicy?: NetworkAccessPolicy; + /** + * Possible values include: 'Enabled', 'Disabled' + */ + publicNetworkAccess?: PublicNetworkAccess; + /** + * ARM id of the DiskAccess resource for using private endpoints on disks. + */ + diskAccessId?: string; + /** + * Percentage complete for the background copy when a resource is created via the CopyStart + * operation. + */ + completionPercent?: number; } /** @@ -11135,20 +11195,21 @@ export type HyperVGeneration = 'V1' | 'V2'; /** * Defines values for DiskCreateOption. - * Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload' + * Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload', + * 'CopyStart' * @readonly * @enum {string} */ -export type DiskCreateOption = 'Empty' | 'Attach' | 'FromImage' | 'Import' | 'Copy' | 'Restore' | 'Upload'; +export type DiskCreateOption = 'Empty' | 'Attach' | 'FromImage' | 'Import' | 'Copy' | 'Restore' | 'Upload' | 'CopyStart'; /** * Defines values for DiskState. - * Possible values include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', - * 'ActiveUpload' + * Possible values include: 'Unattached', 'Attached', 'Reserved', 'Frozen', 'ActiveSAS', + * 'ActiveSASFrozen', 'ReadyToUpload', 'ActiveUpload' * @readonly * @enum {string} */ -export type DiskState = 'Unattached' | 'Attached' | 'Reserved' | 'ActiveSAS' | 'ReadyToUpload' | 'ActiveUpload'; +export type DiskState = 'Unattached' | 'Attached' | 'Reserved' | 'Frozen' | 'ActiveSAS' | 'ActiveSASFrozen' | 'ReadyToUpload' | 'ActiveUpload'; /** * Defines values for EncryptionType. @@ -11175,6 +11236,14 @@ export type NetworkAccessPolicy = 'AllowAll' | 'AllowPrivate' | 'DenyAll'; */ export type DiskSecurityTypes = 'TrustedLaunch'; +/** + * Defines values for PublicNetworkAccess. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type PublicNetworkAccess = 'Enabled' | 'Disabled'; + /** * Defines values for SnapshotStorageAccountTypes. * Possible values include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS' diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts index e985477cd652..a3ffc4e2391c 100644 --- a/sdk/compute/arm-compute/src/models/mappers.ts +++ b/sdk/compute/arm-compute/src/models/mappers.ts @@ -921,40 +921,6 @@ export const RestorePointSourceMetadata: msRest.CompositeMapper = { } }; -export const RestorePointProvisioningDetails: msRest.CompositeMapper = { - serializedName: "RestorePointProvisioningDetails", - type: { - name: "Composite", - className: "RestorePointProvisioningDetails", - modelProperties: { - creationTime: { - serializedName: "creationTime", - type: { - name: "DateTime" - } - }, - totalUsedSizeInBytes: { - serializedName: "totalUsedSizeInBytes", - type: { - name: "Number" - } - }, - statusCode: { - serializedName: "statusCode", - type: { - name: "Number" - } - }, - statusMessage: { - serializedName: "statusMessage", - type: { - name: "String" - } - } - } - } -}; - export const ProxyResource: msRest.CompositeMapper = { serializedName: "ProxyResource", type: { @@ -1027,12 +993,10 @@ export const RestorePoint: msRest.CompositeMapper = { name: "String" } }, - provisioningDetails: { - readOnly: true, - serializedName: "properties.provisioningDetails", + creationTime: { + serializedName: "properties.creationTime", type: { - name: "Composite", - className: "RestorePointProvisioningDetails" + name: "DateTime" } } } @@ -9978,6 +9942,22 @@ export const DiskSku: msRest.CompositeMapper = { } }; +export const SupportedCapabilities: msRest.CompositeMapper = { + serializedName: "SupportedCapabilities", + type: { + name: "Composite", + className: "SupportedCapabilities", + modelProperties: { + acceleratedNetwork: { + serializedName: "acceleratedNetwork", + type: { + name: "Boolean" + } + } + } + } +}; + export const ImageDiskReference: msRest.CompositeMapper = { serializedName: "ImageDiskReference", type: { @@ -10346,6 +10326,13 @@ export const Disk: msRest.CompositeMapper = { className: "PurchasePlan" } }, + supportedCapabilities: { + serializedName: "properties.supportedCapabilities", + type: { + name: "Composite", + className: "SupportedCapabilities" + } + }, creationData: { required: true, serializedName: "properties.creationData", @@ -10488,6 +10475,18 @@ export const Disk: msRest.CompositeMapper = { name: "Composite", className: "DiskSecurityProfile" } + }, + completionPercent: { + serializedName: "properties.completionPercent", + type: { + name: "Number" + } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } } } } @@ -10590,6 +10589,13 @@ export const DiskUpdate: msRest.CompositeMapper = { className: "PurchasePlan" } }, + supportedCapabilities: { + serializedName: "properties.supportedCapabilities", + type: { + name: "Composite", + className: "SupportedCapabilities" + } + }, propertyUpdatesInProgress: { readOnly: true, serializedName: "properties.propertyUpdatesInProgress", @@ -10604,6 +10610,12 @@ export const DiskUpdate: msRest.CompositeMapper = { name: "Boolean" } }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, tags: { serializedName: "tags", type: { @@ -10772,6 +10784,13 @@ export const Snapshot: msRest.CompositeMapper = { className: "PurchasePlan" } }, + supportedCapabilities: { + serializedName: "properties.supportedCapabilities", + type: { + name: "Composite", + className: "SupportedCapabilities" + } + }, creationData: { required: true, serializedName: "properties.creationData", @@ -10850,6 +10869,18 @@ export const Snapshot: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, + completionPercent: { + serializedName: "properties.completionPercent", + type: { + name: "Number" + } } } } @@ -10909,6 +10940,12 @@ export const SnapshotUpdate: msRest.CompositeMapper = { name: "Boolean" } }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, tags: { serializedName: "tags", type: { @@ -11020,6 +11057,14 @@ export const DiskEncryptionSet: msRest.CompositeMapper = { type: { name: "DateTime" } + }, + autoKeyRotationError: { + readOnly: true, + serializedName: "properties.autoKeyRotationError", + type: { + name: "Composite", + className: "ApiError" + } } } } @@ -11203,6 +11248,13 @@ export const DiskAccess: msRest.CompositeMapper = { type: { name: "DateTime" } + }, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } } } } @@ -11335,6 +11387,13 @@ export const DiskRestorePoint: msRest.CompositeMapper = { className: "PurchasePlan" } }, + supportedCapabilities: { + serializedName: "properties.supportedCapabilities", + type: { + name: "Composite", + className: "SupportedCapabilities" + } + }, familyId: { readOnly: true, serializedName: "properties.familyId", @@ -11362,6 +11421,30 @@ export const DiskRestorePoint: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + networkAccessPolicy: { + serializedName: "properties.networkAccessPolicy", + type: { + name: "String" + } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, + diskAccessId: { + serializedName: "properties.diskAccessId", + type: { + name: "String" + } + }, + completionPercent: { + serializedName: "properties.completionPercent", + type: { + name: "Number" + } } } } diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts index 66fd2db23b89..8242166979ee 100644 --- a/sdk/compute/arm-compute/src/models/parameters.ts +++ b/sdk/compute/arm-compute/src/models/parameters.ts @@ -37,7 +37,7 @@ export const apiVersion1: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2020-12-01', + defaultValue: '2021-04-01', type: { name: "String" } diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts index eea488c22e3a..1bb79a8f999e 100644 --- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts +++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts @@ -152,7 +152,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -183,6 +182,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts b/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts index e54e5a3d73e9..24313892c6b5 100644 --- a/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts @@ -152,7 +152,6 @@ export { RestorePointCollectionListResult, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -183,6 +182,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/restorePointsMappers.ts b/sdk/compute/arm-compute/src/models/restorePointsMappers.ts index 5a46d0fc707d..037dc1854406 100644 --- a/sdk/compute/arm-compute/src/models/restorePointsMappers.ts +++ b/sdk/compute/arm-compute/src/models/restorePointsMappers.ts @@ -143,7 +143,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -173,6 +172,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts index dabc13a264aa..561619dd6572 100644 --- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts +++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts @@ -145,7 +145,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -177,6 +176,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts index 02234561f4e6..b26a67d03e5a 100644 --- a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts +++ b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts @@ -151,7 +151,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -184,6 +183,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts index 5a46d0fc707d..037dc1854406 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts @@ -143,7 +143,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -173,6 +172,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts index 460295ea3f07..ad78237dd852 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts @@ -151,7 +151,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -182,6 +181,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts index 5a46d0fc707d..037dc1854406 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts @@ -143,7 +143,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -173,6 +172,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts index 5a46d0fc707d..037dc1854406 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts @@ -143,7 +143,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -173,6 +172,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts index fc5ac48bb96f..b56cdf0488da 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts @@ -151,7 +151,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -186,6 +185,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts index fc71d698baf6..3b4dcbb49729 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts @@ -143,7 +143,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -173,6 +172,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts index 5a46d0fc707d..037dc1854406 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts @@ -143,7 +143,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -173,6 +172,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts index d0c85ac7d415..07b39ac41c5c 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts @@ -143,7 +143,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -173,6 +172,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts index 8d0f9368743c..92307ae40a7b 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts @@ -151,7 +151,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -182,6 +181,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts index f163a3981cf7..d7c9c1571b24 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts @@ -143,7 +143,6 @@ export { RestorePoint, RestorePointCollection, RestorePointCollectionSourceProperties, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -176,6 +175,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts index e1b2a01efa30..ba849049226f 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts @@ -154,7 +154,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -186,6 +185,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts index d8fbbffd4605..0b4820957167 100644 --- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts +++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts @@ -153,7 +153,6 @@ export { RestorePointCollection, RestorePointCollectionSourceProperties, RestorePointCollectionUpdate, - RestorePointProvisioningDetails, RestorePointSourceMetadata, RestorePointSourceVMDataDisk, RestorePointSourceVMOSDisk, @@ -187,6 +186,7 @@ export { SubResource, SubResourceReadOnly, SubResourceWithColocationStatus, + SupportedCapabilities, TargetRegion, TerminateNotificationProfile, UefiSettings, diff --git a/sdk/compute/arm-compute/src/operations/diskAccesses.ts b/sdk/compute/arm-compute/src/operations/diskAccesses.ts index 1c693b70fb00..eb266e172523 100644 --- a/sdk/compute/arm-compute/src/operations/diskAccesses.ts +++ b/sdk/compute/arm-compute/src/operations/diskAccesses.ts @@ -31,7 +31,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param diskAccess disk access object supplied in the body of the Put disk access operation. * @param [options] The optional parameters * @returns Promise @@ -46,7 +46,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param diskAccess disk access object supplied in the body of the Patch disk access operation. * @param [options] The optional parameters * @returns Promise @@ -61,7 +61,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise */ @@ -70,7 +70,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param callback The callback */ get(resourceGroupName: string, diskAccessName: string, callback: msRest.ServiceCallback): void; @@ -78,7 +78,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param options The optional parameters * @param callback The callback */ @@ -99,7 +99,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise */ @@ -165,7 +165,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise */ @@ -174,7 +174,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param callback The callback */ getPrivateLinkResources(resourceGroupName: string, diskAccessName: string, callback: msRest.ServiceCallback): void; @@ -182,7 +182,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param options The optional parameters * @param callback The callback */ @@ -204,8 +204,8 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. - * @param privateEndpointConnectionName The name of the private endpoint connection + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection. * @param privateEndpointConnection private endpoint connection object supplied in the body of the * Put private endpoint connection operation. * @param [options] The optional parameters @@ -221,8 +221,8 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. - * @param privateEndpointConnectionName The name of the private endpoint connection + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection. * @param [options] The optional parameters * @returns Promise */ @@ -231,8 +231,8 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. - * @param privateEndpointConnectionName The name of the private endpoint connection + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection. * @param callback The callback */ getAPrivateEndpointConnection(resourceGroupName: string, diskAccessName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void; @@ -240,8 +240,8 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. - * @param privateEndpointConnectionName The name of the private endpoint connection + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The optional parameters * @param callback The callback */ @@ -263,8 +263,8 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. - * @param privateEndpointConnectionName The name of the private endpoint connection + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection. * @param [options] The optional parameters * @returns Promise */ @@ -278,7 +278,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise */ @@ -287,7 +287,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param callback The callback */ listPrivateEndpointConnections(resourceGroupName: string, diskAccessName: string, callback: msRest.ServiceCallback): void; @@ -295,7 +295,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param options The optional parameters * @param callback The callback */ @@ -316,7 +316,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param diskAccess disk access object supplied in the body of the Put disk access operation. * @param [options] The optional parameters * @returns Promise @@ -338,7 +338,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param diskAccess disk access object supplied in the body of the Patch disk access operation. * @param [options] The optional parameters * @returns Promise @@ -360,7 +360,7 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise */ @@ -381,8 +381,8 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. - * @param privateEndpointConnectionName The name of the private endpoint connection + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection. * @param privateEndpointConnection private endpoint connection object supplied in the body of the * Put private endpoint connection operation. * @param [options] The optional parameters @@ -406,8 +406,8 @@ export class DiskAccesses { * @param resourceGroupName The name of the resource group. * @param diskAccessName The name of the disk access resource that is being created. The name can't * be changed after the disk encryption set is created. Supported characters for the name are a-z, - * A-Z, 0-9 and _. The maximum name length is 80 characters. - * @param privateEndpointConnectionName The name of the private endpoint connection + * A-Z, 0-9, _ and -. The maximum name length is 80 characters. + * @param privateEndpointConnectionName The name of the private endpoint connection. * @param [options] The optional parameters * @returns Promise */ diff --git a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts index 4a5c73087535..a8488c840650 100644 --- a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts +++ b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts @@ -31,7 +31,7 @@ export class DiskEncryptionSets { * @param resourceGroupName The name of the resource group. * @param diskEncryptionSetName The name of the disk encryption set that is being created. The name * can't be changed after the disk encryption set is created. Supported characters for the name are - * a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param diskEncryptionSet disk encryption set object supplied in the body of the Put disk * encryption set operation. * @param [options] The optional parameters @@ -47,7 +47,7 @@ export class DiskEncryptionSets { * @param resourceGroupName The name of the resource group. * @param diskEncryptionSetName The name of the disk encryption set that is being created. The name * can't be changed after the disk encryption set is created. Supported characters for the name are - * a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param diskEncryptionSet disk encryption set object supplied in the body of the Patch disk * encryption set operation. * @param [options] The optional parameters @@ -63,7 +63,7 @@ export class DiskEncryptionSets { * @param resourceGroupName The name of the resource group. * @param diskEncryptionSetName The name of the disk encryption set that is being created. The name * can't be changed after the disk encryption set is created. Supported characters for the name are - * a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise */ @@ -72,7 +72,7 @@ export class DiskEncryptionSets { * @param resourceGroupName The name of the resource group. * @param diskEncryptionSetName The name of the disk encryption set that is being created. The name * can't be changed after the disk encryption set is created. Supported characters for the name are - * a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param callback The callback */ get(resourceGroupName: string, diskEncryptionSetName: string, callback: msRest.ServiceCallback): void; @@ -80,7 +80,7 @@ export class DiskEncryptionSets { * @param resourceGroupName The name of the resource group. * @param diskEncryptionSetName The name of the disk encryption set that is being created. The name * can't be changed after the disk encryption set is created. Supported characters for the name are - * a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param options The optional parameters * @param callback The callback */ @@ -101,7 +101,7 @@ export class DiskEncryptionSets { * @param resourceGroupName The name of the resource group. * @param diskEncryptionSetName The name of the disk encryption set that is being created. The name * can't be changed after the disk encryption set is created. Supported characters for the name are - * a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise */ @@ -167,7 +167,7 @@ export class DiskEncryptionSets { * @param resourceGroupName The name of the resource group. * @param diskEncryptionSetName The name of the disk encryption set that is being created. The name * can't be changed after the disk encryption set is created. Supported characters for the name are - * a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise */ @@ -176,7 +176,7 @@ export class DiskEncryptionSets { * @param resourceGroupName The name of the resource group. * @param diskEncryptionSetName The name of the disk encryption set that is being created. The name * can't be changed after the disk encryption set is created. Supported characters for the name are - * a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param callback The callback */ listAssociatedResources(resourceGroupName: string, diskEncryptionSetName: string, callback: msRest.ServiceCallback): void; @@ -184,7 +184,7 @@ export class DiskEncryptionSets { * @param resourceGroupName The name of the resource group. * @param diskEncryptionSetName The name of the disk encryption set that is being created. The name * can't be changed after the disk encryption set is created. Supported characters for the name are - * a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param options The optional parameters * @param callback The callback */ @@ -205,7 +205,7 @@ export class DiskEncryptionSets { * @param resourceGroupName The name of the resource group. * @param diskEncryptionSetName The name of the disk encryption set that is being created. The name * can't be changed after the disk encryption set is created. Supported characters for the name are - * a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param diskEncryptionSet disk encryption set object supplied in the body of the Put disk * encryption set operation. * @param [options] The optional parameters @@ -228,7 +228,7 @@ export class DiskEncryptionSets { * @param resourceGroupName The name of the resource group. * @param diskEncryptionSetName The name of the disk encryption set that is being created. The name * can't be changed after the disk encryption set is created. Supported characters for the name are - * a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param diskEncryptionSet disk encryption set object supplied in the body of the Patch disk * encryption set operation. * @param [options] The optional parameters @@ -251,7 +251,7 @@ export class DiskEncryptionSets { * @param resourceGroupName The name of the resource group. * @param diskEncryptionSetName The name of the disk encryption set that is being created. The name * can't be changed after the disk encryption set is created. Supported characters for the name are - * a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise */ diff --git a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts index 6172ed88710f..40cacb0be433 100644 --- a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts +++ b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts @@ -30,13 +30,10 @@ export class DiskRestorePointOperations { * Get disk restorePoint resource * @param resourceGroupName The name of the resource group. * @param restorePointCollectionName The name of the restore point collection that the disk restore - * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - * length is 80 characters. + * point belongs. * @param vmRestorePointName The name of the vm restore point that the disk disk restore point - * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is - * 80 characters. - * @param diskRestorePointName The name of the disk restore point created. Supported characters for - * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * belongs. + * @param diskRestorePointName The name of the disk restore point created. * @param [options] The optional parameters * @returns Promise */ @@ -44,26 +41,20 @@ export class DiskRestorePointOperations { /** * @param resourceGroupName The name of the resource group. * @param restorePointCollectionName The name of the restore point collection that the disk restore - * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - * length is 80 characters. + * point belongs. * @param vmRestorePointName The name of the vm restore point that the disk disk restore point - * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is - * 80 characters. - * @param diskRestorePointName The name of the disk restore point created. Supported characters for - * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * belongs. + * @param diskRestorePointName The name of the disk restore point created. * @param callback The callback */ get(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, diskRestorePointName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param restorePointCollectionName The name of the restore point collection that the disk restore - * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - * length is 80 characters. + * point belongs. * @param vmRestorePointName The name of the vm restore point that the disk disk restore point - * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is - * 80 characters. - * @param diskRestorePointName The name of the disk restore point created. Supported characters for - * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * belongs. + * @param diskRestorePointName The name of the disk restore point created. * @param options The optional parameters * @param callback The callback */ @@ -85,11 +76,9 @@ export class DiskRestorePointOperations { * Lists diskRestorePoints under a vmRestorePoint. * @param resourceGroupName The name of the resource group. * @param restorePointCollectionName The name of the restore point collection that the disk restore - * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - * length is 80 characters. + * point belongs. * @param vmRestorePointName The name of the vm restore point that the disk disk restore point - * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is - * 80 characters. + * belongs. * @param [options] The optional parameters * @returns Promise */ @@ -97,22 +86,18 @@ export class DiskRestorePointOperations { /** * @param resourceGroupName The name of the resource group. * @param restorePointCollectionName The name of the restore point collection that the disk restore - * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - * length is 80 characters. + * point belongs. * @param vmRestorePointName The name of the vm restore point that the disk disk restore point - * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is - * 80 characters. + * belongs. * @param callback The callback */ listByRestorePoint(resourceGroupName: string, restorePointCollectionName: string, vmRestorePointName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param restorePointCollectionName The name of the restore point collection that the disk restore - * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - * length is 80 characters. + * point belongs. * @param vmRestorePointName The name of the vm restore point that the disk disk restore point - * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is - * 80 characters. + * belongs. * @param options The optional parameters * @param callback The callback */ @@ -133,13 +118,10 @@ export class DiskRestorePointOperations { * Grants access to a diskRestorePoint. * @param resourceGroupName The name of the resource group. * @param restorePointCollectionName The name of the restore point collection that the disk restore - * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - * length is 80 characters. + * point belongs. * @param vmRestorePointName The name of the vm restore point that the disk disk restore point - * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is - * 80 characters. - * @param diskRestorePointName The name of the disk restore point created. Supported characters for - * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * belongs. + * @param diskRestorePointName The name of the disk restore point created. * @param grantAccessData Access data object supplied in the body of the get disk access operation. * @param [options] The optional parameters * @returns Promise @@ -153,13 +135,10 @@ export class DiskRestorePointOperations { * Revokes access to a diskRestorePoint. * @param resourceGroupName The name of the resource group. * @param restorePointCollectionName The name of the restore point collection that the disk restore - * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - * length is 80 characters. + * point belongs. * @param vmRestorePointName The name of the vm restore point that the disk disk restore point - * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is - * 80 characters. - * @param diskRestorePointName The name of the disk restore point created. Supported characters for - * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * belongs. + * @param diskRestorePointName The name of the disk restore point created. * @param [options] The optional parameters * @returns Promise */ @@ -172,13 +151,10 @@ export class DiskRestorePointOperations { * Grants access to a diskRestorePoint. * @param resourceGroupName The name of the resource group. * @param restorePointCollectionName The name of the restore point collection that the disk restore - * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - * length is 80 characters. + * point belongs. * @param vmRestorePointName The name of the vm restore point that the disk disk restore point - * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is - * 80 characters. - * @param diskRestorePointName The name of the disk restore point created. Supported characters for - * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * belongs. + * @param diskRestorePointName The name of the disk restore point created. * @param grantAccessData Access data object supplied in the body of the get disk access operation. * @param [options] The optional parameters * @returns Promise @@ -201,13 +177,10 @@ export class DiskRestorePointOperations { * Revokes access to a diskRestorePoint. * @param resourceGroupName The name of the resource group. * @param restorePointCollectionName The name of the restore point collection that the disk restore - * point belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - * length is 80 characters. + * point belongs. * @param vmRestorePointName The name of the vm restore point that the disk disk restore point - * belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is - * 80 characters. - * @param diskRestorePointName The name of the disk restore point created. Supported characters for - * the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + * belongs. + * @param diskRestorePointName The name of the disk restore point created. * @param [options] The optional parameters * @returns Promise */ diff --git a/sdk/compute/arm-compute/src/operations/disks.ts b/sdk/compute/arm-compute/src/operations/disks.ts index 80711287a9a8..de70230014bc 100644 --- a/sdk/compute/arm-compute/src/operations/disks.ts +++ b/sdk/compute/arm-compute/src/operations/disks.ts @@ -30,7 +30,7 @@ export class Disks { * Creates or updates a disk. * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param disk Disk object supplied in the body of the Put disk operation. * @param [options] The optional parameters @@ -45,7 +45,7 @@ export class Disks { * Updates (patches) a disk. * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param disk Disk object supplied in the body of the Patch disk operation. * @param [options] The optional parameters @@ -60,7 +60,7 @@ export class Disks { * Gets information about a disk. * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise @@ -69,7 +69,7 @@ export class Disks { /** * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param callback The callback */ @@ -77,7 +77,7 @@ export class Disks { /** * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param options The optional parameters * @param callback The callback @@ -98,7 +98,7 @@ export class Disks { * Deletes a disk. * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise @@ -164,7 +164,7 @@ export class Disks { * Grants access to a disk. * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param grantAccessData Access data object supplied in the body of the get disk access operation. * @param [options] The optional parameters @@ -179,7 +179,7 @@ export class Disks { * Revokes access to a disk. * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise @@ -193,7 +193,7 @@ export class Disks { * Creates or updates a disk. * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param disk Disk object supplied in the body of the Put disk operation. * @param [options] The optional parameters @@ -215,7 +215,7 @@ export class Disks { * Updates (patches) a disk. * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param disk Disk object supplied in the body of the Patch disk operation. * @param [options] The optional parameters @@ -237,7 +237,7 @@ export class Disks { * Deletes a disk. * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise @@ -257,7 +257,7 @@ export class Disks { * Grants access to a disk. * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param grantAccessData Access data object supplied in the body of the get disk access operation. * @param [options] The optional parameters @@ -279,7 +279,7 @@ export class Disks { * Revokes access to a disk. * @param resourceGroupName The name of the resource group. * @param diskName The name of the managed disk that is being created. The name can't be changed - * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * maximum name length is 80 characters. * @param [options] The optional parameters * @returns Promise diff --git a/sdk/compute/arm-compute/src/operations/snapshots.ts b/sdk/compute/arm-compute/src/operations/snapshots.ts index 31d5c37daf71..daa880c743f1 100644 --- a/sdk/compute/arm-compute/src/operations/snapshots.ts +++ b/sdk/compute/arm-compute/src/operations/snapshots.ts @@ -30,7 +30,7 @@ export class Snapshots { * Creates or updates a snapshot. * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param snapshot Snapshot object supplied in the body of the Put disk operation. * @param [options] The optional parameters @@ -45,7 +45,7 @@ export class Snapshots { * Updates (patches) a snapshot. * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param snapshot Snapshot object supplied in the body of the Patch snapshot operation. * @param [options] The optional parameters @@ -60,7 +60,7 @@ export class Snapshots { * Gets information about a snapshot. * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param [options] The optional parameters * @returns Promise @@ -69,7 +69,7 @@ export class Snapshots { /** * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param callback The callback */ @@ -77,7 +77,7 @@ export class Snapshots { /** * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param options The optional parameters * @param callback The callback @@ -98,7 +98,7 @@ export class Snapshots { * Deletes a snapshot. * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param [options] The optional parameters * @returns Promise @@ -164,7 +164,7 @@ export class Snapshots { * Grants access to a snapshot. * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param grantAccessData Access data object supplied in the body of the get snapshot access * operation. @@ -180,7 +180,7 @@ export class Snapshots { * Revokes access to a snapshot. * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param [options] The optional parameters * @returns Promise @@ -194,7 +194,7 @@ export class Snapshots { * Creates or updates a snapshot. * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param snapshot Snapshot object supplied in the body of the Put disk operation. * @param [options] The optional parameters @@ -216,7 +216,7 @@ export class Snapshots { * Updates (patches) a snapshot. * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param snapshot Snapshot object supplied in the body of the Patch snapshot operation. * @param [options] The optional parameters @@ -238,7 +238,7 @@ export class Snapshots { * Deletes a snapshot. * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param [options] The optional parameters * @returns Promise @@ -258,7 +258,7 @@ export class Snapshots { * Grants access to a snapshot. * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param grantAccessData Access data object supplied in the body of the get snapshot access * operation. @@ -281,7 +281,7 @@ export class Snapshots { * Revokes access to a snapshot. * @param resourceGroupName The name of the resource group. * @param snapshotName The name of the snapshot that is being created. The name can't be changed - * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The + * after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The * max name length is 80 characters. * @param [options] The optional parameters * @returns Promise