Skip to content

Commit c90a20e

Browse files
author
SDKAuto
committed
CodeGen from PR 18428 in Azure/azure-rest-api-specs
Merge 645523062290de00610f3b19aee550167278b7b3 into d07d484e1e799262a03fb8e84bd5d66082150ba4
1 parent 91bf724 commit c90a20e

27 files changed

+4485
-2
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rush.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* This is the main configuration file for Rush.
33
* For full documentation, please see https://rushjs.io
4-
*/ {
4+
*/{
55
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush.schema.json",
66
/**
77
* (Required) This specifies the version of the Rush engine to be used in this repo.
@@ -1675,6 +1675,11 @@
16751675
"packageName": "@azure/arm-app",
16761676
"projectFolder": "sdk/app/arm-app",
16771677
"versionPolicyName": "management"
1678+
},
1679+
{
1680+
"packageName": "adp",
1681+
"projectFolder": "sdk/adp/arm-adp",
1682+
"versionPolicyName": "management"
16781683
}
16791684
]
1680-
}
1685+
}

sdk/adp/arm-adp/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Release History
2+
3+
## 1.0.0-beta.1 (2022-03-29)
4+
5+
The package of adp is using our next generation design principles since version 1.0.0-beta.1, which contains breaking changes.
6+
7+
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
8+
9+
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
10+
11+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).

sdk/adp/arm-adp/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2022 Microsoft
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

sdk/adp/arm-adp/README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# AdpManagement client library for JavaScript
2+
3+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AdpManagement client.
4+
5+
Microsoft Autonomous Development Platform
6+
7+
[Package (NPM)](https://www.npmjs.com/package/adp) |
8+
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
9+
10+
## Getting started
11+
12+
### Currently supported environments
13+
14+
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
15+
- Latest versions of Safari, Chrome, Edge and Firefox.
16+
17+
18+
### Install the `adp` package
19+
20+
Install the AdpManagement client library for JavaScript with `npm`:
21+
22+
```bash
23+
npm install adp
24+
```
25+
26+
27+
28+
### JavaScript Bundle
29+
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
30+
31+
## Key concepts
32+
33+
### AdpManagementClient
34+
35+
`AdpManagementClient` is the primary interface for developers using the AdpManagement client library. Explore the methods on this client object to understand the different features of the AdpManagement service that you can access.
36+

sdk/adp/arm-adp/_meta.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"commit": "84b4aa84daf44398f68e239358a95fa6b9f6b3a6",
3+
"readme": "specification/adp/resource-manager/readme.md",
4+
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/adp/resource-manager/readme.md --use=@autorest/[email protected]",
5+
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6+
"release_tool": "@azure-tools/[email protected]",
7+
"use": "@autorest/[email protected]"
8+
}

sdk/adp/arm-adp/api-extractor.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3+
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
4+
"docModel": {
5+
"enabled": true
6+
},
7+
"apiReport": {
8+
"enabled": true,
9+
"reportFolder": "./review"
10+
},
11+
"dtsRollup": {
12+
"enabled": true,
13+
"untrimmedFilePath": "",
14+
"publicTrimmedFilePath": "./types/adp.d.ts"
15+
},
16+
"messages": {
17+
"tsdocMessageReporting": {
18+
"default": {
19+
"logLevel": "none"
20+
}
21+
},
22+
"extractorMessageReporting": {
23+
"ae-missing-release-tag": {
24+
"logLevel": "none"
25+
},
26+
"ae-unresolved-link": {
27+
"logLevel": "none"
28+
}
29+
}
30+
}
31+
}

sdk/adp/arm-adp/package.json

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
{
2+
"name": "adp",
3+
"sdk-type": "mgmt",
4+
"author": "Microsoft Corporation",
5+
"description": "A generated SDK for AdpManagementClient.",
6+
"version": "1.0.0-beta.1",
7+
"engines": {
8+
"node": ">=12.0.0"
9+
},
10+
"dependencies": {
11+
"@azure/core-lro": "^2.2.0",
12+
"@azure/abort-controller": "^1.0.0",
13+
"@azure/core-paging": "^1.2.0",
14+
"@azure/core-client": "^1.0.0",
15+
"@azure/core-auth": "^1.3.0",
16+
"@azure/core-rest-pipeline": "^1.1.0",
17+
"tslib": "^2.2.0"
18+
},
19+
"keywords": [
20+
"node",
21+
"azure",
22+
"typescript",
23+
"browser",
24+
"isomorphic"
25+
],
26+
"license": "MIT",
27+
"main": "./dist/index.js",
28+
"module": "./dist-esm/src/index.js",
29+
"types": "./types/adp.d.ts",
30+
"devDependencies": {
31+
"@microsoft/api-extractor": "^7.18.11",
32+
"@rollup/plugin-commonjs": "11.0.2",
33+
"@rollup/plugin-json": "^4.0.0",
34+
"@rollup/plugin-multi-entry": "^3.0.0",
35+
"@rollup/plugin-node-resolve": "^8.0.0",
36+
"mkdirp": "^1.0.4",
37+
"rollup": "^1.16.3",
38+
"rollup-plugin-sourcemaps": "^0.4.2",
39+
"typescript": "~4.2.0",
40+
"uglify-js": "^3.4.9",
41+
"rimraf": "^3.0.0",
42+
"@azure/identity": "^2.0.1",
43+
"@azure-tools/test-recorder": "^1.0.0",
44+
"mocha": "^7.1.1",
45+
"cross-env": "^7.0.2"
46+
},
47+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/adp/arm-adp",
48+
"repository": {
49+
"type": "git",
50+
"url": "https://github.com/Azure/azure-sdk-for-js.git"
51+
},
52+
"bugs": {
53+
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
54+
},
55+
"files": [
56+
"dist/**/*.js",
57+
"dist/**/*.js.map",
58+
"dist/**/*.d.ts",
59+
"dist/**/*.d.ts.map",
60+
"dist-esm/**/*.js",
61+
"dist-esm/**/*.js.map",
62+
"dist-esm/**/*.d.ts",
63+
"dist-esm/**/*.d.ts.map",
64+
"src/**/*.ts",
65+
"README.md",
66+
"LICENSE",
67+
"rollup.config.js",
68+
"tsconfig.json",
69+
"review/*",
70+
"CHANGELOG.md",
71+
"types/*"
72+
],
73+
"scripts": {
74+
"build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
75+
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
76+
"prepack": "npm run build",
77+
"pack": "npm pack 2>&1",
78+
"extract-api": "api-extractor run --local",
79+
"lint": "echo skipped",
80+
"audit": "echo skipped",
81+
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
82+
"build:node": "echo skipped",
83+
"build:browser": "echo skipped",
84+
"build:test": "echo skipped",
85+
"build:samples": "echo skipped.",
86+
"check-format": "echo skipped",
87+
"execute:samples": "echo skipped",
88+
"format": "echo skipped",
89+
"test": "npm run integration-test",
90+
"test:node": "echo skipped",
91+
"test:browser": "echo skipped",
92+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
93+
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
94+
"unit-test:browser": "echo skipped",
95+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
96+
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
97+
"integration-test:browser": "echo skipped",
98+
"docs": "echo skipped"
99+
},
100+
"sideEffects": false,
101+
"autoPublish": true
102+
}

0 commit comments

Comments
 (0)