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/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts
index d945e1b09af3..a91083c16ea1 100644
--- a/sdk/compute/arm-compute/src/computeManagementClient.ts
+++ b/sdk/compute/arm-compute/src/computeManagementClient.ts
@@ -58,6 +58,9 @@ class ComputeManagementClient extends ComputeManagementClientContext {
sharedGalleries: operations.SharedGalleries;
sharedGalleryImages: operations.SharedGalleryImages;
sharedGalleryImageVersions: operations.SharedGalleryImageVersions;
+ communityGalleries: operations.CommunityGalleries;
+ communityGalleryImages: operations.CommunityGalleryImages;
+ communityGalleryImageVersions: operations.CommunityGalleryImageVersions;
cloudServiceRoleInstances: operations.CloudServiceRoleInstances;
cloudServiceRoles: operations.CloudServiceRoles;
cloudServices: operations.CloudServices;
@@ -119,6 +122,9 @@ class ComputeManagementClient extends ComputeManagementClientContext {
this.sharedGalleries = new operations.SharedGalleries(this);
this.sharedGalleryImages = new operations.SharedGalleryImages(this);
this.sharedGalleryImageVersions = new operations.SharedGalleryImageVersions(this);
+ this.communityGalleries = new operations.CommunityGalleries(this);
+ this.communityGalleryImages = new operations.CommunityGalleryImages(this);
+ this.communityGalleryImageVersions = new operations.CommunityGalleryImageVersions(this);
this.cloudServiceRoleInstances = new operations.CloudServiceRoleInstances(this);
this.cloudServiceRoles = new operations.CloudServiceRoles(this);
this.cloudServices = new operations.CloudServices(this);
diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
index 07e51c06d613..8d444e9570b6 100644
--- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
@@ -183,6 +183,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..8a02931bafde 100644
--- a/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/capacityReservationGroupsMappers.ts
@@ -183,6 +183,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..7d430c73882a 100644
--- a/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/capacityReservationsMappers.ts
@@ -183,6 +183,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..9d23800b726d 100644
--- a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts
@@ -180,6 +180,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..041431b3f276 100644
--- a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
@@ -180,6 +180,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
+ SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
diff --git a/sdk/compute/arm-compute/src/models/communityGalleriesMappers.ts b/sdk/compute/arm-compute/src/models/communityGalleriesMappers.ts
new file mode 100644
index 000000000000..79c717cd5a23
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/communityGalleriesMappers.ts
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ ApiError,
+ ApiErrorBase,
+ CloudError,
+ CommunityGallery,
+ CommunityGalleryImage,
+ CommunityGalleryImageVersion,
+ Disallowed,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ ImagePurchasePlan,
+ InnerError,
+ PirCommunityGalleryResource,
+ RecommendedMachineConfiguration,
+ ResourceRange
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/communityGalleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/communityGalleryImageVersionsMappers.ts
new file mode 100644
index 000000000000..79c717cd5a23
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/communityGalleryImageVersionsMappers.ts
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ ApiError,
+ ApiErrorBase,
+ CloudError,
+ CommunityGallery,
+ CommunityGalleryImage,
+ CommunityGalleryImageVersion,
+ Disallowed,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ ImagePurchasePlan,
+ InnerError,
+ PirCommunityGalleryResource,
+ RecommendedMachineConfiguration,
+ ResourceRange
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/communityGalleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/communityGalleryImagesMappers.ts
new file mode 100644
index 000000000000..79c717cd5a23
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/communityGalleryImagesMappers.ts
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ */
+
+export {
+ ApiError,
+ ApiErrorBase,
+ CloudError,
+ CommunityGallery,
+ CommunityGalleryImage,
+ CommunityGalleryImageVersion,
+ Disallowed,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ ImagePurchasePlan,
+ InnerError,
+ PirCommunityGalleryResource,
+ RecommendedMachineConfiguration,
+ ResourceRange
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
index 63c70cd5c2bc..085c8e88867e 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
@@ -183,6 +183,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..56f0edc929d4 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
@@ -183,6 +183,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..4f46885515de 100644
--- a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
@@ -178,6 +178,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..3c2f6ade85a3 100644
--- a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
@@ -176,6 +176,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..3deeb35306cc 100644
--- a/sdk/compute/arm-compute/src/models/disksMappers.ts
+++ b/sdk/compute/arm-compute/src/models/disksMappers.ts
@@ -177,6 +177,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..20e85d6081d2 100644
--- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts
@@ -174,6 +174,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..1119c75b9cb0 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
@@ -174,6 +174,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..5b5817f14cdd 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
@@ -174,6 +174,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..9095befad49d 100644
--- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
@@ -174,6 +174,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..7f56a2f6a256 100644
--- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
@@ -174,6 +174,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..d7ce7f78b210 100644
--- a/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts
+++ b/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts
@@ -173,6 +173,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..753f4662605a 100644
--- a/sdk/compute/arm-compute/src/models/imagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts
@@ -183,6 +183,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..10c9f0b7ab2f 100644
--- a/sdk/compute/arm-compute/src/models/index.ts
+++ b/sdk/compute/arm-compute/src/models/index.ts
@@ -641,8 +641,10 @@ export interface BootDiagnostics {
export interface DiagnosticsProfile {
/**
* Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot
- * to diagnose VM status.
You can easily view the output of your console log.
- * Azure also enables you to see a screenshot of the VM from the hypervisor.
+ * to diagnose VM status.
**NOTE**: If storageUri is being specified then ensure that the
+ * storage account is in the same region and subscription as the VM.
You can easily view
+ * the output of your console log.
Azure also enables you to see a screenshot of the VM
+ * from the hypervisor.
*/
bootDiagnostics?: BootDiagnostics;
}
@@ -6501,6 +6503,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 +6535,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 +6745,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 +6804,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 +6855,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 +6940,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 +6953,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 +7055,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 +7079,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 +7119,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 +7167,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 +7241,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 +7358,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 +7438,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 +7463,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;
}
/**
@@ -8245,6 +8330,88 @@ export interface SharedGalleryImageVersion extends PirSharedGalleryResource {
endOfLifeDate?: Date;
}
+/**
+ * Base information about the community gallery resource in pir.
+ */
+export interface PirCommunityGalleryResource {
+ /**
+ * Resource name
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly name?: string;
+ /**
+ * Resource location
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly location?: string;
+ /**
+ * Resource type
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly type?: string;
+ /**
+ * The unique id of this community gallery.
+ */
+ uniqueId?: string;
+}
+
+/**
+ * Specifies information about the Community Gallery that you want to create or update.
+ */
+export interface CommunityGallery extends PirCommunityGalleryResource {
+}
+
+/**
+ * Specifies information about the gallery image definition that you want to create or update.
+ */
+export interface CommunityGalleryImage extends PirCommunityGalleryResource {
+ /**
+ * This property allows you to specify the type of the OS that is included in the disk when
+ * creating a VM from a managed image.
Possible values are:
**Windows**
+ *
**Linux**. Possible values include: 'Windows', 'Linux'
+ */
+ osType: OperatingSystemTypes;
+ /**
+ * This property allows the user to specify whether the virtual machines created under this image
+ * are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized'
+ */
+ osState: OperatingSystemStateTypes;
+ /**
+ * The end of life date of the gallery image definition. This property can be used for
+ * decommissioning purposes. This property is updatable.
+ */
+ endOfLifeDate?: Date;
+ identifier: GalleryImageIdentifier;
+ recommended?: RecommendedMachineConfiguration;
+ disallowed?: Disallowed;
+ /**
+ * The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values
+ * include: 'V1', 'V2'
+ */
+ hyperVGeneration?: HyperVGeneration;
+ /**
+ * A list of gallery image features.
+ */
+ features?: GalleryImageFeature[];
+ purchasePlan?: ImagePurchasePlan;
+}
+
+/**
+ * Specifies information about the gallery image version that you want to create or update.
+ */
+export interface CommunityGalleryImageVersion extends PirCommunityGalleryResource {
+ /**
+ * The published date of the gallery image version Definition. This property can be used for
+ * decommissioning purposes. This property is updatable.
+ */
+ publishedDate?: Date;
+ /**
+ * The end of life date of the gallery image version Definition. This property can be used for
+ * decommissioning purposes. This property is updatable.
+ */
+ endOfLifeDate?: Date;
+}
+
/**
* An interface representing InstanceSku.
*/
@@ -11135,20 +11302,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 +11343,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'
@@ -16980,6 +17156,66 @@ export type SharedGalleryImageVersionsListNextResponse = SharedGalleryImageVersi
};
};
+/**
+ * Contains response data for the get operation.
+ */
+export type CommunityGalleriesGetResponse = CommunityGallery & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CommunityGallery;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type CommunityGalleryImagesGetResponse = CommunityGalleryImage & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CommunityGalleryImage;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type CommunityGalleryImageVersionsGetResponse = CommunityGalleryImageVersion & {
+ /**
+ * The underlying HTTP response.
+ */
+ _response: msRest.HttpResponse & {
+ /**
+ * The response body as text (string format)
+ */
+ bodyAsText: string;
+
+ /**
+ * The response body as parsed JSON or XML
+ */
+ parsedBody: CommunityGalleryImageVersion;
+ };
+};
+
/**
* Contains response data for the get operation.
*/
diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts
index e985477cd652..73aa841d63bd 100644
--- a/sdk/compute/arm-compute/src/models/mappers.ts
+++ b/sdk/compute/arm-compute/src/models/mappers.ts
@@ -9978,6 +9978,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 +10362,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 +10511,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 +10625,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 +10646,12 @@ export const DiskUpdate: msRest.CompositeMapper = {
name: "Boolean"
}
},
+ publicNetworkAccess: {
+ serializedName: "properties.publicNetworkAccess",
+ type: {
+ name: "String"
+ }
+ },
tags: {
serializedName: "tags",
type: {
@@ -10772,6 +10820,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 +10905,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 +10976,12 @@ export const SnapshotUpdate: msRest.CompositeMapper = {
name: "Boolean"
}
},
+ publicNetworkAccess: {
+ serializedName: "properties.publicNetworkAccess",
+ type: {
+ name: "String"
+ }
+ },
tags: {
serializedName: "tags",
type: {
@@ -11020,6 +11093,14 @@ export const DiskEncryptionSet: msRest.CompositeMapper = {
type: {
name: "DateTime"
}
+ },
+ autoKeyRotationError: {
+ readOnly: true,
+ serializedName: "properties.autoKeyRotationError",
+ type: {
+ name: "Composite",
+ className: "ApiError"
+ }
}
}
}
@@ -11203,6 +11284,13 @@ export const DiskAccess: msRest.CompositeMapper = {
type: {
name: "DateTime"
}
+ },
+ extendedLocation: {
+ serializedName: "extendedLocation",
+ type: {
+ name: "Composite",
+ className: "ExtendedLocation"
+ }
}
}
}
@@ -11335,6 +11423,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 +11457,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"
+ }
}
}
}
@@ -12926,6 +13045,163 @@ export const SharedGalleryImageVersion: msRest.CompositeMapper = {
}
};
+export const PirCommunityGalleryResource: msRest.CompositeMapper = {
+ serializedName: "PirCommunityGalleryResource",
+ type: {
+ name: "Composite",
+ className: "PirCommunityGalleryResource",
+ modelProperties: {
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ location: {
+ readOnly: true,
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ },
+ uniqueId: {
+ serializedName: "identifier.uniqueId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const CommunityGallery: msRest.CompositeMapper = {
+ serializedName: "CommunityGallery",
+ type: {
+ name: "Composite",
+ className: "CommunityGallery",
+ modelProperties: {
+ ...PirCommunityGalleryResource.type.modelProperties
+ }
+ }
+};
+
+export const CommunityGalleryImage: msRest.CompositeMapper = {
+ serializedName: "CommunityGalleryImage",
+ type: {
+ name: "Composite",
+ className: "CommunityGalleryImage",
+ modelProperties: {
+ ...PirCommunityGalleryResource.type.modelProperties,
+ osType: {
+ required: true,
+ serializedName: "properties.osType",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "Windows",
+ "Linux"
+ ]
+ }
+ },
+ osState: {
+ required: true,
+ serializedName: "properties.osState",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "Generalized",
+ "Specialized"
+ ]
+ }
+ },
+ endOfLifeDate: {
+ serializedName: "properties.endOfLifeDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ identifier: {
+ required: true,
+ serializedName: "properties.identifier",
+ type: {
+ name: "Composite",
+ className: "GalleryImageIdentifier"
+ }
+ },
+ recommended: {
+ serializedName: "properties.recommended",
+ type: {
+ name: "Composite",
+ className: "RecommendedMachineConfiguration"
+ }
+ },
+ disallowed: {
+ serializedName: "properties.disallowed",
+ type: {
+ name: "Composite",
+ className: "Disallowed"
+ }
+ },
+ hyperVGeneration: {
+ serializedName: "properties.hyperVGeneration",
+ type: {
+ name: "String"
+ }
+ },
+ features: {
+ serializedName: "properties.features",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "GalleryImageFeature"
+ }
+ }
+ }
+ },
+ purchasePlan: {
+ serializedName: "properties.purchasePlan",
+ type: {
+ name: "Composite",
+ className: "ImagePurchasePlan"
+ }
+ }
+ }
+ }
+};
+
+export const CommunityGalleryImageVersion: msRest.CompositeMapper = {
+ serializedName: "CommunityGalleryImageVersion",
+ type: {
+ name: "Composite",
+ className: "CommunityGalleryImageVersion",
+ modelProperties: {
+ ...PirCommunityGalleryResource.type.modelProperties,
+ publishedDate: {
+ serializedName: "properties.publishedDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ endOfLifeDate: {
+ serializedName: "properties.endOfLifeDate",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+};
+
export const InstanceSku: msRest.CompositeMapper = {
serializedName: "InstanceSku",
type: {
diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts
index 66fd2db23b89..2b8d9ddc6556 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"
}
@@ -449,6 +449,16 @@ export const proximityPlacementGroupName: msRest.OperationURLParameter = {
}
}
};
+export const publicGalleryName: msRest.OperationURLParameter = {
+ parameterPath: "publicGalleryName",
+ mapper: {
+ required: true,
+ serializedName: "publicGalleryName",
+ type: {
+ name: "String"
+ }
+ }
+};
export const publisherName: msRest.OperationURLParameter = {
parameterPath: "publisherName",
mapper: {
diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
index eea488c22e3a..187ced15034a 100644
--- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
@@ -183,6 +183,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..cc5f4ab7a17b 100644
--- a/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/restorePointCollectionsMappers.ts
@@ -183,6 +183,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..d7ce7f78b210 100644
--- a/sdk/compute/arm-compute/src/models/restorePointsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/restorePointsMappers.ts
@@ -173,6 +173,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..387293388fc3 100644
--- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
@@ -177,6 +177,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..0d4bca40e291 100644
--- a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
+++ b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
@@ -184,6 +184,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..d7ce7f78b210 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
@@ -173,6 +173,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..62a01fa12ecb 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
@@ -182,6 +182,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..d7ce7f78b210 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts
@@ -173,6 +173,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..d7ce7f78b210 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
@@ -173,6 +173,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..5ae18212ef0b 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts
@@ -186,6 +186,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..9f1d50e2df0b 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
@@ -173,6 +173,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..d7ce7f78b210 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
@@ -173,6 +173,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..b3eb9269b5bc 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
@@ -173,6 +173,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..26f452d3cc74 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts
@@ -182,6 +182,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..d45c1c96758f 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
@@ -176,6 +176,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..c43298b5630b 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
@@ -186,6 +186,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..1ae38b0736b1 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
@@ -187,6 +187,7 @@ export {
SubResource,
SubResourceReadOnly,
SubResourceWithColocationStatus,
+ SupportedCapabilities,
TargetRegion,
TerminateNotificationProfile,
UefiSettings,
diff --git a/sdk/compute/arm-compute/src/operations/communityGalleries.ts b/sdk/compute/arm-compute/src/operations/communityGalleries.ts
new file mode 100644
index 000000000000..870d1133fbf9
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/communityGalleries.ts
@@ -0,0 +1,86 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/communityGalleriesMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a CommunityGalleries. */
+export class CommunityGalleries {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a CommunityGalleries.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Get a community gallery by gallery public name.
+ * @param location Resource location.
+ * @param publicGalleryName The public name of the community gallery.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(location: string, publicGalleryName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param location Resource location.
+ * @param publicGalleryName The public name of the community gallery.
+ * @param callback The callback
+ */
+ get(location: string, publicGalleryName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param publicGalleryName The public name of the community gallery.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(location: string, publicGalleryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(location: string, publicGalleryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ publicGalleryName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.publicGalleryName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.CommunityGallery
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/communityGalleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/communityGalleryImageVersions.ts
new file mode 100644
index 000000000000..69eb5f01b58f
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/communityGalleryImageVersions.ts
@@ -0,0 +1,102 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/communityGalleryImageVersionsMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a CommunityGalleryImageVersions. */
+export class CommunityGalleryImageVersions {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a CommunityGalleryImageVersions.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Get a community gallery image version.
+ * @param location Resource location.
+ * @param publicGalleryName The public name of the community gallery.
+ * @param galleryImageName The name of the community gallery image definition.
+ * @param galleryImageVersionName The name of the community gallery image version. Needs to follow
+ * semantic version name pattern: The allowed characters are digit and period. Digits must be
+ * within the range of a 32-bit integer. Format: ..
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(location: string, publicGalleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param location Resource location.
+ * @param publicGalleryName The public name of the community gallery.
+ * @param galleryImageName The name of the community gallery image definition.
+ * @param galleryImageVersionName The name of the community gallery image version. Needs to follow
+ * semantic version name pattern: The allowed characters are digit and period. Digits must be
+ * within the range of a 32-bit integer. Format: ..
+ * @param callback The callback
+ */
+ get(location: string, publicGalleryName: string, galleryImageName: string, galleryImageVersionName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param publicGalleryName The public name of the community gallery.
+ * @param galleryImageName The name of the community gallery image definition.
+ * @param galleryImageVersionName The name of the community gallery image version. Needs to follow
+ * semantic version name pattern: The allowed characters are digit and period. Digits must be
+ * within the range of a 32-bit integer. Format: ..
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(location: string, publicGalleryName: string, galleryImageName: string, galleryImageVersionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(location: string, publicGalleryName: string, galleryImageName: string, galleryImageVersionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ publicGalleryName,
+ galleryImageName,
+ galleryImageVersionName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.publicGalleryName,
+ Parameters.galleryImageName,
+ Parameters.galleryImageVersionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.CommunityGalleryImageVersion
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/communityGalleryImages.ts b/sdk/compute/arm-compute/src/operations/communityGalleryImages.ts
new file mode 100644
index 000000000000..1a1643c5d303
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/communityGalleryImages.ts
@@ -0,0 +1,91 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT License.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ * Changes may cause incorrect behavior and will be lost if the code is
+ * regenerated.
+ */
+
+import * as msRest from "@azure/ms-rest-js";
+import * as Models from "../models";
+import * as Mappers from "../models/communityGalleryImagesMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a CommunityGalleryImages. */
+export class CommunityGalleryImages {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a CommunityGalleryImages.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Get a community gallery image.
+ * @param location Resource location.
+ * @param publicGalleryName The public name of the community gallery.
+ * @param galleryImageName The name of the community gallery image definition.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(location: string, publicGalleryName: string, galleryImageName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param location Resource location.
+ * @param publicGalleryName The public name of the community gallery.
+ * @param galleryImageName The name of the community gallery image definition.
+ * @param callback The callback
+ */
+ get(location: string, publicGalleryName: string, galleryImageName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param publicGalleryName The public name of the community gallery.
+ * @param galleryImageName The name of the community gallery image definition.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(location: string, publicGalleryName: string, galleryImageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(location: string, publicGalleryName: string, galleryImageName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ publicGalleryName,
+ galleryImageName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.publicGalleryName,
+ Parameters.galleryImageName
+ ],
+ queryParameters: [
+ Parameters.apiVersion0
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.CommunityGalleryImage
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
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/index.ts b/sdk/compute/arm-compute/src/operations/index.ts
index a1f70e2520e4..3ab81196d487 100644
--- a/sdk/compute/arm-compute/src/operations/index.ts
+++ b/sdk/compute/arm-compute/src/operations/index.ts
@@ -48,6 +48,9 @@ export * from "./gallerySharingProfile";
export * from "./sharedGalleries";
export * from "./sharedGalleryImages";
export * from "./sharedGalleryImageVersions";
+export * from "./communityGalleries";
+export * from "./communityGalleryImages";
+export * from "./communityGalleryImageVersions";
export * from "./cloudServiceRoleInstances";
export * from "./cloudServiceRoles";
export * from "./cloudServices";
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