Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 53 additions & 10 deletions sdk/web-pubsub/arm-webpubsub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,58 @@
# Release History

## 1.1.0-beta.1 (2022-10-19)

**Features**

## 1.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group WebPubSubCustomCertificates
- Added operation group WebPubSubCustomDomains
- Added Interface CustomCertificate
- Added Interface CustomCertificateList
- Added Interface CustomDomain
- Added Interface CustomDomainList
- Added Interface EventHubEndpoint
- Added Interface EventListener_2
- Added Interface EventListenerEndpoint
- Added Interface EventListenerFilter
- Added Interface EventNameFilter
- Added Interface PrivateEndpointACL
- Added Interface PrivateEndpointConnection
- Added Interface PrivateLinkResource
- Added Interface ProxyResource
- Added Interface ResourceReference
- Added Interface SharedPrivateLinkResource
- Added Interface TrackedResource
- Added Interface WebPubSubCustomCertificatesCreateOrUpdateOptionalParams
- Added Interface WebPubSubCustomCertificatesDeleteOptionalParams
- Added Interface WebPubSubCustomCertificatesGetOptionalParams
- Added Interface WebPubSubCustomCertificatesListNextOptionalParams
- Added Interface WebPubSubCustomCertificatesListOptionalParams
- Added Interface WebPubSubCustomDomainsCreateOrUpdateOptionalParams
- Added Interface WebPubSubCustomDomainsDeleteOptionalParams
- Added Interface WebPubSubCustomDomainsGetOptionalParams
- Added Interface WebPubSubCustomDomainsListNextOptionalParams
- Added Interface WebPubSubCustomDomainsListOptionalParams
- Added Interface WebPubSubHub
- Added Interface WebPubSubResource
- Added Type Alias EventListenerEndpointDiscriminator
- Added Type Alias EventListenerEndpointUnion
- Added Type Alias EventListenerFilterDiscriminator
- Added Type Alias EventListenerFilterUnion
- Added Type Alias WebPubSubCustomCertificatesCreateOrUpdateResponse
- Added Type Alias WebPubSubCustomCertificatesGetResponse
- Added Type Alias WebPubSubCustomCertificatesListNextResponse
- Added Type Alias WebPubSubCustomCertificatesListResponse
- Added Type Alias WebPubSubCustomDomainsCreateOrUpdateResponse
- Added Type Alias WebPubSubCustomDomainsGetResponse
- Added Type Alias WebPubSubCustomDomainsListNextResponse
- Added Type Alias WebPubSubCustomDomainsListResponse
- Interface WebPubSubHubProperties has a new optional parameter eventListeners
- Class WebPubSubManagementClient has a new parameter webPubSubCustomCertificates
- Class WebPubSubManagementClient has a new parameter webPubSubCustomDomains
- Added Enum KnownEventListenerEndpointDiscriminator
- Added Enum KnownEventListenerFilterDiscriminator


## 1.0.0 (2021-12-16)

- 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).
2 changes: 1 addition & 1 deletion sdk/web-pubsub/arm-webpubsub/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Microsoft
Copyright (c) 2022 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 12 additions & 1 deletion sdk/web-pubsub/arm-webpubsub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ REST API for Azure WebPubSub Service

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

## Getting started
Expand All @@ -16,6 +16,8 @@ REST API for Azure WebPubSub Service
- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
- Latest versions of Safari, Chrome, Edge and Firefox.

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

### Prerequisites

- An [Azure subscription][azure_sub].
Expand Down Expand Up @@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this
```javascript
const { WebPubSubManagementClient } = require("@azure/arm-webpubsub");
const { DefaultAzureCredential } = require("@azure/identity");
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new WebPubSubManagementClient(new DefaultAzureCredential(), subscriptionId);

// For client-side applications running in the browser, use this code instead:
// const credential = new InteractiveBrowserCredential({
// tenantId: "<YOUR_TENANT_ID>",
// clientId: "<YOUR_CLIENT_ID>"
// });
// const client = new WebPubSubManagementClient(credential, subscriptionId);
```


Expand Down
7 changes: 4 additions & 3 deletions sdk/web-pubsub/arm-webpubsub/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "d600759c3516b61a7c353bc8682bccbab85a6f65",
"commit": "307cc50c6ca925d51773420cde8de4e9365cf743",
"readme": "specification/webpubsub/resource-manager/readme.md",
"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",
"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",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected]"
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected]"
}
25 changes: 19 additions & 6 deletions sdk/web-pubsub/arm-webpubsub/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-webpubsub.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
41 changes: 26 additions & 15 deletions sdk/web-pubsub/arm-webpubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for WebPubSubManagementClient.",
"version": "1.0.1",
"version": "1.1.0-beta.1",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.0.0",
"@azure/core-client": "^1.5.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.1.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -30,19 +30,23 @@
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-multi-entry": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"mkdirp": "^1.0.4",
"rollup": "^2.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.6.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/arm-webpubsub",
"repository": {
Expand Down Expand Up @@ -93,10 +97,17 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/webPubSubManagementClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true
}
}
Loading