Skip to content

Commit ea1b340

Browse files
azure-sdkv-jiaodi
andauthored
[AutoPR @azure-arm-eventhub]-generated-from-SDK Generation - JS-6417332 (#38900)
Configurations: 'specification/eventhub/resource-manager/Microsoft.EventHub/Eventhub/tspconfig.yaml', API Version: 2026-01-01, SDK Release Type: beta, and CommitSHA: 'e7c7b9745f8460b885aad4129aec4fb2e23c27c1' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6417332 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --------- Co-authored-by: Jiao Di (MSFT) <v-jiaodi@microsoft.com>
1 parent a5f9c86 commit ea1b340

479 files changed

Lines changed: 18752 additions & 21118 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@
575575
# PRLabel: %Mgmt
576576
/sdk/eventgrid/arm-eventgrid/ @qiaozha @MaryGao @JialinHuang803
577577

578-
# PRLabel: %Mgmt
578+
# PRLabel: %Mgmt %mgmt-review-needed
579579
/sdk/eventhub/arm-eventhub/ @qiaozha @MaryGao @JialinHuang803
580580

581581
# PRLabel: %Mgmt

pnpm-lock.yaml

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

sdk/eventhub/arm-eventhub/CHANGELOG.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,95 @@
11
# Release History
2+
3+
## 6.0.0-beta.1 (2026-06-10)
4+
Compared with version 5.2.0
5+
6+
### Features Added
7+
- Added operation ClustersOperations.createOrUpdate
8+
- Added operation ClustersOperations.delete
9+
- Added operation ClustersOperations.update
10+
- Added operation NamespacesOperations.beginFailover
11+
- Added operation NamespacesOperations.beginFailoverAndWait
12+
- Added operation NamespacesOperations.createOrUpdate
13+
- Added operation NamespacesOperations.delete
14+
- Added operation NamespacesOperations.failover
15+
- Added operation NetworkSecurityPerimeterConfigurationsOperations.createOrUpdate
16+
- Added operation NetworkSecurityPerimeterConfigurationsOperations.getResourceAssociationName
17+
- Added operation PrivateEndpointConnectionsOperations.delete
18+
- Class EventHubManagementClient has a new constructor "constructor(credential: TokenCredential, options?: EventHubManagementClientOptionalParams);"
19+
- Added Interface ApplicationGroupOperationsCreateOrUpdateApplicationGroupOptionalParams
20+
- Added Interface ApplicationGroupOperationsDeleteOptionalParams
21+
- Added Interface ApplicationGroupOperationsGetOptionalParams
22+
- Added Interface ApplicationGroupOperationsListByNamespaceOptionalParams
23+
- Added Interface ApplicationGroupProperties
24+
- Added Interface ArmDisasterRecoveryProperties
25+
- Added Interface AuthorizationRuleProperties
26+
- Added Interface ClusterProperties
27+
- Added Interface ConfidentialCompute
28+
- Added Interface ConsumerGroupProperties
29+
- Added Interface DestinationProperties
30+
- Added Interface EHNamespaceProperties
31+
- Added Interface EventhubProperties
32+
- Added Interface FailOver
33+
- Added Interface FailOverProperties
34+
- Added Interface GeoDataReplicationProperties
35+
- Added Interface MessageTimestampDescription
36+
- Added Interface NamespaceReplicaLocation
37+
- Added Interface NamespacesFailoverOptionalParams
38+
- Added Interface NetworkRuleSetProperties
39+
- Added Interface NetworkSecurityPerimeterConfigurationOperationsListOptionalParams
40+
- Added Interface NetworkSecurityPerimeterConfigurationProperties
41+
- Added Interface NetworkSecurityPerimeterConfigurationsGetResourceAssociationNameOptionalParams
42+
- Added Interface PagedAsyncIterableIterator
43+
- Added Interface PageSettings
44+
- Added Interface PlatformCapabilities
45+
- Added Interface PrivateEndpointConnectionProperties
46+
- Added Interface PrivateLinkResourceProperties
47+
- Added Interface RestorePollerOptions
48+
- Added Interface SchemaGroupProperties
49+
- Added Interface SimplePollerLike
50+
- Interface Cluster has a new optional parameter platformCapabilities
51+
- Interface Cluster has a new optional parameter zoneRedundant
52+
- Interface EHNamespace has a new optional parameter geoDataReplication
53+
- Interface EHNamespace has a new optional parameter ipV6Enabled
54+
- Interface EHNamespace has a new optional parameter platformCapabilities
55+
- Interface Eventhub has a new optional parameter identifier
56+
- Interface Eventhub has a new optional parameter messageTimestampDescription
57+
- Interface NetworkSecurityPerimeterConfiguration has a new optional parameter systemData
58+
- Interface ProxyResource has a new optional parameter systemData
59+
- Interface Resource has a new optional parameter systemData
60+
- Interface RetentionDescription has a new optional parameter minCompactionLagTimeInMinutes
61+
- Added Type Alias AzureSupportedClouds
62+
- Added Type Alias GeoDRRoleType
63+
- Added Type Alias KeyType
64+
- Added Type Alias Mode
65+
- Added Type Alias TimestampType
66+
- Added Enum AzureClouds
67+
- Added Enum KnownGeoDRRoleType
68+
- Added Enum KnownMode
69+
- Added Enum KnownTimestampType
70+
- Added Enum KnownVersions
71+
- Enum KnownCleanupPolicyRetentionDescription has a new value DeleteOrCompact
72+
- Enum KnownSchemaType has a new value Json
73+
- Enum KnownSchemaType has a new value ProtoBuf
74+
- Enum KnownTlsVersion has a new value One3
75+
76+
### Breaking Changes
77+
- Operation ApplicationGroupOperations.createOrUpdateApplicationGroup has a new signature
78+
- Operation ApplicationGroupOperations.get has a new signature
79+
- Operation NetworkSecurityPerimeterConfigurations.beginCreateOrUpdateAndWait has a new signature
80+
- Removed Interface ApplicationGroupCreateOrUpdateApplicationGroupOptionalParams
81+
- Removed Interface ApplicationGroupDeleteOptionalParams
82+
- Removed Interface ApplicationGroupGetOptionalParams
83+
- Removed Interface ApplicationGroupListByNamespaceOptionalParams
84+
- Removed Interface NetworkSecurityPerimeterConfigurationListOptionalParams
85+
- Removed Interface TrackedResource
86+
- Type of parameter type of interface ApplicationGroupPolicy is changed from "ThrottlingPolicy" to ApplicationGroupPolicyType
87+
- Interface ProxyResource no longer has parameter location
88+
- Parameter value of interface NetworkRuleSetListResult is now required
89+
- Parameter value of interface PrivateLinkResourcesListResult is now required
90+
- Removed Type Alias KeyType_2
91+
- Type alias "ApplicationGroupPolicyUnion" has been changed
92+
293

394
## 5.3.0-beta.1 (2025-02-12)
495
Compared with version 5.2.0

sdk/eventhub/arm-eventhub/LICENSE

Lines changed: 1 addition & 1 deletion
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

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure EventHubManagement client.
44

5-
Azure Event Hubs client for managing Event Hubs Cluster, IPFilter Rules and VirtualNetworkRules resources.
65

7-
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/arm-eventhub) |
8-
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-eventhub) |
9-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-eventhub?view=azure-node-preview) |
10-
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
6+
7+
Key links:
8+
9+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/arm-eventhub)
10+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-eventhub)
11+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-eventhub?view=azure-node-preview)
12+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/arm-eventhub/samples)
1113

1214
## Getting started
1315

@@ -35,7 +37,7 @@ npm install @azure/arm-eventhub
3537
To create a client object to access the Azure EventHubManagement API, you will need the `endpoint` of your Azure EventHubManagement resource and a `credential`. The Azure EventHubManagement client can use Azure Active Directory credentials to authenticate.
3638
You can find the endpoint for your Azure EventHubManagement resource in the [Azure Portal][azure_portal].
3739

38-
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
40+
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
3941

4042
To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
4143

@@ -63,16 +65,16 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6365
import { InteractiveBrowserCredential } from "@azure/identity";
6466
import { EventHubManagementClient } from "@azure/arm-eventhub";
6567

66-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6768
const credential = new InteractiveBrowserCredential({
6869
tenantId: "<YOUR_TENANT_ID>",
6970
clientId: "<YOUR_CLIENT_ID>",
7071
});
72+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
7173
const client = new EventHubManagementClient(credential, subscriptionId);
7274
```
7375

74-
### JavaScript Bundle
7576

77+
### JavaScript Bundle
7678
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).
7779

7880
## Key concepts
@@ -97,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
9799

98100
## Next steps
99101

100-
Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
102+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/arm-eventhub/samples) directory for detailed examples on how to use this library.
101103

102104
## Contributing
103105

@@ -107,10 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
107109

108110
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
109111

110-
111-
112-
[azure_cli]: https://learn.microsoft.com/cli/azure
113-
[azure_sub]: https://azure.microsoft.com/free/
114112
[azure_sub]: https://azure.microsoft.com/free/
115113
[azure_portal]: https://portal.azure.com
116114
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity

sdk/eventhub/arm-eventhub/_meta.json

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{
2-
"extends": "../../../api-extractor-base.json"
3-
}
1+
{ "extends": "../../../api-extractor-base.json" }

sdk/eventhub/arm-eventhub/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/eventhub/arm-eventhub",
5-
"Tag": "js/eventhub/arm-eventhub_d54c0e3bce"
5+
"Tag": "js/eventhub/arm-eventhub_a4779bedef"
66
}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
22
"extends": "../../../../tsconfig.json",
3-
"include": [
4-
"../src",
5-
"../test"
6-
]
3+
"include": ["../src", "../test"]
74
}

sdk/eventhub/arm-eventhub/config/tsconfig.samples.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"extends": "../../../../eng/tsconfigs/samples.json",
33
"compilerOptions": {
44
"paths": {
5-
"@azure/arm-eventhub": [
6-
"../dist/esm"
7-
]
5+
"@azure/arm-eventhub": ["../dist/esm"]
86
}
97
}
108
}

0 commit comments

Comments
 (0)