Skip to content

Commit 961702c

Browse files
author
SDKAuto
committed
CodeGen from PR 11763 in Azure/azure-rest-api-specs
Merge 2fff96ecc5e638160ffb024f1a4ec9f3d7c5a7df into b5702b7d62e824b5cabd4b507dc794e81c873642
1 parent 6c6ce54 commit 961702c

File tree

88 files changed

+12055
-1923
lines changed

Some content is hidden

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

88 files changed

+12055
-1923
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: 20 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,7 +47,15 @@ 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;
55+
cloudServiceRoleInstances: operations.CloudServiceRoleInstances;
56+
cloudServiceRoles: operations.CloudServiceRoles;
57+
cloudServices: operations.CloudServices;
58+
cloudServicesUpdateDomain: operations.CloudServicesUpdateDomain;
5159

5260
/**
5361
* Initializes a new instance of the ComputeManagementClient class.
@@ -78,6 +86,7 @@ class ComputeManagementClient extends ComputeManagementClientContext {
7886
this.virtualMachineScaleSetVMs = new operations.VirtualMachineScaleSetVMs(this);
7987
this.logAnalytics = new operations.LogAnalytics(this);
8088
this.virtualMachineRunCommands = new operations.VirtualMachineRunCommands(this);
89+
this.virtualMachineScaleSetVMRunCommands = new operations.VirtualMachineScaleSetVMRunCommands(this);
8190
this.resourceSkus = new operations.ResourceSkus(this);
8291
this.disks = new operations.Disks(this);
8392
this.snapshots = new operations.Snapshots(this);
@@ -88,7 +97,15 @@ class ComputeManagementClient extends ComputeManagementClientContext {
8897
this.galleryImageVersions = new operations.GalleryImageVersions(this);
8998
this.galleryApplications = new operations.GalleryApplications(this);
9099
this.galleryApplicationVersions = new operations.GalleryApplicationVersions(this);
100+
this.gallerySharingProfile = new operations.GallerySharingProfile(this);
101+
this.sharedGalleries = new operations.SharedGalleries(this);
102+
this.sharedGalleryImages = new operations.SharedGalleryImages(this);
103+
this.sharedGalleryImageVersions = new operations.SharedGalleryImageVersions(this);
91104
this.containerServices = new operations.ContainerServices(this);
105+
this.cloudServiceRoleInstances = new operations.CloudServiceRoleInstances(this);
106+
this.cloudServiceRoles = new operations.CloudServiceRoles(this);
107+
this.cloudServices = new operations.CloudServices(this);
108+
this.cloudServicesUpdateDomain = new operations.CloudServicesUpdateDomain(this);
92109
}
93110
}
94111

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: 31 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,
@@ -78,6 +91,7 @@ export {
7891
GalleryDiskImage,
7992
GalleryIdentifier,
8093
GalleryImage,
94+
GalleryImageFeature,
8195
GalleryImageIdentifier,
8296
GalleryImageUpdate,
8397
GalleryImageVersion,
@@ -104,6 +118,10 @@ export {
104118
KeyVaultSecretReference,
105119
LastPatchInstallationSummary,
106120
LinuxConfiguration,
121+
LoadBalancerConfiguration,
122+
LoadBalancerConfigurationProperties,
123+
LoadBalancerFrontendIPConfiguration,
124+
LoadBalancerFrontendIPConfigurationProperties,
107125
MaintenanceRedeployStatus,
108126
ManagedDiskParameters,
109127
NetworkInterfaceReference,
@@ -129,10 +147,14 @@ export {
129147
RollingUpgradeProgressInfo,
130148
RollingUpgradeRunningStatus,
131149
RollingUpgradeStatusInfo,
150+
RunCommandInputParameter,
132151
ScaleInPolicy,
133152
ScheduledEventsProfile,
134153
SecurityProfile,
135154
ShareInfoElement,
155+
SharingProfile,
156+
SharingProfileGroup,
157+
SharingUpdate,
136158
Sku,
137159
Snapshot,
138160
SnapshotSku,
@@ -150,6 +172,7 @@ export {
150172
UpdateResource,
151173
UpdateResourceDefinition,
152174
UpgradePolicy,
175+
UserArtifactManage,
153176
UserArtifactSource,
154177
VaultCertificate,
155178
VaultSecretGroup,
@@ -169,6 +192,10 @@ export {
169192
VirtualMachineImageResource,
170193
VirtualMachineInstanceView,
171194
VirtualMachinePatchStatus,
195+
VirtualMachineRunCommand,
196+
VirtualMachineRunCommandInstanceView,
197+
VirtualMachineRunCommandScriptSource,
198+
VirtualMachineRunCommandUpdate,
172199
VirtualMachineScaleSet,
173200
VirtualMachineScaleSetDataDisk,
174201
VirtualMachineScaleSetExtension,
@@ -197,6 +224,8 @@ export {
197224
VirtualMachineScaleSetUpdateStorageProfile,
198225
VirtualMachineScaleSetUpdateVMProfile,
199226
VirtualMachineScaleSetVM,
227+
VirtualMachineScaleSetVMExtension,
228+
VirtualMachineScaleSetVMExtensionUpdate,
200229
VirtualMachineScaleSetVMInstanceView,
201230
VirtualMachineScaleSetVMNetworkProfileConfiguration,
202231
VirtualMachineScaleSetVMProfile,

0 commit comments

Comments
 (0)