Skip to content
Open
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
12 changes: 3 additions & 9 deletions sdk/eventhubs/azure-resourcemanager-eventhubs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
# Release History

## 2.54.0-beta.1 (Unreleased)

### Features Added

- Supported `disableLocalAuth()` and `enableLocalAuth()` in `EventHubNamespace`.

### Breaking Changes

### Bugs Fixed
## 2.54.0-beta.1 (2026-07-22)

### Other Changes

- Update `api-version` to `2026-07-01-preview`.

## 2.53.10 (2026-07-07)

### Other Changes
Expand Down
1 change: 1 addition & 0 deletions sdk/eventhubs/azure-resourcemanager-eventhubs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@

--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
</javaModulesSurefireArgLine>
<revapi.skip>true</revapi.skip>
Comment thread
weidongxu-microsoft marked this conversation as resolved.
</properties>

<developers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,20 @@ public interface EventHubManagementClient {
*/
ConsumerGroupsClient getConsumerGroups();

/**
* Gets the FabricShortcutsClient object to access its operations.
*
* @return the FabricShortcutsClient object.
*/
FabricShortcutsClient getFabricShortcuts();

/**
* Gets the UpgradePreferencesOperationsClient object to access its operations.
*
* @return the UpgradePreferencesOperationsClient object.
*/
UpgradePreferencesOperationsClient getUpgradePreferencesOperations();

/**
* Gets the ConfigurationsClient object to access its operations.
*
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -218,58 +218,9 @@ EHNamespaceInner createOrUpdate(String resourceGroupName, String namespaceName,
* {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String namespaceName,
Mono<Response<EHNamespaceInner>> updateWithResponseAsync(String resourceGroupName, String namespaceName,
EHNamespaceInner parameters);

/**
* Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is
* idempotent.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The Namespace name.
* @param parameters Parameters for updating a namespace resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link PollerFlux} for polling of single Namespace item in List or Get Operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
PollerFlux<PollResult<EHNamespaceInner>, EHNamespaceInner> beginUpdateAsync(String resourceGroupName,
String namespaceName, EHNamespaceInner parameters);

/**
* Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is
* idempotent.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The Namespace name.
* @param parameters Parameters for updating a namespace resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of single Namespace item in List or Get Operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<EHNamespaceInner>, EHNamespaceInner> beginUpdate(String resourceGroupName,
String namespaceName, EHNamespaceInner parameters);

/**
* Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is
* idempotent.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The Namespace name.
* @param parameters Parameters for updating a namespace resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of single Namespace item in List or Get Operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<EHNamespaceInner>, EHNamespaceInner> beginUpdate(String resourceGroupName,
String namespaceName, EHNamespaceInner parameters, Context context);

/**
* Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is
* idempotent.
Expand All @@ -292,13 +243,15 @@ SyncPoller<PollResult<EHNamespaceInner>, EHNamespaceInner> beginUpdate(String re
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The Namespace name.
* @param parameters Parameters for updating a namespace resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return single Namespace item in List or Get Operation.
* @return single Namespace item in List or Get Operation along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
EHNamespaceInner update(String resourceGroupName, String namespaceName, EHNamespaceInner parameters);
Response<EHNamespaceInner> updateWithResponse(String resourceGroupName, String namespaceName,
EHNamespaceInner parameters, Context context);

/**
* Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is
Expand All @@ -307,15 +260,13 @@ SyncPoller<PollResult<EHNamespaceInner>, EHNamespaceInner> beginUpdate(String re
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param namespaceName The Namespace name.
* @param parameters Parameters for updating a namespace resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return single Namespace item in List or Get Operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
EHNamespaceInner update(String resourceGroupName, String namespaceName, EHNamespaceInner parameters,
Context context);
EHNamespaceInner update(String resourceGroupName, String namespaceName, EHNamespaceInner parameters);

/**
* Deletes an existing namespace. This operation also removes all associated resources under the namespace.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package com.azure.resourcemanager.eventhubs.fluent;

import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.eventhubs.fluent.models.UpgradePreferencesInner;
import reactor.core.publisher.Mono;

/**
* An instance of this class provides access to all the operations defined in UpgradePreferencesOperationsClient.
*/
public interface UpgradePreferencesOperationsClient {
/**
* Gets the upgrade preferences for an Event Hubs Dedicated cluster.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Event Hubs Cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the upgrade preferences for an Event Hubs Dedicated cluster along with {@link Response} on successful
* completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<UpgradePreferencesInner>> getWithResponseAsync(String resourceGroupName, String clusterName);

/**
* Gets the upgrade preferences for an Event Hubs Dedicated cluster.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Event Hubs Cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the upgrade preferences for an Event Hubs Dedicated cluster on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<UpgradePreferencesInner> getAsync(String resourceGroupName, String clusterName);

/**
* Gets the upgrade preferences for an Event Hubs Dedicated cluster.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Event Hubs Cluster.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the upgrade preferences for an Event Hubs Dedicated cluster along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<UpgradePreferencesInner> getWithResponse(String resourceGroupName, String clusterName, Context context);

/**
* Gets the upgrade preferences for an Event Hubs Dedicated cluster.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Event Hubs Cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the upgrade preferences for an Event Hubs Dedicated cluster.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
UpgradePreferencesInner get(String resourceGroupName, String clusterName);

/**
* Creates or updates the upgrade preferences for an Event Hubs Dedicated cluster.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Event Hubs Cluster.
* @param resource The upgrade preferences.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return upgrade preferences for an Event Hubs Dedicated cluster along with {@link Response} on successful
* completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<UpgradePreferencesInner>> createOrUpdateWithResponseAsync(String resourceGroupName,
String clusterName, UpgradePreferencesInner resource);

/**
* Creates or updates the upgrade preferences for an Event Hubs Dedicated cluster.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Event Hubs Cluster.
* @param resource The upgrade preferences.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return upgrade preferences for an Event Hubs Dedicated cluster on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<UpgradePreferencesInner> createOrUpdateAsync(String resourceGroupName, String clusterName,
UpgradePreferencesInner resource);

/**
* Creates or updates the upgrade preferences for an Event Hubs Dedicated cluster.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Event Hubs Cluster.
* @param resource The upgrade preferences.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return upgrade preferences for an Event Hubs Dedicated cluster along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<UpgradePreferencesInner> createOrUpdateWithResponse(String resourceGroupName, String clusterName,
UpgradePreferencesInner resource, Context context);

/**
* Creates or updates the upgrade preferences for an Event Hubs Dedicated cluster.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Event Hubs Cluster.
* @param resource The upgrade preferences.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return upgrade preferences for an Event Hubs Dedicated cluster.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
UpgradePreferencesInner createOrUpdate(String resourceGroupName, String clusterName,
UpgradePreferencesInner resource);

/**
* Starts an immediate eight-hour upgrade override when an upgrade is pending.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Event Hubs Cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return upgrade preferences for an Event Hubs Dedicated cluster along with {@link Response} on successful
* completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<UpgradePreferencesInner>> upgradeNowWithResponseAsync(String resourceGroupName, String clusterName);

/**
* Starts an immediate eight-hour upgrade override when an upgrade is pending.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Event Hubs Cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return upgrade preferences for an Event Hubs Dedicated cluster on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<UpgradePreferencesInner> upgradeNowAsync(String resourceGroupName, String clusterName);

/**
* Starts an immediate eight-hour upgrade override when an upgrade is pending.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Event Hubs Cluster.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return upgrade preferences for an Event Hubs Dedicated cluster along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<UpgradePreferencesInner> upgradeNowWithResponse(String resourceGroupName, String clusterName,
Context context);

/**
* Starts an immediate eight-hour upgrade override when an upgrade is pending.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Event Hubs Cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return upgrade preferences for an Event Hubs Dedicated cluster.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
UpgradePreferencesInner upgradeNow(String resourceGroupName, String clusterName);
}
Loading
Loading