From 48925cd8d3e310e67da272286e8829af412aa6e0 Mon Sep 17 00:00:00 2001 From: hongli750210 Date: Thu, 26 Dec 2024 17:33:44 +0800 Subject: [PATCH 1/5] Fix ci analyze exception and get analyze record --- sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml | 1 - .../com/azure/resourcemanager/servicebus/ServiceBusManager.java | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml b/sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml index ea2fe25910919..ca6d03400ce0e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml @@ -45,7 +45,6 @@ --add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED - - diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/ServiceBusManager.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/ServiceBusManager.java index 34f91c3e3c3a9..5a10f65a2118e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/ServiceBusManager.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/ServiceBusManager.java @@ -93,6 +93,8 @@ private ServiceBusManager(HttpPipeline httpPipeline, AzureProfile profile) { } /** + * Gets the Service Bus namespace management API entry point. + * * @return the Service Bus namespace management API entry point */ public ServiceBusNamespaces namespaces() { From 96a92a797b0ebb74955d50ed6ea5cbc61d420b46 Mon Sep 17 00:00:00 2001 From: hongli750210 Date: Fri, 27 Dec 2024 09:46:36 +0800 Subject: [PATCH 2/5] Fix ci analyze exception and get analyze record --- .../servicebus/models/AuthorizationKeys.java | 8 ++++ .../servicebus/models/AuthorizationRule.java | 12 +++++ .../models/CheckNameAvailabilityResult.java | 6 +++ .../servicebus/models/NamespaceSku.java | 6 +++ .../servicebus/models/Queue.java | 48 +++++++++++++++++++ .../models/QueueAuthorizationRule.java | 4 ++ .../models/ServiceBusNamespace.java | 16 +++++++ .../models/ServiceBusSubscription.java | 36 ++++++++++++++ .../servicebus/models/Topic.java | 42 ++++++++++++++++ .../models/TopicAuthorizationRule.java | 4 ++ 10 files changed, 182 insertions(+) diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationKeys.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationKeys.java index a0478c13ad7de..54df4b9350479 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationKeys.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationKeys.java @@ -13,21 +13,29 @@ @Fluent public interface AuthorizationKeys extends HasInnerModel { /** + * Gets primary key associated with the rule. + * * @return primary key associated with the rule */ String primaryKey(); /** + * Gets secondary key associated with the rule. + * * @return secondary key associated with the rule */ String secondaryKey(); /** + * Gets primary connection string. + * * @return primary connection string */ String primaryConnectionString(); /** + * Gets secondary connection string. + * * @return secondary connection string */ String secondaryConnectionString(); diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationRule.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationRule.java index 5c4708511ff92..2184d5946cdb7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationRule.java @@ -22,17 +22,23 @@ public interface AuthorizationRule> extends IndependentChildResource, Refreshable { /** + * Gets rights associated with the rule. + * * @return rights associated with the rule */ List rights(); /** + * Gets a representation of the deferred computation. + * * @return a representation of the deferred computation of this call, * returning the primary, secondary keys and the connection strings */ Mono getKeysAsync(); /** + * Gets the primary, secondary keys and connection strings. + * * @return the primary, secondary keys and connection strings */ AuthorizationKeys getKeys(); @@ -141,6 +147,8 @@ interface UpdateStages { */ interface WithListen { /** + * Enables the listening. + * * @return the next stage of the update */ T withListeningEnabled(); @@ -153,6 +161,8 @@ interface WithListen { */ interface WithSend { /** + * Enables sending. + * * @return the next stage of the update */ T withSendingEnabled(); @@ -165,6 +175,8 @@ interface WithSend { */ interface WithManage { /** + * Enables management. + * * @return the next stage of the update */ T withManagementEnabled(); diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/CheckNameAvailabilityResult.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/CheckNameAvailabilityResult.java index 1ce248b915cbc..9fd55c742e1c4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/CheckNameAvailabilityResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/CheckNameAvailabilityResult.java @@ -13,6 +13,8 @@ @Fluent public interface CheckNameAvailabilityResult extends HasInnerModel { /** + * Gets a boolean value that indicates whether the name is available for you to use. + * * @return a boolean value that indicates whether the name is available for * you to use. If true, the name is available. If false, the name has * already been taken or invalid and cannot be used. @@ -20,12 +22,16 @@ public interface CheckNameAvailabilityResult extends HasInnerModel, Refreshable, Updatable { /** + * Gets the exact time the queue was created. + * * @return the exact time the queue was created */ OffsetDateTime createdAt(); /** + * Gets last time a message was sent, or the last time there was a receive request to this queue. + * * @return last time a message was sent, or the last time there was a receive request to this queue */ OffsetDateTime accessedAt(); /** + * Gets the exact time the queue was updated. + * * @return the exact time the queue was updated */ OffsetDateTime updatedAt(); /** + * Gets the maximum size of memory allocated for the queue in megabytes. + * * @return the maximum size of memory allocated for the queue in megabytes */ long maxSizeInMB(); /** + * Gets current size of the queue. + * * @return current size of the queue, in bytes */ long currentSizeInBytes(); /** + * Checks whether server-side batched operations are enabled. + * * @return indicates whether server-side batched operations are enabled */ boolean isBatchedOperationsEnabled(); /** + * Checks whether this queue has dead letter support when a message expires. + * * @return indicates whether this queue has dead letter support when a message expires */ boolean isDeadLetteringEnabledForExpiredMessages(); /** + * Checks whether express entities are enabled. + * * @return indicates whether express entities are enabled */ boolean isExpressEnabled(); /** + * Checks whether the queue is to be partitioned across multiple message brokers. + * * @return indicates whether the queue is to be partitioned across multiple message brokers */ boolean isPartitioningEnabled(); /** + * Checks whether the queue supports sessions. + * * @return indicates whether the queue supports sessions */ boolean isSessionEnabled(); /** + * Checks whether this queue requires duplicate detection. + * * @return indicates if this queue requires duplicate detection */ boolean isDuplicateDetectionEnabled(); /** + * Gets the duration of peek-lock which is the amount of time that the message is locked for other receivers. + * * @return the duration of peek-lock which is the amount of time that the message is locked for other receivers */ long lockDurationInSeconds(); /** + * Gets the idle duration after which the queue is automatically deleted. + * * @return the idle duration after which the queue is automatically deleted */ long deleteOnIdleDurationInMinutes(); /** + * Gets the duration after which the message expires. + * * @return the duration after which the message expires, starting from when the message is sent to queue */ Duration defaultMessageTtlDuration(); /** + * GEts the duration of the duplicate detection history. + * * @return the duration of the duplicate detection history */ Duration duplicateMessageDetectionHistoryDuration(); /** + * Gets the maximum number of a message delivery before marking it as dead-lettered. + * * @return the maximum number of a message delivery before marking it as dead-lettered */ int maxDeliveryCountBeforeDeadLetteringMessage(); /** + * Gets the number of messages in the queue. + * * @return the number of messages in the queue */ long messageCount(); /** + * Gets number of active messages in the queue. + * * @return number of active messages in the queue */ long activeMessageCount(); /** + * Gets number of messages in the dead-letter queue. + * * @return number of messages in the dead-letter queue */ long deadLetterMessageCount(); /** + * Gets number of messages sent to the queue that are yet to be released for consumption + * * @return number of messages sent to the queue that are yet to be released * for consumption */ long scheduledMessageCount(); /** + * Gets number of messages transferred into dead letters. + * * @return number of messages transferred into dead letters */ long transferDeadLetterMessageCount(); /** + * Gets number of messages transferred to another queue, topic, or subscription. + * * @return number of messages transferred to another queue, topic, or subscription */ long transferMessageCount(); /** + * Gets the current status of the queue. + * * @return the current status of the queue */ EntityStatus status(); /** + * Gets entry point to manage authorization rules for the Service Bus queue. + * * @return entry point to manage authorization rules for the Service Bus queue */ QueueAuthorizationRules authorizationRules(); diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/QueueAuthorizationRule.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/QueueAuthorizationRule.java index f6cd71dda46fe..cc8ae1f49cf2e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/QueueAuthorizationRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/QueueAuthorizationRule.java @@ -15,11 +15,15 @@ public interface QueueAuthorizationRule extends AuthorizationRule, Updatable { /** + * Gets the name of the namespace that the parent queue belongs to. + * * @return the name of the namespace that the parent queue belongs to */ String namespaceName(); /** + * Gets the name of the parent queue name. + * * @return the name of the parent queue name */ String queueName(); diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/ServiceBusNamespace.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/ServiceBusNamespace.java index 852fb862367e7..1250992886c78 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/ServiceBusNamespace.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/ServiceBusNamespace.java @@ -22,41 +22,57 @@ public interface ServiceBusNamespace extends GroupableResource, Refreshable, Updatable { /** + * Gets the relative DNS name of the Service Bus namespace. + * * @return the relative DNS name of the Service Bus namespace */ String dnsLabel(); /** + * Gets fully qualified domain name (FQDN) of the Service Bus namespace. + * * @return fully qualified domain name (FQDN) of the Service Bus namespace */ String fqdn(); /** + * Gets SKU. + * * @return sku value */ NamespaceSku sku(); /** + * Gets time the namespace was created. + * * @return time the namespace was created */ OffsetDateTime createdAt(); /** + * Gets time the namespace was updated. + * * @return time the namespace was updated */ OffsetDateTime updatedAt(); /** + * Gets entry point to manage queue entities in the Service Bus namespace. + * * @return entry point to manage queue entities in the Service Bus namespace */ Queues queues(); /** + * Gets entry point to manage topics entities in the Service Bus namespace. + * * @return entry point to manage topics entities in the Service Bus namespace */ Topics topics(); /** + * Gets entry point to manage authorization rules for the Service Bus namespace. + * * @return entry point to manage authorization rules for the Service Bus namespace */ NamespaceAuthorizationRules authorizationRules(); diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/ServiceBusSubscription.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/ServiceBusSubscription.java index 40a624f9ccb1a..5b1f21bfaf1b1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/ServiceBusSubscription.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/ServiceBusSubscription.java @@ -22,92 +22,128 @@ public interface ServiceBusSubscription extends IndependentChildResource, Refreshable, Updatable { /** + * Gets the exact time the message was created. + * * @return the exact time the message was created */ OffsetDateTime createdAt(); /** + * Gets last time there was a receive request to this subscription. + * * @return last time there was a receive request to this subscription */ OffsetDateTime accessedAt(); /** + * Gets the exact time the message was updated. + * * @return the exact time the message was updated */ OffsetDateTime updatedAt(); /** + * Checks whether server-side batched operations are enabled. + * * @return indicates whether server-side batched operations are enabled */ boolean isBatchedOperationsEnabled(); /** + * Checks whether this subscription has dead letter support when a message expires. + * * @return indicates whether this subscription has dead letter support when a message expires */ boolean isDeadLetteringEnabledForExpiredMessages(); /** + * Checks whether the subscription supports sessions. + * * @return indicates whether the subscription supports sessions */ boolean isSessionEnabled(); /** + * Gets the duration of peek-lock which is the amount of time that the message is locked for other receivers. + * * @return the duration of peek-lock which is the amount of time that the message is locked for other receivers */ long lockDurationInSeconds(); /** + * Gets the idle duration after which the subscription is automatically deleted. + * * @return the idle duration after which the subscription is automatically deleted. */ long deleteOnIdleDurationInMinutes(); /** + * Gets the duration after which the message expires. + * * @return the duration after which the message expires, starting from when the message is sent to subscription. */ Duration defaultMessageTtlDuration(); /** + * Gets the maximum number of a message delivery before marking it as dead-lettered. + * * @return the maximum number of a message delivery before marking it as dead-lettered */ int maxDeliveryCountBeforeDeadLetteringMessage(); /** + * Gets the number of messages in the subscription. + * * @return the number of messages in the subscription */ long messageCount(); /** + * Gets number of active messages in the subscription. + * * @return number of active messages in the subscription */ long activeMessageCount(); /** + * Gets number of messages in the dead-letter subscription. + * * @return number of messages in the dead-letter subscription */ long deadLetterMessageCount(); /** + * Gets number of messages sent to the subscription that are yet to be released for consumption. + * * @return number of messages sent to the subscription that are yet to be released * for consumption */ long scheduledMessageCount(); /** + * Gets number of messages transferred into dead letters. + * * @return number of messages transferred into dead letters */ long transferDeadLetterMessageCount(); /** + * Gets number of messages transferred to another queue, topic, or subscription. + * * @return number of messages transferred to another queue, topic, or subscription */ long transferMessageCount(); /** + * Gets the current status of the subscription. + * * @return the current status of the subscription */ EntityStatus status(); /** + * Checks whether subscription has dead letter support on filter evaluation exceptions. + * * @return indicates whether subscription has dead letter support on filter evaluation exceptions */ boolean isDeadLetteringEnabledForFilterEvaluationFailedMessages(); diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/Topic.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/Topic.java index 51e2761e0d7c1..fdb4aab36a5a8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/Topic.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/Topic.java @@ -24,107 +24,149 @@ public interface Topic extends IndependentChildResource, HasInnerModel { /** + * Gets the exact time the topic was created. + * * @return the exact time the topic was created */ OffsetDateTime createdAt(); /** + * Gets last time a message was sent, or the last time there was a receive request to this topic. + * * @return last time a message was sent, or the last time there was a receive request to this topic */ OffsetDateTime accessedAt(); /** + * Gets the exact time the topic was updated. + * * @return the exact time the topic was updated */ OffsetDateTime updatedAt(); /** + * Gets the maximum size of memory allocated for the topic in megabytes. + * * @return the maximum size of memory allocated for the topic in megabytes */ long maxSizeInMB(); /** + * Gets current size of the topic. + * * @return current size of the topic, in bytes */ long currentSizeInBytes(); /** + * Checks whether server-side batched operations are enabled. + * * @return indicates whether server-side batched operations are enabled */ boolean isBatchedOperationsEnabled(); /** + * Check whether express entities are enabled. + * * @return indicates whether express entities are enabled */ boolean isExpressEnabled(); /** + * Checks whether the topic is to be partitioned across multiple message brokers. + * * @return indicates whether the topic is to be partitioned across multiple message brokers */ boolean isPartitioningEnabled(); /** + * Checks whether this topic requires duplicate detection. + * * @return indicates if this topic requires duplicate detection */ boolean isDuplicateDetectionEnabled(); /** + * Gets the idle duration after which the topic is automatically deleted. + * * @return the idle duration after which the topic is automatically deleted */ long deleteOnIdleDurationInMinutes(); /** + * Gets the duration after which the message expires, starting from when the message is sent to topic. + * * @return the duration after which the message expires, starting from when the message is sent to topic */ Duration defaultMessageTtlDuration(); /** + * Gets the duration of the duplicate detection history. + * * @return the duration of the duplicate detection history */ Duration duplicateMessageDetectionHistoryDuration(); /** + * Gets number of active messages in the topic. + * * @return number of active messages in the topic */ long activeMessageCount(); /** + * Gets number of messages in the dead-letter topic. + * * @return number of messages in the dead-letter topic */ long deadLetterMessageCount(); /** + * Gets number of messages sent to the topic that are yet to be released for consumption. + * * @return number of messages sent to the topic that are yet to be released * for consumption */ long scheduledMessageCount(); /** + * Gets number of messages transferred into dead letters. + * * @return number of messages transferred into dead letters */ long transferDeadLetterMessageCount(); /** + * Gets number of messages transferred to another topic, topic, or subscription. + * * @return number of messages transferred to another topic, topic, or subscription */ long transferMessageCount(); /** + * Gets number of subscriptions for the topic. + * * @return number of subscriptions for the topic */ int subscriptionCount(); /** + * Gets the current status of the topic. + * * @return the current status of the topic */ EntityStatus status(); /** + * Gets entry point to manage subscriptions associated with the topic. + * * @return entry point to manage subscriptions associated with the topic */ ServiceBusSubscriptions subscriptions(); /** + * Gets entry point to manage authorization rules for the Service Bus topic. + * * @return entry point to manage authorization rules for the Service Bus topic */ TopicAuthorizationRules authorizationRules(); diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/TopicAuthorizationRule.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/TopicAuthorizationRule.java index c28fc04e5abdf..abef5e27ea000 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/TopicAuthorizationRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/TopicAuthorizationRule.java @@ -15,11 +15,15 @@ public interface TopicAuthorizationRule extends AuthorizationRule, Updatable { /** + * Gets the name of the namespace that the parent topic belongs to. + * * @return the name of the namespace that the parent topic belongs to */ String namespaceName(); /** + * Gets the name of the parent topic name. + * * @return the name of the parent topic name */ String topicName(); From b787c0dc7b4610c36885b9f4edc95edc3e0f1340 Mon Sep 17 00:00:00 2001 From: hongli750210 Date: Fri, 27 Dec 2024 10:09:34 +0800 Subject: [PATCH 3/5] Fix ci analyze exception and get analyze record --- .../servicebus/models/AuthorizationRule.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationRule.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationRule.java index 2184d5946cdb7..197f4b4558355 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationRule.java @@ -89,6 +89,8 @@ interface DefinitionStages { */ interface WithListen { /** + * Enables listening. + * * @return the next stage of the definition */ T withListeningEnabled(); @@ -101,6 +103,8 @@ interface WithListen { */ interface WithSend { /** + * Enables sending. + * * @return the next stage of the definition */ T withSendingEnabled(); @@ -113,6 +117,8 @@ interface WithSend { */ interface WithManage { /** + * Enables management. + * * @return the next stage of the definition */ T withManagementEnabled(); From e1d72ffa066c4a9f1fd25aed57279cb6902d6fad Mon Sep 17 00:00:00 2001 From: hongli750210 Date: Fri, 27 Dec 2024 10:10:01 +0800 Subject: [PATCH 4/5] Fix ci analyze exception and get analyze record --- .../servicebus/models/NamespaceAuthorizationRule.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/NamespaceAuthorizationRule.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/NamespaceAuthorizationRule.java index d08b1f37ca44b..3c1be5ae87f6c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/NamespaceAuthorizationRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/NamespaceAuthorizationRule.java @@ -15,6 +15,8 @@ public interface NamespaceAuthorizationRule extends AuthorizationRule, Updatable { /** + * Gets the name of the parent namespace name. + * * @return the name of the parent namespace name */ String namespaceName(); From 9602a34361f673ee754e7386fc5f849da6390c7d Mon Sep 17 00:00:00 2001 From: hongli750210 Date: Wed, 8 Jan 2025 16:39:54 +0800 Subject: [PATCH 5/5] Fix javaDoc --- .../resourcemanager/servicebus/ServiceBusManager.java | 2 +- .../servicebus/models/AuthorizationKeys.java | 8 ++++---- .../servicebus/models/AuthorizationRule.java | 2 +- .../servicebus/models/ServiceBusNamespace.java | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/ServiceBusManager.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/ServiceBusManager.java index 5a10f65a2118e..30fb87b704cb9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/ServiceBusManager.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/ServiceBusManager.java @@ -93,7 +93,7 @@ private ServiceBusManager(HttpPipeline httpPipeline, AzureProfile profile) { } /** - * Gets the Service Bus namespace management API entry point. + * Gets the API entry point of the Service Bus namespace management. * * @return the Service Bus namespace management API entry point */ diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationKeys.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationKeys.java index 54df4b9350479..ac5132946bdd9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationKeys.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationKeys.java @@ -13,28 +13,28 @@ @Fluent public interface AuthorizationKeys extends HasInnerModel { /** - * Gets primary key associated with the rule. + * Gets the primary key associated with the rule. * * @return primary key associated with the rule */ String primaryKey(); /** - * Gets secondary key associated with the rule. + * Gets the secondary key associated with the rule. * * @return secondary key associated with the rule */ String secondaryKey(); /** - * Gets primary connection string. + * Gets the primary connection string. * * @return primary connection string */ String primaryConnectionString(); /** - * Gets secondary connection string. + * Gets the secondary connection string. * * @return secondary connection string */ diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationRule.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationRule.java index 197f4b4558355..733657eb55a37 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/AuthorizationRule.java @@ -22,7 +22,7 @@ public interface AuthorizationRule> extends IndependentChildResource, Refreshable { /** - * Gets rights associated with the rule. + * Gets the rights associated with the rule. * * @return rights associated with the rule */ diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/ServiceBusNamespace.java b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/ServiceBusNamespace.java index 1250992886c78..1b6927c73ad5c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/ServiceBusNamespace.java +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/src/main/java/com/azure/resourcemanager/servicebus/models/ServiceBusNamespace.java @@ -29,7 +29,7 @@ public interface ServiceBusNamespace extends GroupableResource