Skip to content

Commit 5acb8bd

Browse files
SDKAutoLior Abadiaelijmsyyc
committed
CodeGen from PR 16526 in Azure/azure-rest-api-specs
ADP: Introduce api version 2021-11-01-preview (Azure#16526) * - Copy version 2021-11-01 from 2021-02-01 - Add new version to readme.md * Update api version references to 2021-11-01 * Add api changes * Fix validation * Fix the rest of the validations and other readme's * Prettier fix * Fix python sdk generation * Use multiapiscript instead of multiapi * Try using only multiapi * Fix python * Align readmes * Align python with sample * Change to create mode * Revert mode * Update readme.python.md * New data pool * Add Access URI and use KeyVaultProperties for encryption * Revert New data pool * Remove the deduplication flag Co-authored-by: Lior Abadi <[email protected]> Co-authored-by: Eli Arbel <[email protected]> Co-authored-by: Yuchao Yan <[email protected]>
1 parent dbbce26 commit 5acb8bd

27 files changed

+4490
-54
lines changed

common/config/rush/pnpm-lock.yaml

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

rush.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,11 @@
12151215
"packageName": "@azure/arm-containerinstance",
12161216
"projectFolder": "sdk/containerinstance/arm-containerinstance",
12171217
"versionPolicyName": "management"
1218+
},
1219+
{
1220+
"packageName": "adp",
1221+
"projectFolder": "sdk/adp/arm-adp",
1222+
"versionPolicyName": "management"
12181223
}
12191224
]
12201225
}

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-01-05)
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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"commit": "b81af692dbb8395672116d85805cbc9ad1432f3b",
3+
"readme": "specification/adp/resource-manager/readme.md",
4+
"autorest_command": "autorest --version=3.1.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+
"use": "@autorest/[email protected]"
7+
}

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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": { "enabled": true },
5+
"apiReport": { "enabled": true, "reportFolder": "./review" },
6+
"dtsRollup": {
7+
"enabled": true,
8+
"untrimmedFilePath": "",
9+
"publicTrimmedFilePath": "./types/adp.d.ts"
10+
},
11+
"messages": {
12+
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
13+
"extractorMessageReporting": {
14+
"ae-missing-release-tag": { "logLevel": "none" },
15+
"ae-unresolved-link": { "logLevel": "none" }
16+
}
17+
}
18+
}

sdk/adp/arm-adp/package.json

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

0 commit comments

Comments
 (0)