Skip to content

Commit 4930654

Browse files
author
SDKAuto
committed
CodeGen from PR 12348 in Azure/azure-rest-api-specs
Merge d1ac2953a4a9d45cd5167fa66aeb607e07e786f3 into 1c6cda0fb00f0f3fccf04cebcd2a1b439e6b3e24
1 parent 0f1c73f commit 4930654

File tree

74 files changed

+5641
-2653
lines changed

Some content is hidden

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

74 files changed

+5641
-2653
lines changed

sdk/compute/arm-compute/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 Microsoft
3+
Copyright (c) 2021 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

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: 8 additions & 7 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,17 +25,19 @@ 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;
31+
virtualMachineScaleSets: operations.VirtualMachineScaleSets;
3132
virtualMachineSizes: operations.VirtualMachineSizes;
3233
images: operations.Images;
33-
virtualMachineScaleSets: operations.VirtualMachineScaleSets;
3434
virtualMachineScaleSetExtensions: operations.VirtualMachineScaleSetExtensions;
3535
virtualMachineScaleSetRollingUpgrades: operations.VirtualMachineScaleSetRollingUpgrades;
3636
virtualMachineScaleSetVMExtensions: operations.VirtualMachineScaleSetVMExtensions;
3737
virtualMachineScaleSetVMs: operations.VirtualMachineScaleSetVMs;
3838
logAnalytics: operations.LogAnalytics;
3939
virtualMachineRunCommands: operations.VirtualMachineRunCommands;
40+
virtualMachineScaleSetVMRunCommands: operations.VirtualMachineScaleSetVMRunCommands;
4041
resourceSkus: operations.ResourceSkus;
4142
disks: operations.Disks;
4243
snapshots: operations.Snapshots;
@@ -47,7 +48,6 @@ class ComputeManagementClient extends ComputeManagementClientContext {
4748
galleryImageVersions: operations.GalleryImageVersions;
4849
galleryApplications: operations.GalleryApplications;
4950
galleryApplicationVersions: operations.GalleryApplicationVersions;
50-
containerServices: operations.ContainerServices;
5151

5252
/**
5353
* Initializes a new instance of the ComputeManagementClient class.
@@ -67,17 +67,19 @@ class ComputeManagementClient extends ComputeManagementClientContext {
6767
this.virtualMachineExtensionImages = new operations.VirtualMachineExtensionImages(this);
6868
this.virtualMachineExtensions = new operations.VirtualMachineExtensions(this);
6969
this.virtualMachineImages = new operations.VirtualMachineImages(this);
70+
this.virtualMachineImagesEdgeZone = new operations.VirtualMachineImagesEdgeZone(this);
7071
this.usage = new operations.UsageOperations(this);
7172
this.virtualMachines = new operations.VirtualMachines(this);
73+
this.virtualMachineScaleSets = new operations.VirtualMachineScaleSets(this);
7274
this.virtualMachineSizes = new operations.VirtualMachineSizes(this);
7375
this.images = new operations.Images(this);
74-
this.virtualMachineScaleSets = new operations.VirtualMachineScaleSets(this);
7576
this.virtualMachineScaleSetExtensions = new operations.VirtualMachineScaleSetExtensions(this);
7677
this.virtualMachineScaleSetRollingUpgrades = new operations.VirtualMachineScaleSetRollingUpgrades(this);
7778
this.virtualMachineScaleSetVMExtensions = new operations.VirtualMachineScaleSetVMExtensions(this);
7879
this.virtualMachineScaleSetVMs = new operations.VirtualMachineScaleSetVMs(this);
7980
this.logAnalytics = new operations.LogAnalytics(this);
8081
this.virtualMachineRunCommands = new operations.VirtualMachineRunCommands(this);
82+
this.virtualMachineScaleSetVMRunCommands = new operations.VirtualMachineScaleSetVMRunCommands(this);
8183
this.resourceSkus = new operations.ResourceSkus(this);
8284
this.disks = new operations.Disks(this);
8385
this.snapshots = new operations.Snapshots(this);
@@ -88,7 +90,6 @@ class ComputeManagementClient extends ComputeManagementClientContext {
8890
this.galleryImageVersions = new operations.GalleryImageVersions(this);
8991
this.galleryApplications = new operations.GalleryApplications(this);
9092
this.galleryApplicationVersions = new operations.GalleryApplicationVersions(this);
91-
this.containerServices = new operations.ContainerServices(this);
9293
}
9394
}
9495

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: 13 additions & 14 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.
@@ -24,18 +24,6 @@ export {
2424
BootDiagnostics,
2525
BootDiagnosticsInstanceView,
2626
CloudError,
27-
ContainerService,
28-
ContainerServiceAgentPoolProfile,
29-
ContainerServiceCustomProfile,
30-
ContainerServiceDiagnosticsProfile,
31-
ContainerServiceLinuxProfile,
32-
ContainerServiceMasterProfile,
33-
ContainerServiceOrchestratorProfile,
34-
ContainerServiceServicePrincipalProfile,
35-
ContainerServiceSshConfiguration,
36-
ContainerServiceSshPublicKey,
37-
ContainerServiceVMDiagnostics,
38-
ContainerServiceWindowsProfile,
3927
CreationData,
4028
DataDisk,
4129
DataDiskImage,
@@ -66,6 +54,7 @@ export {
6654
EncryptionSetIdentity,
6755
EncryptionSettingsCollection,
6856
EncryptionSettingsElement,
57+
ExtendedLocation,
6958
Gallery,
7059
GalleryApplication,
7160
GalleryApplicationUpdate,
@@ -104,6 +93,7 @@ export {
10493
KeyVaultSecretReference,
10594
LastPatchInstallationSummary,
10695
LinuxConfiguration,
96+
LinuxPatchSettings,
10797
MaintenanceRedeployStatus,
10898
ManagedDiskParameters,
10999
NetworkInterfaceReference,
@@ -129,6 +119,7 @@ export {
129119
RollingUpgradeProgressInfo,
130120
RollingUpgradeRunningStatus,
131121
RollingUpgradeStatusInfo,
122+
RunCommandInputParameter,
132123
ScaleInPolicy,
133124
ScheduledEventsProfile,
134125
SecurityProfile,
@@ -147,6 +138,7 @@ export {
147138
SubResourceWithColocationStatus,
148139
TargetRegion,
149140
TerminateNotificationProfile,
141+
UefiSettings,
150142
UpdateResource,
151143
UpdateResourceDefinition,
152144
UpgradePolicy,
@@ -166,9 +158,14 @@ export {
166158
VirtualMachineIdentity,
167159
VirtualMachineIdentityUserAssignedIdentitiesValue,
168160
VirtualMachineImage,
161+
VirtualMachineImageFeature,
169162
VirtualMachineImageResource,
170163
VirtualMachineInstanceView,
171164
VirtualMachinePatchStatus,
165+
VirtualMachineRunCommand,
166+
VirtualMachineRunCommandInstanceView,
167+
VirtualMachineRunCommandScriptSource,
168+
VirtualMachineRunCommandUpdate,
172169
VirtualMachineScaleSet,
173170
VirtualMachineScaleSetDataDisk,
174171
VirtualMachineScaleSetExtension,
@@ -197,6 +194,8 @@ export {
197194
VirtualMachineScaleSetUpdateStorageProfile,
198195
VirtualMachineScaleSetUpdateVMProfile,
199196
VirtualMachineScaleSetVM,
197+
VirtualMachineScaleSetVMExtension,
198+
VirtualMachineScaleSetVMExtensionUpdate,
200199
VirtualMachineScaleSetVMInstanceView,
201200
VirtualMachineScaleSetVMNetworkProfileConfiguration,
202201
VirtualMachineScaleSetVMProfile,

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

Lines changed: 13 additions & 14 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.
@@ -23,18 +23,6 @@ export {
2323
BootDiagnostics,
2424
BootDiagnosticsInstanceView,
2525
CloudError,
26-
ContainerService,
27-
ContainerServiceAgentPoolProfile,
28-
ContainerServiceCustomProfile,
29-
ContainerServiceDiagnosticsProfile,
30-
ContainerServiceLinuxProfile,
31-
ContainerServiceMasterProfile,
32-
ContainerServiceOrchestratorProfile,
33-
ContainerServiceServicePrincipalProfile,
34-
ContainerServiceSshConfiguration,
35-
ContainerServiceSshPublicKey,
36-
ContainerServiceVMDiagnostics,
37-
ContainerServiceWindowsProfile,
3826
CreationData,
3927
DataDisk,
4028
DataDiskImage,
@@ -66,6 +54,7 @@ export {
6654
EncryptionSetIdentity,
6755
EncryptionSettingsCollection,
6856
EncryptionSettingsElement,
57+
ExtendedLocation,
6958
Gallery,
7059
GalleryApplication,
7160
GalleryApplicationUpdate,
@@ -104,6 +93,7 @@ export {
10493
KeyVaultSecretReference,
10594
LastPatchInstallationSummary,
10695
LinuxConfiguration,
96+
LinuxPatchSettings,
10797
MaintenanceRedeployStatus,
10898
ManagedDiskParameters,
10999
NetworkInterfaceReference,
@@ -129,6 +119,7 @@ export {
129119
RollingUpgradeProgressInfo,
130120
RollingUpgradeRunningStatus,
131121
RollingUpgradeStatusInfo,
122+
RunCommandInputParameter,
132123
ScaleInPolicy,
133124
ScheduledEventsProfile,
134125
SecurityProfile,
@@ -147,6 +138,7 @@ export {
147138
SubResourceWithColocationStatus,
148139
TargetRegion,
149140
TerminateNotificationProfile,
141+
UefiSettings,
150142
UpdateResource,
151143
UpdateResourceDefinition,
152144
UpgradePolicy,
@@ -166,9 +158,14 @@ export {
166158
VirtualMachineIdentity,
167159
VirtualMachineIdentityUserAssignedIdentitiesValue,
168160
VirtualMachineImage,
161+
VirtualMachineImageFeature,
169162
VirtualMachineImageResource,
170163
VirtualMachineInstanceView,
171164
VirtualMachinePatchStatus,
165+
VirtualMachineRunCommand,
166+
VirtualMachineRunCommandInstanceView,
167+
VirtualMachineRunCommandScriptSource,
168+
VirtualMachineRunCommandUpdate,
172169
VirtualMachineScaleSet,
173170
VirtualMachineScaleSetDataDisk,
174171
VirtualMachineScaleSetExtension,
@@ -197,6 +194,8 @@ export {
197194
VirtualMachineScaleSetUpdateStorageProfile,
198195
VirtualMachineScaleSetUpdateVMProfile,
199196
VirtualMachineScaleSetVM,
197+
VirtualMachineScaleSetVMExtension,
198+
VirtualMachineScaleSetVMExtensionUpdate,
200199
VirtualMachineScaleSetVMInstanceView,
201200
VirtualMachineScaleSetVMNetworkProfileConfiguration,
202201
VirtualMachineScaleSetVMProfile,

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

Lines changed: 13 additions & 14 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.
@@ -23,18 +23,6 @@ export {
2323
BootDiagnostics,
2424
BootDiagnosticsInstanceView,
2525
CloudError,
26-
ContainerService,
27-
ContainerServiceAgentPoolProfile,
28-
ContainerServiceCustomProfile,
29-
ContainerServiceDiagnosticsProfile,
30-
ContainerServiceLinuxProfile,
31-
ContainerServiceMasterProfile,
32-
ContainerServiceOrchestratorProfile,
33-
ContainerServiceServicePrincipalProfile,
34-
ContainerServiceSshConfiguration,
35-
ContainerServiceSshPublicKey,
36-
ContainerServiceVMDiagnostics,
37-
ContainerServiceWindowsProfile,
3826
CreationData,
3927
DataDisk,
4028
DataDiskImage,
@@ -66,6 +54,7 @@ export {
6654
EncryptionSetIdentity,
6755
EncryptionSettingsCollection,
6856
EncryptionSettingsElement,
57+
ExtendedLocation,
6958
Gallery,
7059
GalleryApplication,
7160
GalleryApplicationUpdate,
@@ -104,6 +93,7 @@ export {
10493
KeyVaultSecretReference,
10594
LastPatchInstallationSummary,
10695
LinuxConfiguration,
96+
LinuxPatchSettings,
10797
MaintenanceRedeployStatus,
10898
ManagedDiskParameters,
10999
NetworkInterfaceReference,
@@ -129,6 +119,7 @@ export {
129119
RollingUpgradeProgressInfo,
130120
RollingUpgradeRunningStatus,
131121
RollingUpgradeStatusInfo,
122+
RunCommandInputParameter,
132123
ScaleInPolicy,
133124
ScheduledEventsProfile,
134125
SecurityProfile,
@@ -147,6 +138,7 @@ export {
147138
SubResourceWithColocationStatus,
148139
TargetRegion,
149140
TerminateNotificationProfile,
141+
UefiSettings,
150142
UpdateResource,
151143
UpdateResourceDefinition,
152144
UpgradePolicy,
@@ -166,9 +158,14 @@ export {
166158
VirtualMachineIdentity,
167159
VirtualMachineIdentityUserAssignedIdentitiesValue,
168160
VirtualMachineImage,
161+
VirtualMachineImageFeature,
169162
VirtualMachineImageResource,
170163
VirtualMachineInstanceView,
171164
VirtualMachinePatchStatus,
165+
VirtualMachineRunCommand,
166+
VirtualMachineRunCommandInstanceView,
167+
VirtualMachineRunCommandScriptSource,
168+
VirtualMachineRunCommandUpdate,
172169
VirtualMachineScaleSet,
173170
VirtualMachineScaleSetDataDisk,
174171
VirtualMachineScaleSetExtension,
@@ -197,6 +194,8 @@ export {
197194
VirtualMachineScaleSetUpdateStorageProfile,
198195
VirtualMachineScaleSetUpdateVMProfile,
199196
VirtualMachineScaleSetVM,
197+
VirtualMachineScaleSetVMExtension,
198+
VirtualMachineScaleSetVMExtensionUpdate,
200199
VirtualMachineScaleSetVMInstanceView,
201200
VirtualMachineScaleSetVMNetworkProfileConfiguration,
202201
VirtualMachineScaleSetVMProfile,

0 commit comments

Comments
 (0)