Skip to content
Merged
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
34 changes: 34 additions & 0 deletions eng/lintingconfigs/revapi/track2/revapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1439,6 +1439,40 @@
"match": "class com\\.azure\\.resourcemanager\\.authorization\\.models\\.(ClassicAdministratorListResult|DenyAssignmentListResult|EligibleChildResourcesListResult|PermissionGetResult|ProviderOperationsMetadataListResult|RoleAssignmentListResult|RoleAssignmentScheduleInstanceListResult|RoleAssignmentScheduleListResult|RoleAssignmentScheduleRequestListResult|RoleDefinitionListResult|RoleEligibilityScheduleInstanceListResult|RoleEligibilityScheduleListResult|RoleEligibilityScheduleRequestListResult|RoleManagementPolicyAssignmentListResult|RoleManagementPolicyListResult)"
},
"justification": "Pageable models moved to implementation package. Unlikely used by user."
},
{
"code": "java.method.visibilityReduced",
"old" : {
"matcher": "regex",
"match": "method void com\\.azure\\.resourcemanager\\.servicebus\\.models\\..*\\:\\:\\<init\\>\\(\\)"
},
"justification": "Output-only immutable models' constructors are now private."
},
{
"code": "java.method.removed",
"old" : {
"matcher": "regex",
"match": "method .* com\\.azure\\.resourcemanager\\.servicebus\\.models\\.PrivateLinkResource\\:\\:with.*\\(.*\\).*"
},
"justification": "Output-only immutable models' setters are removed if no explicit usage."
},
{
"code": "java.class.removed",
"old" : {
"matcher": "regex",
"match": "class com\\.azure\\.resourcemanager\\.servicebus\\.models\\.(SBNamespaceListResult|SBTopicListResult|ArmDisasterRecoveryListResult|SBSubscriptionListResult|SBAuthorizationRuleListResult|PrivateEndpointConnectionListResult|RuleListResult|OperationListResult|MigrationConfigListResult|NetworkRuleSetListResult|SBQueueListResult)"
},
"justification": "Pageable models moved to implementation package. Unlikely used by user."
},
{
"code": "java.class.nowFinal",
"old" : "class com.azure.resourcemanager.servicebus.models.Action",
"justification": "Action no longer has subclass after TypeSpec migration. SqlRuleAction was a redundant allOf wrapper with identical fields."
},
{
"code": "java.class.removed",
"old" : "class com.azure.resourcemanager.servicebus.models.SqlRuleAction",
"justification": "SqlRuleAction was a redundant Swagger allOf wrapper around Action with no extra properties. TypeSpec correctly simplified to single Action model."
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-servicebus</artifactId>
<version>2.53.1</version>
<version>2.54.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/servicebus/azure-resourcemanager-servicebus",
"Tag": "java/servicebus/azure-resourcemanager-servicebus_660023c6a4"
"Tag": "java/servicebus/azure-resourcemanager-servicebus_32395b03b0"
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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);
}
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);
Comment thread
weidongxu-microsoft marked this conversation as resolved.

/**
* 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);
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package com.azure.resourcemanager.servicebus.fluent;

Expand All @@ -16,33 +16,33 @@
*/
public interface OperationsClient {
/**
* Lists all of the available ServiceBus REST API operations.
* List the operations for the provider.
*
* @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 result of the request to list ServiceBus operations as paginated response with {@link PagedFlux}.
* @return the list of available operations as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux<OperationInner> listAsync();

/**
* Lists all of the available ServiceBus REST API operations.
* List the operations for the provider.
*
* @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 result of the request to list ServiceBus operations as paginated response with {@link PagedIterable}.
* @return the list of available operations as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<OperationInner> list();

/**
* Lists all of the available ServiceBus REST API operations.
* List the operations for the provider.
*
* @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 result of the request to list ServiceBus operations as paginated response with {@link PagedIterable}.
* @return the list of available operations as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<OperationInner> list(Context context);
Expand Down
Loading