Skip to content

Commit ec74a37

Browse files
authored
Avoid pointing to docs that are misleading about API deprecation (Azure#19081)
1 parent d5276ea commit ec74a37

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sdk/servicebus/service-bus/src/serviceBusAtomManagementClient.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ export class ServiceBusAdministrationClient extends ServiceClient {
639639
* All queue properties must be set even though only a subset of them are actually updatable.
640640
* Therefore, the suggested flow is to use the output from `getQueue()`, update the desired properties in it, and then pass the modified object to `updateQueue()`.
641641
*
642-
* See https://docs.microsoft.com/rest/api/servicebus/update-queue for more details.
642+
* The properties that cannot be updated are marked as readonly in the `QueueProperties` interface.
643643
*
644644
* @param queue - Object representing the properties of the queue and the raw response.
645645
* `requiresSession`, `requiresDuplicateDetection`, `enablePartitioning`, and `name` can't be updated after creating the queue.
@@ -1127,7 +1127,7 @@ export class ServiceBusAdministrationClient extends ServiceClient {
11271127
* All topic properties must be set even though only a subset of them are actually updatable.
11281128
* Therefore, the suggested flow is to use the output from `getTopic()`, update the desired properties in it, and then pass the modified object to `updateTopic()`.
11291129
*
1130-
* See https://docs.microsoft.com/rest/api/servicebus/update-topic for more details.
1130+
* The properties that cannot be updated are marked as readonly in the `TopicProperties` interface.
11311131
*
11321132
* @param topic - Object representing the properties of the topic and the raw response.
11331133
* `requiresDuplicateDetection`, `enablePartitioning`, and `name` can't be updated after creating the topic.
@@ -1642,6 +1642,7 @@ export class ServiceBusAdministrationClient extends ServiceClient {
16421642
* All subscription properties must be set even though only a subset of them are actually updatable.
16431643
* Therefore, the suggested flow is to use the output from `getSubscription()`, update the desired properties in it, and then pass the modified object to `updateSubscription()`.
16441644
*
1645+
* The properties that cannot be updated are marked as readonly in the `SubscriptionProperties` interface.
16451646
* @param subscription - Object representing the properties of the subscription and the raw response.
16461647
* `subscriptionName`, `topicName`, and `requiresSession` can't be updated after creating the subscription.
16471648
* @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.

0 commit comments

Comments
 (0)