Skip to content

Commit 20b46d6

Browse files
author
SDKAuto
committed
CodeGen from PR 11184 in Azure/azure-rest-api-specs
Merge 8a9920dcd2e71224e6d6d408280d8e4e0dd4bce3 into 69ce32ccff33bd1950e705f51eccff5e77dcc1ce
1 parent 7a5c2bd commit 20b46d6

File tree

80 files changed

+3682
-284
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+3682
-284
lines changed

sdk/compute/arm-compute/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install @azure/arm-compute
1515

1616
### How to use
1717

18-
#### nodejs - Authentication, client creation and list operations as an example written in TypeScript.
18+
#### nodejs - client creation and list operations as an example written in TypeScript.
1919

2020
##### Install @azure/ms-rest-nodeauth
2121

@@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0"
2626

2727
##### Sample code
2828

29+
While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
2930
```typescript
30-
import * as msRest from "@azure/ms-rest-js";
31-
import * as msRestAzure from "@azure/ms-rest-azure-js";
32-
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
33-
import { ComputeManagementClient, ComputeManagementModels, ComputeManagementMappers } from "@azure/arm-compute";
31+
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
32+
const { ComputeManagementClient } = require("@azure/arm-compute");
3433
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
3534

3635
msRestNodeAuth.interactiveLogin().then((creds) => {

sdk/compute/arm-compute/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const config = {
2121
"@azure/ms-rest-azure-js": "msRestAzure"
2222
},
2323
banner: `/*
24-
* Copyright (c) Microsoft Corporation. All rights reserved.
25-
* Licensed under the MIT License. See License.txt in the project root for license information.
24+
* Copyright (c) Microsoft Corporation.
25+
* Licensed under the MIT License.
2626
*
2727
* Code generated by Microsoft (R) AutoRest Code Generator.
2828
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/compute/arm-compute/src/computeManagementClient.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for
4-
* license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
54
*
65
* Code generated by Microsoft (R) AutoRest Code Generator.
76
* Changes may cause incorrect behavior and will be lost if the code is
@@ -26,6 +25,7 @@ class ComputeManagementClient extends ComputeManagementClientContext {
2625
virtualMachineExtensionImages: operations.VirtualMachineExtensionImages;
2726
virtualMachineExtensions: operations.VirtualMachineExtensions;
2827
virtualMachineImages: operations.VirtualMachineImages;
28+
virtualMachineImagesEdgeZone: operations.VirtualMachineImagesEdgeZone;
2929
usage: operations.UsageOperations;
3030
virtualMachines: operations.VirtualMachines;
3131
virtualMachineSizes: operations.VirtualMachineSizes;
@@ -47,6 +47,10 @@ class ComputeManagementClient extends ComputeManagementClientContext {
4747
galleryImageVersions: operations.GalleryImageVersions;
4848
galleryApplications: operations.GalleryApplications;
4949
galleryApplicationVersions: operations.GalleryApplicationVersions;
50+
gallerySharingProfile: operations.GallerySharingProfile;
51+
sharedGalleries: operations.SharedGalleries;
52+
sharedGalleryImages: operations.SharedGalleryImages;
53+
sharedGalleryImageVersions: operations.SharedGalleryImageVersions;
5054
containerServices: operations.ContainerServices;
5155

5256
/**
@@ -67,6 +71,7 @@ class ComputeManagementClient extends ComputeManagementClientContext {
6771
this.virtualMachineExtensionImages = new operations.VirtualMachineExtensionImages(this);
6872
this.virtualMachineExtensions = new operations.VirtualMachineExtensions(this);
6973
this.virtualMachineImages = new operations.VirtualMachineImages(this);
74+
this.virtualMachineImagesEdgeZone = new operations.VirtualMachineImagesEdgeZone(this);
7075
this.usage = new operations.UsageOperations(this);
7176
this.virtualMachines = new operations.VirtualMachines(this);
7277
this.virtualMachineSizes = new operations.VirtualMachineSizes(this);
@@ -88,6 +93,10 @@ class ComputeManagementClient extends ComputeManagementClientContext {
8893
this.galleryImageVersions = new operations.GalleryImageVersions(this);
8994
this.galleryApplications = new operations.GalleryApplications(this);
9095
this.galleryApplicationVersions = new operations.GalleryApplicationVersions(this);
96+
this.gallerySharingProfile = new operations.GallerySharingProfile(this);
97+
this.sharedGalleries = new operations.SharedGalleries(this);
98+
this.sharedGalleryImages = new operations.SharedGalleryImages(this);
99+
this.sharedGalleryImageVersions = new operations.SharedGalleryImageVersions(this);
91100
this.containerServices = new operations.ContainerServices(this);
92101
}
93102
}

sdk/compute/arm-compute/src/computeManagementClientContext.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for
4-
* license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
54
*
65
* Code generated by Microsoft (R) AutoRest Code Generator.
76
* Changes may cause incorrect behavior and will be lost if the code is

sdk/compute/arm-compute/src/models/availabilitySetsMappers.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -12,6 +12,7 @@ export {
1212
ApiEntityReference,
1313
ApiError,
1414
ApiErrorBase,
15+
ApplicationProfile,
1516
AutomaticOSUpgradePolicy,
1617
AutomaticOSUpgradeProperties,
1718
AutomaticRepairsPolicy,
@@ -66,6 +67,7 @@ export {
6667
EncryptionSetIdentity,
6768
EncryptionSettingsCollection,
6869
EncryptionSettingsElement,
70+
ExtendedLocation,
6971
Gallery,
7072
GalleryApplication,
7173
GalleryApplicationUpdate,
@@ -78,6 +80,7 @@ export {
7880
GalleryDiskImage,
7981
GalleryIdentifier,
8082
GalleryImage,
83+
GalleryImageFeature,
8184
GalleryImageIdentifier,
8285
GalleryImageUpdate,
8386
GalleryImageVersion,
@@ -133,6 +136,9 @@ export {
133136
ScheduledEventsProfile,
134137
SecurityProfile,
135138
ShareInfoElement,
139+
SharingProfile,
140+
SharingProfileGroup,
141+
SharingUpdate,
136142
Sku,
137143
Snapshot,
138144
SnapshotSku,
@@ -204,6 +210,7 @@ export {
204210
VirtualMachineSize,
205211
VirtualMachineSizeListResult,
206212
VirtualMachineUpdate,
213+
VMGalleryApplication,
207214
WindowsConfiguration,
208215
WinRMConfiguration,
209216
WinRMListener

sdk/compute/arm-compute/src/models/containerServicesMappers.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -12,6 +12,7 @@ export {
1212
ApiEntityReference,
1313
ApiError,
1414
ApiErrorBase,
15+
ApplicationProfile,
1516
AutomaticOSUpgradePolicy,
1617
AutomaticOSUpgradeProperties,
1718
AutomaticRepairsPolicy,
@@ -63,6 +64,7 @@ export {
6364
EncryptionSetIdentity,
6465
EncryptionSettingsCollection,
6566
EncryptionSettingsElement,
67+
ExtendedLocation,
6668
Gallery,
6769
GalleryApplication,
6870
GalleryApplicationUpdate,
@@ -75,6 +77,7 @@ export {
7577
GalleryDiskImage,
7678
GalleryIdentifier,
7779
GalleryImage,
80+
GalleryImageFeature,
7881
GalleryImageIdentifier,
7982
GalleryImageUpdate,
8083
GalleryImageVersion,
@@ -128,6 +131,9 @@ export {
128131
ScheduledEventsProfile,
129132
SecurityProfile,
130133
ShareInfoElement,
134+
SharingProfile,
135+
SharingProfileGroup,
136+
SharingUpdate,
131137
Sku,
132138
Snapshot,
133139
SnapshotSku,
@@ -187,6 +193,7 @@ export {
187193
VirtualMachineScaleSetVMNetworkProfileConfiguration,
188194
VirtualMachineScaleSetVMProfile,
189195
VirtualMachineScaleSetVMProtectionPolicy,
196+
VMGalleryApplication,
190197
WindowsConfiguration,
191198
WinRMConfiguration,
192199
WinRMListener

sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -12,6 +12,7 @@ export {
1212
ApiEntityReference,
1313
ApiError,
1414
ApiErrorBase,
15+
ApplicationProfile,
1516
AutomaticOSUpgradePolicy,
1617
AutomaticOSUpgradeProperties,
1718
AutomaticRepairsPolicy,
@@ -66,6 +67,7 @@ export {
6667
EncryptionSetIdentity,
6768
EncryptionSettingsCollection,
6869
EncryptionSettingsElement,
70+
ExtendedLocation,
6971
Gallery,
7072
GalleryApplication,
7173
GalleryApplicationUpdate,
@@ -78,6 +80,7 @@ export {
7880
GalleryDiskImage,
7981
GalleryIdentifier,
8082
GalleryImage,
83+
GalleryImageFeature,
8184
GalleryImageIdentifier,
8285
GalleryImageUpdate,
8386
GalleryImageVersion,
@@ -133,6 +136,9 @@ export {
133136
ScheduledEventsProfile,
134137
SecurityProfile,
135138
ShareInfoElement,
139+
SharingProfile,
140+
SharingProfileGroup,
141+
SharingUpdate,
136142
Sku,
137143
Snapshot,
138144
SnapshotSku,
@@ -202,6 +208,7 @@ export {
202208
VirtualMachineScaleSetVMProfile,
203209
VirtualMachineScaleSetVMProtectionPolicy,
204210
VirtualMachineUpdate,
211+
VMGalleryApplication,
205212
WindowsConfiguration,
206213
WinRMConfiguration,
207214
WinRMListener

sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -12,6 +12,7 @@ export {
1212
ApiEntityReference,
1313
ApiError,
1414
ApiErrorBase,
15+
ApplicationProfile,
1516
AutomaticOSUpgradePolicy,
1617
AutomaticOSUpgradeProperties,
1718
AutomaticRepairsPolicy,
@@ -66,6 +67,7 @@ export {
6667
EncryptionSetIdentity,
6768
EncryptionSettingsCollection,
6869
EncryptionSettingsElement,
70+
ExtendedLocation,
6971
Gallery,
7072
GalleryApplication,
7173
GalleryApplicationUpdate,
@@ -78,6 +80,7 @@ export {
7880
GalleryDiskImage,
7981
GalleryIdentifier,
8082
GalleryImage,
83+
GalleryImageFeature,
8184
GalleryImageIdentifier,
8285
GalleryImageUpdate,
8386
GalleryImageVersion,
@@ -133,6 +136,9 @@ export {
133136
ScheduledEventsProfile,
134137
SecurityProfile,
135138
ShareInfoElement,
139+
SharingProfile,
140+
SharingProfileGroup,
141+
SharingUpdate,
136142
Sku,
137143
Snapshot,
138144
SnapshotSku,
@@ -202,6 +208,7 @@ export {
202208
VirtualMachineScaleSetVMProfile,
203209
VirtualMachineScaleSetVMProtectionPolicy,
204210
VirtualMachineUpdate,
211+
VMGalleryApplication,
205212
WindowsConfiguration,
206213
WinRMConfiguration,
207214
WinRMListener

sdk/compute/arm-compute/src/models/diskAccessesMappers.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -12,6 +12,7 @@ export {
1212
ApiEntityReference,
1313
ApiError,
1414
ApiErrorBase,
15+
ApplicationProfile,
1516
AutomaticOSUpgradePolicy,
1617
AutomaticOSUpgradeProperties,
1718
AutomaticRepairsPolicy,
@@ -64,6 +65,7 @@ export {
6465
EncryptionSetIdentity,
6566
EncryptionSettingsCollection,
6667
EncryptionSettingsElement,
68+
ExtendedLocation,
6769
Gallery,
6870
GalleryApplication,
6971
GalleryApplicationUpdate,
@@ -76,6 +78,7 @@ export {
7678
GalleryDiskImage,
7779
GalleryIdentifier,
7880
GalleryImage,
81+
GalleryImageFeature,
7982
GalleryImageIdentifier,
8083
GalleryImageUpdate,
8184
GalleryImageVersion,
@@ -131,6 +134,9 @@ export {
131134
ScheduledEventsProfile,
132135
SecurityProfile,
133136
ShareInfoElement,
137+
SharingProfile,
138+
SharingProfileGroup,
139+
SharingUpdate,
134140
Sku,
135141
Snapshot,
136142
SnapshotSku,
@@ -190,6 +196,7 @@ export {
190196
VirtualMachineScaleSetVMNetworkProfileConfiguration,
191197
VirtualMachineScaleSetVMProfile,
192198
VirtualMachineScaleSetVMProtectionPolicy,
199+
VMGalleryApplication,
193200
WindowsConfiguration,
194201
WinRMConfiguration,
195202
WinRMListener

sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -12,6 +12,7 @@ export {
1212
ApiEntityReference,
1313
ApiError,
1414
ApiErrorBase,
15+
ApplicationProfile,
1516
AutomaticOSUpgradePolicy,
1617
AutomaticOSUpgradeProperties,
1718
AutomaticRepairsPolicy,
@@ -64,6 +65,7 @@ export {
6465
EncryptionSetIdentity,
6566
EncryptionSettingsCollection,
6667
EncryptionSettingsElement,
68+
ExtendedLocation,
6769
Gallery,
6870
GalleryApplication,
6971
GalleryApplicationUpdate,
@@ -76,6 +78,7 @@ export {
7678
GalleryDiskImage,
7779
GalleryIdentifier,
7880
GalleryImage,
81+
GalleryImageFeature,
7982
GalleryImageIdentifier,
8083
GalleryImageUpdate,
8184
GalleryImageVersion,
@@ -130,6 +133,9 @@ export {
130133
ScheduledEventsProfile,
131134
SecurityProfile,
132135
ShareInfoElement,
136+
SharingProfile,
137+
SharingProfileGroup,
138+
SharingUpdate,
133139
Sku,
134140
Snapshot,
135141
SnapshotSku,
@@ -189,6 +195,7 @@ export {
189195
VirtualMachineScaleSetVMNetworkProfileConfiguration,
190196
VirtualMachineScaleSetVMProfile,
191197
VirtualMachineScaleSetVMProtectionPolicy,
198+
VMGalleryApplication,
192199
WindowsConfiguration,
193200
WinRMConfiguration,
194201
WinRMListener

0 commit comments

Comments
 (0)