-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[ServiceBus] Migrate azure-resourcemanager-servicebus to TypeSpec #48724
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
Merged
weidongxu-microsoft
merged 3 commits into
Azure:main
from
weidongxu-microsoft:migrate-servicebus
Apr 9, 2026
Merged
Changes from all commits
Commits
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
434 changes: 217 additions & 217 deletions
434
.../main/java/com/azure/resourcemanager/servicebus/fluent/DisasterRecoveryConfigsClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
182 changes: 91 additions & 91 deletions
182
...bus/src/main/java/com/azure/resourcemanager/servicebus/fluent/MigrationConfigsClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
606 changes: 380 additions & 226 deletions
606
...ervicebus/src/main/java/com/azure/resourcemanager/servicebus/fluent/NamespacesClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
62 changes: 62 additions & 0 deletions
62
...ourcemanager/servicebus/fluent/NetworkSecurityPerimeterConfigurationOperationsClient.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,62 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
| // Code generated by Microsoft (R) TypeSpec Code Generator. | ||
|
|
||
| package com.azure.resourcemanager.servicebus.fluent; | ||
|
|
||
| import com.azure.core.annotation.ReturnType; | ||
| import com.azure.core.annotation.ServiceMethod; | ||
| import com.azure.core.http.rest.PagedFlux; | ||
| import com.azure.core.http.rest.PagedIterable; | ||
| import com.azure.core.util.Context; | ||
| import com.azure.resourcemanager.servicebus.fluent.models.NetworkSecurityPerimeterConfigurationInner; | ||
|
|
||
| /** | ||
| * An instance of this class provides access to all the operations defined in | ||
| * NetworkSecurityPerimeterConfigurationOperationsClient. | ||
| */ | ||
| public interface NetworkSecurityPerimeterConfigurationOperationsClient { | ||
| /** | ||
| * Gets list of current NetworkSecurityPerimeterConfiguration for Namespace. | ||
| * | ||
| * @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
| * @param namespaceName The namespace name. | ||
| * @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 list of current NetworkSecurityPerimeterConfiguration for Namespace as paginated response with | ||
| * {@link PagedFlux}. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.COLLECTION) | ||
| PagedFlux<NetworkSecurityPerimeterConfigurationInner> listAsync(String resourceGroupName, String namespaceName); | ||
|
|
||
| /** | ||
| * Gets list of current NetworkSecurityPerimeterConfiguration for Namespace. | ||
| * | ||
| * @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
| * @param namespaceName The namespace name. | ||
| * @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 list of current NetworkSecurityPerimeterConfiguration for Namespace as paginated response with | ||
| * {@link PagedIterable}. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.COLLECTION) | ||
| PagedIterable<NetworkSecurityPerimeterConfigurationInner> list(String resourceGroupName, String namespaceName); | ||
|
|
||
| /** | ||
| * Gets list of current NetworkSecurityPerimeterConfiguration for Namespace. | ||
| * | ||
| * @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
| * @param namespaceName The namespace name. | ||
| * @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 list of current NetworkSecurityPerimeterConfiguration for Namespace as paginated response with | ||
| * {@link PagedIterable}. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.COLLECTION) | ||
| PagedIterable<NetworkSecurityPerimeterConfigurationInner> list(String resourceGroupName, String namespaceName, | ||
| Context context); | ||
| } |
139 changes: 139 additions & 0 deletions
139
...azure/resourcemanager/servicebus/fluent/NetworkSecurityPerimeterConfigurationsClient.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,139 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
| // Code generated by Microsoft (R) TypeSpec Code Generator. | ||
|
|
||
| package com.azure.resourcemanager.servicebus.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.servicebus.fluent.models.NetworkSecurityPerimeterConfigurationInner; | ||
| import reactor.core.publisher.Mono; | ||
|
|
||
| /** | ||
| * An instance of this class provides access to all the operations defined in | ||
| * NetworkSecurityPerimeterConfigurationsClient. | ||
| */ | ||
| public interface NetworkSecurityPerimeterConfigurationsClient { | ||
| /** | ||
| * Return a NetworkSecurityPerimeterConfigurations resourceAssociationName. | ||
| * | ||
| * @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
| * @param namespaceName The namespace name. | ||
| * @param resourceAssociationName The ResourceAssociation Name. | ||
| * @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 network Security Perimeter related configurations of a given namespace along with {@link Response} on | ||
| * successful completion of {@link Mono}. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.SINGLE) | ||
| Mono<Response<NetworkSecurityPerimeterConfigurationInner>> getResourceAssociationNameWithResponseAsync( | ||
| String resourceGroupName, String namespaceName, String resourceAssociationName); | ||
|
|
||
| /** | ||
| * Return a NetworkSecurityPerimeterConfigurations resourceAssociationName. | ||
| * | ||
| * @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
| * @param namespaceName The namespace name. | ||
| * @param resourceAssociationName The ResourceAssociation Name. | ||
| * @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 network Security Perimeter related configurations of a given namespace on successful completion of | ||
| * {@link Mono}. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.SINGLE) | ||
| Mono<NetworkSecurityPerimeterConfigurationInner> getResourceAssociationNameAsync(String resourceGroupName, | ||
| String namespaceName, String resourceAssociationName); | ||
|
|
||
| /** | ||
| * Return a NetworkSecurityPerimeterConfigurations resourceAssociationName. | ||
| * | ||
| * @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
| * @param namespaceName The namespace name. | ||
| * @param resourceAssociationName The ResourceAssociation Name. | ||
| * @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 network Security Perimeter related configurations of a given namespace along with {@link Response}. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.SINGLE) | ||
| Response<NetworkSecurityPerimeterConfigurationInner> getResourceAssociationNameWithResponse( | ||
| String resourceGroupName, String namespaceName, String resourceAssociationName, Context context); | ||
|
|
||
| /** | ||
| * Return a NetworkSecurityPerimeterConfigurations resourceAssociationName. | ||
| * | ||
| * @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
| * @param namespaceName The namespace name. | ||
| * @param resourceAssociationName The ResourceAssociation Name. | ||
| * @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 network Security Perimeter related configurations of a given namespace. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.SINGLE) | ||
| NetworkSecurityPerimeterConfigurationInner getResourceAssociationName(String resourceGroupName, | ||
| String namespaceName, String resourceAssociationName); | ||
|
|
||
| /** | ||
| * Refreshes any information about the association. | ||
| * | ||
| * @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
| * @param namespaceName The namespace name. | ||
| * @param resourceAssociationName The ResourceAssociation Name. | ||
| * @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 Response} on successful completion of {@link Mono}. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.SINGLE) | ||
| Mono<Response<Void>> reconcileWithResponseAsync(String resourceGroupName, String namespaceName, | ||
| String resourceAssociationName); | ||
|
|
||
| /** | ||
| * Refreshes any information about the association. | ||
| * | ||
| * @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
| * @param namespaceName The namespace name. | ||
| * @param resourceAssociationName The ResourceAssociation Name. | ||
| * @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 A {@link Mono} that completes when a successful response is received. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.SINGLE) | ||
| Mono<Void> reconcileAsync(String resourceGroupName, String namespaceName, String resourceAssociationName); | ||
|
|
||
| /** | ||
| * Refreshes any information about the association. | ||
| * | ||
| * @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
| * @param namespaceName The namespace name. | ||
| * @param resourceAssociationName The ResourceAssociation Name. | ||
| * @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 Response}. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.SINGLE) | ||
| Response<Void> reconcileWithResponse(String resourceGroupName, String namespaceName, String resourceAssociationName, | ||
| Context context); | ||
|
|
||
| /** | ||
| * Refreshes any information about the association. | ||
| * | ||
| * @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
| * @param namespaceName The namespace name. | ||
| * @param resourceAssociationName The ResourceAssociation Name. | ||
| * @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. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.SINGLE) | ||
| void reconcile(String resourceGroupName, String namespaceName, String resourceAssociationName); | ||
| } | ||
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
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.