Skip to content

Commit 5354ce0

Browse files
author
SDKAuto
committed
CodeGen from PR 18971 in Azure/azure-rest-api-specs
Merge 6e0903ba2cb7f3b5782dc9602752935d42542a96 into 324a148497f28ef7588eee7bdb61dcd28b74f505
1 parent 92b5cd0 commit 5354ce0

File tree

12 files changed

+181
-151
lines changed

12 files changed

+181
-151
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 33 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Release History
22

3+
## 2.0.0 (2022-05-09)
4+
5+
**Features**
6+
7+
- Added Interface ValidateOperationResult
8+
- Enum KnownValidationResultStatus has a new value Failure
9+
10+
**Breaking Changes**
11+
12+
- Enum KnownValidationResultStatus no longer has value Failed
13+
14+
315
## 1.0.0 (2022-04-27)
416

517
The package of @azure/arm-servicelinker is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).

sdk/servicelinker/arm-servicelinker/README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Microsoft.ServiceLinker provider
1616
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
1717
- Latest versions of Safari, Chrome, Edge and Firefox.
1818

19-
See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
20-
2119
### Prerequisites
2220

2321
- An [Azure subscription][azure_sub].
@@ -51,16 +49,8 @@ For more information about how to create an Azure AD Application check out [this
5149
```javascript
5250
const { ServiceLinkerManagementClient } = require("@azure/arm-servicelinker");
5351
const { DefaultAzureCredential } = require("@azure/identity");
54-
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
55-
56-
const client = new ServiceLinkerManagementClient(new DefaultAzureCredential());
57-
58-
// For client-side applications running in the browser, use this code instead:
59-
// const credential = new InteractiveBrowserCredential({
60-
// tenantId: "<YOUR_TENANT_ID>",
61-
// clientId: "<YOUR_CLIENT_ID>"
62-
// });
63-
// const client = new ServiceLinkerManagementClient(credential);
52+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
53+
const client = new ServiceLinkerManagementClient(new DefaultAzureCredential(), subscriptionId);
6454
```
6555

6656

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "af53c06807f579062e88531c0b292ac5414af0dd",
2+
"commit": "6a49ba4da5d28c034ddba7800e1eb6724bd9d02f",
33
"readme": "specification/servicelinker/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=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\servicelinker\\resource-manager\\readme.md --use=@autorest/[email protected].19.20220408.1 --generate-sample=true",
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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/servicelinker/resource-manager/readme.md --use=@autorest/[email protected].16.20220105.1",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.6",
7-
"use": "@autorest/[email protected].19.20220408.1"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
7+
"use": "@autorest/[email protected].16.20220105.1"
88
}

sdk/servicelinker/arm-servicelinker/package.json

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ServiceLinkerManagementClient.",
6-
"version": "1.0.0",
6+
"version": "2.0.0",
77
"engines": {
88
"node": ">=12.0.0"
99
},
1010
"dependencies": {
1111
"@azure/core-lro": "^2.2.0",
1212
"@azure/abort-controller": "^1.0.0",
1313
"@azure/core-paging": "^1.2.0",
14-
"@azure/core-client": "^1.5.0",
14+
"@azure/core-client": "^1.0.0",
1515
"@azure/core-auth": "^1.3.0",
16-
"@azure/core-rest-pipeline": "^1.8.0",
16+
"@azure/core-rest-pipeline": "^1.1.0",
1717
"tslib": "^2.2.0"
1818
},
1919
"keywords": [
@@ -29,13 +29,13 @@
2929
"types": "./types/arm-servicelinker.d.ts",
3030
"devDependencies": {
3131
"@microsoft/api-extractor": "^7.18.11",
32-
"@rollup/plugin-commonjs": "^21.0.1",
33-
"@rollup/plugin-json": "^4.1.0",
34-
"@rollup/plugin-multi-entry": "^4.1.0",
35-
"@rollup/plugin-node-resolve": "^13.1.3",
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",
3636
"mkdirp": "^1.0.4",
37-
"rollup": "^2.66.1",
38-
"rollup-plugin-sourcemaps": "^0.6.3",
37+
"rollup": "^1.16.3",
38+
"rollup-plugin-sourcemaps": "^0.4.2",
3939
"typescript": "~4.2.0",
4040
"uglify-js": "^3.4.9",
4141
"rimraf": "^3.0.0",
@@ -98,21 +98,5 @@
9898
"docs": "echo skipped"
9999
},
100100
"sideEffects": false,
101-
"//metadata": {
102-
"constantPaths": [
103-
{
104-
"path": "src/serviceLinkerManagementClient.ts",
105-
"prefix": "packageDetails"
106-
}
107-
]
108-
},
109-
"autoPublish": true,
110-
"//sampleConfiguration": {
111-
"productName": "",
112-
"productSlugs": [
113-
"azure"
114-
],
115-
"disableDocsMs": true,
116-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-servicelinker?view=azure-node-preview"
117-
}
101+
"autoPublish": true
118102
}

0 commit comments

Comments
 (0)