Skip to content

Commit fe48ee5

Browse files
author
SDKAuto
committed
CodeGen from PR 11950 in Azure/azure-rest-api-specs
Merge c4a1f1cc70d8f2507b6f92162ad85022f042bb57 into 9d5c413735834a8c5e0f2a31befc63125391863d
1 parent 9031d2e commit fe48ee5

File tree

81 files changed

+9763
-1810
lines changed

Some content is hidden

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

81 files changed

+9763
-1810
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: 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;
@@ -48,6 +48,10 @@ class ComputeManagementClient extends ComputeManagementClientContext {
4848
galleryApplications: operations.GalleryApplications;
4949
galleryApplicationVersions: operations.GalleryApplicationVersions;
5050
containerServices: operations.ContainerServices;
51+
cloudServiceRoleInstances: operations.CloudServiceRoleInstances;
52+
cloudServiceRoles: operations.CloudServiceRoles;
53+
cloudServices: operations.CloudServices;
54+
cloudServicesUpdateDomain: operations.CloudServicesUpdateDomain;
5155

5256
/**
5357
* Initializes a new instance of the ComputeManagementClient class.
@@ -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);
@@ -89,6 +94,10 @@ class ComputeManagementClient extends ComputeManagementClientContext {
8994
this.galleryApplications = new operations.GalleryApplications(this);
9095
this.galleryApplicationVersions = new operations.GalleryApplicationVersions(this);
9196
this.containerServices = new operations.ContainerServices(this);
97+
this.cloudServiceRoleInstances = new operations.CloudServiceRoleInstances(this);
98+
this.cloudServiceRoles = new operations.CloudServiceRoles(this);
99+
this.cloudServices = new operations.CloudServices(this);
100+
this.cloudServicesUpdateDomain = new operations.CloudServicesUpdateDomain(this);
92101
}
93102
}
94103

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: 26 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.
@@ -24,6 +24,18 @@ export {
2424
BootDiagnostics,
2525
BootDiagnosticsInstanceView,
2626
CloudError,
27+
CloudService,
28+
CloudServiceExtensionProfile,
29+
CloudServiceExtensionProperties,
30+
CloudServiceNetworkProfile,
31+
CloudServiceOsProfile,
32+
CloudServiceProperties,
33+
CloudServiceRoleProfile,
34+
CloudServiceRoleProfileProperties,
35+
CloudServiceRoleSku,
36+
CloudServiceVaultAndSecretReference,
37+
CloudServiceVaultCertificate,
38+
CloudServiceVaultSecretGroup,
2739
ContainerService,
2840
ContainerServiceAgentPoolProfile,
2941
ContainerServiceCustomProfile,
@@ -66,6 +78,7 @@ export {
6678
EncryptionSetIdentity,
6779
EncryptionSettingsCollection,
6880
EncryptionSettingsElement,
81+
Extension,
6982
Gallery,
7083
GalleryApplication,
7184
GalleryApplicationUpdate,
@@ -104,6 +117,10 @@ export {
104117
KeyVaultSecretReference,
105118
LastPatchInstallationSummary,
106119
LinuxConfiguration,
120+
LoadBalancerConfiguration,
121+
LoadBalancerConfigurationProperties,
122+
LoadBalancerFrontendIPConfiguration,
123+
LoadBalancerFrontendIPConfigurationProperties,
107124
MaintenanceRedeployStatus,
108125
ManagedDiskParameters,
109126
NetworkInterfaceReference,
@@ -129,6 +146,7 @@ export {
129146
RollingUpgradeProgressInfo,
130147
RollingUpgradeRunningStatus,
131148
RollingUpgradeStatusInfo,
149+
RunCommandInputParameter,
132150
ScaleInPolicy,
133151
ScheduledEventsProfile,
134152
SecurityProfile,
@@ -169,6 +187,10 @@ export {
169187
VirtualMachineImageResource,
170188
VirtualMachineInstanceView,
171189
VirtualMachinePatchStatus,
190+
VirtualMachineRunCommand,
191+
VirtualMachineRunCommandInstanceView,
192+
VirtualMachineRunCommandScriptSource,
193+
VirtualMachineRunCommandUpdate,
172194
VirtualMachineScaleSet,
173195
VirtualMachineScaleSetDataDisk,
174196
VirtualMachineScaleSetExtension,
@@ -197,6 +219,8 @@ export {
197219
VirtualMachineScaleSetUpdateStorageProfile,
198220
VirtualMachineScaleSetUpdateVMProfile,
199221
VirtualMachineScaleSetVM,
222+
VirtualMachineScaleSetVMExtension,
223+
VirtualMachineScaleSetVMExtensionUpdate,
200224
VirtualMachineScaleSetVMInstanceView,
201225
VirtualMachineScaleSetVMNetworkProfileConfiguration,
202226
VirtualMachineScaleSetVMProfile,
Lines changed: 222 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,222 @@
1+
/*
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
4+
*
5+
* Code generated by Microsoft (R) AutoRest Code Generator.
6+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
*/
8+
9+
export {
10+
AdditionalCapabilities,
11+
AdditionalUnattendContent,
12+
ApiEntityReference,
13+
ApiError,
14+
ApiErrorBase,
15+
AutomaticOSUpgradePolicy,
16+
AutomaticOSUpgradeProperties,
17+
AutomaticRepairsPolicy,
18+
AvailabilitySet,
19+
AvailablePatchSummary,
20+
BaseResource,
21+
BillingProfile,
22+
BootDiagnostics,
23+
BootDiagnosticsInstanceView,
24+
CloudError,
25+
CloudService,
26+
CloudServiceExtensionProfile,
27+
CloudServiceExtensionProperties,
28+
CloudServiceNetworkProfile,
29+
CloudServiceOsProfile,
30+
CloudServiceProperties,
31+
CloudServiceRoleProfile,
32+
CloudServiceRoleProfileProperties,
33+
CloudServiceRoleSku,
34+
CloudServiceVaultAndSecretReference,
35+
CloudServiceVaultCertificate,
36+
CloudServiceVaultSecretGroup,
37+
ContainerService,
38+
ContainerServiceAgentPoolProfile,
39+
ContainerServiceCustomProfile,
40+
ContainerServiceDiagnosticsProfile,
41+
ContainerServiceLinuxProfile,
42+
ContainerServiceMasterProfile,
43+
ContainerServiceOrchestratorProfile,
44+
ContainerServiceServicePrincipalProfile,
45+
ContainerServiceSshConfiguration,
46+
ContainerServiceSshPublicKey,
47+
ContainerServiceVMDiagnostics,
48+
ContainerServiceWindowsProfile,
49+
CreationData,
50+
DataDisk,
51+
DataDiskImage,
52+
DataDiskImageEncryption,
53+
DedicatedHost,
54+
DedicatedHostAllocatableVM,
55+
DedicatedHostAvailableCapacity,
56+
DedicatedHostGroup,
57+
DedicatedHostGroupInstanceView,
58+
DedicatedHostInstanceView,
59+
DedicatedHostInstanceViewWithName,
60+
DiagnosticsProfile,
61+
DiffDiskSettings,
62+
Disallowed,
63+
DisallowedConfiguration,
64+
Disk,
65+
DiskAccess,
66+
DiskEncryptionSet,
67+
DiskEncryptionSetParameters,
68+
DiskEncryptionSettings,
69+
DiskImageEncryption,
70+
DiskInstanceView,
71+
DiskSku,
72+
Encryption,
73+
EncryptionImages,
74+
EncryptionSetIdentity,
75+
EncryptionSettingsCollection,
76+
EncryptionSettingsElement,
77+
Extension,
78+
Gallery,
79+
GalleryApplication,
80+
GalleryApplicationUpdate,
81+
GalleryApplicationVersion,
82+
GalleryApplicationVersionPublishingProfile,
83+
GalleryApplicationVersionUpdate,
84+
GalleryArtifactPublishingProfileBase,
85+
GalleryArtifactVersionSource,
86+
GalleryDataDiskImage,
87+
GalleryDiskImage,
88+
GalleryIdentifier,
89+
GalleryImage,
90+
GalleryImageIdentifier,
91+
GalleryImageUpdate,
92+
GalleryImageVersion,
93+
GalleryImageVersionPublishingProfile,
94+
GalleryImageVersionStorageProfile,
95+
GalleryImageVersionUpdate,
96+
GalleryOSDiskImage,
97+
GalleryUpdate,
98+
HardwareProfile,
99+
Image,
100+
ImageDataDisk,
101+
ImageDisk,
102+
ImageDiskReference,
103+
ImageOSDisk,
104+
ImagePurchasePlan,
105+
ImageReference,
106+
ImageStorageProfile,
107+
InnerError,
108+
InstanceSku,
109+
InstanceViewStatus,
110+
KeyVaultAndKeyReference,
111+
KeyVaultAndSecretReference,
112+
KeyVaultKeyReference,
113+
KeyVaultSecretReference,
114+
LastPatchInstallationSummary,
115+
LinuxConfiguration,
116+
LoadBalancerConfiguration,
117+
LoadBalancerConfigurationProperties,
118+
LoadBalancerFrontendIPConfiguration,
119+
LoadBalancerFrontendIPConfigurationProperties,
120+
MaintenanceRedeployStatus,
121+
ManagedDiskParameters,
122+
NetworkInterfaceReference,
123+
NetworkProfile,
124+
OSDisk,
125+
OSDiskImage,
126+
OSDiskImageEncryption,
127+
OSProfile,
128+
PatchSettings,
129+
Plan,
130+
PrivateEndpoint,
131+
PrivateEndpointConnection,
132+
PrivateLinkServiceConnectionState,
133+
ProximityPlacementGroup,
134+
PurchasePlan,
135+
RecommendedMachineConfiguration,
136+
RegionalReplicationStatus,
137+
ReplicationStatus,
138+
Resource,
139+
ResourceInstanceViewStatus,
140+
ResourceRange,
141+
RoleInstance,
142+
RoleInstanceInstanceView,
143+
RoleInstanceListResult,
144+
RoleInstanceNetworkProfile,
145+
RoleInstanceProperties,
146+
RollingUpgradePolicy,
147+
RollingUpgradeProgressInfo,
148+
RollingUpgradeRunningStatus,
149+
RollingUpgradeStatusInfo,
150+
RunCommandInputParameter,
151+
ScaleInPolicy,
152+
ScheduledEventsProfile,
153+
SecurityProfile,
154+
ShareInfoElement,
155+
Sku,
156+
Snapshot,
157+
SnapshotSku,
158+
SourceVault,
159+
SshConfiguration,
160+
SshPublicKey,
161+
SshPublicKeyResource,
162+
StorageProfile,
163+
SubResource,
164+
SubResourceReadOnly,
165+
SubResourceWithColocationStatus,
166+
TargetRegion,
167+
TerminateNotificationProfile,
168+
UpdateResourceDefinition,
169+
UpgradePolicy,
170+
UserArtifactSource,
171+
VaultCertificate,
172+
VaultSecretGroup,
173+
VirtualHardDisk,
174+
VirtualMachine,
175+
VirtualMachineAgentInstanceView,
176+
VirtualMachineCaptureResult,
177+
VirtualMachineExtension,
178+
VirtualMachineExtensionHandlerInstanceView,
179+
VirtualMachineExtensionImage,
180+
VirtualMachineExtensionInstanceView,
181+
VirtualMachineHealthStatus,
182+
VirtualMachineIdentity,
183+
VirtualMachineIdentityUserAssignedIdentitiesValue,
184+
VirtualMachineImage,
185+
VirtualMachineImageResource,
186+
VirtualMachineInstanceView,
187+
VirtualMachinePatchStatus,
188+
VirtualMachineRunCommand,
189+
VirtualMachineRunCommandInstanceView,
190+
VirtualMachineRunCommandScriptSource,
191+
VirtualMachineScaleSet,
192+
VirtualMachineScaleSetDataDisk,
193+
VirtualMachineScaleSetExtension,
194+
VirtualMachineScaleSetExtensionProfile,
195+
VirtualMachineScaleSetExtensionUpdate,
196+
VirtualMachineScaleSetIdentity,
197+
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue,
198+
VirtualMachineScaleSetIPConfiguration,
199+
VirtualMachineScaleSetIpTag,
200+
VirtualMachineScaleSetManagedDiskParameters,
201+
VirtualMachineScaleSetNetworkConfiguration,
202+
VirtualMachineScaleSetNetworkConfigurationDnsSettings,
203+
VirtualMachineScaleSetNetworkProfile,
204+
VirtualMachineScaleSetOSDisk,
205+
VirtualMachineScaleSetOSProfile,
206+
VirtualMachineScaleSetPublicIPAddressConfiguration,
207+
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings,
208+
VirtualMachineScaleSetStorageProfile,
209+
VirtualMachineScaleSetUpdateIPConfiguration,
210+
VirtualMachineScaleSetUpdateNetworkConfiguration,
211+
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration,
212+
VirtualMachineScaleSetVM,
213+
VirtualMachineScaleSetVMExtension,
214+
VirtualMachineScaleSetVMExtensionUpdate,
215+
VirtualMachineScaleSetVMInstanceView,
216+
VirtualMachineScaleSetVMNetworkProfileConfiguration,
217+
VirtualMachineScaleSetVMProfile,
218+
VirtualMachineScaleSetVMProtectionPolicy,
219+
WindowsConfiguration,
220+
WinRMConfiguration,
221+
WinRMListener
222+
} from "../models/mappers";

0 commit comments

Comments
 (0)