Skip to content

Commit 3511d38

Browse files
author
SDKAuto
committed
CodeGen from PR 12521 in Azure/azure-rest-api-specs
Merge 413f2874ecd2cf2b2bed218fb5581c6f117cd5a7 into 7a704e683b94d904f08e70fc39f246ac5ab8f87a
1 parent ace0b79 commit 3511d38

File tree

83 files changed

+11176
-1854
lines changed

Some content is hidden

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

83 files changed

+11176
-1854
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: 14 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,17 +36,23 @@ 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;
4343
diskEncryptionSets: operations.DiskEncryptionSets;
4444
diskAccesses: operations.DiskAccesses;
45+
diskRestorePoint: operations.DiskRestorePointOperations;
4546
galleries: operations.Galleries;
4647
galleryImages: operations.GalleryImages;
4748
galleryImageVersions: operations.GalleryImageVersions;
4849
galleryApplications: operations.GalleryApplications;
4950
galleryApplicationVersions: operations.GalleryApplicationVersions;
5051
containerServices: operations.ContainerServices;
52+
cloudServiceRoleInstances: operations.CloudServiceRoleInstances;
53+
cloudServiceRoles: operations.CloudServiceRoles;
54+
cloudServices: operations.CloudServices;
55+
cloudServicesUpdateDomain: operations.CloudServicesUpdateDomain;
5156

5257
/**
5358
* Initializes a new instance of the ComputeManagementClient class.
@@ -78,17 +83,23 @@ class ComputeManagementClient extends ComputeManagementClientContext {
7883
this.virtualMachineScaleSetVMs = new operations.VirtualMachineScaleSetVMs(this);
7984
this.logAnalytics = new operations.LogAnalytics(this);
8085
this.virtualMachineRunCommands = new operations.VirtualMachineRunCommands(this);
86+
this.virtualMachineScaleSetVMRunCommands = new operations.VirtualMachineScaleSetVMRunCommands(this);
8187
this.resourceSkus = new operations.ResourceSkus(this);
8288
this.disks = new operations.Disks(this);
8389
this.snapshots = new operations.Snapshots(this);
8490
this.diskEncryptionSets = new operations.DiskEncryptionSets(this);
8591
this.diskAccesses = new operations.DiskAccesses(this);
92+
this.diskRestorePoint = new operations.DiskRestorePointOperations(this);
8693
this.galleries = new operations.Galleries(this);
8794
this.galleryImages = new operations.GalleryImages(this);
8895
this.galleryImageVersions = new operations.GalleryImageVersions(this);
8996
this.galleryApplications = new operations.GalleryApplications(this);
9097
this.galleryApplicationVersions = new operations.GalleryApplicationVersions(this);
9198
this.containerServices = new operations.ContainerServices(this);
99+
this.cloudServiceRoleInstances = new operations.CloudServiceRoleInstances(this);
100+
this.cloudServiceRoles = new operations.CloudServiceRoles(this);
101+
this.cloudServices = new operations.CloudServices(this);
102+
this.cloudServicesUpdateDomain = new operations.CloudServicesUpdateDomain(this);
92103
}
93104
}
94105

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: 29 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,8 @@ export {
6678
EncryptionSetIdentity,
6779
EncryptionSettingsCollection,
6880
EncryptionSettingsElement,
81+
ExtendedLocation,
82+
Extension,
6983
Gallery,
7084
GalleryApplication,
7185
GalleryApplicationUpdate,
@@ -98,12 +112,17 @@ export {
98112
ImageUpdate,
99113
InnerError,
100114
InstanceViewStatus,
115+
KeyForDiskEncryptionSet,
101116
KeyVaultAndKeyReference,
102117
KeyVaultAndSecretReference,
103118
KeyVaultKeyReference,
104119
KeyVaultSecretReference,
105120
LastPatchInstallationSummary,
106121
LinuxConfiguration,
122+
LoadBalancerConfiguration,
123+
LoadBalancerConfigurationProperties,
124+
LoadBalancerFrontendIPConfiguration,
125+
LoadBalancerFrontendIPConfigurationProperties,
107126
MaintenanceRedeployStatus,
108127
ManagedDiskParameters,
109128
NetworkInterfaceReference,
@@ -129,6 +148,7 @@ export {
129148
RollingUpgradeProgressInfo,
130149
RollingUpgradeRunningStatus,
131150
RollingUpgradeStatusInfo,
151+
RunCommandInputParameter,
132152
ScaleInPolicy,
133153
ScheduledEventsProfile,
134154
SecurityProfile,
@@ -150,6 +170,7 @@ export {
150170
UpdateResource,
151171
UpdateResourceDefinition,
152172
UpgradePolicy,
173+
UserArtifactManage,
153174
UserArtifactSource,
154175
VaultCertificate,
155176
VaultSecretGroup,
@@ -169,6 +190,10 @@ export {
169190
VirtualMachineImageResource,
170191
VirtualMachineInstanceView,
171192
VirtualMachinePatchStatus,
193+
VirtualMachineRunCommand,
194+
VirtualMachineRunCommandInstanceView,
195+
VirtualMachineRunCommandScriptSource,
196+
VirtualMachineRunCommandUpdate,
172197
VirtualMachineScaleSet,
173198
VirtualMachineScaleSetDataDisk,
174199
VirtualMachineScaleSetExtension,
@@ -197,6 +222,8 @@ export {
197222
VirtualMachineScaleSetUpdateStorageProfile,
198223
VirtualMachineScaleSetUpdateVMProfile,
199224
VirtualMachineScaleSetVM,
225+
VirtualMachineScaleSetVMExtension,
226+
VirtualMachineScaleSetVMExtensionUpdate,
200227
VirtualMachineScaleSetVMInstanceView,
201228
VirtualMachineScaleSetVMNetworkProfileConfiguration,
202229
VirtualMachineScaleSetVMProfile,

0 commit comments

Comments
 (0)