Skip to content

Commit 76d1f2c

Browse files
author
SDKAuto
committed
CodeGen from PR 20467 in Azure/azure-rest-api-specs
Merge 58153c4cc41140067071e0895c5e4484527f9b20 into 9366804c62e024801daf8a578924099ff644ccf6
1 parent 0fceaa3 commit 76d1f2c

28 files changed

+2243
-266
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 53 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,58 @@
11
# Release History
2+
3+
## 1.1.0-beta.1 (2022-10-19)
4+
5+
**Features**
26

3-
## 1.0.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added operation group WebPubSubCustomCertificates
8+
- Added operation group WebPubSubCustomDomains
9+
- Added Interface CustomCertificate
10+
- Added Interface CustomCertificateList
11+
- Added Interface CustomDomain
12+
- Added Interface CustomDomainList
13+
- Added Interface EventHubEndpoint
14+
- Added Interface EventListener_2
15+
- Added Interface EventListenerEndpoint
16+
- Added Interface EventListenerFilter
17+
- Added Interface EventNameFilter
18+
- Added Interface PrivateEndpointACL
19+
- Added Interface PrivateEndpointConnection
20+
- Added Interface PrivateLinkResource
21+
- Added Interface ProxyResource
22+
- Added Interface ResourceReference
23+
- Added Interface SharedPrivateLinkResource
24+
- Added Interface TrackedResource
25+
- Added Interface WebPubSubCustomCertificatesCreateOrUpdateOptionalParams
26+
- Added Interface WebPubSubCustomCertificatesDeleteOptionalParams
27+
- Added Interface WebPubSubCustomCertificatesGetOptionalParams
28+
- Added Interface WebPubSubCustomCertificatesListNextOptionalParams
29+
- Added Interface WebPubSubCustomCertificatesListOptionalParams
30+
- Added Interface WebPubSubCustomDomainsCreateOrUpdateOptionalParams
31+
- Added Interface WebPubSubCustomDomainsDeleteOptionalParams
32+
- Added Interface WebPubSubCustomDomainsGetOptionalParams
33+
- Added Interface WebPubSubCustomDomainsListNextOptionalParams
34+
- Added Interface WebPubSubCustomDomainsListOptionalParams
35+
- Added Interface WebPubSubHub
36+
- Added Interface WebPubSubResource
37+
- Added Type Alias EventListenerEndpointDiscriminator
38+
- Added Type Alias EventListenerEndpointUnion
39+
- Added Type Alias EventListenerFilterDiscriminator
40+
- Added Type Alias EventListenerFilterUnion
41+
- Added Type Alias WebPubSubCustomCertificatesCreateOrUpdateResponse
42+
- Added Type Alias WebPubSubCustomCertificatesGetResponse
43+
- Added Type Alias WebPubSubCustomCertificatesListNextResponse
44+
- Added Type Alias WebPubSubCustomCertificatesListResponse
45+
- Added Type Alias WebPubSubCustomDomainsCreateOrUpdateResponse
46+
- Added Type Alias WebPubSubCustomDomainsGetResponse
47+
- Added Type Alias WebPubSubCustomDomainsListNextResponse
48+
- Added Type Alias WebPubSubCustomDomainsListResponse
49+
- Interface WebPubSubHubProperties has a new optional parameter eventListeners
50+
- Class WebPubSubManagementClient has a new parameter webPubSubCustomCertificates
51+
- Class WebPubSubManagementClient has a new parameter webPubSubCustomDomains
52+
- Added Enum KnownEventListenerEndpointDiscriminator
53+
- Added Enum KnownEventListenerFilterDiscriminator
54+
55+
1356
## 1.0.0 (2021-12-16)
1457

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

sdk/web-pubsub/arm-webpubsub/LICENSE

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) 2021 Microsoft
3+
Copyright (c) 2022 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/web-pubsub/arm-webpubsub/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ REST API for Azure WebPubSub Service
66

77
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/arm-webpubsub) |
88
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-webpubsub) |
9-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-webpubsub) |
9+
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-webpubsub?view=azure-node-preview) |
1010
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
1111

1212
## Getting started
@@ -16,6 +16,8 @@ REST API for Azure WebPubSub Service
1616
- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
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+
1921
### Prerequisites
2022

2123
- An [Azure subscription][azure_sub].
@@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this
4951
```javascript
5052
const { WebPubSubManagementClient } = require("@azure/arm-webpubsub");
5153
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+
5256
const subscriptionId = "00000000-0000-0000-0000-000000000000";
5357
const client = new WebPubSubManagementClient(new DefaultAzureCredential(), subscriptionId);
58+
59+
// For client-side applications running in the browser, use this code instead:
60+
// const credential = new InteractiveBrowserCredential({
61+
// tenantId: "<YOUR_TENANT_ID>",
62+
// clientId: "<YOUR_CLIENT_ID>"
63+
// });
64+
// const client = new WebPubSubManagementClient(credential, subscriptionId);
5465
```
5566

5667

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"commit": "d600759c3516b61a7c353bc8682bccbab85a6f65",
2+
"commit": "307cc50c6ca925d51773420cde8de4e9365cf743",
33
"readme": "specification/webpubsub/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=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/webpubsub/resource-manager/readme.md --use=@autorest/[email protected]alpha.16.20211207.1",
4+
"autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --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/webpubsub/resource-manager/readme.md --use=@autorest/[email protected]rc.2",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"use": "@autorest/[email protected]"
6+
"release_tool": "@azure-tools/[email protected]",
7+
"use": "@autorest/[email protected]"
78
}
Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
33
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
4-
"docModel": { "enabled": true },
5-
"apiReport": { "enabled": true, "reportFolder": "./review" },
4+
"docModel": {
5+
"enabled": true
6+
},
7+
"apiReport": {
8+
"enabled": true,
9+
"reportFolder": "./review"
10+
},
611
"dtsRollup": {
712
"enabled": true,
813
"untrimmedFilePath": "",
914
"publicTrimmedFilePath": "./types/arm-webpubsub.d.ts"
1015
},
1116
"messages": {
12-
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
17+
"tsdocMessageReporting": {
18+
"default": {
19+
"logLevel": "none"
20+
}
21+
},
1322
"extractorMessageReporting": {
14-
"ae-missing-release-tag": { "logLevel": "none" },
15-
"ae-unresolved-link": { "logLevel": "none" }
23+
"ae-missing-release-tag": {
24+
"logLevel": "none"
25+
},
26+
"ae-unresolved-link": {
27+
"logLevel": "none"
28+
}
1629
}
1730
}
18-
}
31+
}

sdk/web-pubsub/arm-webpubsub/package.json

Lines changed: 26 additions & 15 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 WebPubSubManagementClient.",
6-
"version": "1.0.1",
6+
"version": "1.1.0-beta.1",
77
"engines": {
88
"node": ">=14.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.0.0",
14+
"@azure/core-client": "^1.5.0",
1515
"@azure/core-auth": "^1.3.0",
16-
"@azure/core-rest-pipeline": "^1.1.0",
16+
"@azure/core-rest-pipeline": "^1.8.0",
1717
"tslib": "^2.2.0"
1818
},
1919
"keywords": [
@@ -30,19 +30,23 @@
3030
"devDependencies": {
3131
"@microsoft/api-extractor": "^7.31.1",
3232
"@rollup/plugin-commonjs": "^21.0.1",
33-
"@rollup/plugin-json": "^4.0.0",
34-
"@rollup/plugin-multi-entry": "^3.0.0",
35-
"@rollup/plugin-node-resolve": "^8.0.0",
33+
"@rollup/plugin-json": "^4.1.0",
34+
"@rollup/plugin-multi-entry": "^4.1.0",
35+
"@rollup/plugin-node-resolve": "^13.1.3",
3636
"mkdirp": "^1.0.4",
37-
"rollup": "^2.0.0",
38-
"rollup-plugin-sourcemaps": "^0.4.2",
39-
"typescript": "~4.2.0",
37+
"rollup": "^2.66.1",
38+
"rollup-plugin-sourcemaps": "^0.6.3",
39+
"typescript": "~4.6.0",
4040
"uglify-js": "^3.4.9",
4141
"rimraf": "^3.0.0",
4242
"@azure/identity": "^2.0.1",
43-
"@azure-tools/test-recorder": "^1.0.0",
43+
"@azure-tools/test-recorder": "^2.0.0",
44+
"@azure-tools/test-credential": "^1.0.0",
4445
"mocha": "^7.1.1",
45-
"cross-env": "^7.0.2"
46+
"@types/chai": "^4.2.8",
47+
"chai": "^4.2.0",
48+
"cross-env": "^7.0.2",
49+
"@azure/dev-tool": "^1.0.0"
4650
},
4751
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/arm-webpubsub",
4852
"repository": {
@@ -93,10 +97,17 @@
9397
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
9498
"unit-test:browser": "echo skipped",
9599
"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"
100+
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
101+
"integration-test:browser": "echo skipped"
99102
},
100103
"sideEffects": false,
104+
"//metadata": {
105+
"constantPaths": [
106+
{
107+
"path": "src/webPubSubManagementClient.ts",
108+
"prefix": "packageDetails"
109+
}
110+
]
111+
},
101112
"autoPublish": true
102-
}
113+
}

0 commit comments

Comments
 (0)