Skip to content

Commit e098585

Browse files
author
SDKAuto
committed
CodeGen from PR 12969 in Azure/azure-rest-api-specs
Merge 6ad81cca5e586ad3a574cb998ed3063e3377a305 into c0a7127fc7ab454efc5bfccd62636784403cd370
1 parent 601f48c commit e098585

Some content is hidden

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

61 files changed

+2208
-5705
lines changed

sdk/devtestlabs/arm-devtestlabs/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) 2019 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/devtestlabs/arm-devtestlabs/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ npm install @azure/arm-devtestlabs
1515

1616
### How to use
1717

18-
#### nodejs - Authentication, client creation and list providerOperations as an example written in TypeScript.
18+
#### nodejs - client creation and list providerOperations as an example written in TypeScript.
1919

2020
##### Install @azure/ms-rest-nodeauth
2121

22+
- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`.
2223
```bash
23-
npm install @azure/ms-rest-nodeauth
24+
npm install @azure/ms-rest-nodeauth@"^3.0.0"
2425
```
2526

2627
##### Sample code
2728

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
2830
```typescript
29-
import * as msRest from "@azure/ms-rest-js";
30-
import * as msRestAzure from "@azure/ms-rest-azure-js";
31-
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
32-
import { DevTestLabsClient, DevTestLabsModels, DevTestLabsMappers } from "@azure/arm-devtestlabs";
31+
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
32+
const { DevTestLabsClient } = require("@azure/arm-devtestlabs");
3333
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
3434

3535
msRestNodeAuth.interactiveLogin().then((creds) => {
@@ -95,5 +95,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to
9595

9696
- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
9797

98-
99-
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fdevtestlabs%2Farm-devtestlabs%2FREADME.png)
98+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/devtestlabs/arm-devtestlabs/README.png)

sdk/devtestlabs/arm-devtestlabs/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"description": "DevTestLabsClient Library with typescript type definitions for node.js and browser.",
55
"version": "3.2.0",
66
"dependencies": {
7-
"@azure/ms-rest-azure-js": "^1.3.1",
8-
"@azure/ms-rest-js": "^1.2.6",
9-
"tslib": "^1.9.3"
7+
"@azure/ms-rest-azure-js": "^2.0.1",
8+
"@azure/ms-rest-js": "^2.0.4",
9+
"tslib": "^1.10.0"
1010
},
1111
"keywords": [
1212
"node",
@@ -20,19 +20,19 @@
2020
"module": "./esm/devTestLabsClient.js",
2121
"types": "./esm/devTestLabsClient.d.ts",
2222
"devDependencies": {
23-
"typescript": "^3.1.1",
24-
"rollup": "^0.66.2",
25-
"rollup-plugin-node-resolve": "^3.4.0",
23+
"typescript": "^3.5.3",
24+
"rollup": "^1.18.0",
25+
"rollup-plugin-node-resolve": "^5.2.0",
2626
"rollup-plugin-sourcemaps": "^0.4.2",
27-
"uglify-js": "^3.4.9"
27+
"uglify-js": "^3.6.0"
2828
},
29-
"homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/devtestlabs/arm-devtestlabs",
29+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/devtestlabs/arm-devtestlabs",
3030
"repository": {
3131
"type": "git",
32-
"url": "https://github.com/azure/azure-sdk-for-js.git"
32+
"url": "https://github.com/Azure/azure-sdk-for-js.git"
3333
},
3434
"bugs": {
35-
"url": "https://github.com/azure/azure-sdk-for-js/issues"
35+
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
3636
},
3737
"files": [
3838
"dist/**/*.js",

sdk/devtestlabs/arm-devtestlabs/rollup.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ 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.
2929
*/`
3030
},
3131
plugins: [
32-
nodeResolve({ module: true }),
32+
nodeResolve({ mainFields: ['module', 'main'] }),
3333
sourcemaps()
3434
]
3535
};

sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.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/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.ts

Lines changed: 3 additions & 4 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
@@ -13,7 +12,7 @@ import * as msRest from "@azure/ms-rest-js";
1312
import * as msRestAzure from "@azure/ms-rest-azure-js";
1413

1514
const packageName = "@azure/arm-devtestlabs";
16-
const packageVersion = "1.0.0";
15+
const packageVersion = "3.2.0";
1716

1817
export class DevTestLabsClientContext extends msRestAzure.AzureServiceClient {
1918
credentials: msRest.ServiceClientCredentials;

sdk/devtestlabs/arm-devtestlabs/src/models/armTemplatesMappers.ts

Lines changed: 2 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.
Lines changed: 3 additions & 37 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.
@@ -11,22 +11,16 @@ export {
1111
ApplicableScheduleFragment,
1212
ArmTemplate,
1313
ArmTemplateParameterProperties,
14-
ArmTemplateParameterPropertiesFragment,
1514
Artifact,
1615
ArtifactDeploymentStatusProperties,
17-
ArtifactDeploymentStatusPropertiesFragment,
1816
ArtifactInstallProperties,
19-
ArtifactInstallPropertiesFragment,
2017
ArtifactParameterProperties,
21-
ArtifactParameterPropertiesFragment,
2218
ArtifactSource,
2319
ArtifactSourceFragment,
2420
ArtifactSourceList,
2521
AttachNewDataDiskOptions,
26-
AttachNewDataDiskOptionsFragment,
2722
BaseResource,
2823
BulkCreationParameters,
29-
BulkCreationParametersFragment,
3024
CloudError,
3125
ComputeDataDisk,
3226
ComputeVmInstanceViewStatus,
@@ -35,96 +29,68 @@ export {
3529
CustomImage,
3630
CustomImageFragment,
3731
CustomImagePropertiesCustom,
38-
CustomImagePropertiesCustomFragment,
3932
CustomImagePropertiesFromPlan,
40-
CustomImagePropertiesFromPlanFragment,
4133
CustomImagePropertiesFromVm,
42-
CustomImagePropertiesFromVmFragment,
4334
DataDiskProperties,
44-
DataDiskPropertiesFragment,
4535
DataDiskStorageTypeInfo,
46-
DataDiskStorageTypeInfoFragment,
4736
DayDetails,
48-
DayDetailsFragment,
4937
Disk,
5038
DiskFragment,
5139
DtlEnvironment,
5240
DtlEnvironmentFragment,
5341
EnvironmentDeploymentProperties,
54-
EnvironmentDeploymentPropertiesFragment,
5542
Event,
56-
EventFragment,
5743
ExternalSubnet,
5844
Formula,
5945
FormulaFragment,
6046
FormulaPropertiesFromVm,
61-
FormulaPropertiesFromVmFragment,
6247
GalleryImage,
6348
GalleryImageReference,
64-
GalleryImageReferenceFragment,
6549
HourDetails,
66-
HourDetailsFragment,
6750
IdentityProperties,
6851
InboundNatRule,
69-
InboundNatRuleFragment,
7052
Lab,
7153
LabAnnouncementProperties,
72-
LabAnnouncementPropertiesFragment,
7354
LabCost,
7455
LabCostDetailsProperties,
7556
LabCostSummaryProperties,
7657
LabFragment,
7758
LabResourceCostProperties,
7859
LabSupportProperties,
79-
LabSupportPropertiesFragment,
8060
LabVirtualMachine,
8161
LabVirtualMachineCreationParameter,
82-
LabVirtualMachineCreationParameterFragment,
8362
LabVirtualMachineFragment,
8463
LinuxOsInfo,
85-
LinuxOsInfoFragment,
8664
NetworkInterfaceProperties,
87-
NetworkInterfacePropertiesFragment,
8865
NotificationChannel,
8966
NotificationChannelFragment,
9067
NotificationSettings,
91-
NotificationSettingsFragment,
9268
ParametersValueFileInfo,
9369
PercentageCostThresholdProperties,
9470
Policy,
9571
PolicyFragment,
9672
Port,
97-
PortFragment,
9873
Resource,
9974
Schedule,
10075
ScheduleCreationParameter,
101-
ScheduleCreationParameterFragment,
10276
ScheduleFragment,
10377
Secret,
10478
SecretFragment,
10579
ServiceFabric,
10680
ServiceFabricFragment,
10781
ServiceRunner,
10882
SharedPublicIpAddressConfiguration,
109-
SharedPublicIpAddressConfigurationFragment,
11083
Subnet,
111-
SubnetFragment,
11284
SubnetOverride,
113-
SubnetOverrideFragment,
11485
SubnetSharedPublicIpAddressConfiguration,
115-
SubnetSharedPublicIpAddressConfigurationFragment,
11686
TargetCostProperties,
11787
UpdateResource,
11888
User,
11989
UserFragment,
12090
UserIdentity,
121-
UserIdentityFragment,
12291
UserSecretStore,
123-
UserSecretStoreFragment,
12492
VirtualNetwork,
12593
VirtualNetworkFragment,
12694
WeekDetails,
127-
WeekDetailsFragment,
128-
WindowsOsInfo,
129-
WindowsOsInfoFragment
95+
WindowsOsInfo
13096
} from "../models/mappers";

sdk/devtestlabs/arm-devtestlabs/src/models/artifactsMappers.ts

Lines changed: 2 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.

sdk/devtestlabs/arm-devtestlabs/src/models/costsMappers.ts

Lines changed: 2 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.

0 commit comments

Comments
 (0)