-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[AutoPR azure-resourcemanager-eventhubs]-generated-from-SDK Generation - Java-6603229 #49902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
azure-sdk-automation
wants to merge
2
commits into
main
Choose a base branch
from
sdkauto/azure-resourcemanager-eventhubs-6603229
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
395 changes: 395 additions & 0 deletions
395
...thubs/src/main/java/com/azure/resourcemanager/eventhubs/fluent/FabricShortcutsClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
188 changes: 188 additions & 0 deletions
188
...n/java/com/azure/resourcemanager/eventhubs/fluent/UpgradePreferencesOperationsClient.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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); | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.