Skip to content

Commit

Permalink
CodeGen from PR 32037 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 48ac037630680a25695876ddf78eee23839e6f38 into 3dac49c6d2e2b333c330141fa4207201679e97bd
  • Loading branch information
SDKAuto committed Jan 20, 2025
1 parent 3199e98 commit 4ac82f8
Show file tree
Hide file tree
Showing 183 changed files with 1,470 additions and 956 deletions.
81 changes: 52 additions & 29 deletions common/config/rush/pnpm-lock.yaml

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

29 changes: 29 additions & 0 deletions sdk/eventhub/arm-eventhub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Release History

## 5.3.0-beta.1 (2025-01-20)
Compared with version 5.2.0

### Features Added

- Added operation Namespaces.beginFailover
- Added operation Namespaces.beginFailoverAndWait
- Added Interface ErrorDetailAutoGenerated
- Added Interface ErrorResponseAutoGenerated
- Added Interface FailOver
- Added Interface GeoDataReplicationProperties
- Added Interface MessageTimestampDescription
- Added Interface NamespaceReplicaLocation
- Added Interface NamespacesFailoverHeaders
- Added Interface NamespacesFailoverOptionalParams
- Added Type Alias GeoDRRoleType
- Added Type Alias NamespacesFailoverResponse
- Added Type Alias TimestampType
- Interface EHNamespace has a new optional parameter geoDataReplication
- Interface Eventhub has a new optional parameter identifier
- Interface Eventhub has a new optional parameter messageTimestampDescription
- Interface RetentionDescription has a new optional parameter minCompactionLagInMins
- Added Enum KnownGeoDRRoleType
- Added Enum KnownTimestampType
- Enum KnownCleanupPolicyRetentionDescription has a new value DeleteOrCompact
- Enum KnownSchemaType has a new value Json
- Enum KnownSchemaType has a new value ProtoBuf


## 5.2.0 (2024-07-18)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhub/arm-eventhub/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 Microsoft
Copyright (c) 2025 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
5 changes: 2 additions & 3 deletions sdk/eventhub/arm-eventhub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Azure Event Hubs client for managing Event Hubs Cluster, IPFilter Rules and Virt

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

## Getting started
Expand Down Expand Up @@ -44,7 +44,6 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure EventHubManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.

For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

Expand All @@ -64,8 +63,8 @@ const client = new EventHubManagementClient(new DefaultAzureCredential(), subscr
// const client = new EventHubManagementClient(credential, subscriptionId);
```

### JavaScript Bundle

### JavaScript Bundle
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).

## Key concepts
Expand Down
8 changes: 4 additions & 4 deletions sdk/eventhub/arm-eventhub/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "b574e2a41acda14a90ef237006e8bbdda2b63c63",
"commit": "e542b43b93a71689d077dd5b7caf6d0b5c990ed4",
"readme": "specification/eventhub/resource-manager/readme.md",
"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].23 --generate-sample=true",
"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",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].11",
"use": "@autorest/[email protected].23"
"release_tool": "@azure-tools/[email protected].18",
"use": "@autorest/typescript@^6.0.12"
}
Loading

0 comments on commit 4ac82f8

Please sign in to comment.