diff --git a/sdk/compute/arm-compute/src/computeManagementClient.ts b/sdk/compute/arm-compute/src/computeManagementClient.ts
index 23b3a6624ee8..81bbf12292f7 100644
--- a/sdk/compute/arm-compute/src/computeManagementClient.ts
+++ b/sdk/compute/arm-compute/src/computeManagementClient.ts
@@ -49,6 +49,10 @@ class ComputeManagementClient extends ComputeManagementClientContext {
galleryImageVersions: operations.GalleryImageVersions;
galleryApplications: operations.GalleryApplications;
galleryApplicationVersions: operations.GalleryApplicationVersions;
+ gallerySharingProfile: operations.GallerySharingProfile;
+ sharedGalleries: operations.SharedGalleries;
+ sharedGalleryImages: operations.SharedGalleryImages;
+ sharedGalleryImageVersions: operations.SharedGalleryImageVersions;
cloudServiceRoleInstances: operations.CloudServiceRoleInstances;
cloudServiceRoles: operations.CloudServiceRoles;
cloudServices: operations.CloudServices;
@@ -97,6 +101,10 @@ class ComputeManagementClient extends ComputeManagementClientContext {
this.galleryImageVersions = new operations.GalleryImageVersions(this);
this.galleryApplications = new operations.GalleryApplications(this);
this.galleryApplicationVersions = new operations.GalleryApplicationVersions(this);
+ this.gallerySharingProfile = new operations.GallerySharingProfile(this);
+ this.sharedGalleries = new operations.SharedGalleries(this);
+ this.sharedGalleryImages = new operations.SharedGalleryImages(this);
+ this.sharedGalleryImageVersions = new operations.SharedGalleryImageVersions(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/computeManagementClientContext.ts b/sdk/compute/arm-compute/src/computeManagementClientContext.ts
index e1cd142fbab7..caaeadfb862e 100644
--- a/sdk/compute/arm-compute/src/computeManagementClientContext.ts
+++ b/sdk/compute/arm-compute/src/computeManagementClientContext.ts
@@ -36,7 +36,7 @@ export class ComputeManagementClientContext extends msRestAzure.AzureServiceClie
if (!options) {
options = {};
}
- if (!options.userAgent) {
+ if(!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
}
@@ -50,10 +50,10 @@ export class ComputeManagementClientContext extends msRestAzure.AzureServiceClie
this.credentials = credentials;
this.subscriptionId = subscriptionId;
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
+ if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
this.acceptLanguage = options.acceptLanguage;
}
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
+ if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
}
}
diff --git a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
index 8aef1b3eed34..add29ec94d39 100644
--- a/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
@@ -81,6 +81,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -144,6 +145,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts
index 8057c287d782..7ef5b21d90ec 100644
--- a/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/cloudServiceRoleInstancesMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -145,6 +146,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
index 9f12cfbbea05..fd17baf5f039 100644
--- a/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -144,6 +145,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
index c736aba45b3a..51a03effec8f 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
@@ -81,6 +81,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -144,6 +145,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
index bde2995b4c09..8745c7f0ab10 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
@@ -81,6 +81,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -144,6 +145,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
index 367ca3b53d1e..f0fccacc9645 100644
--- a/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
@@ -79,6 +79,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -143,6 +144,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
index 84c16446f38c..56c21affe3fd 100644
--- a/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts
@@ -79,6 +79,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -141,6 +142,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/disksMappers.ts b/sdk/compute/arm-compute/src/models/disksMappers.ts
index f471a7f09f1c..a525b1f09f2a 100644
--- a/sdk/compute/arm-compute/src/models/disksMappers.ts
+++ b/sdk/compute/arm-compute/src/models/disksMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -142,6 +143,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/galleriesMappers.ts b/sdk/compute/arm-compute/src/models/galleriesMappers.ts
index dc086f47241f..61e20eafb54d 100644
--- a/sdk/compute/arm-compute/src/models/galleriesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleriesMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -139,6 +140,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
index 372d9958c67f..929aebb18e99 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationVersionsMappers.ts
@@ -78,6 +78,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -139,6 +140,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
index bc330fba6b11..bdd0450dd802 100644
--- a/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryApplicationsMappers.ts
@@ -78,6 +78,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -139,6 +140,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
index 936cae5783c9..a32d09d9a41e 100644
--- a/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImageVersionsMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -139,6 +140,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
index 60b965fa1e52..bcfb1d1bd763 100644
--- a/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageList,
GalleryImageUpdate,
@@ -139,6 +140,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts b/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts
new file mode 100644
index 000000000000..2d73108c915a
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/gallerySharingProfileMappers.ts
@@ -0,0 +1,215 @@
+/*
+ * 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 {
+ AdditionalCapabilities,
+ AdditionalUnattendContent,
+ ApiEntityReference,
+ ApiError,
+ ApiErrorBase,
+ AutomaticOSUpgradePolicy,
+ AutomaticOSUpgradeProperties,
+ AutomaticRepairsPolicy,
+ AvailabilitySet,
+ AvailablePatchSummary,
+ BaseResource,
+ BillingProfile,
+ BootDiagnostics,
+ BootDiagnosticsInstanceView,
+ CloudError,
+ CloudService,
+ CloudServiceExtensionProfile,
+ CloudServiceExtensionProperties,
+ CloudServiceNetworkProfile,
+ CloudServiceOsProfile,
+ CloudServiceProperties,
+ CloudServiceRoleProfile,
+ CloudServiceRoleProfileProperties,
+ CloudServiceRoleSku,
+ CloudServiceVaultAndSecretReference,
+ CloudServiceVaultCertificate,
+ CloudServiceVaultSecretGroup,
+ CreationData,
+ DataDisk,
+ DataDiskImage,
+ DataDiskImageEncryption,
+ DedicatedHost,
+ DedicatedHostAllocatableVM,
+ DedicatedHostAvailableCapacity,
+ DedicatedHostGroup,
+ DedicatedHostGroupInstanceView,
+ DedicatedHostInstanceView,
+ DedicatedHostInstanceViewWithName,
+ DiagnosticsProfile,
+ DiffDiskSettings,
+ Disallowed,
+ DisallowedConfiguration,
+ Disk,
+ DiskAccess,
+ DiskEncryptionSet,
+ DiskEncryptionSetParameters,
+ DiskEncryptionSettings,
+ DiskImageEncryption,
+ DiskInstanceView,
+ DiskSecurityProfile,
+ DiskSku,
+ Encryption,
+ EncryptionImages,
+ EncryptionSetIdentity,
+ EncryptionSettingsCollection,
+ EncryptionSettingsElement,
+ ExtendedLocation,
+ Extension,
+ Gallery,
+ GalleryApplication,
+ GalleryApplicationUpdate,
+ GalleryApplicationVersion,
+ GalleryApplicationVersionPublishingProfile,
+ GalleryApplicationVersionUpdate,
+ GalleryArtifactPublishingProfileBase,
+ GalleryArtifactVersionSource,
+ GalleryDataDiskImage,
+ GalleryDiskImage,
+ GalleryIdentifier,
+ GalleryImage,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ GalleryImageUpdate,
+ GalleryImageVersion,
+ GalleryImageVersionPublishingProfile,
+ GalleryImageVersionStorageProfile,
+ GalleryImageVersionUpdate,
+ GalleryOSDiskImage,
+ GalleryUpdate,
+ HardwareProfile,
+ Image,
+ ImageDataDisk,
+ ImageDisk,
+ ImageDiskReference,
+ ImageOSDisk,
+ ImagePurchasePlan,
+ ImageReference,
+ ImageStorageProfile,
+ InnerError,
+ InstanceViewStatus,
+ KeyForDiskEncryptionSet,
+ KeyVaultAndKeyReference,
+ KeyVaultAndSecretReference,
+ KeyVaultKeyReference,
+ KeyVaultSecretReference,
+ LastPatchInstallationSummary,
+ LinuxConfiguration,
+ LinuxPatchSettings,
+ LoadBalancerConfiguration,
+ LoadBalancerConfigurationProperties,
+ LoadBalancerFrontendIPConfiguration,
+ LoadBalancerFrontendIPConfigurationProperties,
+ MaintenanceRedeployStatus,
+ ManagedDiskParameters,
+ NetworkInterfaceReference,
+ NetworkProfile,
+ OSDisk,
+ OSDiskImage,
+ OSDiskImageEncryption,
+ OSProfile,
+ PatchSettings,
+ Plan,
+ PrivateEndpoint,
+ PrivateEndpointConnection,
+ PrivateLinkServiceConnectionState,
+ PropertyUpdatesInProgress,
+ ProximityPlacementGroup,
+ PurchasePlan,
+ RecommendedMachineConfiguration,
+ RegionalReplicationStatus,
+ ReplicationStatus,
+ Resource,
+ ResourceRange,
+ RollingUpgradePolicy,
+ RollingUpgradeProgressInfo,
+ RollingUpgradeRunningStatus,
+ RollingUpgradeStatusInfo,
+ RunCommandInputParameter,
+ ScaleInPolicy,
+ ScheduledEventsProfile,
+ SecurityProfile,
+ ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
+ Sku,
+ Snapshot,
+ SnapshotSku,
+ SourceVault,
+ SshConfiguration,
+ SshPublicKey,
+ SshPublicKeyResource,
+ StorageProfile,
+ SubResource,
+ SubResourceReadOnly,
+ SubResourceWithColocationStatus,
+ TargetRegion,
+ TerminateNotificationProfile,
+ UefiSettings,
+ UpdateResourceDefinition,
+ UpgradePolicy,
+ UserArtifactManage,
+ UserArtifactSource,
+ VaultCertificate,
+ VaultSecretGroup,
+ VirtualHardDisk,
+ VirtualMachine,
+ VirtualMachineAgentInstanceView,
+ VirtualMachineCaptureResult,
+ VirtualMachineExtension,
+ VirtualMachineExtensionHandlerInstanceView,
+ VirtualMachineExtensionImage,
+ VirtualMachineExtensionInstanceView,
+ VirtualMachineHealthStatus,
+ VirtualMachineIdentity,
+ VirtualMachineIdentityUserAssignedIdentitiesValue,
+ VirtualMachineImage,
+ VirtualMachineImageFeature,
+ VirtualMachineImageResource,
+ VirtualMachineInstanceView,
+ VirtualMachinePatchStatus,
+ VirtualMachineRunCommand,
+ VirtualMachineRunCommandInstanceView,
+ VirtualMachineRunCommandScriptSource,
+ VirtualMachineScaleSet,
+ VirtualMachineScaleSetDataDisk,
+ VirtualMachineScaleSetExtension,
+ VirtualMachineScaleSetExtensionProfile,
+ VirtualMachineScaleSetExtensionUpdate,
+ VirtualMachineScaleSetIdentity,
+ VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
+ VirtualMachineScaleSetIPConfiguration,
+ VirtualMachineScaleSetIpTag,
+ VirtualMachineScaleSetManagedDiskParameters,
+ VirtualMachineScaleSetNetworkConfiguration,
+ VirtualMachineScaleSetNetworkConfigurationDnsSettings,
+ VirtualMachineScaleSetNetworkProfile,
+ VirtualMachineScaleSetOSDisk,
+ VirtualMachineScaleSetOSProfile,
+ VirtualMachineScaleSetPublicIPAddressConfiguration,
+ VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
+ VirtualMachineScaleSetStorageProfile,
+ VirtualMachineScaleSetUpdateIPConfiguration,
+ VirtualMachineScaleSetUpdateNetworkConfiguration,
+ VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
+ VirtualMachineScaleSetVM,
+ VirtualMachineScaleSetVMExtension,
+ VirtualMachineScaleSetVMExtensionUpdate,
+ VirtualMachineScaleSetVMInstanceView,
+ VirtualMachineScaleSetVMNetworkProfileConfiguration,
+ VirtualMachineScaleSetVMProfile,
+ VirtualMachineScaleSetVMProtectionPolicy,
+ WindowsConfiguration,
+ WinRMConfiguration,
+ WinRMListener
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/imagesMappers.ts b/sdk/compute/arm-compute/src/models/imagesMappers.ts
index 3ec781e33572..2bce754b4b38 100644
--- a/sdk/compute/arm-compute/src/models/imagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/imagesMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -144,6 +145,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts
index 0bfcc2540a51..d3c75ae8603d 100644
--- a/sdk/compute/arm-compute/src/models/index.ts
+++ b/sdk/compute/arm-compute/src/models/index.ts
@@ -2005,6 +2005,14 @@ export interface PatchSettings {
* 'AutomaticByPlatform'.
*/
enableHotpatching?: boolean;
+ /**
+ * Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.
+ * Possible values are:
**ImageDefault** - You control the timing of patch
+ * assessments on a virtual machine.
**AutomaticByPlatform** - The platform will
+ * trigger periodic patch assessments. The property provisionVMAgent must be true. Possible
+ * values include: 'ImageDefault', 'AutomaticByPlatform'
+ */
+ assessmentMode?: WindowsPatchAssessmentMode;
}
/**
@@ -2088,6 +2096,14 @@ export interface LinuxPatchSettings {
* 'ImageDefault', 'AutomaticByPlatform'
*/
patchMode?: LinuxVMGuestPatchMode;
+ /**
+ * Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.
+ * Possible values are:
**ImageDefault** - You control the timing of patch
+ * assessments on a virtual machine.
**AutomaticByPlatform** - The platform will
+ * trigger periodic patch assessments. The property provisionVMAgent must be true. Possible
+ * values include: 'ImageDefault', 'AutomaticByPlatform'
+ */
+ assessmentMode?: LinuxPatchAssessmentMode;
}
/**
@@ -6495,6 +6511,39 @@ export interface GalleryIdentifier {
readonly uniqueName?: string;
}
+/**
+ * Group of the gallery sharing profile
+ */
+export interface SharingProfileGroup {
+ /**
+ * This property allows you to specify the type of sharing group.
Possible values are:
+ *
**Subscriptions**
**AADTenants**. Possible values include: 'Subscriptions',
+ * 'AADTenants'
+ */
+ type?: SharingProfileGroupTypes;
+ /**
+ * A list of subscription/tenant ids the gallery is aimed to be shared to.
+ */
+ ids?: string[];
+}
+
+/**
+ * Profile for gallery sharing to subscription or tenant
+ */
+export interface SharingProfile {
+ /**
+ * This property allows you to specify the permission of sharing gallery.
Possible
+ * values are:
**Private**
**Groups**. Possible values include: 'Private',
+ * 'Groups'
+ */
+ permissions?: GallerySharingPermissionTypes;
+ /**
+ * A list of sharing profile groups.
+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
+ */
+ readonly groups?: SharingProfileGroup[];
+}
+
/**
* Specifies information about the Shared Image Gallery that you want to create or update.
*/
@@ -6511,6 +6560,7 @@ export interface Gallery extends Resource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: ProvisioningState;
+ sharingProfile?: SharingProfile;
}
/**
@@ -6554,6 +6604,7 @@ export interface GalleryUpdate extends UpdateResourceDefinition {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: ProvisioningState;
+ sharingProfile?: SharingProfile;
}
/**
@@ -6679,12 +6730,12 @@ export interface GalleryArtifactPublishingProfileBase {
*/
excludeFromLatest?: boolean;
/**
- * The timestamp for when the gallery Image Version is published.
+ * The timestamp for when the gallery image version is published.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly publishedDate?: Date;
/**
- * The end of life date of the gallery Image Version. This property can be used for
+ * The end of life date of the gallery image version. This property can be used for
* decommissioning purposes. This property is updatable.
*/
endOfLifeDate?: Date;
@@ -6712,7 +6763,7 @@ export interface GalleryApplicationVersionPublishingProfile extends GalleryArtif
*/
export interface RegionalReplicationStatus {
/**
- * The region to which the gallery Image Version is being replicated to.
+ * The region to which the gallery image version is being replicated to.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly region?: string;
@@ -6735,7 +6786,7 @@ export interface RegionalReplicationStatus {
}
/**
- * This is the replication status of the gallery Image Version.
+ * This is the replication status of the gallery image version.
*/
export interface ReplicationStatus {
/**
@@ -6788,19 +6839,19 @@ export interface GalleryApplicationVersionUpdate extends UpdateResourceDefinitio
}
/**
- * This is the gallery Image Definition identifier.
+ * This is the gallery image definition identifier.
*/
export interface GalleryImageIdentifier {
/**
- * The name of the gallery Image Definition publisher.
+ * The name of the gallery image definition publisher.
*/
publisher: string;
/**
- * The name of the gallery Image Definition offer.
+ * The name of the gallery image definition offer.
*/
offer: string;
/**
- * The name of the gallery Image Definition SKU.
+ * The name of the gallery image definition SKU.
*/
sku: string;
}
@@ -6839,7 +6890,7 @@ export interface Disallowed {
}
/**
- * Describes the gallery Image Definition purchase plan. This is used by marketplace images.
+ * Describes the gallery image definition purchase plan. This is used by marketplace images.
*/
export interface ImagePurchasePlan {
/**
@@ -6857,15 +6908,29 @@ export interface ImagePurchasePlan {
}
/**
- * Specifies information about the gallery Image Definition that you want to create or update.
+ * A feature for gallery image.
+ */
+export interface GalleryImageFeature {
+ /**
+ * The name of the gallery image feature.
+ */
+ name?: string;
+ /**
+ * The value of the gallery image feature.
+ */
+ value?: string;
+}
+
+/**
+ * Specifies information about the gallery image definition that you want to create or update.
*/
export interface GalleryImage extends Resource {
/**
- * The description of this gallery Image Definition resource. This property is updatable.
+ * The description of this gallery image definition resource. This property is updatable.
*/
description?: string;
/**
- * The Eula agreement for the gallery Image Definition.
+ * The Eula agreement for the gallery image definition.
*/
eula?: string;
/**
@@ -6893,7 +6958,7 @@ export interface GalleryImage extends Resource {
*/
hyperVGeneration?: HyperVGeneration;
/**
- * The end of life date of the gallery Image Definition. This property can be used for
+ * The end of life date of the gallery image definition. This property can be used for
* decommissioning purposes. This property is updatable.
*/
endOfLifeDate?: Date;
@@ -6902,24 +6967,28 @@ export interface GalleryImage extends Resource {
disallowed?: Disallowed;
purchasePlan?: ImagePurchasePlan;
/**
- * The current state of the gallery Image Definition. The provisioning state, which only appears
+ * The current state of the gallery image definition. The provisioning state, which only appears
* in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
* 'Deleting', 'Migrating'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: ProvisioningState2;
+ /**
+ * A list of gallery image features.
+ */
+ features?: GalleryImageFeature[];
}
/**
- * Specifies information about the gallery Image Definition that you want to update.
+ * Specifies information about the gallery image definition that you want to update.
*/
export interface GalleryImageUpdate extends UpdateResourceDefinition {
/**
- * The description of this gallery Image Definition resource. This property is updatable.
+ * The description of this gallery image definition resource. This property is updatable.
*/
description?: string;
/**
- * The Eula agreement for the gallery Image Definition.
+ * The Eula agreement for the gallery image definition.
*/
eula?: string;
/**
@@ -6947,7 +7016,7 @@ export interface GalleryImageUpdate extends UpdateResourceDefinition {
*/
hyperVGeneration?: HyperVGeneration;
/**
- * The end of life date of the gallery Image Definition. This property can be used for
+ * The end of life date of the gallery image definition. This property can be used for
* decommissioning purposes. This property is updatable.
*/
endOfLifeDate?: Date;
@@ -6956,16 +7025,20 @@ export interface GalleryImageUpdate extends UpdateResourceDefinition {
disallowed?: Disallowed;
purchasePlan?: ImagePurchasePlan;
/**
- * The current state of the gallery Image Definition. The provisioning state, which only appears
+ * The current state of the gallery image definition. The provisioning state, which only appears
* in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
* 'Deleting', 'Migrating'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: ProvisioningState2;
+ /**
+ * A list of gallery image features.
+ */
+ features?: GalleryImageFeature[];
}
/**
- * The publishing profile of a gallery Image Version.
+ * The publishing profile of a gallery image Version.
*/
export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPublishingProfileBase {
}
@@ -6975,10 +7048,14 @@ export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPub
*/
export interface GalleryArtifactVersionSource {
/**
- * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user
- * image.
+ * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user
+ * image or storage account resource.
*/
id?: string;
+ /**
+ * The uri of the gallery artifact version source. Currently used to specify vhd/blob source.
+ */
+ uri?: string;
}
/**
@@ -7029,12 +7106,12 @@ export interface GalleryImageVersionStorageProfile {
}
/**
- * Specifies information about the gallery Image Version that you want to create or update.
+ * Specifies information about the gallery image version that you want to create or update.
*/
export interface GalleryImageVersion extends Resource {
publishingProfile?: GalleryImageVersionPublishingProfile;
/**
- * The current state of the gallery Image Version. The provisioning state, which only appears in
+ * The current state of the gallery image version. The provisioning state, which only appears in
* the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
* 'Deleting', 'Migrating'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -7048,12 +7125,12 @@ export interface GalleryImageVersion extends Resource {
}
/**
- * Specifies information about the gallery Image Version that you want to update.
+ * Specifies information about the gallery image version that you want to update.
*/
export interface GalleryImageVersionUpdate extends UpdateResourceDefinition {
publishingProfile?: GalleryImageVersionPublishingProfile;
/**
- * The current state of the gallery Image Version. The provisioning state, which only appears in
+ * The current state of the gallery image version. The provisioning state, which only appears in
* the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded',
* 'Deleting', 'Migrating'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -7144,6 +7221,105 @@ export interface GalleryArtifactSource {
managedImage: ManagedArtifact;
}
+/**
+ * Specifies information about the gallery sharing profile update.
+ */
+export interface SharingUpdate extends BaseResource {
+ /**
+ * This property allows you to specify the operation type of gallery sharing update.
+ * Possible values are:
**Add**
**Remove**
**Reset**. Possible values
+ * include: 'Add', 'Remove', 'Reset'
+ */
+ operationType: SharingUpdateOperationTypes;
+ /**
+ * A list of sharing profile groups.
+ */
+ groups?: SharingProfileGroup[];
+}
+
+/**
+ * The Resource model definition.
+ */
+export interface PirResource {
+ /**
+ * 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;
+}
+
+/**
+ * Base information about the shared gallery resource in pir.
+ */
+export interface PirSharedGalleryResource extends PirResource {
+ /**
+ * The unique id of this shared gallery.
+ */
+ uniqueId?: string;
+}
+
+/**
+ * Specifies information about the Shared Gallery that you want to create or update.
+ */
+export interface SharedGallery extends PirSharedGalleryResource {
+}
+
+/**
+ * Specifies information about the gallery image definition that you want to create or update.
+ */
+export interface SharedGalleryImage extends PirSharedGalleryResource {
+ /**
+ * 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 SharedGalleryImageVersion extends PirSharedGalleryResource {
+ /**
+ * 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.
*/
@@ -8541,6 +8717,16 @@ export interface ResourceSkusListNextOptionalParams extends msRest.RequestOption
filter?: string;
}
+/**
+ * Optional Parameters.
+ */
+export interface GalleriesGetOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The select expression to apply on the operation. Possible values include: 'Permissions'
+ */
+ select?: SelectPermissions;
+}
+
/**
* Optional Parameters.
*/
@@ -8561,6 +8747,72 @@ export interface GalleryApplicationVersionsGetOptionalParams extends msRest.Requ
expand?: ReplicationStatusTypes;
}
+/**
+ * Optional Parameters.
+ */
+export interface SharedGalleriesListOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The query parameter to decide what shared galleries to fetch when doing listing operations.
+ * Possible values include: 'tenant'
+ */
+ sharedTo?: SharedToValues;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface SharedGalleriesListNextOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The query parameter to decide what shared galleries to fetch when doing listing operations.
+ * Possible values include: 'tenant'
+ */
+ sharedTo?: SharedToValues;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface SharedGalleryImagesListOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The query parameter to decide what shared galleries to fetch when doing listing operations.
+ * Possible values include: 'tenant'
+ */
+ sharedTo?: SharedToValues;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface SharedGalleryImagesListNextOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The query parameter to decide what shared galleries to fetch when doing listing operations.
+ * Possible values include: 'tenant'
+ */
+ sharedTo?: SharedToValues;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface SharedGalleryImageVersionsListOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The query parameter to decide what shared galleries to fetch when doing listing operations.
+ * Possible values include: 'tenant'
+ */
+ sharedTo?: SharedToValues;
+}
+
+/**
+ * Optional Parameters.
+ */
+export interface SharedGalleryImageVersionsListNextOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The query parameter to decide what shared galleries to fetch when doing listing operations.
+ * Possible values include: 'tenant'
+ */
+ sharedTo?: SharedToValues;
+}
+
/**
* Optional Parameters.
*/
@@ -9065,7 +9317,7 @@ export interface GalleryList extends Array {
export interface GalleryImageList extends Array {
/**
* The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call
- * ListNext() with this to fetch the next page of gallery Image Definitions.
+ * ListNext() with this to fetch the next page of gallery image definitions.
*/
nextLink?: string;
}
@@ -9077,8 +9329,8 @@ export interface GalleryImageList extends Array {
*/
export interface GalleryImageVersionList extends Array {
/**
- * The uri to fetch the next page of gallery Image Versions. Call ListNext() with this to fetch
- * the next page of gallery Image Versions.
+ * The uri to fetch the next page of gallery image versions. Call ListNext() with this to fetch
+ * the next page of gallery image versions.
*/
nextLink?: string;
}
@@ -9109,6 +9361,45 @@ export interface GalleryApplicationVersionList extends Array
+ */
+export interface SharedGalleryList extends Array {
+ /**
+ * The uri to fetch the next page of shared galleries. Call ListNext() with this to fetch the
+ * next page of shared galleries.
+ */
+ nextLink?: string;
+}
+
+/**
+ * @interface
+ * The List Shared Gallery Images operation response.
+ * @extends Array
+ */
+export interface SharedGalleryImageList extends Array {
+ /**
+ * The uri to fetch the next page of shared gallery images. Call ListNext() with this to fetch
+ * the next page of shared gallery images.
+ */
+ nextLink?: string;
+}
+
+/**
+ * @interface
+ * The List Shared Gallery Image versions operation response.
+ * @extends Array
+ */
+export interface SharedGalleryImageVersionList extends Array {
+ /**
+ * The uri to fetch the next page of shared gallery image versions. Call ListNext() with this to
+ * fetch the next page of shared gallery image versions.
+ */
+ nextLink?: string;
+}
+
/**
* @interface
* An interface representing the RoleInstanceListResult.
@@ -9430,6 +9721,14 @@ export type ProtocolTypes = 'Http' | 'Https';
*/
export type WindowsVMGuestPatchMode = 'Manual' | 'AutomaticByOS' | 'AutomaticByPlatform';
+/**
+ * Defines values for WindowsPatchAssessmentMode.
+ * Possible values include: 'ImageDefault', 'AutomaticByPlatform'
+ * @readonly
+ * @enum {string}
+ */
+export type WindowsPatchAssessmentMode = 'ImageDefault' | 'AutomaticByPlatform';
+
/**
* Defines values for LinuxVMGuestPatchMode.
* Possible values include: 'ImageDefault', 'AutomaticByPlatform'
@@ -9438,6 +9737,14 @@ export type WindowsVMGuestPatchMode = 'Manual' | 'AutomaticByOS' | 'AutomaticByP
*/
export type LinuxVMGuestPatchMode = 'ImageDefault' | 'AutomaticByPlatform';
+/**
+ * Defines values for LinuxPatchAssessmentMode.
+ * Possible values include: 'ImageDefault', 'AutomaticByPlatform'
+ * @readonly
+ * @enum {string}
+ */
+export type LinuxPatchAssessmentMode = 'ImageDefault' | 'AutomaticByPlatform';
+
/**
* Defines values for VirtualMachinePriorityTypes.
* Possible values include: 'Regular', 'Low', 'Spot'
@@ -9732,6 +10039,22 @@ export type PrivateEndpointServiceConnectionStatus = 'Pending' | 'Approved' | 'R
*/
export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Deleting' | 'Failed';
+/**
+ * Defines values for GallerySharingPermissionTypes.
+ * Possible values include: 'Private', 'Groups'
+ * @readonly
+ * @enum {string}
+ */
+export type GallerySharingPermissionTypes = 'Private' | 'Groups';
+
+/**
+ * Defines values for SharingProfileGroupTypes.
+ * Possible values include: 'Subscriptions', 'AADTenants'
+ * @readonly
+ * @enum {string}
+ */
+export type SharingProfileGroupTypes = 'Subscriptions' | 'AADTenants';
+
/**
* Defines values for AggregatedReplicationState.
* Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed'
@@ -9764,6 +10087,14 @@ export type StorageAccountType = 'Standard_LRS' | 'Standard_ZRS' | 'Premium_LRS'
*/
export type HostCaching = 'None' | 'ReadOnly' | 'ReadWrite';
+/**
+ * Defines values for SharingUpdateOperationTypes.
+ * Possible values include: 'Add', 'Remove', 'Reset'
+ * @readonly
+ * @enum {string}
+ */
+export type SharingUpdateOperationTypes = 'Add' | 'Remove' | 'Reset';
+
/**
* Defines values for CloudServiceUpgradeMode.
* Possible values include: 'Auto', 'Manual', 'Simultaneous'
@@ -9780,6 +10111,14 @@ export type CloudServiceUpgradeMode = 'Auto' | 'Manual' | 'Simultaneous';
*/
export type InstanceViewTypes = 'instanceView';
+/**
+ * Defines values for SelectPermissions.
+ * Possible values include: 'Permissions'
+ * @readonly
+ * @enum {string}
+ */
+export type SelectPermissions = 'Permissions';
+
/**
* Defines values for ReplicationStatusTypes.
* Possible values include: 'ReplicationStatus'
@@ -9788,6 +10127,14 @@ export type InstanceViewTypes = 'instanceView';
*/
export type ReplicationStatusTypes = 'ReplicationStatus';
+/**
+ * Defines values for SharedToValues.
+ * Possible values include: 'tenant'
+ * @readonly
+ * @enum {string}
+ */
+export type SharedToValues = 'tenant';
+
/**
* Defines values for ProvisioningState.
* Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'
@@ -14660,6 +15007,226 @@ export type GalleryApplicationVersionsListByGalleryApplicationNextResponse = Gal
};
};
+/**
+ * Contains response data for the update operation.
+ */
+export type GallerySharingProfileUpdateResponse = SharingUpdate & {
+ /**
+ * 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: SharingUpdate;
+ };
+};
+
+/**
+ * Contains response data for the beginUpdate operation.
+ */
+export type GallerySharingProfileBeginUpdateResponse = SharingUpdate & {
+ /**
+ * 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: SharingUpdate;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type SharedGalleriesListResponse = SharedGalleryList & {
+ /**
+ * 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: SharedGalleryList;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type SharedGalleriesGetResponse = SharedGallery & {
+ /**
+ * 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: SharedGallery;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type SharedGalleriesListNextResponse = SharedGalleryList & {
+ /**
+ * 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: SharedGalleryList;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type SharedGalleryImagesListResponse = SharedGalleryImageList & {
+ /**
+ * 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: SharedGalleryImageList;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type SharedGalleryImagesGetResponse = SharedGalleryImage & {
+ /**
+ * 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: SharedGalleryImage;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type SharedGalleryImagesListNextResponse = SharedGalleryImageList & {
+ /**
+ * 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: SharedGalleryImageList;
+ };
+};
+
+/**
+ * Contains response data for the list operation.
+ */
+export type SharedGalleryImageVersionsListResponse = SharedGalleryImageVersionList & {
+ /**
+ * 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: SharedGalleryImageVersionList;
+ };
+};
+
+/**
+ * Contains response data for the get operation.
+ */
+export type SharedGalleryImageVersionsGetResponse = SharedGalleryImageVersion & {
+ /**
+ * 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: SharedGalleryImageVersion;
+ };
+};
+
+/**
+ * Contains response data for the listNext operation.
+ */
+export type SharedGalleryImageVersionsListNextResponse = SharedGalleryImageVersionList & {
+ /**
+ * 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: SharedGalleryImageVersionList;
+ };
+};
+
/**
* 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 462dc5d43310..301be6f716ac 100644
--- a/sdk/compute/arm-compute/src/models/mappers.ts
+++ b/sdk/compute/arm-compute/src/models/mappers.ts
@@ -3051,6 +3051,12 @@ export const PatchSettings: msRest.CompositeMapper = {
type: {
name: "Boolean"
}
+ },
+ assessmentMode: {
+ serializedName: "assessmentMode",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -3165,6 +3171,12 @@ export const LinuxPatchSettings: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ assessmentMode: {
+ serializedName: "assessmentMode",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -9950,6 +9962,62 @@ export const GalleryIdentifier: msRest.CompositeMapper = {
}
};
+export const SharingProfileGroup: msRest.CompositeMapper = {
+ serializedName: "SharingProfileGroup",
+ type: {
+ name: "Composite",
+ className: "SharingProfileGroup",
+ modelProperties: {
+ type: {
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ },
+ ids: {
+ serializedName: "ids",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const SharingProfile: msRest.CompositeMapper = {
+ serializedName: "SharingProfile",
+ type: {
+ name: "Composite",
+ className: "SharingProfile",
+ modelProperties: {
+ permissions: {
+ serializedName: "permissions",
+ type: {
+ name: "String"
+ }
+ },
+ groups: {
+ readOnly: true,
+ serializedName: "groups",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SharingProfileGroup"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
export const Gallery: msRest.CompositeMapper = {
serializedName: "Gallery",
type: {
@@ -9976,6 +10044,13 @@ export const Gallery: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ sharingProfile: {
+ serializedName: "properties.sharingProfile",
+ type: {
+ name: "Composite",
+ className: "SharingProfile"
+ }
}
}
}
@@ -10049,6 +10124,13 @@ export const GalleryUpdate: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ sharingProfile: {
+ serializedName: "properties.sharingProfile",
+ type: {
+ name: "Composite",
+ className: "SharingProfile"
+ }
}
}
}
@@ -10558,6 +10640,28 @@ export const ImagePurchasePlan: msRest.CompositeMapper = {
}
};
+export const GalleryImageFeature: msRest.CompositeMapper = {
+ serializedName: "GalleryImageFeature",
+ type: {
+ name: "Composite",
+ className: "GalleryImageFeature",
+ modelProperties: {
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ value: {
+ serializedName: "value",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const GalleryImage: msRest.CompositeMapper = {
serializedName: "GalleryImage",
type: {
@@ -10658,6 +10762,18 @@ export const GalleryImage: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ features: {
+ serializedName: "properties.features",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "GalleryImageFeature"
+ }
+ }
+ }
}
}
}
@@ -10763,6 +10879,18 @@ export const GalleryImageUpdate: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ features: {
+ serializedName: "properties.features",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "GalleryImageFeature"
+ }
+ }
+ }
}
}
}
@@ -10790,6 +10918,12 @@ export const GalleryArtifactVersionSource: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ uri: {
+ serializedName: "uri",
+ type: {
+ name: "String"
+ }
}
}
}
@@ -11122,6 +11256,196 @@ export const GalleryArtifactSource: msRest.CompositeMapper = {
}
};
+export const SharingUpdate: msRest.CompositeMapper = {
+ serializedName: "SharingUpdate",
+ type: {
+ name: "Composite",
+ className: "SharingUpdate",
+ modelProperties: {
+ operationType: {
+ required: true,
+ serializedName: "operationType",
+ type: {
+ name: "String"
+ }
+ },
+ groups: {
+ serializedName: "groups",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SharingProfileGroup"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const PirResource: msRest.CompositeMapper = {
+ serializedName: "PirResource",
+ type: {
+ name: "Composite",
+ className: "PirResource",
+ modelProperties: {
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ location: {
+ readOnly: true,
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const PirSharedGalleryResource: msRest.CompositeMapper = {
+ serializedName: "PirSharedGalleryResource",
+ type: {
+ name: "Composite",
+ className: "PirSharedGalleryResource",
+ modelProperties: {
+ ...PirResource.type.modelProperties,
+ uniqueId: {
+ serializedName: "identifier.uniqueId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const SharedGallery: msRest.CompositeMapper = {
+ serializedName: "SharedGallery",
+ type: {
+ name: "Composite",
+ className: "SharedGallery",
+ modelProperties: {
+ ...PirSharedGalleryResource.type.modelProperties
+ }
+ }
+};
+
+export const SharedGalleryImage: msRest.CompositeMapper = {
+ serializedName: "SharedGalleryImage",
+ type: {
+ name: "Composite",
+ className: "SharedGalleryImage",
+ modelProperties: {
+ ...PirSharedGalleryResource.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 SharedGalleryImageVersion: msRest.CompositeMapper = {
+ serializedName: "SharedGalleryImageVersion",
+ type: {
+ name: "Composite",
+ className: "SharedGalleryImageVersion",
+ modelProperties: {
+ ...PirSharedGalleryResource.type.modelProperties,
+ publishedDate: {
+ serializedName: "properties.publishedDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ endOfLifeDate: {
+ serializedName: "properties.endOfLifeDate",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+};
+
export const InstanceSku: msRest.CompositeMapper = {
serializedName: "InstanceSku",
type: {
@@ -13250,6 +13574,93 @@ export const GalleryApplicationVersionList: msRest.CompositeMapper = {
}
};
+export const SharedGalleryList: msRest.CompositeMapper = {
+ serializedName: "SharedGalleryList",
+ type: {
+ name: "Composite",
+ className: "SharedGalleryList",
+ modelProperties: {
+ value: {
+ required: true,
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SharedGallery"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const SharedGalleryImageList: msRest.CompositeMapper = {
+ serializedName: "SharedGalleryImageList",
+ type: {
+ name: "Composite",
+ className: "SharedGalleryImageList",
+ modelProperties: {
+ value: {
+ required: true,
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SharedGalleryImage"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const SharedGalleryImageVersionList: msRest.CompositeMapper = {
+ serializedName: "SharedGalleryImageVersionList",
+ type: {
+ name: "Composite",
+ className: "SharedGalleryImageVersionList",
+ modelProperties: {
+ value: {
+ required: true,
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SharedGalleryImageVersion"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
export const RoleInstanceListResult: msRest.CompositeMapper = {
serializedName: "RoleInstanceListResult",
type: {
diff --git a/sdk/compute/arm-compute/src/models/parameters.ts b/sdk/compute/arm-compute/src/models/parameters.ts
index 9b890809faa8..03b80db53eb7 100644
--- a/sdk/compute/arm-compute/src/models/parameters.ts
+++ b/sdk/compute/arm-compute/src/models/parameters.ts
@@ -25,7 +25,7 @@ export const apiVersion0: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
- defaultValue: '2020-12-01',
+ defaultValue: '2021-03-01',
type: {
name: "String"
}
@@ -49,7 +49,7 @@ export const apiVersion2: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
- defaultValue: '2019-12-01',
+ defaultValue: '2020-12-01',
type: {
name: "String"
}
@@ -61,7 +61,7 @@ export const apiVersion3: msRest.OperationQueryParameter = {
required: true,
isConstant: true,
serializedName: "api-version",
- defaultValue: '2021-03-01',
+ defaultValue: '2020-09-30',
type: {
name: "String"
}
@@ -248,6 +248,16 @@ export const galleryName: msRest.OperationURLParameter = {
}
}
};
+export const galleryUniqueName: msRest.OperationURLParameter = {
+ parameterPath: "galleryUniqueName",
+ mapper: {
+ required: true,
+ serializedName: "galleryUniqueName",
+ type: {
+ name: "String"
+ }
+ }
+};
export const hostGroupName: msRest.OperationURLParameter = {
parameterPath: "hostGroupName",
mapper: {
@@ -490,6 +500,18 @@ export const select: msRest.OperationQueryParameter = {
}
}
};
+export const sharedTo: msRest.OperationQueryParameter = {
+ parameterPath: [
+ "options",
+ "sharedTo"
+ ],
+ mapper: {
+ serializedName: "sharedTo",
+ type: {
+ name: "String"
+ }
+ }
+};
export const skipShutdown: msRest.OperationQueryParameter = {
parameterPath: [
"options",
diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
index 3a902fd5bb59..af1fe359c945 100644
--- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -144,6 +145,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/sharedGalleriesMappers.ts b/sdk/compute/arm-compute/src/models/sharedGalleriesMappers.ts
new file mode 100644
index 000000000000..ce674aba8515
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/sharedGalleriesMappers.ts
@@ -0,0 +1,26 @@
+/*
+ * 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,
+ Disallowed,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ ImagePurchasePlan,
+ InnerError,
+ PirResource,
+ PirSharedGalleryResource,
+ RecommendedMachineConfiguration,
+ ResourceRange,
+ SharedGallery,
+ SharedGalleryImage,
+ SharedGalleryImageVersion,
+ SharedGalleryList
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/sharedGalleryImageVersionsMappers.ts b/sdk/compute/arm-compute/src/models/sharedGalleryImageVersionsMappers.ts
new file mode 100644
index 000000000000..45b623b19c9d
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/sharedGalleryImageVersionsMappers.ts
@@ -0,0 +1,26 @@
+/*
+ * 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,
+ Disallowed,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ ImagePurchasePlan,
+ InnerError,
+ PirResource,
+ PirSharedGalleryResource,
+ RecommendedMachineConfiguration,
+ ResourceRange,
+ SharedGallery,
+ SharedGalleryImage,
+ SharedGalleryImageVersion,
+ SharedGalleryImageVersionList
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/sharedGalleryImagesMappers.ts b/sdk/compute/arm-compute/src/models/sharedGalleryImagesMappers.ts
new file mode 100644
index 000000000000..b5cecede4fdd
--- /dev/null
+++ b/sdk/compute/arm-compute/src/models/sharedGalleryImagesMappers.ts
@@ -0,0 +1,26 @@
+/*
+ * 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,
+ Disallowed,
+ GalleryImageFeature,
+ GalleryImageIdentifier,
+ ImagePurchasePlan,
+ InnerError,
+ PirResource,
+ PirSharedGalleryResource,
+ RecommendedMachineConfiguration,
+ ResourceRange,
+ SharedGallery,
+ SharedGalleryImage,
+ SharedGalleryImageList,
+ SharedGalleryImageVersion
+} from "../models/mappers";
diff --git a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
index 2e6b6318d1cc..c8e26a5cee79 100644
--- a/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/snapshotsMappers.ts
@@ -78,6 +78,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -140,6 +141,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotList,
diff --git a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
index e3c7968183f8..4931d5bd144d 100644
--- a/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
+++ b/sdk/compute/arm-compute/src/models/sshPublicKeysMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -143,6 +144,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
index a14395e7c2d2..2d73108c915a 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionImagesMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -138,6 +139,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
index f4167538910b..af64a2525e74 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineExtensionsMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -143,6 +144,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts
index a14395e7c2d2..2d73108c915a 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesEdgeZoneMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -138,6 +139,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
index a14395e7c2d2..2d73108c915a 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineImagesMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -138,6 +139,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts
index 00cab85dfb37..7ca3d273c616 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineRunCommandsMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -147,6 +148,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
index 7ff91ec28b71..f17765441275 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetExtensionsMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -138,6 +139,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
index a14395e7c2d2..2d73108c915a 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -138,6 +139,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
index 37912e8e6615..f6942c106851 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMExtensionsMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -138,6 +139,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts
index 803afd1c6c30..f9628e014978 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -143,6 +144,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
index ed598dc1cba8..26aeb541a33e 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetVMsMappers.ts
@@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -141,6 +142,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
index d1278e637520..c10f289f6837 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachineScaleSetsMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -147,6 +148,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
index b034d1699bb3..ada73a637ebf 100644
--- a/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
+++ b/sdk/compute/arm-compute/src/models/virtualMachinesMappers.ts
@@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
+ GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
@@ -148,6 +149,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
+ SharingProfile,
+ SharingProfileGroup,
+ SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts b/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts
index 6f43ef73efb0..30df67369200 100644
--- a/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts
+++ b/sdk/compute/arm-compute/src/operations/cloudServiceOperatingSystems.ts
@@ -223,7 +223,7 @@ const getOSVersionOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -247,7 +247,7 @@ const listOSVersionsOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -272,7 +272,7 @@ const getOSFamilyOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -296,7 +296,7 @@ const listOSFamiliesOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -320,7 +320,7 @@ const listOSVersionsNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -344,7 +344,7 @@ const listOSFamiliesNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts
index 214f94547db5..cc9b279cc80b 100644
--- a/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts
+++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoleInstances.ts
@@ -351,7 +351,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.expand1
],
headerParameters: [
@@ -378,7 +378,7 @@ const getInstanceViewOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -403,7 +403,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.expand1
],
headerParameters: [
@@ -430,7 +430,7 @@ const getRemoteDesktopFileOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -461,7 +461,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -487,7 +487,7 @@ const beginRestartOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -512,7 +512,7 @@ const beginReimageOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -537,7 +537,7 @@ const beginRebuildOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -560,7 +560,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3,
+ Parameters.apiVersion0,
Parameters.expand1
],
headerParameters: [
diff --git a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts
index 113e446db757..3f1c61f1b1c3 100644
--- a/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts
+++ b/sdk/compute/arm-compute/src/operations/cloudServiceRoles.ts
@@ -136,7 +136,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -161,7 +161,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -185,7 +185,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/cloudServices.ts b/sdk/compute/arm-compute/src/operations/cloudServices.ts
index 989841b89abb..bfaf4233d034 100644
--- a/sdk/compute/arm-compute/src/operations/cloudServices.ts
+++ b/sdk/compute/arm-compute/src/operations/cloudServices.ts
@@ -498,7 +498,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -523,7 +523,7 @@ const getInstanceViewOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -546,7 +546,7 @@ const listAllOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -570,7 +570,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -595,7 +595,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -630,7 +630,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -662,7 +662,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -687,7 +687,7 @@ const beginStartOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -711,7 +711,7 @@ const beginPowerOffOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -735,7 +735,7 @@ const beginRestartOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -766,7 +766,7 @@ const beginReimageOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -797,7 +797,7 @@ const beginRebuildOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -828,7 +828,7 @@ const beginDeleteInstancesOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -858,7 +858,7 @@ const listAllNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -882,7 +882,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts
index 1bf654aae4bf..a94026128eda 100644
--- a/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts
+++ b/sdk/compute/arm-compute/src/operations/cloudServicesUpdateDomain.ts
@@ -180,7 +180,7 @@ const getUpdateDomainOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -205,7 +205,7 @@ const listUpdateDomainsOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -231,7 +231,7 @@ const beginWalkUpdateDomainOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
@@ -261,7 +261,7 @@ const listUpdateDomainsNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion3
+ Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/diskAccesses.ts b/sdk/compute/arm-compute/src/operations/diskAccesses.ts
index bfd446be0ca9..e19e6744a1f3 100644
--- a/sdk/compute/arm-compute/src/operations/diskAccesses.ts
+++ b/sdk/compute/arm-compute/src/operations/diskAccesses.ts
@@ -519,7 +519,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -543,7 +543,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -566,7 +566,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -591,7 +591,7 @@ const getPrivateLinkResourcesOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -617,7 +617,7 @@ const getAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec = {
Parameters.privateEndpointConnectionName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -642,7 +642,7 @@ const listPrivateEndpointConnectionsOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -667,7 +667,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -702,7 +702,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -737,7 +737,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.diskAccessName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -763,7 +763,7 @@ const beginUpdateAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec =
Parameters.privateEndpointConnectionName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -799,7 +799,7 @@ const beginDeleteAPrivateEndpointConnectionOperationSpec: msRest.OperationSpec =
Parameters.privateEndpointConnectionName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -823,7 +823,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -847,7 +847,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -871,7 +871,7 @@ const listPrivateEndpointConnectionsNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts
index 36f0371e8c6d..9573d7617337 100644
--- a/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts
+++ b/sdk/compute/arm-compute/src/operations/diskEncryptionSets.ts
@@ -362,7 +362,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -386,7 +386,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -409,7 +409,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -434,7 +434,7 @@ const listAssociatedResourcesOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -459,7 +459,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -494,7 +494,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -529,7 +529,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.diskEncryptionSetName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -553,7 +553,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -577,7 +577,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -601,7 +601,7 @@ const listAssociatedResourcesNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts
index 5289bc4babdf..08ba31dab54a 100644
--- a/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts
+++ b/sdk/compute/arm-compute/src/operations/diskRestorePointOperations.ts
@@ -170,7 +170,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.diskRestorePointName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -196,7 +196,7 @@ const listByRestorePointOperationSpec: msRest.OperationSpec = {
Parameters.vmRestorePointName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -220,7 +220,7 @@ const listByRestorePointNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/disks.ts b/sdk/compute/arm-compute/src/operations/disks.ts
index cbadce631d80..ecc5543e49b3 100644
--- a/sdk/compute/arm-compute/src/operations/disks.ts
+++ b/sdk/compute/arm-compute/src/operations/disks.ts
@@ -363,7 +363,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -387,7 +387,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -410,7 +410,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -435,7 +435,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -470,7 +470,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -505,7 +505,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -530,7 +530,7 @@ const beginGrantAccessOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -563,7 +563,7 @@ const beginRevokeAccessOperationSpec: msRest.OperationSpec = {
Parameters.diskName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -586,7 +586,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -610,7 +610,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleries.ts b/sdk/compute/arm-compute/src/operations/galleries.ts
index d657871311c8..c0cf922219a8 100644
--- a/sdk/compute/arm-compute/src/operations/galleries.ts
+++ b/sdk/compute/arm-compute/src/operations/galleries.ts
@@ -61,7 +61,7 @@ export class Galleries {
* @param [options] The optional parameters
* @returns Promise
*/
- get(resourceGroupName: string, galleryName: string, options?: msRest.RequestOptionsBase): Promise;
+ get(resourceGroupName: string, galleryName: string, options?: Models.GalleriesGetOptionalParams): Promise;
/**
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery.
@@ -74,8 +74,8 @@ export class Galleries {
* @param options The optional parameters
* @param callback The callback
*/
- get(resourceGroupName: string, galleryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- get(resourceGroupName: string, galleryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ get(resourceGroupName: string, galleryName: string, options: Models.GalleriesGetOptionalParams, callback: msRest.ServiceCallback): void;
+ get(resourceGroupName: string, galleryName: string, options?: Models.GalleriesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
resourceGroupName,
@@ -278,7 +278,8 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3,
+ Parameters.select
],
headerParameters: [
Parameters.acceptLanguage
@@ -302,7 +303,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -325,7 +326,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -350,7 +351,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -388,7 +389,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -420,7 +421,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -444,7 +445,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -468,7 +469,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts
index f6fd628b314f..00cb290c934c 100644
--- a/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryApplicationVersions.ts
@@ -302,7 +302,7 @@ const getOperationSpec: msRest.OperationSpec = {
],
queryParameters: [
Parameters.expand0,
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -328,7 +328,7 @@ const listByGalleryApplicationOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -355,7 +355,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationVersionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -395,7 +395,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationVersionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -429,7 +429,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationVersionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -453,7 +453,7 @@ const listByGalleryApplicationNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleryApplications.ts b/sdk/compute/arm-compute/src/operations/galleryApplications.ts
index 0fc2c569f6d9..c98937542377 100644
--- a/sdk/compute/arm-compute/src/operations/galleryApplications.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryApplications.ts
@@ -262,7 +262,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -287,7 +287,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -313,7 +313,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -352,7 +352,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -385,7 +385,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryApplicationName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -409,7 +409,7 @@ const listByGalleryNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts
index d7ac39f74bee..d06c2e45e1b1 100644
--- a/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryImageVersions.ts
@@ -27,15 +27,15 @@ export class GalleryImageVersions {
}
/**
- * Create or update a gallery Image Version.
+ * Create or update a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version is
+ * @param galleryImageName The name of the gallery image definition in which the Image Version is
* to be created.
- * @param galleryImageVersionName The name of the gallery Image Version to be created. Needs to
+ * @param galleryImageVersionName The name of the gallery image version to be created. 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 galleryImageVersion Parameters supplied to the create or update gallery Image Version
+ * @param galleryImageVersion Parameters supplied to the create or update gallery image version
* operation.
* @param [options] The optional parameters
* @returns Promise
@@ -46,15 +46,15 @@ export class GalleryImageVersions {
}
/**
- * Update a gallery Image Version.
+ * Update a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version is
+ * @param galleryImageName The name of the gallery image definition in which the Image Version is
* to be updated.
- * @param galleryImageVersionName The name of the gallery Image Version to be updated. Needs to
+ * @param galleryImageVersionName The name of the gallery image version to be updated. 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 galleryImageVersion Parameters supplied to the update gallery Image Version operation.
+ * @param galleryImageVersion Parameters supplied to the update gallery image version operation.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -64,12 +64,12 @@ export class GalleryImageVersions {
}
/**
- * Retrieves information about a gallery Image Version.
+ * Retrieves information about a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version
+ * @param galleryImageName The name of the gallery image definition in which the Image Version
* resides.
- * @param galleryImageVersionName The name of the gallery Image Version to be retrieved.
+ * @param galleryImageVersionName The name of the gallery image version to be retrieved.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -77,18 +77,18 @@ export class GalleryImageVersions {
/**
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version
+ * @param galleryImageName The name of the gallery image definition in which the Image Version
* resides.
- * @param galleryImageVersionName The name of the gallery Image Version to be retrieved.
+ * @param galleryImageVersionName The name of the gallery image version to be retrieved.
* @param callback The callback
*/
get(resourceGroupName: string, galleryName: string, galleryImageName: string, galleryImageVersionName: string, callback: msRest.ServiceCallback): void;
/**
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version
+ * @param galleryImageName The name of the gallery image definition in which the Image Version
* resides.
- * @param galleryImageVersionName The name of the gallery Image Version to be retrieved.
+ * @param galleryImageVersionName The name of the gallery image version to be retrieved.
* @param options The optional parameters
* @param callback The callback
*/
@@ -107,12 +107,12 @@ export class GalleryImageVersions {
}
/**
- * Delete a gallery Image Version.
+ * Delete a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version
+ * @param galleryImageName The name of the gallery image definition in which the Image Version
* resides.
- * @param galleryImageVersionName The name of the gallery Image Version to be deleted.
+ * @param galleryImageVersionName The name of the gallery image version to be deleted.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -122,7 +122,7 @@ export class GalleryImageVersions {
}
/**
- * List gallery Image Versions in a gallery Image Definition.
+ * List gallery image versions in a gallery image definition.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
* @param galleryImageName The name of the Shared Image Gallery Image Definition from which the
@@ -161,15 +161,15 @@ export class GalleryImageVersions {
}
/**
- * Create or update a gallery Image Version.
+ * Create or update a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version is
+ * @param galleryImageName The name of the gallery image definition in which the Image Version is
* to be created.
- * @param galleryImageVersionName The name of the gallery Image Version to be created. Needs to
+ * @param galleryImageVersionName The name of the gallery image version to be created. 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 galleryImageVersion Parameters supplied to the create or update gallery Image Version
+ * @param galleryImageVersion Parameters supplied to the create or update gallery image version
* operation.
* @param [options] The optional parameters
* @returns Promise
@@ -189,15 +189,15 @@ export class GalleryImageVersions {
}
/**
- * Update a gallery Image Version.
+ * Update a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version is
+ * @param galleryImageName The name of the gallery image definition in which the Image Version is
* to be updated.
- * @param galleryImageVersionName The name of the gallery Image Version to be updated. Needs to
+ * @param galleryImageVersionName The name of the gallery image version to be updated. 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 galleryImageVersion Parameters supplied to the update gallery Image Version operation.
+ * @param galleryImageVersion Parameters supplied to the update gallery image version operation.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -216,12 +216,12 @@ export class GalleryImageVersions {
}
/**
- * Delete a gallery Image Version.
+ * Delete a gallery image version.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition resides.
- * @param galleryImageName The name of the gallery Image Definition in which the Image Version
+ * @param galleryImageName The name of the gallery image definition in which the Image Version
* resides.
- * @param galleryImageVersionName The name of the gallery Image Version to be deleted.
+ * @param galleryImageVersionName The name of the gallery image version to be deleted.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -239,7 +239,7 @@ export class GalleryImageVersions {
}
/**
- * List gallery Image Versions in a gallery Image Definition.
+ * List gallery image versions in a gallery image definition.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise
@@ -281,7 +281,7 @@ const getOperationSpec: msRest.OperationSpec = {
],
queryParameters: [
Parameters.expand0,
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -307,7 +307,7 @@ const listByGalleryImageOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -334,7 +334,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageVersionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -374,7 +374,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageVersionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -408,7 +408,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageVersionName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -432,7 +432,7 @@ const listByGalleryImageNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/galleryImages.ts b/sdk/compute/arm-compute/src/operations/galleryImages.ts
index eb0ec34ff595..ff28c14c9530 100644
--- a/sdk/compute/arm-compute/src/operations/galleryImages.ts
+++ b/sdk/compute/arm-compute/src/operations/galleryImages.ts
@@ -27,11 +27,11 @@ export class GalleryImages {
}
/**
- * Create or update a gallery Image Definition.
+ * Create or update a gallery image definition.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
* created.
- * @param galleryImageName The name of the gallery Image Definition to be created or updated. The
+ * @param galleryImageName The name of the gallery image definition to be created or updated. The
* allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the
* middle. The maximum length is 80 characters.
* @param galleryImage Parameters supplied to the create or update gallery image operation.
@@ -44,11 +44,11 @@ export class GalleryImages {
}
/**
- * Update a gallery Image Definition.
+ * Update a gallery image definition.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
* updated.
- * @param galleryImageName The name of the gallery Image Definition to be updated. The allowed
+ * @param galleryImageName The name of the gallery image definition to be updated. The allowed
* characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The
* maximum length is 80 characters.
* @param galleryImage Parameters supplied to the update gallery image operation.
@@ -61,11 +61,11 @@ export class GalleryImages {
}
/**
- * Retrieves information about a gallery Image Definition.
+ * Retrieves information about a gallery image definition.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery from which the Image Definitions are to
* be retrieved.
- * @param galleryImageName The name of the gallery Image Definition to be retrieved.
+ * @param galleryImageName The name of the gallery image definition to be retrieved.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -74,7 +74,7 @@ export class GalleryImages {
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery from which the Image Definitions are to
* be retrieved.
- * @param galleryImageName The name of the gallery Image Definition to be retrieved.
+ * @param galleryImageName The name of the gallery image definition to be retrieved.
* @param callback The callback
*/
get(resourceGroupName: string, galleryName: string, galleryImageName: string, callback: msRest.ServiceCallback): void;
@@ -82,7 +82,7 @@ export class GalleryImages {
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery from which the Image Definitions are to
* be retrieved.
- * @param galleryImageName The name of the gallery Image Definition to be retrieved.
+ * @param galleryImageName The name of the gallery image definition to be retrieved.
* @param options The optional parameters
* @param callback The callback
*/
@@ -104,7 +104,7 @@ export class GalleryImages {
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
* deleted.
- * @param galleryImageName The name of the gallery Image Definition to be deleted.
+ * @param galleryImageName The name of the gallery image definition to be deleted.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -114,7 +114,7 @@ export class GalleryImages {
}
/**
- * List gallery Image Definitions in a gallery.
+ * List gallery image definitions in a gallery.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery from which Image Definitions are to be
* listed.
@@ -149,11 +149,11 @@ export class GalleryImages {
}
/**
- * Create or update a gallery Image Definition.
+ * Create or update a gallery image definition.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
* created.
- * @param galleryImageName The name of the gallery Image Definition to be created or updated. The
+ * @param galleryImageName The name of the gallery image definition to be created or updated. The
* allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the
* middle. The maximum length is 80 characters.
* @param galleryImage Parameters supplied to the create or update gallery image operation.
@@ -174,11 +174,11 @@ export class GalleryImages {
}
/**
- * Update a gallery Image Definition.
+ * Update a gallery image definition.
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
* updated.
- * @param galleryImageName The name of the gallery Image Definition to be updated. The allowed
+ * @param galleryImageName The name of the gallery image definition to be updated. The allowed
* characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The
* maximum length is 80 characters.
* @param galleryImage Parameters supplied to the update gallery image operation.
@@ -203,7 +203,7 @@ export class GalleryImages {
* @param resourceGroupName The name of the resource group.
* @param galleryName The name of the Shared Image Gallery in which the Image Definition is to be
* deleted.
- * @param galleryImageName The name of the gallery Image Definition to be deleted.
+ * @param galleryImageName The name of the gallery image definition to be deleted.
* @param [options] The optional parameters
* @returns Promise
*/
@@ -220,7 +220,7 @@ export class GalleryImages {
}
/**
- * List gallery Image Definitions in a gallery.
+ * List gallery image definitions in a gallery.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise
@@ -260,7 +260,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -285,7 +285,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -311,7 +311,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -350,7 +350,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -383,7 +383,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
@@ -407,7 +407,7 @@ const listByGalleryNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion2
+ Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
diff --git a/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts b/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts
new file mode 100644
index 000000000000..8707b78f4968
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/gallerySharingProfile.ts
@@ -0,0 +1,98 @@
+/*
+ * 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 msRestAzure from "@azure/ms-rest-azure-js";
+import * as Models from "../models";
+import * as Mappers from "../models/gallerySharingProfileMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a GallerySharingProfile. */
+export class GallerySharingProfile {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a GallerySharingProfile.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * Update sharing profile of a gallery.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Image Gallery.
+ * @param sharingUpdate Parameters supplied to the update gallery sharing profile.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ update(resourceGroupName: string, galleryName: string, sharingUpdate: Models.SharingUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.beginUpdate(resourceGroupName,galleryName,sharingUpdate,options)
+ .then(lroPoller => lroPoller.pollUntilFinished()) as Promise;
+ }
+
+ /**
+ * Update sharing profile of a gallery.
+ * @param resourceGroupName The name of the resource group.
+ * @param galleryName The name of the Shared Image Gallery.
+ * @param sharingUpdate Parameters supplied to the update gallery sharing profile.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ beginUpdate(resourceGroupName: string, galleryName: string, sharingUpdate: Models.SharingUpdate, options?: msRest.RequestOptionsBase): Promise {
+ return this.client.sendLRORequest(
+ {
+ resourceGroupName,
+ galleryName,
+ sharingUpdate,
+ options
+ },
+ beginUpdateOperationSpec,
+ options);
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const beginUpdateOperationSpec: msRest.OperationSpec = {
+ httpMethod: "POST",
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/share",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.resourceGroupName,
+ Parameters.galleryName
+ ],
+ queryParameters: [
+ Parameters.apiVersion3
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "sharingUpdate",
+ mapper: {
+ ...Mappers.SharingUpdate,
+ required: true
+ }
+ },
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharingUpdate
+ },
+ 202: {
+ bodyMapper: Mappers.SharingUpdate
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/index.ts b/sdk/compute/arm-compute/src/operations/index.ts
index 10091beec86b..0366a5e3f74c 100644
--- a/sdk/compute/arm-compute/src/operations/index.ts
+++ b/sdk/compute/arm-compute/src/operations/index.ts
@@ -40,6 +40,10 @@ export * from "./galleryImages";
export * from "./galleryImageVersions";
export * from "./galleryApplications";
export * from "./galleryApplicationVersions";
+export * from "./gallerySharingProfile";
+export * from "./sharedGalleries";
+export * from "./sharedGalleryImages";
+export * from "./sharedGalleryImageVersions";
export * from "./cloudServiceRoleInstances";
export * from "./cloudServiceRoles";
export * from "./cloudServices";
diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleries.ts b/sdk/compute/arm-compute/src/operations/sharedGalleries.ts
new file mode 100644
index 000000000000..130870bcc711
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/sharedGalleries.ts
@@ -0,0 +1,192 @@
+/*
+ * 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/sharedGalleriesMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a SharedGalleries. */
+export class SharedGalleries {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a SharedGalleries.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * List shared galleries by subscription id or tenant id.
+ * @param location Resource location.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(location: string, options?: Models.SharedGalleriesListOptionalParams): Promise;
+ /**
+ * @param location Resource location.
+ * @param callback The callback
+ */
+ list(location: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(location: string, options: Models.SharedGalleriesListOptionalParams, callback: msRest.ServiceCallback): void;
+ list(location: string, options?: Models.SharedGalleriesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Get a shared gallery by subscription id or tenant id.
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(location: string, galleryUniqueName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param callback The callback
+ */
+ get(location: string, galleryUniqueName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(location: string, galleryUniqueName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(location: string, galleryUniqueName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ galleryUniqueName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * List shared galleries by subscription id or tenant id.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, options?: Models.SharedGalleriesListNextOptionalParams): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, options: Models.SharedGalleriesListNextOptionalParams, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, options?: Models.SharedGalleriesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0
+ ],
+ queryParameters: [
+ Parameters.apiVersion3,
+ Parameters.sharedTo
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.galleryUniqueName
+ ],
+ queryParameters: [
+ Parameters.apiVersion3
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGallery
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion3,
+ Parameters.sharedTo
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts b/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts
new file mode 100644
index 000000000000..b525cc524e01
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/sharedGalleryImageVersions.ts
@@ -0,0 +1,224 @@
+/*
+ * 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/sharedGalleryImageVersionsMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a SharedGalleryImageVersions. */
+export class SharedGalleryImageVersions {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a SharedGalleryImageVersions.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * List shared gallery image versions by subscription id or tenant id.
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(location: string, galleryUniqueName: string, galleryImageName: string, options?: Models.SharedGalleryImageVersionsListOptionalParams): Promise;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param callback The callback
+ */
+ list(location: string, galleryUniqueName: string, galleryImageName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(location: string, galleryUniqueName: string, galleryImageName: string, options: Models.SharedGalleryImageVersionsListOptionalParams, callback: msRest.ServiceCallback): void;
+ list(location: string, galleryUniqueName: string, galleryImageName: string, options?: Models.SharedGalleryImageVersionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ galleryUniqueName,
+ galleryImageName,
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Get a shared gallery image version by subscription id or tenant id.
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param galleryImageVersionName The name of the gallery image version to be created. 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, galleryUniqueName: string, galleryImageName: string, galleryImageVersionName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param galleryImageVersionName The name of the gallery image version to be created. 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, galleryUniqueName: string, galleryImageName: string, galleryImageVersionName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param galleryImageVersionName The name of the gallery image version to be created. 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, galleryUniqueName: string, galleryImageName: string, galleryImageVersionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(location: string, galleryUniqueName: string, galleryImageName: string, galleryImageVersionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ galleryUniqueName,
+ galleryImageName,
+ galleryImageVersionName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * List shared gallery image versions by subscription id or tenant id.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, options?: Models.SharedGalleryImageVersionsListNextOptionalParams): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, options: Models.SharedGalleryImageVersionsListNextOptionalParams, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, options?: Models.SharedGalleryImageVersionsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.galleryUniqueName,
+ Parameters.galleryImageName
+ ],
+ queryParameters: [
+ Parameters.apiVersion3,
+ Parameters.sharedTo
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryImageVersionList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.galleryUniqueName,
+ Parameters.galleryImageName,
+ Parameters.galleryImageVersionName
+ ],
+ queryParameters: [
+ Parameters.apiVersion3
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryImageVersion
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion3,
+ Parameters.sharedTo
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryImageVersionList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts b/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts
new file mode 100644
index 000000000000..de7328480938
--- /dev/null
+++ b/sdk/compute/arm-compute/src/operations/sharedGalleryImages.ts
@@ -0,0 +1,205 @@
+/*
+ * 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/sharedGalleryImagesMappers";
+import * as Parameters from "../models/parameters";
+import { ComputeManagementClientContext } from "../computeManagementClientContext";
+
+/** Class representing a SharedGalleryImages. */
+export class SharedGalleryImages {
+ private readonly client: ComputeManagementClientContext;
+
+ /**
+ * Create a SharedGalleryImages.
+ * @param {ComputeManagementClientContext} client Reference to the service client.
+ */
+ constructor(client: ComputeManagementClientContext) {
+ this.client = client;
+ }
+
+ /**
+ * List shared gallery images by subscription id or tenant id.
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ list(location: string, galleryUniqueName: string, options?: Models.SharedGalleryImagesListOptionalParams): Promise;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param callback The callback
+ */
+ list(location: string, galleryUniqueName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ list(location: string, galleryUniqueName: string, options: Models.SharedGalleryImagesListOptionalParams, callback: msRest.ServiceCallback): void;
+ list(location: string, galleryUniqueName: string, options?: Models.SharedGalleryImagesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ galleryUniqueName,
+ options
+ },
+ listOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * Get a shared gallery image by subscription id or tenant id.
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ get(location: string, galleryUniqueName: string, galleryImageName: string, options?: msRest.RequestOptionsBase): Promise;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param callback The callback
+ */
+ get(location: string, galleryUniqueName: string, galleryImageName: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param location Resource location.
+ * @param galleryUniqueName The unique name of the Shared Gallery.
+ * @param galleryImageName The name of the Shared Gallery Image Definition from which the Image
+ * Versions are to be listed.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ get(location: string, galleryUniqueName: string, galleryImageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ get(location: string, galleryUniqueName: string, galleryImageName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ location,
+ galleryUniqueName,
+ galleryImageName,
+ options
+ },
+ getOperationSpec,
+ callback) as Promise;
+ }
+
+ /**
+ * List shared gallery images by subscription id or tenant id.
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ listNext(nextPageLink: string, options?: Models.SharedGalleryImagesListNextOptionalParams): Promise;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, callback: msRest.ServiceCallback): void;
+ /**
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param options The optional parameters
+ * @param callback The callback
+ */
+ listNext(nextPageLink: string, options: Models.SharedGalleryImagesListNextOptionalParams, callback: msRest.ServiceCallback): void;
+ listNext(nextPageLink: string, options?: Models.SharedGalleryImagesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ return this.client.sendOperationRequest(
+ {
+ nextPageLink,
+ options
+ },
+ listNextOperationSpec,
+ callback) as Promise;
+ }
+}
+
+// Operation Specifications
+const serializer = new msRest.Serializer(Mappers);
+const listOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.galleryUniqueName
+ ],
+ queryParameters: [
+ Parameters.apiVersion3,
+ Parameters.sharedTo
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryImageList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const getOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}",
+ urlParameters: [
+ Parameters.subscriptionId,
+ Parameters.location0,
+ Parameters.galleryUniqueName,
+ Parameters.galleryImageName
+ ],
+ queryParameters: [
+ Parameters.apiVersion3
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryImage
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
+
+const listNextOperationSpec: msRest.OperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ Parameters.nextPageLink
+ ],
+ queryParameters: [
+ Parameters.apiVersion3,
+ Parameters.sharedTo
+ ],
+ headerParameters: [
+ Parameters.acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Mappers.SharedGalleryImageList
+ },
+ default: {
+ bodyMapper: Mappers.CloudError
+ }
+ },
+ serializer
+};
diff --git a/sdk/compute/arm-compute/src/operations/snapshots.ts b/sdk/compute/arm-compute/src/operations/snapshots.ts
index 200b9e72c3c3..748f68b8c09d 100644
--- a/sdk/compute/arm-compute/src/operations/snapshots.ts
+++ b/sdk/compute/arm-compute/src/operations/snapshots.ts
@@ -365,7 +365,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -389,7 +389,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -412,7 +412,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -437,7 +437,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -472,7 +472,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -507,7 +507,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -532,7 +532,7 @@ const beginGrantAccessOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -565,7 +565,7 @@ const beginRevokeAccessOperationSpec: msRest.OperationSpec = {
Parameters.snapshotName
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -588,7 +588,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage
@@ -612,7 +612,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
Parameters.nextPageLink
],
queryParameters: [
- Parameters.apiVersion0
+ Parameters.apiVersion2
],
headerParameters: [
Parameters.acceptLanguage