@azure/service-bus 7.10.0-alpha.20250103.2 → 7.10.0-alpha.20250107.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/serviceBusAtomManagementClient.d.ts.map +1 -1
- package/dist/browser/serviceBusAtomManagementClient.js +26 -80
- package/dist/browser/serviceBusAtomManagementClient.js.map +1 -1
- package/dist/commonjs/serviceBusAtomManagementClient.d.ts.map +1 -1
- package/dist/commonjs/serviceBusAtomManagementClient.js +26 -80
- package/dist/commonjs/serviceBusAtomManagementClient.js.map +1 -1
- package/dist/esm/serviceBusAtomManagementClient.d.ts.map +1 -1
- package/dist/esm/serviceBusAtomManagementClient.js +26 -80
- package/dist/esm/serviceBusAtomManagementClient.js.map +1 -1
- package/dist/react-native/serviceBusAtomManagementClient.d.ts.map +1 -1
- package/dist/react-native/serviceBusAtomManagementClient.js +26 -80
- package/dist/react-native/serviceBusAtomManagementClient.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceBusAtomManagementClient.d.ts","sourceRoot":"","sources":["../../src/serviceBusAtomManagementClient.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EAEpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,0BAA0B,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAanF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAKxF,OAAO,KAAK,EACV,kBAAkB,EAElB,eAAe,EACf,sBAAsB,EACvB,MAAM,0CAA0C,CAAC;AAOlD,OAAO,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AAO,CAAC,WAAW,CAAgD;IAEnE;;;;OAIG;gBACS,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qCAAqC;IACrF;;;;;;;;;;;;OAYG;gBAED,uBAAuB,EAAE,MAAM,EAC/B,UAAU,EAAE,eAAe,GAAG,kBAAkB,EAChD,OAAO,CAAC,EAAE,qCAAqC;IAoEjD;;;;OAIG;IACG,sBAAsB,
|
|
1
|
+
{"version":3,"file":"serviceBusAtomManagementClient.d.ts","sourceRoot":"","sources":["../../src/serviceBusAtomManagementClient.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EAEpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,KAAK,EAAE,0BAA0B,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAanF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAKxF,OAAO,KAAK,EACV,kBAAkB,EAElB,eAAe,EACf,sBAAsB,EACvB,MAAM,0CAA0C,CAAC;AAOlD,OAAO,KAAK,EAEV,cAAc,EACd,aAAa,EACb,aAAa,EACd,MAAM,yCAAyC,CAAC;AAMjD,OAAO,KAAK,EACV,yBAAyB,EAEzB,sBAAsB,EACtB,6BAA6B,EAC9B,MAAM,iDAAiD,CAAC;AAOzD,OAAO,KAAK,EACV,kBAAkB,EAElB,eAAe,EACf,sBAAsB,EACvB,MAAM,0CAA0C,CAAC;AAqBlD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IA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param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.
|
|
100
100
|
*
|
|
101
101
|
*/
|
|
102
|
-
async getNamespaceProperties(
|
|
103
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
104
|
-
operationOptions = {}) {
|
|
102
|
+
async getNamespaceProperties(operationOptions = {}) {
|
|
105
103
|
log_js_1.administrationLogger.verbose(`Performing management operation - getNamespaceProperties()`);
|
|
106
104
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.getNamespaceProperties", operationOptions, async (updatedOptions) => {
|
|
107
105
|
const response = await this.getResource("$namespaceinfo", this.namespaceResourceSerializer, updatedOptions);
|
|
@@ -144,9 +142,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
144
142
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
145
143
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
146
144
|
*/
|
|
147
|
-
async getQueue(queueName,
|
|
148
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
149
|
-
operationOptions = {}) {
|
|
145
|
+
async getQueue(queueName, operationOptions = {}) {
|
|
150
146
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.getQueue", operationOptions, async (updatedOptions) => {
|
|
151
147
|
log_js_1.administrationLogger.verbose(`Performing management operation - getQueue() for "${queueName}"`);
|
|
152
148
|
const response = await this.getResource(queueName, this.queueResourceSerializer, updatedOptions);
|
|
@@ -166,9 +162,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
166
162
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
167
163
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
168
164
|
*/
|
|
169
|
-
async getQueueRuntimeProperties(queueName,
|
|
170
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
171
|
-
operationOptions = {}) {
|
|
165
|
+
async getQueueRuntimeProperties(queueName, operationOptions = {}) {
|
|
172
166
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.getQueueRuntimeProperties", operationOptions, async (updatedOptions) => {
|
|
173
167
|
log_js_1.administrationLogger.verbose(`Performing management operation - getQueueRuntimeProperties() for "${queueName}"`);
|
|
174
168
|
const response = await this.getResource(queueName, this.queueResourceSerializer, updatedOptions);
|
|
@@ -233,9 +227,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
233
227
|
*
|
|
234
228
|
* @returns An asyncIterableIterator that supports paging.
|
|
235
229
|
*/
|
|
236
|
-
listQueues(
|
|
237
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
238
|
-
options) {
|
|
230
|
+
listQueues(options) {
|
|
239
231
|
log_js_1.administrationLogger.verbose(`Performing management operation - listQueues() with options: %j`, options);
|
|
240
232
|
const iter = this.listQueuesAll(options);
|
|
241
233
|
return {
|
|
@@ -315,9 +307,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
315
307
|
*
|
|
316
308
|
* @returns An asyncIterableIterator that supports paging.
|
|
317
309
|
*/
|
|
318
|
-
listQueuesRuntimeProperties(
|
|
319
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
320
|
-
options) {
|
|
310
|
+
listQueuesRuntimeProperties(options) {
|
|
321
311
|
log_js_1.administrationLogger.verbose(`Performing management operation - listQueuesRuntimeProperties() with options: %j`, options);
|
|
322
312
|
const iter = this.listQueuesRuntimePropertiesAll(options);
|
|
323
313
|
return {
|
|
@@ -359,9 +349,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
359
349
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
360
350
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
361
351
|
*/
|
|
362
|
-
async updateQueue(queue,
|
|
363
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
364
|
-
operationOptions = {}) {
|
|
352
|
+
async updateQueue(queue, operationOptions = {}) {
|
|
365
353
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.updateQueue", operationOptions, async (updatedOptions) => {
|
|
366
354
|
log_js_1.administrationLogger.verbose(`Performing management operation - updateQueue() for "${queue.name}" with options: %j`, queue);
|
|
367
355
|
if (!(0, utils_js_1.isJSONLikeObject)(queue) || queue == null) {
|
|
@@ -387,9 +375,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
387
375
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
388
376
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
389
377
|
*/
|
|
390
|
-
async deleteQueue(queueName,
|
|
391
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
392
|
-
operationOptions = {}) {
|
|
378
|
+
async deleteQueue(queueName, operationOptions = {}) {
|
|
393
379
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.deleteQueue", operationOptions, async (updatedOptions) => {
|
|
394
380
|
log_js_1.administrationLogger.verbose(`Performing management operation - deleteQueue() for "${queueName}"`);
|
|
395
381
|
const response = await this.deleteResource(queueName, this.queueResourceSerializer, updatedOptions);
|
|
@@ -400,7 +386,6 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
400
386
|
* Checks whether a given queue exists or not.
|
|
401
387
|
* @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.
|
|
402
388
|
*/
|
|
403
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
404
389
|
async queueExists(queueName, operationOptions = {}) {
|
|
405
390
|
log_js_1.administrationLogger.verbose(`Performing management operation - queueExists() for "${queueName}"`);
|
|
406
391
|
const { span, updatedOptions } = tracing_js_1.tracingClient.startSpan("ServiceBusAdministrationClient.queueExists", operationOptions);
|
|
@@ -453,9 +438,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
453
438
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
454
439
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
455
440
|
*/
|
|
456
|
-
async getTopic(topicName,
|
|
457
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
458
|
-
operationOptions = {}) {
|
|
441
|
+
async getTopic(topicName, operationOptions = {}) {
|
|
459
442
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.getTopic", operationOptions, async (updatedOptions) => {
|
|
460
443
|
log_js_1.administrationLogger.verbose(`Performing management operation - getTopic() for "${topicName}"`);
|
|
461
444
|
const response = await this.getResource(topicName, this.topicResourceSerializer, updatedOptions);
|
|
@@ -475,9 +458,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
475
458
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
476
459
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
477
460
|
*/
|
|
478
|
-
async getTopicRuntimeProperties(topicName,
|
|
479
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
480
|
-
operationOptions = {}) {
|
|
461
|
+
async getTopicRuntimeProperties(topicName, operationOptions = {}) {
|
|
481
462
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.getTopicRuntimeProperties", operationOptions, async (updatedOptions) => {
|
|
482
463
|
log_js_1.administrationLogger.verbose(`Performing management operation - getTopicRuntimeProperties() for "${topicName}"`);
|
|
483
464
|
const response = await this.getResource(topicName, this.topicResourceSerializer, updatedOptions);
|
|
@@ -543,9 +524,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
543
524
|
*
|
|
544
525
|
* @returns An asyncIterableIterator that supports paging.
|
|
545
526
|
*/
|
|
546
|
-
listTopics(
|
|
547
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
548
|
-
options) {
|
|
527
|
+
listTopics(options) {
|
|
549
528
|
log_js_1.administrationLogger.verbose(`Performing management operation - listTopics() with options: %j`, options);
|
|
550
529
|
const iter = this.listTopicsAll(options);
|
|
551
530
|
return {
|
|
@@ -625,9 +604,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
625
604
|
*
|
|
626
605
|
* @returns An asyncIterableIterator that supports paging.
|
|
627
606
|
*/
|
|
628
|
-
listTopicsRuntimeProperties(
|
|
629
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
630
|
-
options) {
|
|
607
|
+
listTopicsRuntimeProperties(options) {
|
|
631
608
|
log_js_1.administrationLogger.verbose(`Performing management operation - listTopicsRuntimeProperties() with options: %j`, options);
|
|
632
609
|
const iter = this.listTopicsRuntimePropertiesAll(options);
|
|
633
610
|
return {
|
|
@@ -672,9 +649,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
672
649
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
673
650
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
674
651
|
*/
|
|
675
|
-
async updateTopic(topic,
|
|
676
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
677
|
-
operationOptions = {}) {
|
|
652
|
+
async updateTopic(topic, operationOptions = {}) {
|
|
678
653
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.updateTopic", operationOptions, async (updatedOptions) => {
|
|
679
654
|
log_js_1.administrationLogger.verbose(`Performing management operation - updateTopic() for "${topic.name}" with options: %j`, topic);
|
|
680
655
|
if (!(0, utils_js_1.isJSONLikeObject)(topic) || topic == null) {
|
|
@@ -700,9 +675,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
700
675
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
701
676
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
702
677
|
*/
|
|
703
|
-
async deleteTopic(topicName,
|
|
704
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
705
|
-
operationOptions = {}) {
|
|
678
|
+
async deleteTopic(topicName, operationOptions = {}) {
|
|
706
679
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.deleteTopic", operationOptions, async (updatedOptions) => {
|
|
707
680
|
log_js_1.administrationLogger.verbose(`Performing management operation - deleteTopic() for "${topicName}"`);
|
|
708
681
|
const response = await this.deleteResource(topicName, this.topicResourceSerializer, updatedOptions);
|
|
@@ -713,7 +686,6 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
713
686
|
* Checks whether a given topic exists or not.
|
|
714
687
|
* @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.
|
|
715
688
|
*/
|
|
716
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
717
689
|
async topicExists(topicName, operationOptions) {
|
|
718
690
|
log_js_1.administrationLogger.verbose(`Performing management operation - topicExists() for "${topicName}"`);
|
|
719
691
|
const { span, updatedOptions } = tracing_js_1.tracingClient.startSpan("ServiceBusAdministrationClient.topicExists", operationOptions);
|
|
@@ -767,9 +739,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
767
739
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
768
740
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
769
741
|
*/
|
|
770
|
-
async getSubscription(topicName, subscriptionName,
|
|
771
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
772
|
-
operationOptions = {}) {
|
|
742
|
+
async getSubscription(topicName, subscriptionName, operationOptions = {}) {
|
|
773
743
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.getSubscription", operationOptions, async (updatedOptions) => {
|
|
774
744
|
log_js_1.administrationLogger.verbose(`Performing management operation - getSubscription() for "${subscriptionName}"`);
|
|
775
745
|
const fullPath = this.getSubscriptionPath(topicName, subscriptionName);
|
|
@@ -790,9 +760,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
790
760
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
791
761
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
792
762
|
*/
|
|
793
|
-
async getSubscriptionRuntimeProperties(topicName, subscriptionName,
|
|
794
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
795
|
-
operationOptions = {}) {
|
|
763
|
+
async getSubscriptionRuntimeProperties(topicName, subscriptionName, operationOptions = {}) {
|
|
796
764
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.getSubscriptionRuntimeProperties", operationOptions, async (updatedOptions) => {
|
|
797
765
|
log_js_1.administrationLogger.verbose(`Performing management operation - getSubscriptionRuntimeProperties() for "${subscriptionName}"`);
|
|
798
766
|
const fullPath = this.getSubscriptionPath(topicName, subscriptionName);
|
|
@@ -860,9 +828,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
860
828
|
*
|
|
861
829
|
* @returns An asyncIterableIterator that supports paging.
|
|
862
830
|
*/
|
|
863
|
-
listSubscriptions(topicName,
|
|
864
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
865
|
-
options) {
|
|
831
|
+
listSubscriptions(topicName, options) {
|
|
866
832
|
log_js_1.administrationLogger.verbose(`Performing management operation - listSubscriptions() with options: %j`, options);
|
|
867
833
|
const iter = this.listSubscriptionsAll(topicName, options);
|
|
868
834
|
return {
|
|
@@ -942,9 +908,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
942
908
|
*
|
|
943
909
|
* @returns An asyncIterableIterator that supports paging.
|
|
944
910
|
*/
|
|
945
|
-
listSubscriptionsRuntimeProperties(topicName,
|
|
946
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
947
|
-
options) {
|
|
911
|
+
listSubscriptionsRuntimeProperties(topicName, options) {
|
|
948
912
|
log_js_1.administrationLogger.verbose(`Performing management operation - listSubscriptionsRuntimeProperties() with options: %j`, options);
|
|
949
913
|
const iter = this.listSubscriptionsRuntimePropertiesAll(topicName, options);
|
|
950
914
|
return {
|
|
@@ -985,9 +949,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
985
949
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
986
950
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
987
951
|
*/
|
|
988
|
-
async updateSubscription(subscription,
|
|
989
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
990
|
-
operationOptions = {}) {
|
|
952
|
+
async updateSubscription(subscription, operationOptions = {}) {
|
|
991
953
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.updateSubscription", operationOptions, async (updatedOptions) => {
|
|
992
954
|
log_js_1.administrationLogger.verbose(`Performing management operation - updateSubscription() for "${subscription.subscriptionName}" with options: %j`, subscription);
|
|
993
955
|
if (!(0, utils_js_1.isJSONLikeObject)(subscription) || subscription == null) {
|
|
@@ -1014,9 +976,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
1014
976
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
1015
977
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
1016
978
|
*/
|
|
1017
|
-
async deleteSubscription(topicName, subscriptionName,
|
|
1018
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
1019
|
-
operationOptions = {}) {
|
|
979
|
+
async deleteSubscription(topicName, subscriptionName, operationOptions = {}) {
|
|
1020
980
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.deleteSubscription", operationOptions, async (updatedOptions) => {
|
|
1021
981
|
log_js_1.administrationLogger.verbose(`Performing management operation - deleteSubscription() for "${subscriptionName}"`);
|
|
1022
982
|
const fullPath = this.getSubscriptionPath(topicName, subscriptionName);
|
|
@@ -1028,9 +988,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
1028
988
|
* Checks whether a given subscription exists in the topic or not.
|
|
1029
989
|
* @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.
|
|
1030
990
|
*/
|
|
1031
|
-
async subscriptionExists(topicName, subscriptionName,
|
|
1032
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
1033
|
-
operationOptions = {}) {
|
|
991
|
+
async subscriptionExists(topicName, subscriptionName, operationOptions = {}) {
|
|
1034
992
|
log_js_1.administrationLogger.verbose(`Performing management operation - subscriptionExists() for "${topicName}" and "${subscriptionName}"`);
|
|
1035
993
|
const { span, updatedOptions } = tracing_js_1.tracingClient.startSpan("ServiceBusAdministrationClient.subscriptionExists", operationOptions);
|
|
1036
994
|
try {
|
|
@@ -1046,9 +1004,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
1046
1004
|
span.end();
|
|
1047
1005
|
}
|
|
1048
1006
|
}
|
|
1049
|
-
async createRule(topicName, subscriptionName, ruleName, ruleFilter, ruleActionOrOperationOptions,
|
|
1050
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
1051
|
-
operationOptions) {
|
|
1007
|
+
async createRule(topicName, subscriptionName, ruleName, ruleFilter, ruleActionOrOperationOptions, operationOptions) {
|
|
1052
1008
|
let ruleAction = undefined;
|
|
1053
1009
|
let operOptions;
|
|
1054
1010
|
if (ruleActionOrOperationOptions) {
|
|
@@ -1083,9 +1039,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
1083
1039
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
1084
1040
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
1085
1041
|
*/
|
|
1086
|
-
async getRule(topicName, subscriptionName, ruleName,
|
|
1087
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
1088
|
-
operationOptions = {}) {
|
|
1042
|
+
async getRule(topicName, subscriptionName, ruleName, operationOptions = {}) {
|
|
1089
1043
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.getRule", operationOptions, async (updatedOptions) => {
|
|
1090
1044
|
log_js_1.administrationLogger.verbose(`Performing management operation - getRule() for "${ruleName}"`);
|
|
1091
1045
|
const fullPath = this.getRulePath(topicName, subscriptionName, ruleName);
|
|
@@ -1152,9 +1106,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
1152
1106
|
*
|
|
1153
1107
|
* @returns An asyncIterableIterator that supports paging.
|
|
1154
1108
|
*/
|
|
1155
|
-
listRules(topicName, subscriptionName,
|
|
1156
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
1157
|
-
options) {
|
|
1109
|
+
listRules(topicName, subscriptionName, options) {
|
|
1158
1110
|
log_js_1.administrationLogger.verbose(`Performing management operation - listRules() with options: %j`, options);
|
|
1159
1111
|
const iter = this.listRulesAll(topicName, subscriptionName, options);
|
|
1160
1112
|
return {
|
|
@@ -1194,9 +1146,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
1194
1146
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
1195
1147
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
1196
1148
|
*/
|
|
1197
|
-
async updateRule(topicName, subscriptionName, rule,
|
|
1198
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
1199
|
-
operationOptions) {
|
|
1149
|
+
async updateRule(topicName, subscriptionName, rule, operationOptions) {
|
|
1200
1150
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.updateRule", operationOptions !== null && operationOptions !== void 0 ? operationOptions : {}, async (updatedOptions) => {
|
|
1201
1151
|
log_js_1.administrationLogger.verbose(`Performing management operation - updateRule() for "${rule.name}" with options: %j`, rule);
|
|
1202
1152
|
if (!(0, utils_js_1.isJSONLikeObject)(rule) || rule === null) {
|
|
@@ -1223,9 +1173,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
1223
1173
|
* bad requests or requests resulting in conflicting operation on the server,
|
|
1224
1174
|
* @throws `RestError` with code and statusCode representing the standard set of REST API errors.
|
|
1225
1175
|
*/
|
|
1226
|
-
async deleteRule(topicName, subscriptionName, ruleName,
|
|
1227
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
1228
|
-
operationOptions) {
|
|
1176
|
+
async deleteRule(topicName, subscriptionName, ruleName, operationOptions) {
|
|
1229
1177
|
return tracing_js_1.tracingClient.withSpan("ServiceBusAdministrationClient.deleteRule", operationOptions !== null && operationOptions !== void 0 ? operationOptions : {}, async (updatedOptions) => {
|
|
1230
1178
|
log_js_1.administrationLogger.verbose(`Performing management operation - deleteRule() for "${ruleName}"`);
|
|
1231
1179
|
const fullPath = this.getRulePath(topicName, subscriptionName, ruleName);
|
|
@@ -1237,9 +1185,7 @@ class ServiceBusAdministrationClient extends core_client_1.ServiceClient {
|
|
|
1237
1185
|
* Checks whether a given rule exists or not.
|
|
1238
1186
|
*
|
|
1239
1187
|
*/
|
|
1240
|
-
async ruleExists(topicName, subscriptionName, ruleName,
|
|
1241
|
-
// eslint-disable-next-line @azure/azure-sdk/ts-naming-options
|
|
1242
|
-
operationOptions = {}) {
|
|
1188
|
+
async ruleExists(topicName, subscriptionName, ruleName, operationOptions = {}) {
|
|
1243
1189
|
log_js_1.administrationLogger.verbose(`Performing management operation - ruleExists() for "${ruleName}"`);
|
|
1244
1190
|
const { span, updatedOptions } = tracing_js_1.tracingClient.startSpan("ServiceBusAdministrationClient.ruleExists", operationOptions);
|
|
1245
1191
|
try {
|