Skip to content

Commit 93a40af

Browse files
author
SDK Automation
committed
Generated from 73677f19181157fb0c154a084922a92fa6b528cd
1 parent be84b9f commit 93a40af

File tree

80 files changed

+5324
-474
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

+5324
-474
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
@@ -37,6 +36,7 @@ class ComputeManagementClient extends ComputeManagementClientContext {
3736
virtualMachineScaleSetVMs: operations.VirtualMachineScaleSetVMs;
3837
logAnalytics: operations.LogAnalytics;
3938
virtualMachineRunCommands: operations.VirtualMachineRunCommands;
39+
virtualMachineScaleSetVMRunCommands: operations.VirtualMachineScaleSetVMRunCommands;
4040
resourceSkus: operations.ResourceSkus;
4141
disks: operations.Disks;
4242
snapshots: operations.Snapshots;
@@ -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
/**
@@ -78,6 +82,7 @@ class ComputeManagementClient extends ComputeManagementClientContext {
7882
this.virtualMachineScaleSetVMs = new operations.VirtualMachineScaleSetVMs(this);
7983
this.logAnalytics = new operations.LogAnalytics(this);
8084
this.virtualMachineRunCommands = new operations.VirtualMachineRunCommands(this);
85+
this.virtualMachineScaleSetVMRunCommands = new operations.VirtualMachineScaleSetVMRunCommands(this);
8186
this.resourceSkus = new operations.ResourceSkus(this);
8287
this.disks = new operations.Disks(this);
8388
this.snapshots = new operations.Snapshots(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: 14 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.
@@ -78,6 +78,7 @@ export {
7878
GalleryDiskImage,
7979
GalleryIdentifier,
8080
GalleryImage,
81+
GalleryImageFeature,
8182
GalleryImageIdentifier,
8283
GalleryImageUpdate,
8384
GalleryImageVersion,
@@ -129,10 +130,14 @@ export {
129130
RollingUpgradeProgressInfo,
130131
RollingUpgradeRunningStatus,
131132
RollingUpgradeStatusInfo,
133+
RunCommandInputParameter,
132134
ScaleInPolicy,
133135
ScheduledEventsProfile,
134136
SecurityProfile,
135137
ShareInfoElement,
138+
SharingProfile,
139+
SharingProfileGroup,
140+
SharingUpdate,
136141
Sku,
137142
Snapshot,
138143
SnapshotSku,
@@ -150,6 +155,7 @@ export {
150155
UpdateResource,
151156
UpdateResourceDefinition,
152157
UpgradePolicy,
158+
UserArtifactManage,
153159
UserArtifactSource,
154160
VaultCertificate,
155161
VaultSecretGroup,
@@ -169,6 +175,10 @@ export {
169175
VirtualMachineImageResource,
170176
VirtualMachineInstanceView,
171177
VirtualMachinePatchStatus,
178+
VirtualMachineRunCommand,
179+
VirtualMachineRunCommandInstanceView,
180+
VirtualMachineRunCommandScriptSource,
181+
VirtualMachineRunCommandUpdate,
172182
VirtualMachineScaleSet,
173183
VirtualMachineScaleSetDataDisk,
174184
VirtualMachineScaleSetExtension,
@@ -197,6 +207,8 @@ export {
197207
VirtualMachineScaleSetUpdateStorageProfile,
198208
VirtualMachineScaleSetUpdateVMProfile,
199209
VirtualMachineScaleSetVM,
210+
VirtualMachineScaleSetVMExtension,
211+
VirtualMachineScaleSetVMExtensionUpdate,
200212
VirtualMachineScaleSetVMInstanceView,
201213
VirtualMachineScaleSetVMNetworkProfileConfiguration,
202214
VirtualMachineScaleSetVMProfile,

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

Lines changed: 13 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.
@@ -75,6 +75,7 @@ export {
7575
GalleryDiskImage,
7676
GalleryIdentifier,
7777
GalleryImage,
78+
GalleryImageFeature,
7879
GalleryImageIdentifier,
7980
GalleryImageUpdate,
8081
GalleryImageVersion,
@@ -124,10 +125,14 @@ export {
124125
RollingUpgradeProgressInfo,
125126
RollingUpgradeRunningStatus,
126127
RollingUpgradeStatusInfo,
128+
RunCommandInputParameter,
127129
ScaleInPolicy,
128130
ScheduledEventsProfile,
129131
SecurityProfile,
130132
ShareInfoElement,
133+
SharingProfile,
134+
SharingProfileGroup,
135+
SharingUpdate,
131136
Sku,
132137
Snapshot,
133138
SnapshotSku,
@@ -143,6 +148,7 @@ export {
143148
TerminateNotificationProfile,
144149
UpdateResourceDefinition,
145150
UpgradePolicy,
151+
UserArtifactManage,
146152
UserArtifactSource,
147153
VaultCertificate,
148154
VaultSecretGroup,
@@ -161,6 +167,9 @@ export {
161167
VirtualMachineImageResource,
162168
VirtualMachineInstanceView,
163169
VirtualMachinePatchStatus,
170+
VirtualMachineRunCommand,
171+
VirtualMachineRunCommandInstanceView,
172+
VirtualMachineRunCommandScriptSource,
164173
VirtualMachineScaleSet,
165174
VirtualMachineScaleSetDataDisk,
166175
VirtualMachineScaleSetExtension,
@@ -183,6 +192,8 @@ export {
183192
VirtualMachineScaleSetUpdateNetworkConfiguration,
184193
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
185194
VirtualMachineScaleSetVM,
195+
VirtualMachineScaleSetVMExtension,
196+
VirtualMachineScaleSetVMExtensionUpdate,
186197
VirtualMachineScaleSetVMInstanceView,
187198
VirtualMachineScaleSetVMNetworkProfileConfiguration,
188199
VirtualMachineScaleSetVMProfile,

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

Lines changed: 14 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.
@@ -78,6 +78,7 @@ export {
7878
GalleryDiskImage,
7979
GalleryIdentifier,
8080
GalleryImage,
81+
GalleryImageFeature,
8182
GalleryImageIdentifier,
8283
GalleryImageUpdate,
8384
GalleryImageVersion,
@@ -129,10 +130,14 @@ export {
129130
RollingUpgradeProgressInfo,
130131
RollingUpgradeRunningStatus,
131132
RollingUpgradeStatusInfo,
133+
RunCommandInputParameter,
132134
ScaleInPolicy,
133135
ScheduledEventsProfile,
134136
SecurityProfile,
135137
ShareInfoElement,
138+
SharingProfile,
139+
SharingProfileGroup,
140+
SharingUpdate,
136141
Sku,
137142
Snapshot,
138143
SnapshotSku,
@@ -150,6 +155,7 @@ export {
150155
UpdateResource,
151156
UpdateResourceDefinition,
152157
UpgradePolicy,
158+
UserArtifactManage,
153159
UserArtifactSource,
154160
VaultCertificate,
155161
VaultSecretGroup,
@@ -169,6 +175,10 @@ export {
169175
VirtualMachineImageResource,
170176
VirtualMachineInstanceView,
171177
VirtualMachinePatchStatus,
178+
VirtualMachineRunCommand,
179+
VirtualMachineRunCommandInstanceView,
180+
VirtualMachineRunCommandScriptSource,
181+
VirtualMachineRunCommandUpdate,
172182
VirtualMachineScaleSet,
173183
VirtualMachineScaleSetDataDisk,
174184
VirtualMachineScaleSetExtension,
@@ -197,6 +207,8 @@ export {
197207
VirtualMachineScaleSetUpdateStorageProfile,
198208
VirtualMachineScaleSetUpdateVMProfile,
199209
VirtualMachineScaleSetVM,
210+
VirtualMachineScaleSetVMExtension,
211+
VirtualMachineScaleSetVMExtensionUpdate,
200212
VirtualMachineScaleSetVMInstanceView,
201213
VirtualMachineScaleSetVMNetworkProfileConfiguration,
202214
VirtualMachineScaleSetVMProfile,

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

Lines changed: 14 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.
@@ -78,6 +78,7 @@ export {
7878
GalleryDiskImage,
7979
GalleryIdentifier,
8080
GalleryImage,
81+
GalleryImageFeature,
8182
GalleryImageIdentifier,
8283
GalleryImageUpdate,
8384
GalleryImageVersion,
@@ -129,10 +130,14 @@ export {
129130
RollingUpgradeProgressInfo,
130131
RollingUpgradeRunningStatus,
131132
RollingUpgradeStatusInfo,
133+
RunCommandInputParameter,
132134
ScaleInPolicy,
133135
ScheduledEventsProfile,
134136
SecurityProfile,
135137
ShareInfoElement,
138+
SharingProfile,
139+
SharingProfileGroup,
140+
SharingUpdate,
136141
Sku,
137142
Snapshot,
138143
SnapshotSku,
@@ -150,6 +155,7 @@ export {
150155
UpdateResource,
151156
UpdateResourceDefinition,
152157
UpgradePolicy,
158+
UserArtifactManage,
153159
UserArtifactSource,
154160
VaultCertificate,
155161
VaultSecretGroup,
@@ -169,6 +175,10 @@ export {
169175
VirtualMachineImageResource,
170176
VirtualMachineInstanceView,
171177
VirtualMachinePatchStatus,
178+
VirtualMachineRunCommand,
179+
VirtualMachineRunCommandInstanceView,
180+
VirtualMachineRunCommandScriptSource,
181+
VirtualMachineRunCommandUpdate,
172182
VirtualMachineScaleSet,
173183
VirtualMachineScaleSetDataDisk,
174184
VirtualMachineScaleSetExtension,
@@ -197,6 +207,8 @@ export {
197207
VirtualMachineScaleSetUpdateStorageProfile,
198208
VirtualMachineScaleSetUpdateVMProfile,
199209
VirtualMachineScaleSetVM,
210+
VirtualMachineScaleSetVMExtension,
211+
VirtualMachineScaleSetVMExtensionUpdate,
200212
VirtualMachineScaleSetVMInstanceView,
201213
VirtualMachineScaleSetVMNetworkProfileConfiguration,
202214
VirtualMachineScaleSetVMProfile,

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

Lines changed: 13 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.
@@ -76,6 +76,7 @@ export {
7676
GalleryDiskImage,
7777
GalleryIdentifier,
7878
GalleryImage,
79+
GalleryImageFeature,
7980
GalleryImageIdentifier,
8081
GalleryImageUpdate,
8182
GalleryImageVersion,
@@ -127,10 +128,14 @@ export {
127128
RollingUpgradeProgressInfo,
128129
RollingUpgradeRunningStatus,
129130
RollingUpgradeStatusInfo,
131+
RunCommandInputParameter,
130132
ScaleInPolicy,
131133
ScheduledEventsProfile,
132134
SecurityProfile,
133135
ShareInfoElement,
136+
SharingProfile,
137+
SharingProfileGroup,
138+
SharingUpdate,
134139
Sku,
135140
Snapshot,
136141
SnapshotSku,
@@ -146,6 +151,7 @@ export {
146151
TerminateNotificationProfile,
147152
UpdateResourceDefinition,
148153
UpgradePolicy,
154+
UserArtifactManage,
149155
UserArtifactSource,
150156
VaultCertificate,
151157
VaultSecretGroup,
@@ -164,6 +170,9 @@ export {
164170
VirtualMachineImageResource,
165171
VirtualMachineInstanceView,
166172
VirtualMachinePatchStatus,
173+
VirtualMachineRunCommand,
174+
VirtualMachineRunCommandInstanceView,
175+
VirtualMachineRunCommandScriptSource,
167176
VirtualMachineScaleSet,
168177
VirtualMachineScaleSetDataDisk,
169178
VirtualMachineScaleSetExtension,
@@ -186,6 +195,8 @@ export {
186195
VirtualMachineScaleSetUpdateNetworkConfiguration,
187196
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
188197
VirtualMachineScaleSetVM,
198+
VirtualMachineScaleSetVMExtension,
199+
VirtualMachineScaleSetVMExtensionUpdate,
189200
VirtualMachineScaleSetVMInstanceView,
190201
VirtualMachineScaleSetVMNetworkProfileConfiguration,
191202
VirtualMachineScaleSetVMProfile,

0 commit comments

Comments
 (0)