Skip to content

Commit

Permalink
CodeGen from PR 14232 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 238790cfd6d385ff4def56039c34c3d1249ee9e0 into f75162dc13d19a06ddf5eeea3186dd3dbef1c05e
  • Loading branch information
SDKAuto committed May 4, 2021
1 parent 0b9d82b commit 242336d
Show file tree
Hide file tree
Showing 58 changed files with 2,344 additions and 217 deletions.
8 changes: 8 additions & 0 deletions sdk/compute/arm-compute/src/computeManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down
6 changes: 3 additions & 3 deletions sdk/compute/arm-compute/src/computeManagementClientContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
}
Expand All @@ -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;
}
}
Expand Down
4 changes: 4 additions & 0 deletions sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
Expand Down Expand Up @@ -144,6 +145,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
Expand Down Expand Up @@ -145,6 +146,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
4 changes: 4 additions & 0 deletions sdk/compute/arm-compute/src/models/cloudServicesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
Expand Down Expand Up @@ -144,6 +145,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
Expand Down Expand Up @@ -144,6 +145,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
4 changes: 4 additions & 0 deletions sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
Expand Down Expand Up @@ -144,6 +145,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
4 changes: 4 additions & 0 deletions sdk/compute/arm-compute/src/models/diskAccessesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
Expand Down Expand Up @@ -143,6 +144,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
Expand Down Expand Up @@ -141,6 +142,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
4 changes: 4 additions & 0 deletions sdk/compute/arm-compute/src/models/disksMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
Expand Down Expand Up @@ -142,6 +143,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
4 changes: 4 additions & 0 deletions sdk/compute/arm-compute/src/models/galleriesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
Expand Down Expand Up @@ -139,6 +140,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
Expand Down Expand Up @@ -139,6 +140,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
Expand Down Expand Up @@ -139,6 +140,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageUpdate,
GalleryImageVersion,
Expand Down Expand Up @@ -139,6 +140,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
4 changes: 4 additions & 0 deletions sdk/compute/arm-compute/src/models/galleryImagesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export {
GalleryDiskImage,
GalleryIdentifier,
GalleryImage,
GalleryImageFeature,
GalleryImageIdentifier,
GalleryImageList,
GalleryImageUpdate,
Expand Down Expand Up @@ -139,6 +140,9 @@ export {
ScheduledEventsProfile,
SecurityProfile,
ShareInfoElement,
SharingProfile,
SharingProfileGroup,
SharingUpdate,
Sku,
Snapshot,
SnapshotSku,
Expand Down
Loading

0 comments on commit 242336d

Please sign in to comment.