Skip to content

Commit ec4a8de

Browse files
author
SDKAuto
committed
CodeGen from PR 34490 in Azure/azure-rest-api-specs
Merge aa81690e5d74c34f1afcaf8d5eb8d6938babe1f9 into 9dddeb9b39af228f444c2d375d0edf51883f6d76
1 parent e9e7974 commit ec4a8de

31 files changed

+421
-686
lines changed

common/config/rush/pnpm-lock.yaml

+40-41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventhub/arm-eventhub/CHANGELOG.md

+27
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Release History
22

3+
## 5.3.0-beta.2 (2025-05-08)
4+
Compared with version 5.2.0
5+
6+
### Features Added
7+
8+
- Added operation Namespaces.beginFailover
9+
- Added operation Namespaces.beginFailoverAndWait
10+
- Added Interface FailOver
11+
- Added Interface GeoDataReplicationProperties
12+
- Added Interface MessageTimestampDescription
13+
- Added Interface NamespaceReplicaLocation
14+
- Added Interface NamespacesFailoverHeaders
15+
- Added Interface NamespacesFailoverOptionalParams
16+
- Added Type Alias GeoDRRoleType
17+
- Added Type Alias NamespacesFailoverResponse
18+
- Added Type Alias TimestampType
19+
- Interface EHNamespace has a new optional parameter geoDataReplication
20+
- Interface Eventhub has a new optional parameter identifier
21+
- Interface Eventhub has a new optional parameter messageTimestampDescription
22+
- Interface RetentionDescription has a new optional parameter minCompactionLagInMins
23+
- Added Enum KnownGeoDRRoleType
24+
- Added Enum KnownTimestampType
25+
- Enum KnownCleanupPolicyRetentionDescription has a new value DeleteOrCompact
26+
- Enum KnownSchemaType has a new value Json
27+
- Enum KnownSchemaType has a new value ProtoBuf
28+
29+
330
## 5.3.0-beta.1 (2025-02-12)
431
Compared with version 5.2.0
532

sdk/eventhub/arm-eventhub/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

sdk/eventhub/arm-eventhub/README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,14 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6363
import { InteractiveBrowserCredential } from "@azure/identity";
6464
import { EventHubManagementClient } from "@azure/arm-eventhub";
6565

66-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6766
const credential = new InteractiveBrowserCredential({
6867
tenantId: "<YOUR_TENANT_ID>",
69-
clientId: "<YOUR_CLIENT_ID>",
70-
});
68+
clientId: "<YOUR_CLIENT_ID>"
69+
});
7170
const client = new EventHubManagementClient(credential, subscriptionId);
7271
```
7372

7473
### JavaScript Bundle
75-
7674
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).
7775

7876
## Key concepts
@@ -108,7 +106,6 @@ If you'd like to contribute to this library, please read the [contributing guide
108106
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
109107

110108

111-
112109
[azure_cli]: https://learn.microsoft.com/cli/azure
113110
[azure_sub]: https://azure.microsoft.com/free/
114111
[azure_sub]: https://azure.microsoft.com/free/

sdk/eventhub/arm-eventhub/_meta.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "20efe6fd4db8a494eab1852a8541fbabe5de569c",
2+
"commit": "05c4bb95063cb2b1c7d73235837d49f3dcd0a9a5",
33
"readme": "specification/eventhub/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\eventhub\\resource-manager\\readme.md --use=@autorest/[email protected].34 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.9.7 --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/eventhub/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/[email protected].19",
7-
"use": "@autorest/[email protected].34"
8-
}
6+
"release_tool": "@azure-tools/[email protected].26",
7+
"use": "@autorest/typescript@^6.0.12"
8+
}

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3-
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
3+
"mainEntryPointFilePath": "dist/esm/index.d.ts",
44
"docModel": {
55
"enabled": true
66
},
@@ -11,7 +11,7 @@
1111
"dtsRollup": {
1212
"enabled": true,
1313
"untrimmedFilePath": "",
14-
"publicTrimmedFilePath": "./types/arm-eventhub.d.ts"
14+
"publicTrimmedFilePath": "dist/arm-eventhub.d.ts"
1515
},
1616
"messages": {
1717
"tsdocMessageReporting": {

sdk/eventhub/arm-eventhub/package.json

+29-30
Original file line numberDiff line numberDiff line change
@@ -3,50 +3,48 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for EventHubManagementClient.",
6-
"version": "5.3.0-beta.1",
6+
"version": "5.3.0-beta.2",
77
"engines": {
88
"node": ">=18.0.0"
99
},
1010
"dependencies": {
1111
"@azure/abort-controller": "^2.1.2",
1212
"@azure/core-auth": "^1.9.0",
13-
"@azure/core-client": "^1.9.2",
13+
"@azure/core-client": "^1.9.4",
1414
"@azure/core-lro": "^2.5.4",
1515
"@azure/core-paging": "^1.6.2",
16-
"@azure/core-rest-pipeline": "^1.19.0",
16+
"@azure/core-rest-pipeline": "^1.20.0",
1717
"tslib": "^2.8.1"
1818
},
1919
"keywords": [
2020
"node",
2121
"azure",
2222
"typescript",
2323
"browser",
24-
"isomorphic"
24+
"isomorphic",
25+
"cloud"
2526
],
2627
"license": "MIT",
2728
"main": "./dist/commonjs/index.js",
2829
"module": "./dist/esm/index.js",
2930
"types": "./dist/commonjs/index.d.ts",
31+
"type": "module",
3032
"devDependencies": {
3133
"@azure-tools/test-credential": "^2.0.0",
3234
"@azure-tools/test-recorder": "^4.1.0",
3335
"@azure-tools/test-utils-vitest": "^1.0.0",
34-
"@azure/arm-network": "^32.2.0",
35-
"@azure/arm-storage": "^18.0.0",
3636
"@azure/dev-tool": "^1.0.0",
37-
"@azure/identity": "^4.6.0",
37+
"@azure/identity": "^4.9.1",
38+
"@azure/logger": "^1.2.0",
3839
"@types/node": "^18.0.0",
3940
"@vitest/browser": "^3.0.9",
4041
"@vitest/coverage-istanbul": "^3.0.9",
4142
"dotenv": "^16.0.0",
42-
"playwright": "^1.50.1",
43-
"typescript": "~5.6.2",
43+
"playwright": "^1.52.0",
44+
"typescript": "~5.8.2",
4445
"vitest": "^3.0.9"
4546
},
46-
"repository": {
47-
"type": "git",
48-
"url": "https://github.com/Azure/azure-sdk-for-js.git"
49-
},
47+
"repository": "github:Azure/azure-sdk-for-js",
5048
"bugs": {
5149
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
5250
},
@@ -59,20 +57,30 @@
5957
],
6058
"scripts": {
6159
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
60+
"build:browser": "echo skipped",
61+
"build:node": "echo skipped",
6262
"build:samples": "echo skipped.",
63-
"check-format": "echo skipped",
63+
"build:test": "echo skipped",
64+
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
6465
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
6566
"execute:samples": "echo skipped",
6667
"extract-api": "dev-tool run extract-api",
67-
"format": "echo skipped",
68+
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
69+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
70+
"integration-test:browser": "echo skipped",
71+
"integration-test:node": "dev-tool run test:vitest --esm",
6872
"lint": "echo skipped",
73+
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
6974
"pack": "npm pack 2>&1",
7075
"prepack": "npm run build",
71-
"test": "npm run test:node && npm run test:browser",
76+
"test": "npm run integration-test",
7277
"test:browser": "echo skipped",
7378
"test:node": "dev-tool run test:vitest",
74-
"test:node:esm": "dev-tool run test:vitest --esm",
75-
"update-snippets": "dev-tool run update-snippets"
79+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
80+
"unit-test:browser": "echo skipped",
81+
"unit-test:node": "dev-tool run test:vitest",
82+
"update-snippets": "dev-tool run update-snippets",
83+
"test:node:esm": "dev-tool run test:vitest --esm"
7684
},
7785
"sideEffects": false,
7886
"//metadata": {
@@ -84,16 +92,9 @@
8492
]
8593
},
8694
"autoPublish": true,
95+
"browser": "./dist/browser/index.js",
96+
"react-native": "./dist/react-native/index.js",
8797
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/arm-eventhub",
88-
"//sampleConfiguration": {
89-
"productName": "",
90-
"productSlugs": [
91-
"azure"
92-
],
93-
"disableDocsMs": true,
94-
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-eventhub?view=azure-node-preview"
95-
},
96-
"type": "module",
9798
"tshy": {
9899
"project": "./tsconfig.src.json",
99100
"exports": {
@@ -110,8 +111,6 @@
110111
],
111112
"selfLink": false
112113
},
113-
"browser": "./dist/browser/index.js",
114-
"react-native": "./dist/react-native/index.js",
115114
"exports": {
116115
"./package.json": "./package.json",
117116
".": {
@@ -133,4 +132,4 @@
133132
}
134133
}
135134
}
136-
}
135+
}

0 commit comments

Comments
 (0)