@dishantlangayan/solace-cloud-cli 0.5.0 → 0.5.3
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/README.md +1889 -25
- package/oclif.manifest.json +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ The Solace Cloud CLI
|
|
|
13
13
|
<!-- toc -->
|
|
14
14
|
* [Overview](#overview)
|
|
15
15
|
* [Usage](#usage)
|
|
16
|
-
* [
|
|
16
|
+
* [Authenticating with Solace Cloud](#authenticating-with-solace-cloud)
|
|
17
17
|
* [Resources](#resources)
|
|
18
18
|
* [Contributing](#contributing)
|
|
19
19
|
* [Authors](#authors)
|
|
@@ -32,6 +32,9 @@ Use it to:
|
|
|
32
32
|
|
|
33
33
|
The CLI is built using the [oclif framework](https://oclif.io) that allows for plugin based development where users can add and extend the functionality of this CLI. For example, a new command can be added that can create and manage VPN Bridges, which uses the SEMP API to provision the bridges across two Message VPN on the same broker or across two brokers.
|
|
34
34
|
|
|
35
|
+
> [!TIP]
|
|
36
|
+
> For more information see the Solace Cloud CLI [Documentation](https://dishantlangayan.github.io/sc-cli/)
|
|
37
|
+
|
|
35
38
|
<!-- overviewstop -->
|
|
36
39
|
# Usage
|
|
37
40
|
<!-- usage -->
|
|
@@ -40,25 +43,22 @@ $ npm install -g @dishantlangayan/solace-cloud-cli
|
|
|
40
43
|
$ sc COMMAND
|
|
41
44
|
running command...
|
|
42
45
|
$ sc (--version)
|
|
43
|
-
@dishantlangayan/solace-cloud-cli/0.5.
|
|
46
|
+
@dishantlangayan/solace-cloud-cli/0.5.3 linux-x64 node-v26.4.0
|
|
44
47
|
$ sc --help [COMMAND]
|
|
45
48
|
USAGE
|
|
46
49
|
$ sc COMMAND
|
|
47
50
|
...
|
|
48
51
|
```
|
|
49
52
|
<!-- usagestop -->
|
|
50
|
-
#
|
|
53
|
+
# Authenticating with Solace Cloud
|
|
51
54
|
<!-- configuration -->
|
|
52
|
-
To use any commands you will need to configure an Access Token in Solace Cloud Console with the appropriate permissions first.
|
|
55
|
+
To use any commands you will need to configure an Access Token in Solace Cloud Console with the appropriate permissions first. You can then authorize the CLI to use your Solace Cloud by setting the access token using the `account:login` command:
|
|
53
56
|
|
|
54
|
-
```
|
|
55
|
-
|
|
57
|
+
```bash
|
|
58
|
+
sc account login --org <Your Org Name>
|
|
56
59
|
```
|
|
57
60
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
* SC_API_VERSION - The API version of the Solace Cloud REST API. Default is `v2`.
|
|
61
|
-
* SC_BASE_URL - The location of your Solace Home Cloud account determines the base URL you use. Default is `https://api.solace.cloud/`
|
|
61
|
+
Refer to the [Solace Cloud CLI documention](https://dishantlangayan.github.io/sc-cli/docs/getting-started/sc-authentication) for more information.
|
|
62
62
|
|
|
63
63
|
<!-- configurationstop -->
|
|
64
64
|
# Resources
|
|
@@ -66,6 +66,7 @@ The following Environment variables are optional:
|
|
|
66
66
|
This is not an officially supported Solace product.
|
|
67
67
|
|
|
68
68
|
For more information try these resources:
|
|
69
|
+
- Solace Cloud CLI [Documentation](https://dishantlangayan.github.io/sc-cli/docs/intro)
|
|
69
70
|
- Ask the [Solace Community](https://solace.community)
|
|
70
71
|
- The Solace Developer Portal website at: https://solace.dev
|
|
71
72
|
|
|
@@ -91,6 +92,49 @@ See the [LICENSE](LICENSE) file for details.
|
|
|
91
92
|
* [`sc account login`](#sc-account-login)
|
|
92
93
|
* [`sc account logout`](#sc-account-logout)
|
|
93
94
|
* [`sc autocomplete [SHELL]`](#sc-autocomplete-shell)
|
|
95
|
+
* [`sc broker acl-profile client-connect-exceptions create`](#sc-broker-acl-profile-client-connect-exceptions-create)
|
|
96
|
+
* [`sc broker acl-profile client-connect-exceptions delete`](#sc-broker-acl-profile-client-connect-exceptions-delete)
|
|
97
|
+
* [`sc broker acl-profile client-connect-exceptions list`](#sc-broker-acl-profile-client-connect-exceptions-list)
|
|
98
|
+
* [`sc broker acl-profile create`](#sc-broker-acl-profile-create)
|
|
99
|
+
* [`sc broker acl-profile delete`](#sc-broker-acl-profile-delete)
|
|
100
|
+
* [`sc broker acl-profile display`](#sc-broker-acl-profile-display)
|
|
101
|
+
* [`sc broker acl-profile list`](#sc-broker-acl-profile-list)
|
|
102
|
+
* [`sc broker acl-profile publish-topic-exceptions create`](#sc-broker-acl-profile-publish-topic-exceptions-create)
|
|
103
|
+
* [`sc broker acl-profile publish-topic-exceptions delete`](#sc-broker-acl-profile-publish-topic-exceptions-delete)
|
|
104
|
+
* [`sc broker acl-profile publish-topic-exceptions list`](#sc-broker-acl-profile-publish-topic-exceptions-list)
|
|
105
|
+
* [`sc broker acl-profile subscribe-share-name-exceptions create`](#sc-broker-acl-profile-subscribe-share-name-exceptions-create)
|
|
106
|
+
* [`sc broker acl-profile subscribe-share-name-exceptions delete`](#sc-broker-acl-profile-subscribe-share-name-exceptions-delete)
|
|
107
|
+
* [`sc broker acl-profile subscribe-share-name-exceptions list`](#sc-broker-acl-profile-subscribe-share-name-exceptions-list)
|
|
108
|
+
* [`sc broker acl-profile subscribe-topic-exceptions create`](#sc-broker-acl-profile-subscribe-topic-exceptions-create)
|
|
109
|
+
* [`sc broker acl-profile subscribe-topic-exceptions delete`](#sc-broker-acl-profile-subscribe-topic-exceptions-delete)
|
|
110
|
+
* [`sc broker acl-profile subscribe-topic-exceptions list`](#sc-broker-acl-profile-subscribe-topic-exceptions-list)
|
|
111
|
+
* [`sc broker acl-profile update`](#sc-broker-acl-profile-update)
|
|
112
|
+
* [`sc broker client-profile create`](#sc-broker-client-profile-create)
|
|
113
|
+
* [`sc broker client-profile delete`](#sc-broker-client-profile-delete)
|
|
114
|
+
* [`sc broker client-profile display`](#sc-broker-client-profile-display)
|
|
115
|
+
* [`sc broker client-profile list`](#sc-broker-client-profile-list)
|
|
116
|
+
* [`sc broker client-profile update`](#sc-broker-client-profile-update)
|
|
117
|
+
* [`sc broker client-username create`](#sc-broker-client-username-create)
|
|
118
|
+
* [`sc broker client-username delete`](#sc-broker-client-username-delete)
|
|
119
|
+
* [`sc broker client-username display`](#sc-broker-client-username-display)
|
|
120
|
+
* [`sc broker client-username list`](#sc-broker-client-username-list)
|
|
121
|
+
* [`sc broker client-username update`](#sc-broker-client-username-update)
|
|
122
|
+
* [`sc broker login basic`](#sc-broker-login-basic)
|
|
123
|
+
* [`sc broker login cloud`](#sc-broker-login-cloud)
|
|
124
|
+
* [`sc broker login list`](#sc-broker-login-list)
|
|
125
|
+
* [`sc broker logout`](#sc-broker-logout)
|
|
126
|
+
* [`sc broker queue-template create`](#sc-broker-queue-template-create)
|
|
127
|
+
* [`sc broker queue-template delete`](#sc-broker-queue-template-delete)
|
|
128
|
+
* [`sc broker queue-template display`](#sc-broker-queue-template-display)
|
|
129
|
+
* [`sc broker queue-template list`](#sc-broker-queue-template-list)
|
|
130
|
+
* [`sc broker queue-template update`](#sc-broker-queue-template-update)
|
|
131
|
+
* [`sc broker queue create`](#sc-broker-queue-create)
|
|
132
|
+
* [`sc broker queue delete`](#sc-broker-queue-delete)
|
|
133
|
+
* [`sc broker queue display`](#sc-broker-queue-display)
|
|
134
|
+
* [`sc broker queue list`](#sc-broker-queue-list)
|
|
135
|
+
* [`sc broker queue subscriptions create`](#sc-broker-queue-subscriptions-create)
|
|
136
|
+
* [`sc broker queue subscriptions delete`](#sc-broker-queue-subscriptions-delete)
|
|
137
|
+
* [`sc broker queue update`](#sc-broker-queue-update)
|
|
94
138
|
* [`sc commands`](#sc-commands)
|
|
95
139
|
* [`sc help [COMMAND]`](#sc-help-command)
|
|
96
140
|
* [`sc missionctrl broker create`](#sc-missionctrl-broker-create)
|
|
@@ -142,7 +186,7 @@ EXAMPLES
|
|
|
142
186
|
$ sc account list
|
|
143
187
|
```
|
|
144
188
|
|
|
145
|
-
_See code: [src/commands/account/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
189
|
+
_See code: [src/commands/account/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/account/list.ts)_
|
|
146
190
|
|
|
147
191
|
## `sc account login`
|
|
148
192
|
|
|
@@ -192,7 +236,7 @@ EXAMPLES
|
|
|
192
236
|
$ sc account login --org=my-org-id --base-url=https://api.custom.solace.cloud
|
|
193
237
|
```
|
|
194
238
|
|
|
195
|
-
_See code: [src/commands/account/login.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
239
|
+
_See code: [src/commands/account/login.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/account/login.ts)_
|
|
196
240
|
|
|
197
241
|
## `sc account logout`
|
|
198
242
|
|
|
@@ -230,7 +274,7 @@ EXAMPLES
|
|
|
230
274
|
$ sc account logout --org=my-org-id --no-prompt
|
|
231
275
|
```
|
|
232
276
|
|
|
233
|
-
_See code: [src/commands/account/logout.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
277
|
+
_See code: [src/commands/account/logout.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/account/logout.ts)_
|
|
234
278
|
|
|
235
279
|
## `sc autocomplete [SHELL]`
|
|
236
280
|
|
|
@@ -263,6 +307,1826 @@ EXAMPLES
|
|
|
263
307
|
|
|
264
308
|
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.40/src/commands/autocomplete/index.ts)_
|
|
265
309
|
|
|
310
|
+
## `sc broker acl-profile client-connect-exceptions create`
|
|
311
|
+
|
|
312
|
+
Create a client connect exception for an ACL Profile on a Solace Event Broker.
|
|
313
|
+
|
|
314
|
+
```
|
|
315
|
+
USAGE
|
|
316
|
+
$ sc broker acl-profile client-connect-exceptions create -a <value> -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value>
|
|
317
|
+
| -b <value>] [-v <value>]
|
|
318
|
+
|
|
319
|
+
FLAGS
|
|
320
|
+
-a, --address=<value> (required) The IP address/netmask of the client connect exception in CIDR form (e.g.,
|
|
321
|
+
192.168.1.0/24).
|
|
322
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
323
|
+
-n, --name=<value> (required) The name of the ACL Profile.
|
|
324
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
325
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
326
|
+
|
|
327
|
+
GLOBAL FLAGS
|
|
328
|
+
--json Format output as json.
|
|
329
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
330
|
+
<options: debug|warn|error|info|trace>
|
|
331
|
+
|
|
332
|
+
DESCRIPTION
|
|
333
|
+
Create a client connect exception for an ACL Profile on a Solace Event Broker.
|
|
334
|
+
|
|
335
|
+
Adds an exception to the ACL Profile that allows or disallows clients connecting from specific IP addresses. The
|
|
336
|
+
exception is expressed as an IP address/netmask in CIDR form.
|
|
337
|
+
|
|
338
|
+
EXAMPLES
|
|
339
|
+
$ sc broker acl-profile client-connect-exceptions create --name=myProfile --address=192.168.1.0/24
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/client-connect-exceptions/create.ts)_
|
|
343
|
+
|
|
344
|
+
## `sc broker acl-profile client-connect-exceptions delete`
|
|
345
|
+
|
|
346
|
+
Delete a client connect exception from an ACL Profile on a Solace Event Broker.
|
|
347
|
+
|
|
348
|
+
```
|
|
349
|
+
USAGE
|
|
350
|
+
$ sc broker acl-profile client-connect-exceptions delete -a <value> -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value>
|
|
351
|
+
| -b <value>] [-v <value>] [--no-prompt]
|
|
352
|
+
|
|
353
|
+
FLAGS
|
|
354
|
+
-a, --address=<value> (required) The IP address/netmask of the client connect exception to delete in CIDR form.
|
|
355
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
356
|
+
-n, --name=<value> (required) The name of the ACL Profile.
|
|
357
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
358
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
359
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
360
|
+
|
|
361
|
+
GLOBAL FLAGS
|
|
362
|
+
--json Format output as json.
|
|
363
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
364
|
+
<options: debug|warn|error|info|trace>
|
|
365
|
+
|
|
366
|
+
DESCRIPTION
|
|
367
|
+
Delete a client connect exception from an ACL Profile on a Solace Event Broker.
|
|
368
|
+
|
|
369
|
+
Removes the specified client connect exception from the ACL Profile. This is a destructive operation.
|
|
370
|
+
|
|
371
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
372
|
+
|
|
373
|
+
EXAMPLES
|
|
374
|
+
$ sc broker acl-profile client-connect-exceptions delete --name=myProfile --address=192.168.1.0/24
|
|
375
|
+
|
|
376
|
+
$ sc broker acl-profile client-connect-exceptions delete --name=myProfile --address=10.0.0.0/8 --no-prompt
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/client-connect-exceptions/delete.ts)_
|
|
380
|
+
|
|
381
|
+
## `sc broker acl-profile client-connect-exceptions list`
|
|
382
|
+
|
|
383
|
+
List client connect exceptions for an ACL Profile from a Solace Event Broker.
|
|
384
|
+
|
|
385
|
+
```
|
|
386
|
+
USAGE
|
|
387
|
+
$ sc broker acl-profile client-connect-exceptions list -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
388
|
+
<value>] [-v <value>]
|
|
389
|
+
|
|
390
|
+
FLAGS
|
|
391
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
392
|
+
-n, --name=<value> (required) The name of the ACL Profile.
|
|
393
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
394
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
395
|
+
|
|
396
|
+
GLOBAL FLAGS
|
|
397
|
+
--json Format output as json.
|
|
398
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
399
|
+
<options: debug|warn|error|info|trace>
|
|
400
|
+
|
|
401
|
+
DESCRIPTION
|
|
402
|
+
List client connect exceptions for an ACL Profile from a Solace Event Broker.
|
|
403
|
+
|
|
404
|
+
Retrieves and displays all client connect exceptions configured for the specified ACL Profile using the SEMP Monitor
|
|
405
|
+
API.
|
|
406
|
+
|
|
407
|
+
EXAMPLES
|
|
408
|
+
$ sc broker acl-profile client-connect-exceptions list --name=myProfile
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/client-connect-exceptions/list.ts)_
|
|
412
|
+
|
|
413
|
+
## `sc broker acl-profile create`
|
|
414
|
+
|
|
415
|
+
Create an ACL Profile on a Solace Event Broker.
|
|
416
|
+
|
|
417
|
+
```
|
|
418
|
+
USAGE
|
|
419
|
+
$ sc broker acl-profile create -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
420
|
+
<value>] [-v <value>] [--client-connect-default-action allow|disallow] [--publish-topic-default-action
|
|
421
|
+
allow|disallow] [--subscribe-share-name-default-action allow|disallow] [--subscribe-topic-default-action
|
|
422
|
+
allow|disallow]
|
|
423
|
+
|
|
424
|
+
FLAGS
|
|
425
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
426
|
+
-n, --name=<value> (required) The name of the ACL Profile to create.
|
|
427
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
428
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default
|
|
429
|
+
broker.
|
|
430
|
+
--client-connect-default-action=<option> The default action to take when a client using the ACL Profile
|
|
431
|
+
connects.
|
|
432
|
+
<options: allow|disallow>
|
|
433
|
+
--publish-topic-default-action=<option> The default action to take when a client using the ACL Profile
|
|
434
|
+
publishes to a topic.
|
|
435
|
+
<options: allow|disallow>
|
|
436
|
+
--subscribe-share-name-default-action=<option> The default action to take when a client using the ACL Profile
|
|
437
|
+
subscribes to a share-name subscription.
|
|
438
|
+
<options: allow|disallow>
|
|
439
|
+
--subscribe-topic-default-action=<option> The default action to take when a client using the ACL Profile
|
|
440
|
+
subscribes to a topic.
|
|
441
|
+
<options: allow|disallow>
|
|
442
|
+
|
|
443
|
+
GLOBAL FLAGS
|
|
444
|
+
--json Format output as json.
|
|
445
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
446
|
+
<options: debug|warn|error|info|trace>
|
|
447
|
+
|
|
448
|
+
DESCRIPTION
|
|
449
|
+
Create an ACL Profile on a Solace Event Broker.
|
|
450
|
+
|
|
451
|
+
Access control list (ACL) profiles control which clients can connect to a message Message VPN and which topics
|
|
452
|
+
connected clients are allowed to publish and subscribe to.
|
|
453
|
+
|
|
454
|
+
Each of these access controls require a defined default action (allow or disallow connection, allow or disallow
|
|
455
|
+
publishing to topics, allow or disallow subscribing to topics, and allow or disallow subscribing to share names).
|
|
456
|
+
|
|
457
|
+
Default action is disallow for each.
|
|
458
|
+
|
|
459
|
+
EXAMPLES
|
|
460
|
+
$ sc broker acl-profile create --name=myProfile
|
|
461
|
+
|
|
462
|
+
$ sc broker acl-profile create --name=myProfile --client-connect-default-action=allow --publish-topic-default-action=disallow --subscribe-topic-default-action=allow
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/create.ts)_
|
|
466
|
+
|
|
467
|
+
## `sc broker acl-profile delete`
|
|
468
|
+
|
|
469
|
+
Delete an ACL Profile from a Solace Event Broker.
|
|
470
|
+
|
|
471
|
+
```
|
|
472
|
+
USAGE
|
|
473
|
+
$ sc broker acl-profile delete -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
474
|
+
<value>] [-v <value>] [--no-prompt]
|
|
475
|
+
|
|
476
|
+
FLAGS
|
|
477
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
478
|
+
-n, --name=<value> (required) The name of the ACL Profile to delete.
|
|
479
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
480
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
481
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
482
|
+
|
|
483
|
+
GLOBAL FLAGS
|
|
484
|
+
--json Format output as json.
|
|
485
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
486
|
+
<options: debug|warn|error|info|trace>
|
|
487
|
+
|
|
488
|
+
DESCRIPTION
|
|
489
|
+
Delete an ACL Profile from a Solace Event Broker.
|
|
490
|
+
|
|
491
|
+
This is a destructive operation that removes the ACL Profile. Any clients or client usernames using this profile
|
|
492
|
+
should be updated to use a different profile before deletion.
|
|
493
|
+
|
|
494
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
495
|
+
|
|
496
|
+
EXAMPLES
|
|
497
|
+
$ sc broker acl-profile delete --name=myProfile
|
|
498
|
+
|
|
499
|
+
$ sc broker acl-profile delete --name=myProfile --no-prompt
|
|
500
|
+
```
|
|
501
|
+
|
|
502
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/delete.ts)_
|
|
503
|
+
|
|
504
|
+
## `sc broker acl-profile display`
|
|
505
|
+
|
|
506
|
+
Display ACL Profile information from a Solace Event Broker.
|
|
507
|
+
|
|
508
|
+
```
|
|
509
|
+
USAGE
|
|
510
|
+
$ sc broker acl-profile display -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
511
|
+
<value>] [-v <value>]
|
|
512
|
+
|
|
513
|
+
FLAGS
|
|
514
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
515
|
+
-n, --name=<value> (required) The name of the ACL Profile to display.
|
|
516
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
517
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
518
|
+
|
|
519
|
+
GLOBAL FLAGS
|
|
520
|
+
--json Format output as json.
|
|
521
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
522
|
+
<options: debug|warn|error|info|trace>
|
|
523
|
+
|
|
524
|
+
DESCRIPTION
|
|
525
|
+
Display ACL Profile information from a Solace Event Broker.
|
|
526
|
+
|
|
527
|
+
Retrieves and displays detailed information about an ACL Profile using the SEMP Monitor API, including configuration
|
|
528
|
+
and default actions.
|
|
529
|
+
|
|
530
|
+
EXAMPLES
|
|
531
|
+
$ sc broker acl-profile display --name=myProfile
|
|
532
|
+
```
|
|
533
|
+
|
|
534
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/display.ts)_
|
|
535
|
+
|
|
536
|
+
## `sc broker acl-profile list`
|
|
537
|
+
|
|
538
|
+
List ACL Profiles from a Solace Event Broker.
|
|
539
|
+
|
|
540
|
+
```
|
|
541
|
+
USAGE
|
|
542
|
+
$ sc broker acl-profile list [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b <value>] [-v
|
|
543
|
+
<value>] [-a] [-c <value>] [-n <value>] [-s <value>]
|
|
544
|
+
|
|
545
|
+
FLAGS
|
|
546
|
+
-a, --all Display all ACL profiles (auto-pagination).
|
|
547
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
548
|
+
-c, --count=<value> [default: 10] Number of ACL profiles to display per page.
|
|
549
|
+
-n, --name=<value> Filter ACL profiles by name. Supports * wildcard.
|
|
550
|
+
-s, --select=<value> Comma-separated list of attributes to display (max 10).
|
|
551
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
552
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
553
|
+
|
|
554
|
+
GLOBAL FLAGS
|
|
555
|
+
--json Format output as json.
|
|
556
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
557
|
+
<options: debug|warn|error|info|trace>
|
|
558
|
+
|
|
559
|
+
DESCRIPTION
|
|
560
|
+
List ACL Profiles from a Solace Event Broker.
|
|
561
|
+
|
|
562
|
+
Retrieves and displays ACL Profiles from the specified Message VPN using the SEMP Monitor API.
|
|
563
|
+
Supports filtering by name (with wildcards), custom attribute selection, and pagination.
|
|
564
|
+
|
|
565
|
+
EXAMPLES
|
|
566
|
+
$ sc broker acl-profile list
|
|
567
|
+
|
|
568
|
+
$ sc broker acl-profile list --count=20
|
|
569
|
+
|
|
570
|
+
$ sc broker acl-profile list --name="client*"
|
|
571
|
+
|
|
572
|
+
$ sc broker acl-profile list --select=aclProfileName,clientConnectDefaultAction,publishTopicDefaultAction
|
|
573
|
+
|
|
574
|
+
$ sc broker acl-profile list --all
|
|
575
|
+
```
|
|
576
|
+
|
|
577
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/list.ts)_
|
|
578
|
+
|
|
579
|
+
## `sc broker acl-profile publish-topic-exceptions create`
|
|
580
|
+
|
|
581
|
+
Create a publish topic exception for an ACL Profile on a Solace Event Broker.
|
|
582
|
+
|
|
583
|
+
```
|
|
584
|
+
USAGE
|
|
585
|
+
$ sc broker acl-profile publish-topic-exceptions create -n <value> -x smf|mqtt -t <value> [--json] [--log-level debug|warn|error|info|trace]
|
|
586
|
+
[--broker-id <value> | -b <value>] [-v <value>]
|
|
587
|
+
|
|
588
|
+
FLAGS
|
|
589
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
590
|
+
-n, --name=<value> (required) The name of the ACL Profile.
|
|
591
|
+
-t, --topic=<value> (required) The topic for the exception. May include wildcards.
|
|
592
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
593
|
+
-x, --syntax=<option> (required) The syntax of the topic.
|
|
594
|
+
<options: smf|mqtt>
|
|
595
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
596
|
+
|
|
597
|
+
GLOBAL FLAGS
|
|
598
|
+
--json Format output as json.
|
|
599
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
600
|
+
<options: debug|warn|error|info|trace>
|
|
601
|
+
|
|
602
|
+
DESCRIPTION
|
|
603
|
+
Create a publish topic exception for an ACL Profile on a Solace Event Broker.
|
|
604
|
+
|
|
605
|
+
Adds an exception to the ACL Profile for clients publishing to specific topics. The exception is expressed as a topic
|
|
606
|
+
with optional wildcards and must specify the syntax type (smf or mqtt).
|
|
607
|
+
|
|
608
|
+
EXAMPLES
|
|
609
|
+
$ sc broker acl-profile publish-topic-exceptions create --name=myProfile --topic="orders/*/created" --syntax=smf
|
|
610
|
+
|
|
611
|
+
$ sc broker acl-profile publish-topic-exceptions create --name=myProfile --topic="devices/+/telemetry" --syntax=mqtt
|
|
612
|
+
```
|
|
613
|
+
|
|
614
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/publish-topic-exceptions/create.ts)_
|
|
615
|
+
|
|
616
|
+
## `sc broker acl-profile publish-topic-exceptions delete`
|
|
617
|
+
|
|
618
|
+
Delete a publish topic exception from an ACL Profile on a Solace Event Broker.
|
|
619
|
+
|
|
620
|
+
```
|
|
621
|
+
USAGE
|
|
622
|
+
$ sc broker acl-profile publish-topic-exceptions delete -n <value> -x smf|mqtt -t <value> [--json] [--log-level debug|warn|error|info|trace]
|
|
623
|
+
[--broker-id <value> | -b <value>] [-v <value>] [--no-prompt]
|
|
624
|
+
|
|
625
|
+
FLAGS
|
|
626
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
627
|
+
-n, --name=<value> (required) The name of the ACL Profile.
|
|
628
|
+
-t, --topic=<value> (required) The topic of the exception to delete.
|
|
629
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
630
|
+
-x, --syntax=<option> (required) The syntax of the topic.
|
|
631
|
+
<options: smf|mqtt>
|
|
632
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
633
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
634
|
+
|
|
635
|
+
GLOBAL FLAGS
|
|
636
|
+
--json Format output as json.
|
|
637
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
638
|
+
<options: debug|warn|error|info|trace>
|
|
639
|
+
|
|
640
|
+
DESCRIPTION
|
|
641
|
+
Delete a publish topic exception from an ACL Profile on a Solace Event Broker.
|
|
642
|
+
|
|
643
|
+
Removes the specified publish topic exception from the ACL Profile. This is a destructive operation.
|
|
644
|
+
|
|
645
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
646
|
+
|
|
647
|
+
EXAMPLES
|
|
648
|
+
$ sc broker acl-profile publish-topic-exceptions delete --name=myProfile --topic="orders/*/created" --syntax=smf
|
|
649
|
+
|
|
650
|
+
$ sc broker acl-profile publish-topic-exceptions delete --name=myProfile --topic="devices/+/telemetry" --syntax=mqtt --no-prompt
|
|
651
|
+
```
|
|
652
|
+
|
|
653
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/publish-topic-exceptions/delete.ts)_
|
|
654
|
+
|
|
655
|
+
## `sc broker acl-profile publish-topic-exceptions list`
|
|
656
|
+
|
|
657
|
+
List publish topic exceptions for an ACL Profile from a Solace Event Broker.
|
|
658
|
+
|
|
659
|
+
```
|
|
660
|
+
USAGE
|
|
661
|
+
$ sc broker acl-profile publish-topic-exceptions list -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
662
|
+
<value>] [-v <value>]
|
|
663
|
+
|
|
664
|
+
FLAGS
|
|
665
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
666
|
+
-n, --name=<value> (required) The name of the ACL Profile.
|
|
667
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
668
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
669
|
+
|
|
670
|
+
GLOBAL FLAGS
|
|
671
|
+
--json Format output as json.
|
|
672
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
673
|
+
<options: debug|warn|error|info|trace>
|
|
674
|
+
|
|
675
|
+
DESCRIPTION
|
|
676
|
+
List publish topic exceptions for an ACL Profile from a Solace Event Broker.
|
|
677
|
+
|
|
678
|
+
Retrieves and displays all publish topic exceptions configured for the specified ACL Profile using the SEMP Monitor
|
|
679
|
+
API.
|
|
680
|
+
|
|
681
|
+
EXAMPLES
|
|
682
|
+
$ sc broker acl-profile publish-topic-exceptions list --name=myProfile
|
|
683
|
+
```
|
|
684
|
+
|
|
685
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/publish-topic-exceptions/list.ts)_
|
|
686
|
+
|
|
687
|
+
## `sc broker acl-profile subscribe-share-name-exceptions create`
|
|
688
|
+
|
|
689
|
+
Create a subscribe share name exception for an ACL Profile on a Solace Event Broker.
|
|
690
|
+
|
|
691
|
+
```
|
|
692
|
+
USAGE
|
|
693
|
+
$ sc broker acl-profile subscribe-share-name-exceptions create -n <value> -x smf|mqtt -t <value> [--json] [--log-level debug|warn|error|info|trace]
|
|
694
|
+
[--broker-id <value> | -b <value>] [-v <value>]
|
|
695
|
+
|
|
696
|
+
FLAGS
|
|
697
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
698
|
+
-n, --name=<value> (required) The name of the ACL Profile.
|
|
699
|
+
-t, --topic=<value> (required) The share name for the exception. May include wildcards.
|
|
700
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
701
|
+
-x, --syntax=<option> (required) The syntax of the share name.
|
|
702
|
+
<options: smf|mqtt>
|
|
703
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
704
|
+
|
|
705
|
+
GLOBAL FLAGS
|
|
706
|
+
--json Format output as json.
|
|
707
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
708
|
+
<options: debug|warn|error|info|trace>
|
|
709
|
+
|
|
710
|
+
DESCRIPTION
|
|
711
|
+
Create a subscribe share name exception for an ACL Profile on a Solace Event Broker.
|
|
712
|
+
|
|
713
|
+
Adds an exception to the ACL Profile for clients subscribing to specific shared subscriptions. The exception is
|
|
714
|
+
expressed as a share name with optional wildcards and must specify the syntax type (smf or mqtt).
|
|
715
|
+
|
|
716
|
+
EXAMPLES
|
|
717
|
+
$ sc broker acl-profile subscribe-share-name-exceptions create --name=myProfile --topic="orders/*" --syntax=smf
|
|
718
|
+
|
|
719
|
+
$ sc broker acl-profile subscribe-share-name-exceptions create --name=myProfile --topic="devices/+" --syntax=mqtt
|
|
720
|
+
```
|
|
721
|
+
|
|
722
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/subscribe-share-name-exceptions/create.ts)_
|
|
723
|
+
|
|
724
|
+
## `sc broker acl-profile subscribe-share-name-exceptions delete`
|
|
725
|
+
|
|
726
|
+
Delete a subscribe share name exception from an ACL Profile on a Solace Event Broker.
|
|
727
|
+
|
|
728
|
+
```
|
|
729
|
+
USAGE
|
|
730
|
+
$ sc broker acl-profile subscribe-share-name-exceptions delete -n <value> -x smf|mqtt -t <value> [--json] [--log-level debug|warn|error|info|trace]
|
|
731
|
+
[--broker-id <value> | -b <value>] [-v <value>] [--no-prompt]
|
|
732
|
+
|
|
733
|
+
FLAGS
|
|
734
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
735
|
+
-n, --name=<value> (required) The name of the ACL Profile.
|
|
736
|
+
-t, --topic=<value> (required) The share name of the exception to delete.
|
|
737
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
738
|
+
-x, --syntax=<option> (required) The syntax of the share name.
|
|
739
|
+
<options: smf|mqtt>
|
|
740
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
741
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
742
|
+
|
|
743
|
+
GLOBAL FLAGS
|
|
744
|
+
--json Format output as json.
|
|
745
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
746
|
+
<options: debug|warn|error|info|trace>
|
|
747
|
+
|
|
748
|
+
DESCRIPTION
|
|
749
|
+
Delete a subscribe share name exception from an ACL Profile on a Solace Event Broker.
|
|
750
|
+
|
|
751
|
+
Removes the specified subscribe share name exception from the ACL Profile. This is a destructive operation.
|
|
752
|
+
|
|
753
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
754
|
+
|
|
755
|
+
EXAMPLES
|
|
756
|
+
$ sc broker acl-profile subscribe-share-name-exceptions delete --name=myProfile --topic="orders/*" --syntax=smf
|
|
757
|
+
|
|
758
|
+
$ sc broker acl-profile subscribe-share-name-exceptions delete --name=myProfile --topic="devices/+" --syntax=mqtt --no-prompt
|
|
759
|
+
```
|
|
760
|
+
|
|
761
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/subscribe-share-name-exceptions/delete.ts)_
|
|
762
|
+
|
|
763
|
+
## `sc broker acl-profile subscribe-share-name-exceptions list`
|
|
764
|
+
|
|
765
|
+
List subscribe share name exceptions for an ACL Profile from a Solace Event Broker.
|
|
766
|
+
|
|
767
|
+
```
|
|
768
|
+
USAGE
|
|
769
|
+
$ sc broker acl-profile subscribe-share-name-exceptions list -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
770
|
+
<value>] [-v <value>]
|
|
771
|
+
|
|
772
|
+
FLAGS
|
|
773
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
774
|
+
-n, --name=<value> (required) The name of the ACL Profile.
|
|
775
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
776
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
777
|
+
|
|
778
|
+
GLOBAL FLAGS
|
|
779
|
+
--json Format output as json.
|
|
780
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
781
|
+
<options: debug|warn|error|info|trace>
|
|
782
|
+
|
|
783
|
+
DESCRIPTION
|
|
784
|
+
List subscribe share name exceptions for an ACL Profile from a Solace Event Broker.
|
|
785
|
+
|
|
786
|
+
Retrieves and displays all subscribe share name exceptions configured for the specified ACL Profile using the SEMP
|
|
787
|
+
Monitor API.
|
|
788
|
+
|
|
789
|
+
EXAMPLES
|
|
790
|
+
$ sc broker acl-profile subscribe-share-name-exceptions list --name=myProfile
|
|
791
|
+
```
|
|
792
|
+
|
|
793
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/subscribe-share-name-exceptions/list.ts)_
|
|
794
|
+
|
|
795
|
+
## `sc broker acl-profile subscribe-topic-exceptions create`
|
|
796
|
+
|
|
797
|
+
Create a subscribe topic exception for an ACL Profile on a Solace Event Broker.
|
|
798
|
+
|
|
799
|
+
```
|
|
800
|
+
USAGE
|
|
801
|
+
$ sc broker acl-profile subscribe-topic-exceptions create -n <value> -x smf|mqtt -t <value> [--json] [--log-level debug|warn|error|info|trace]
|
|
802
|
+
[--broker-id <value> | -b <value>] [-v <value>]
|
|
803
|
+
|
|
804
|
+
FLAGS
|
|
805
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
806
|
+
-n, --name=<value> (required) The name of the ACL Profile.
|
|
807
|
+
-t, --topic=<value> (required) The topic for the exception. May include wildcards.
|
|
808
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
809
|
+
-x, --syntax=<option> (required) The syntax of the topic.
|
|
810
|
+
<options: smf|mqtt>
|
|
811
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
812
|
+
|
|
813
|
+
GLOBAL FLAGS
|
|
814
|
+
--json Format output as json.
|
|
815
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
816
|
+
<options: debug|warn|error|info|trace>
|
|
817
|
+
|
|
818
|
+
DESCRIPTION
|
|
819
|
+
Create a subscribe topic exception for an ACL Profile on a Solace Event Broker.
|
|
820
|
+
|
|
821
|
+
Adds an exception to the ACL Profile for clients subscribing to specific topics. The exception is expressed as a topic
|
|
822
|
+
with optional wildcards and must specify the syntax type (smf or mqtt). The creation is synchronized to HA mates and
|
|
823
|
+
replication sites via config-sync.
|
|
824
|
+
|
|
825
|
+
EXAMPLES
|
|
826
|
+
$ sc broker acl-profile subscribe-topic-exceptions create --name=myProfile --topic="orders/*/created" --syntax=smf
|
|
827
|
+
|
|
828
|
+
$ sc broker acl-profile subscribe-topic-exceptions create --name=myProfile --topic="devices/+/telemetry" --syntax=mqtt
|
|
829
|
+
```
|
|
830
|
+
|
|
831
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/subscribe-topic-exceptions/create.ts)_
|
|
832
|
+
|
|
833
|
+
## `sc broker acl-profile subscribe-topic-exceptions delete`
|
|
834
|
+
|
|
835
|
+
Delete a subscribe topic exception from an ACL Profile on a Solace Event Broker.
|
|
836
|
+
|
|
837
|
+
```
|
|
838
|
+
USAGE
|
|
839
|
+
$ sc broker acl-profile subscribe-topic-exceptions delete -n <value> -x smf|mqtt -t <value> [--json] [--log-level debug|warn|error|info|trace]
|
|
840
|
+
[--broker-id <value> | -b <value>] [-v <value>] [--no-prompt]
|
|
841
|
+
|
|
842
|
+
FLAGS
|
|
843
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
844
|
+
-n, --name=<value> (required) The name of the ACL Profile.
|
|
845
|
+
-t, --topic=<value> (required) The topic of the exception to delete.
|
|
846
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
847
|
+
-x, --syntax=<option> (required) The syntax of the topic.
|
|
848
|
+
<options: smf|mqtt>
|
|
849
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
850
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
851
|
+
|
|
852
|
+
GLOBAL FLAGS
|
|
853
|
+
--json Format output as json.
|
|
854
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
855
|
+
<options: debug|warn|error|info|trace>
|
|
856
|
+
|
|
857
|
+
DESCRIPTION
|
|
858
|
+
Delete a subscribe topic exception from an ACL Profile on a Solace Event Broker.
|
|
859
|
+
|
|
860
|
+
Removes the specified subscribe topic exception from the ACL Profile. This is a destructive operation. The deletion is
|
|
861
|
+
synchronized to HA mates and replication sites via config-sync.
|
|
862
|
+
|
|
863
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
864
|
+
|
|
865
|
+
EXAMPLES
|
|
866
|
+
$ sc broker acl-profile subscribe-topic-exceptions delete --name=myProfile --topic="orders/*/created" --syntax=smf
|
|
867
|
+
|
|
868
|
+
$ sc broker acl-profile subscribe-topic-exceptions delete --name=myProfile --topic="devices/+/telemetry" --syntax=mqtt --no-prompt
|
|
869
|
+
```
|
|
870
|
+
|
|
871
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/subscribe-topic-exceptions/delete.ts)_
|
|
872
|
+
|
|
873
|
+
## `sc broker acl-profile subscribe-topic-exceptions list`
|
|
874
|
+
|
|
875
|
+
List subscribe topic exceptions for an ACL Profile from a Solace Event Broker.
|
|
876
|
+
|
|
877
|
+
```
|
|
878
|
+
USAGE
|
|
879
|
+
$ sc broker acl-profile subscribe-topic-exceptions list -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
880
|
+
<value>] [-v <value>]
|
|
881
|
+
|
|
882
|
+
FLAGS
|
|
883
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
884
|
+
-n, --name=<value> (required) The name of the ACL Profile.
|
|
885
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
886
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
887
|
+
|
|
888
|
+
GLOBAL FLAGS
|
|
889
|
+
--json Format output as json.
|
|
890
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
891
|
+
<options: debug|warn|error|info|trace>
|
|
892
|
+
|
|
893
|
+
DESCRIPTION
|
|
894
|
+
List subscribe topic exceptions for an ACL Profile from a Solace Event Broker.
|
|
895
|
+
|
|
896
|
+
Retrieves and displays all subscribe topic exceptions configured for the specified ACL Profile using the SEMP Monitor
|
|
897
|
+
API.
|
|
898
|
+
|
|
899
|
+
EXAMPLES
|
|
900
|
+
$ sc broker acl-profile subscribe-topic-exceptions list --name=myProfile
|
|
901
|
+
```
|
|
902
|
+
|
|
903
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/subscribe-topic-exceptions/list.ts)_
|
|
904
|
+
|
|
905
|
+
## `sc broker acl-profile update`
|
|
906
|
+
|
|
907
|
+
Update an ACL Profile on a Solace Event Broker.
|
|
908
|
+
|
|
909
|
+
```
|
|
910
|
+
USAGE
|
|
911
|
+
$ sc broker acl-profile update -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
912
|
+
<value>] [-v <value>] [--client-connect-default-action allow|disallow] [--publish-topic-default-action
|
|
913
|
+
allow|disallow] [--subscribe-share-name-default-action allow|disallow] [--subscribe-topic-default-action
|
|
914
|
+
allow|disallow]
|
|
915
|
+
|
|
916
|
+
FLAGS
|
|
917
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
918
|
+
-n, --name=<value> (required) The name of the ACL Profile to update.
|
|
919
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
920
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default
|
|
921
|
+
broker.
|
|
922
|
+
--client-connect-default-action=<option> The default action to take when a client using the ACL Profile
|
|
923
|
+
connects.
|
|
924
|
+
<options: allow|disallow>
|
|
925
|
+
--publish-topic-default-action=<option> The default action to take when a client using the ACL Profile
|
|
926
|
+
publishes to a topic.
|
|
927
|
+
<options: allow|disallow>
|
|
928
|
+
--subscribe-share-name-default-action=<option> The default action to take when a client using the ACL Profile
|
|
929
|
+
subscribes to a share-name subscription.
|
|
930
|
+
<options: allow|disallow>
|
|
931
|
+
--subscribe-topic-default-action=<option> The default action to take when a client using the ACL Profile
|
|
932
|
+
subscribes to a topic.
|
|
933
|
+
<options: allow|disallow>
|
|
934
|
+
|
|
935
|
+
GLOBAL FLAGS
|
|
936
|
+
--json Format output as json.
|
|
937
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
938
|
+
<options: debug|warn|error|info|trace>
|
|
939
|
+
|
|
940
|
+
DESCRIPTION
|
|
941
|
+
Update an ACL Profile on a Solace Event Broker.
|
|
942
|
+
|
|
943
|
+
Any attribute missing from the request will be left unchanged.
|
|
944
|
+
|
|
945
|
+
EXAMPLES
|
|
946
|
+
$ sc broker acl-profile update --name=myProfile --client-connect-default-action=allow
|
|
947
|
+
|
|
948
|
+
$ sc broker acl-profile update --acl-profile-name=myProfile --publish-topic-default-action=disallow
|
|
949
|
+
```
|
|
950
|
+
|
|
951
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/acl-profile/update.ts)_
|
|
952
|
+
|
|
953
|
+
## `sc broker client-profile create`
|
|
954
|
+
|
|
955
|
+
Create a Client Profile on a Solace Event Broker.
|
|
956
|
+
|
|
957
|
+
```
|
|
958
|
+
USAGE
|
|
959
|
+
$ sc broker client-profile create -c <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
960
|
+
<value>] [-v <value>] [--allow-bridge-connections-enabled] [--allow-guaranteed-endpoint-create-durability
|
|
961
|
+
all|durable|non-durable] [--allow-guaranteed-endpoint-create-enabled] [--allow-guaranteed-msg-receive-enabled]
|
|
962
|
+
[--allow-guaranteed-msg-send-enabled] [--allow-shared-subscriptions-enabled] [--allow-transacted-sessions-enabled]
|
|
963
|
+
[--api-queue-management-copy-from-on-create-name <value>] [--api-queue-management-copy-from-on-create-template-name
|
|
964
|
+
<value>] [--compression-enabled] [--eliding-delay <value>] [--eliding-enabled]
|
|
965
|
+
[--tls-allow-downgrade-to-plain-text-enabled]
|
|
966
|
+
|
|
967
|
+
FLAGS
|
|
968
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the
|
|
969
|
+
default broker.
|
|
970
|
+
-c, --client-profile-name=<value> (required) The name of the client profile to
|
|
971
|
+
create.
|
|
972
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
973
|
+
--[no-]allow-bridge-connections-enabled Enable or disable allowing Bridge clients using
|
|
974
|
+
the Client Profile to connect.
|
|
975
|
+
--allow-guaranteed-endpoint-create-durability=<option> The types of Queues and Topic Endpoints that
|
|
976
|
+
clients can create.
|
|
977
|
+
<options: all|durable|non-durable>
|
|
978
|
+
--[no-]allow-guaranteed-endpoint-create-enabled Enable or disable allowing clients to create
|
|
979
|
+
topic endpoints or queues.
|
|
980
|
+
--[no-]allow-guaranteed-msg-receive-enabled Enable or disable allowing clients to receive
|
|
981
|
+
guaranteed messages.
|
|
982
|
+
--[no-]allow-guaranteed-msg-send-enabled Enable or disable allowing clients to send
|
|
983
|
+
guaranteed messages.
|
|
984
|
+
--[no-]allow-shared-subscriptions-enabled Enable or disable allowing shared subscriptions.
|
|
985
|
+
--[no-]allow-transacted-sessions-enabled Enable or disable allowing clients to establish
|
|
986
|
+
transacted sessions.
|
|
987
|
+
--api-queue-management-copy-from-on-create-name=<value> The name of a queue to copy settings from when a
|
|
988
|
+
new queue is created by a client.
|
|
989
|
+
--api-queue-management-copy-from-on-create-template-name=<value> The name of a queue template to copy settings
|
|
990
|
+
from when a new queue is created by a client.
|
|
991
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses
|
|
992
|
+
the default broker.
|
|
993
|
+
--[no-]compression-enabled Enable or disable allowing clients to use
|
|
994
|
+
compression.
|
|
995
|
+
--eliding-delay=<value> The amount of time to delay the delivery of
|
|
996
|
+
messages to clients, in milliseconds.
|
|
997
|
+
--[no-]eliding-enabled Enable or disable message eliding.
|
|
998
|
+
--[no-]tls-allow-downgrade-to-plain-text-enabled Enable or disable allowing a client to downgrade
|
|
999
|
+
an encrypted connection to plain text.
|
|
1000
|
+
|
|
1001
|
+
GLOBAL FLAGS
|
|
1002
|
+
--json Format output as json.
|
|
1003
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1004
|
+
<options: debug|warn|error|info|trace>
|
|
1005
|
+
|
|
1006
|
+
DESCRIPTION
|
|
1007
|
+
Create a Client Profile on a Solace Event Broker.
|
|
1008
|
+
|
|
1009
|
+
Any attribute missing from the request will be set to its default value. The creation of instances of this object are
|
|
1010
|
+
synchronized to HA mates and replication sites via config-sync.
|
|
1011
|
+
|
|
1012
|
+
EXAMPLES
|
|
1013
|
+
$ sc broker client-profile create --broker-name=dev-broker --client-profile-name=myProfile --msg-vpn-name=default
|
|
1014
|
+
|
|
1015
|
+
$ sc broker client-profile create --broker-id=dev-broker --client-profile-name=myProfile --msg-vpn-name=default --allow-guaranteed-msg-receive-enabled
|
|
1016
|
+
|
|
1017
|
+
$ sc broker client-profile create --broker-name=dev-broker --client-profile-name=myProfile --msg-vpn-name=default --compression-enabled --eliding-enabled
|
|
1018
|
+
|
|
1019
|
+
$ sc broker client-profile create --client-profile-name=myProfile
|
|
1020
|
+
```
|
|
1021
|
+
|
|
1022
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/client-profile/create.ts)_
|
|
1023
|
+
|
|
1024
|
+
## `sc broker client-profile delete`
|
|
1025
|
+
|
|
1026
|
+
Delete a Client Profile from a Solace Event Broker.
|
|
1027
|
+
|
|
1028
|
+
```
|
|
1029
|
+
USAGE
|
|
1030
|
+
$ sc broker client-profile delete -c <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1031
|
+
<value>] [-v <value>] [--no-prompt]
|
|
1032
|
+
|
|
1033
|
+
FLAGS
|
|
1034
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1035
|
+
-c, --client-profile-name=<value> (required) The name of the client profile to delete.
|
|
1036
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1037
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1038
|
+
--no-prompt Skip confirmation prompt.
|
|
1039
|
+
|
|
1040
|
+
GLOBAL FLAGS
|
|
1041
|
+
--json Format output as json.
|
|
1042
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1043
|
+
<options: debug|warn|error|info|trace>
|
|
1044
|
+
|
|
1045
|
+
DESCRIPTION
|
|
1046
|
+
Delete a Client Profile from a Solace Event Broker.
|
|
1047
|
+
|
|
1048
|
+
Deletes the specified Client Profile from the Message VPN. This action cannot be undone. A confirmation prompt will be
|
|
1049
|
+
displayed unless --no-prompt is specified.
|
|
1050
|
+
|
|
1051
|
+
EXAMPLES
|
|
1052
|
+
$ sc broker client-profile delete --broker-name=dev-broker --client-profile-name=myProfile --msg-vpn-name=default
|
|
1053
|
+
|
|
1054
|
+
$ sc broker client-profile delete --broker-id=dev-broker --client-profile-name=myProfile --msg-vpn-name=default --no-prompt
|
|
1055
|
+
|
|
1056
|
+
$ sc broker client-profile delete --client-profile-name=myProfile
|
|
1057
|
+
|
|
1058
|
+
$ sc broker client-profile delete --client-profile-name=myProfile --no-prompt
|
|
1059
|
+
```
|
|
1060
|
+
|
|
1061
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/client-profile/delete.ts)_
|
|
1062
|
+
|
|
1063
|
+
## `sc broker client-profile display`
|
|
1064
|
+
|
|
1065
|
+
Display a Client Profile from a Solace Event Broker.
|
|
1066
|
+
|
|
1067
|
+
```
|
|
1068
|
+
USAGE
|
|
1069
|
+
$ sc broker client-profile display -c <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1070
|
+
<value>] [-v <value>]
|
|
1071
|
+
|
|
1072
|
+
FLAGS
|
|
1073
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1074
|
+
-c, --client-profile-name=<value> (required) The name of the client profile to display.
|
|
1075
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1076
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1077
|
+
|
|
1078
|
+
GLOBAL FLAGS
|
|
1079
|
+
--json Format output as json.
|
|
1080
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1081
|
+
<options: debug|warn|error|info|trace>
|
|
1082
|
+
|
|
1083
|
+
DESCRIPTION
|
|
1084
|
+
Display a Client Profile from a Solace Event Broker.
|
|
1085
|
+
|
|
1086
|
+
Retrieves and displays detailed information about a specific Client Profile using the SEMP Monitor API.
|
|
1087
|
+
|
|
1088
|
+
EXAMPLES
|
|
1089
|
+
$ sc broker client-profile display --broker-name=dev-broker --client-profile-name=myProfile --msg-vpn-name=default
|
|
1090
|
+
|
|
1091
|
+
$ sc broker client-profile display --broker-id=dev-broker --client-profile-name=myProfile --msg-vpn-name=default
|
|
1092
|
+
|
|
1093
|
+
$ sc broker client-profile display --client-profile-name=myProfile
|
|
1094
|
+
```
|
|
1095
|
+
|
|
1096
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/client-profile/display.ts)_
|
|
1097
|
+
|
|
1098
|
+
## `sc broker client-profile list`
|
|
1099
|
+
|
|
1100
|
+
List Client Profiles from a Solace Event Broker.
|
|
1101
|
+
|
|
1102
|
+
```
|
|
1103
|
+
USAGE
|
|
1104
|
+
$ sc broker client-profile list [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b <value>] [-v
|
|
1105
|
+
<value>] [-a] [-c <value>] [--count <value>] [-s <value>]
|
|
1106
|
+
|
|
1107
|
+
FLAGS
|
|
1108
|
+
-a, --all Display all client profiles (auto-pagination).
|
|
1109
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1110
|
+
-c, --client-profile-name=<value> Filter client profiles by name. Supports * wildcard.
|
|
1111
|
+
-s, --select=<value> Comma-separated list of attributes to display (max 10).
|
|
1112
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1113
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1114
|
+
--count=<value> [default: 10] Number of client profiles to display per page.
|
|
1115
|
+
|
|
1116
|
+
GLOBAL FLAGS
|
|
1117
|
+
--json Format output as json.
|
|
1118
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1119
|
+
<options: debug|warn|error|info|trace>
|
|
1120
|
+
|
|
1121
|
+
DESCRIPTION
|
|
1122
|
+
List Client Profiles from a Solace Event Broker.
|
|
1123
|
+
|
|
1124
|
+
Retrieves and displays Client Profiles from the specified Message VPN using the SEMP Monitor API.
|
|
1125
|
+
Supports filtering by name (with wildcards), custom attribute selection, and pagination.
|
|
1126
|
+
|
|
1127
|
+
EXAMPLES
|
|
1128
|
+
$ sc broker client-profile list
|
|
1129
|
+
|
|
1130
|
+
$ sc broker client-profile list --count=20
|
|
1131
|
+
|
|
1132
|
+
$ sc broker client-profile list --client-profile-name="test*"
|
|
1133
|
+
|
|
1134
|
+
$ sc broker client-profile list --select=clientProfileName,compressionEnabled,elidingEnabled
|
|
1135
|
+
|
|
1136
|
+
$ sc broker client-profile list --all
|
|
1137
|
+
|
|
1138
|
+
$ sc broker client-profile list --client-profile-name="*prod*" --count=5 --all
|
|
1139
|
+
```
|
|
1140
|
+
|
|
1141
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/client-profile/list.ts)_
|
|
1142
|
+
|
|
1143
|
+
## `sc broker client-profile update`
|
|
1144
|
+
|
|
1145
|
+
Update a Client Profile on a Solace Event Broker.
|
|
1146
|
+
|
|
1147
|
+
```
|
|
1148
|
+
USAGE
|
|
1149
|
+
$ sc broker client-profile update -c <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1150
|
+
<value>] [-v <value>] [--allow-bridge-connections-enabled] [--allow-guaranteed-endpoint-create-durability
|
|
1151
|
+
all|durable|non-durable] [--allow-guaranteed-endpoint-create-enabled] [--allow-guaranteed-msg-receive-enabled]
|
|
1152
|
+
[--allow-guaranteed-msg-send-enabled] [--allow-shared-subscriptions-enabled] [--allow-transacted-sessions-enabled]
|
|
1153
|
+
[--api-queue-management-copy-from-on-create-name <value>] [--api-queue-management-copy-from-on-create-template-name
|
|
1154
|
+
<value>] [--compression-enabled] [--eliding-delay <value>] [--eliding-enabled]
|
|
1155
|
+
[--tls-allow-downgrade-to-plain-text-enabled]
|
|
1156
|
+
|
|
1157
|
+
FLAGS
|
|
1158
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the
|
|
1159
|
+
default broker.
|
|
1160
|
+
-c, --client-profile-name=<value> (required) The name of the client profile to
|
|
1161
|
+
update.
|
|
1162
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1163
|
+
--[no-]allow-bridge-connections-enabled Enable or disable allowing Bridge clients using
|
|
1164
|
+
the Client Profile to connect.
|
|
1165
|
+
--allow-guaranteed-endpoint-create-durability=<option> The types of Queues and Topic Endpoints that
|
|
1166
|
+
clients can create.
|
|
1167
|
+
<options: all|durable|non-durable>
|
|
1168
|
+
--[no-]allow-guaranteed-endpoint-create-enabled Enable or disable allowing clients to create
|
|
1169
|
+
topic endpoints or queues.
|
|
1170
|
+
--[no-]allow-guaranteed-msg-receive-enabled Enable or disable allowing clients to receive
|
|
1171
|
+
guaranteed messages.
|
|
1172
|
+
--[no-]allow-guaranteed-msg-send-enabled Enable or disable allowing clients to send
|
|
1173
|
+
guaranteed messages.
|
|
1174
|
+
--[no-]allow-shared-subscriptions-enabled Enable or disable allowing shared subscriptions.
|
|
1175
|
+
--[no-]allow-transacted-sessions-enabled Enable or disable allowing clients to establish
|
|
1176
|
+
transacted sessions.
|
|
1177
|
+
--api-queue-management-copy-from-on-create-name=<value> The name of a queue to copy settings from when a
|
|
1178
|
+
new queue is created by a client.
|
|
1179
|
+
--api-queue-management-copy-from-on-create-template-name=<value> The name of a queue template to copy settings
|
|
1180
|
+
from when a new queue is created by a client.
|
|
1181
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses
|
|
1182
|
+
the default broker.
|
|
1183
|
+
--[no-]compression-enabled Enable or disable allowing clients to use
|
|
1184
|
+
compression.
|
|
1185
|
+
--eliding-delay=<value> The amount of time to delay the delivery of
|
|
1186
|
+
messages to clients, in milliseconds.
|
|
1187
|
+
--[no-]eliding-enabled Enable or disable message eliding.
|
|
1188
|
+
--[no-]tls-allow-downgrade-to-plain-text-enabled Enable or disable allowing a client to downgrade
|
|
1189
|
+
an encrypted connection to plain text.
|
|
1190
|
+
|
|
1191
|
+
GLOBAL FLAGS
|
|
1192
|
+
--json Format output as json.
|
|
1193
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1194
|
+
<options: debug|warn|error|info|trace>
|
|
1195
|
+
|
|
1196
|
+
DESCRIPTION
|
|
1197
|
+
Update a Client Profile on a Solace Event Broker.
|
|
1198
|
+
|
|
1199
|
+
Updates the configuration of an existing Client Profile. Only provided attributes will be updated (PATCH semantics).
|
|
1200
|
+
The updates are synchronized to HA mates and replication sites via config-sync.
|
|
1201
|
+
|
|
1202
|
+
EXAMPLES
|
|
1203
|
+
$ sc broker client-profile update --broker-name=dev-broker --client-profile-name=myProfile --msg-vpn-name=default --compression-enabled
|
|
1204
|
+
|
|
1205
|
+
$ sc broker client-profile update --broker-id=dev-broker --client-profile-name=myProfile --msg-vpn-name=default --no-eliding-enabled
|
|
1206
|
+
|
|
1207
|
+
$ sc broker client-profile update --broker-name=dev-broker --client-profile-name=myProfile --msg-vpn-name=default --allow-guaranteed-msg-send-enabled --allow-guaranteed-msg-receive-enabled
|
|
1208
|
+
|
|
1209
|
+
$ sc broker client-profile update --client-profile-name=myProfile --eliding-delay=100
|
|
1210
|
+
```
|
|
1211
|
+
|
|
1212
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/client-profile/update.ts)_
|
|
1213
|
+
|
|
1214
|
+
## `sc broker client-username create`
|
|
1215
|
+
|
|
1216
|
+
Create a Client Username on a Solace Event Broker.
|
|
1217
|
+
|
|
1218
|
+
```
|
|
1219
|
+
USAGE
|
|
1220
|
+
$ sc broker client-username create -u <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1221
|
+
<value>] [-v <value>] [--acl-profile-name <value>] [--client-profile-name <value>] [--enabled]
|
|
1222
|
+
[--guaranteed-endpoint-permission-override-enabled] [--password <value>] [--subscription-manager-enabled]
|
|
1223
|
+
|
|
1224
|
+
FLAGS
|
|
1225
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1226
|
+
-u, --client-username=<value> (required) The name of the Client Username to create.
|
|
1227
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1228
|
+
--acl-profile-name=<value> The ACL Profile name for authorization.
|
|
1229
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default
|
|
1230
|
+
broker.
|
|
1231
|
+
--client-profile-name=<value> The Client Profile name for connection settings.
|
|
1232
|
+
--enabled Enable the Client Username. When disabled, clients cannot
|
|
1233
|
+
connect.
|
|
1234
|
+
--guaranteed-endpoint-permission-override-enabled Enable permission override for guaranteed endpoints.
|
|
1235
|
+
--password=<value> Password for Client Username authentication.
|
|
1236
|
+
--subscription-manager-enabled Enable subscription management capability.
|
|
1237
|
+
|
|
1238
|
+
GLOBAL FLAGS
|
|
1239
|
+
--json Format output as json.
|
|
1240
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1241
|
+
<options: debug|warn|error|info|trace>
|
|
1242
|
+
|
|
1243
|
+
DESCRIPTION
|
|
1244
|
+
Create a Client Username on a Solace Event Broker.
|
|
1245
|
+
|
|
1246
|
+
Any attribute missing from the request will be set to its default value. The creation of instances of this object are
|
|
1247
|
+
synchronized to HA mates and replication sites via config-sync.
|
|
1248
|
+
|
|
1249
|
+
A Client Username represents a client that can connect to the broker with specific authentication and authorization
|
|
1250
|
+
settings.
|
|
1251
|
+
|
|
1252
|
+
EXAMPLES
|
|
1253
|
+
$ sc broker client-username create --client-username=user1 --msg-vpn-name=default
|
|
1254
|
+
|
|
1255
|
+
$ sc broker client-username create --broker-name=dev-broker --client-username=user1 --enabled
|
|
1256
|
+
|
|
1257
|
+
$ sc broker client-username create --client-username=user1 --password=secret123 --acl-profile-name=custom-acl --client-profile-name=custom-profile
|
|
1258
|
+
|
|
1259
|
+
$ sc broker client-username create --client-username=admin --enabled --subscription-manager-enabled --guaranteed-endpoint-permission-override-enabled
|
|
1260
|
+
```
|
|
1261
|
+
|
|
1262
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/client-username/create.ts)_
|
|
1263
|
+
|
|
1264
|
+
## `sc broker client-username delete`
|
|
1265
|
+
|
|
1266
|
+
Delete a Client Username from a Solace Event Broker.
|
|
1267
|
+
|
|
1268
|
+
```
|
|
1269
|
+
USAGE
|
|
1270
|
+
$ sc broker client-username delete -u <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1271
|
+
<value>] [-v <value>] [--no-prompt]
|
|
1272
|
+
|
|
1273
|
+
FLAGS
|
|
1274
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1275
|
+
-u, --client-username=<value> (required) The name of the Client Username to delete.
|
|
1276
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1277
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1278
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
1279
|
+
|
|
1280
|
+
GLOBAL FLAGS
|
|
1281
|
+
--json Format output as json.
|
|
1282
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1283
|
+
<options: debug|warn|error|info|trace>
|
|
1284
|
+
|
|
1285
|
+
DESCRIPTION
|
|
1286
|
+
Delete a Client Username from a Solace Event Broker.
|
|
1287
|
+
|
|
1288
|
+
Deletes the specified Client Username from the Message VPN. This is a destructive operation that removes the Client
|
|
1289
|
+
Username. Any clients currently connected with this username will be disconnected.
|
|
1290
|
+
|
|
1291
|
+
The deletion is synchronized to HA mates and replication sites via config-sync.
|
|
1292
|
+
|
|
1293
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
1294
|
+
|
|
1295
|
+
EXAMPLES
|
|
1296
|
+
$ sc broker client-username delete --client-username=user1 --msg-vpn-name=default
|
|
1297
|
+
|
|
1298
|
+
$ sc broker client-username delete --broker-name=dev-broker --client-username=user1
|
|
1299
|
+
|
|
1300
|
+
$ sc broker client-username delete --client-username=user1 --no-prompt
|
|
1301
|
+
|
|
1302
|
+
$ sc broker client-username delete --broker-id=prod --client-username=tempUser --msg-vpn-name=production --no-prompt
|
|
1303
|
+
```
|
|
1304
|
+
|
|
1305
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/client-username/delete.ts)_
|
|
1306
|
+
|
|
1307
|
+
## `sc broker client-username display`
|
|
1308
|
+
|
|
1309
|
+
Display Client Username information from a Solace Event Broker.
|
|
1310
|
+
|
|
1311
|
+
```
|
|
1312
|
+
USAGE
|
|
1313
|
+
$ sc broker client-username display -u <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1314
|
+
<value>] [-v <value>]
|
|
1315
|
+
|
|
1316
|
+
FLAGS
|
|
1317
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1318
|
+
-u, --client-username=<value> (required) The name of the Client Username to display.
|
|
1319
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1320
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1321
|
+
|
|
1322
|
+
GLOBAL FLAGS
|
|
1323
|
+
--json Format output as json.
|
|
1324
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1325
|
+
<options: debug|warn|error|info|trace>
|
|
1326
|
+
|
|
1327
|
+
DESCRIPTION
|
|
1328
|
+
Display Client Username information from a Solace Event Broker.
|
|
1329
|
+
|
|
1330
|
+
Retrieves and displays detailed information about a Client Username using the SEMP Monitor API, including
|
|
1331
|
+
configuration settings and associated profiles.
|
|
1332
|
+
|
|
1333
|
+
EXAMPLES
|
|
1334
|
+
$ sc broker client-username display --client-username=user1 --msg-vpn-name=default
|
|
1335
|
+
|
|
1336
|
+
$ sc broker client-username display --broker-name=dev-broker --client-username=user1
|
|
1337
|
+
|
|
1338
|
+
$ sc broker client-username display --client-username=admin
|
|
1339
|
+
```
|
|
1340
|
+
|
|
1341
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/client-username/display.ts)_
|
|
1342
|
+
|
|
1343
|
+
## `sc broker client-username list`
|
|
1344
|
+
|
|
1345
|
+
List Client Usernames from a Solace Event Broker.
|
|
1346
|
+
|
|
1347
|
+
```
|
|
1348
|
+
USAGE
|
|
1349
|
+
$ sc broker client-username list [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b <value>] [-v
|
|
1350
|
+
<value>] [-a] [--client-username <value>] [-c <value>] [-s <value>]
|
|
1351
|
+
|
|
1352
|
+
FLAGS
|
|
1353
|
+
-a, --all Display all Client Usernames (auto-pagination).
|
|
1354
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1355
|
+
-c, --count=<value> [default: 10] Number of Client Usernames to display per page.
|
|
1356
|
+
-s, --select=<value> Comma-separated list of attributes to display (max 10).
|
|
1357
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1358
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1359
|
+
--client-username=<value> Filter Client Usernames by name. Supports * wildcard.
|
|
1360
|
+
|
|
1361
|
+
GLOBAL FLAGS
|
|
1362
|
+
--json Format output as json.
|
|
1363
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1364
|
+
<options: debug|warn|error|info|trace>
|
|
1365
|
+
|
|
1366
|
+
DESCRIPTION
|
|
1367
|
+
List Client Usernames from a Solace Event Broker.
|
|
1368
|
+
|
|
1369
|
+
Retrieves and displays Client Usernames from the specified Message VPN using the SEMP Monitor API.
|
|
1370
|
+
Supports filtering by name (with wildcards), custom attribute selection, and pagination.
|
|
1371
|
+
|
|
1372
|
+
EXAMPLES
|
|
1373
|
+
$ sc broker client-username list
|
|
1374
|
+
|
|
1375
|
+
$ sc broker client-username list --count=20
|
|
1376
|
+
|
|
1377
|
+
$ sc broker client-username list --client-username="user*"
|
|
1378
|
+
|
|
1379
|
+
$ sc broker client-username list --select=clientUsername,enabled,aclProfileName
|
|
1380
|
+
|
|
1381
|
+
$ sc broker client-username list --all
|
|
1382
|
+
|
|
1383
|
+
$ sc broker client-username list --client-username="admin*" --count=5 --all
|
|
1384
|
+
```
|
|
1385
|
+
|
|
1386
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/client-username/list.ts)_
|
|
1387
|
+
|
|
1388
|
+
## `sc broker client-username update`
|
|
1389
|
+
|
|
1390
|
+
Update a Client Username on a Solace Event Broker.
|
|
1391
|
+
|
|
1392
|
+
```
|
|
1393
|
+
USAGE
|
|
1394
|
+
$ sc broker client-username update -u <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1395
|
+
<value>] [-v <value>] [--acl-profile-name <value>] [--client-profile-name <value>] [--enabled]
|
|
1396
|
+
[--guaranteed-endpoint-permission-override-enabled] [--password <value>] [--subscription-manager-enabled]
|
|
1397
|
+
|
|
1398
|
+
FLAGS
|
|
1399
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1400
|
+
-u, --client-username=<value> (required) The name of the Client Username to update.
|
|
1401
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1402
|
+
--acl-profile-name=<value> The ACL Profile name for authorization.
|
|
1403
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default
|
|
1404
|
+
broker.
|
|
1405
|
+
--client-profile-name=<value> The Client Profile name for connection settings.
|
|
1406
|
+
--enabled Enable or disable the Client Username.
|
|
1407
|
+
--guaranteed-endpoint-permission-override-enabled Enable or disable permission override for guaranteed endpoints.
|
|
1408
|
+
--password=<value> Update the password for authentication.
|
|
1409
|
+
--subscription-manager-enabled Enable or disable subscription management capability.
|
|
1410
|
+
|
|
1411
|
+
GLOBAL FLAGS
|
|
1412
|
+
--json Format output as json.
|
|
1413
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1414
|
+
<options: debug|warn|error|info|trace>
|
|
1415
|
+
|
|
1416
|
+
DESCRIPTION
|
|
1417
|
+
Update a Client Username on a Solace Event Broker.
|
|
1418
|
+
|
|
1419
|
+
Any attribute missing from the request will be left unchanged. The update of instances of this object are synchronized
|
|
1420
|
+
to HA mates and replication sites via config-sync.
|
|
1421
|
+
|
|
1422
|
+
Note: Modifying aclProfileName or clientProfileName while enabled may be service impacting as the Client Username will
|
|
1423
|
+
be temporarily disabled to apply the change.
|
|
1424
|
+
|
|
1425
|
+
EXAMPLES
|
|
1426
|
+
$ sc broker client-username update --client-username=user1 --enabled
|
|
1427
|
+
|
|
1428
|
+
$ sc broker client-username update --broker-name=dev-broker --client-username=user1 --acl-profile-name=new-acl
|
|
1429
|
+
|
|
1430
|
+
$ sc broker client-username update --client-username=user1 --password=newPassword123
|
|
1431
|
+
|
|
1432
|
+
$ sc broker client-username update --client-username=admin --subscription-manager-enabled --guaranteed-endpoint-permission-override-enabled
|
|
1433
|
+
```
|
|
1434
|
+
|
|
1435
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/client-username/update.ts)_
|
|
1436
|
+
|
|
1437
|
+
## `sc broker login basic`
|
|
1438
|
+
|
|
1439
|
+
Authorize the SC CLI to make SEMP API calls to a Solace Event Broker using Basic authentication.
|
|
1440
|
+
|
|
1441
|
+
```
|
|
1442
|
+
USAGE
|
|
1443
|
+
$ sc broker login basic -b <value> -p <value> -u <value> [--json] [--log-level debug|warn|error|info|trace]
|
|
1444
|
+
[--no-prompt] [-d]
|
|
1445
|
+
|
|
1446
|
+
FLAGS
|
|
1447
|
+
-b, --broker-name=<value> (required) Name/identifier for the broker
|
|
1448
|
+
-d, --set-default Set this broker as the default
|
|
1449
|
+
-p, --semp-port=<value> (required) SEMP port number (1-65535)
|
|
1450
|
+
-u, --semp-url=<value> (required) SEMP endpoint URL (must start with http:// or https://)
|
|
1451
|
+
--no-prompt Read credentials from SC_SEMP_USERNAME and SC_SEMP_PASSWORD environment variables
|
|
1452
|
+
|
|
1453
|
+
GLOBAL FLAGS
|
|
1454
|
+
--json Format output as json.
|
|
1455
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1456
|
+
<options: debug|warn|error|info|trace>
|
|
1457
|
+
|
|
1458
|
+
DESCRIPTION
|
|
1459
|
+
Authorize the SC CLI to make SEMP API calls to a Solace Event Broker using Basic authentication.
|
|
1460
|
+
|
|
1461
|
+
Stores broker credentials securely using encrypted local storage.
|
|
1462
|
+
Credentials are base64-encoded and encrypted before storage.
|
|
1463
|
+
|
|
1464
|
+
If a broker with the same name already exists, you'll be prompted to overwrite.
|
|
1465
|
+
|
|
1466
|
+
EXAMPLES
|
|
1467
|
+
$ sc broker login basic --broker-name=dev-broker --semp-url=https://localhost --semp-port=8080
|
|
1468
|
+
|
|
1469
|
+
$ sc broker login basic --broker-name=ci-broker --semp-url=http://192.168.1.100 --semp-port=8080 --no-prompt
|
|
1470
|
+
|
|
1471
|
+
$ sc broker login basic --broker-name=default-broker --semp-url=https://broker.example.com --semp-port=943 --set-default
|
|
1472
|
+
```
|
|
1473
|
+
|
|
1474
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/login/basic.ts)_
|
|
1475
|
+
|
|
1476
|
+
## `sc broker login cloud`
|
|
1477
|
+
|
|
1478
|
+
Authorize the SC CLI to make SEMP API calls to a Solace Cloud Event Broker using Basic Authentication.
|
|
1479
|
+
|
|
1480
|
+
```
|
|
1481
|
+
USAGE
|
|
1482
|
+
$ sc broker login cloud -b <value> [--json] [--log-level debug|warn|error|info|trace] [--no-prompt] [-o <value>] [-d]
|
|
1483
|
+
|
|
1484
|
+
FLAGS
|
|
1485
|
+
-b, --broker-name=<value> (required) Name of the broker in Solace Cloud
|
|
1486
|
+
-d, --set-default Set this broker as the default
|
|
1487
|
+
-o, --org-name=<value> Solace Cloud organization name (uses default org if not specified)
|
|
1488
|
+
--no-prompt Skip confirmation prompts for overwriting existing broker
|
|
1489
|
+
|
|
1490
|
+
GLOBAL FLAGS
|
|
1491
|
+
--json Format output as json.
|
|
1492
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1493
|
+
<options: debug|warn|error|info|trace>
|
|
1494
|
+
|
|
1495
|
+
DESCRIPTION
|
|
1496
|
+
Authorize the SC CLI to make SEMP API calls to a Solace Cloud Event Broker using Basic Authentication.
|
|
1497
|
+
|
|
1498
|
+
Retrieves SEMP credentials automatically from Event Broker Service using Solace Cloud REST API.
|
|
1499
|
+
Requires prior authentication to Solace Cloud (sc:account:login).
|
|
1500
|
+
|
|
1501
|
+
The command will:
|
|
1502
|
+
1. Look up the broker by name in your Solace Cloud organization
|
|
1503
|
+
2. Retrieve SEMP endpoint details and credentials from Cloud API
|
|
1504
|
+
3. Store encrypted broker credentials locally for future use
|
|
1505
|
+
|
|
1506
|
+
Required Cloud API permissions: Read access to Event Broker Services
|
|
1507
|
+
|
|
1508
|
+
EXAMPLES
|
|
1509
|
+
$ sc broker login cloud --broker-name=production-broker
|
|
1510
|
+
|
|
1511
|
+
$ sc broker login cloud --broker-name=dev-broker --set-default
|
|
1512
|
+
|
|
1513
|
+
$ sc broker login cloud --broker-name=staging-broker --org-name=my-org
|
|
1514
|
+
|
|
1515
|
+
$ sc broker login cloud --broker-name=prod --no-prompt
|
|
1516
|
+
```
|
|
1517
|
+
|
|
1518
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/login/cloud.ts)_
|
|
1519
|
+
|
|
1520
|
+
## `sc broker login list`
|
|
1521
|
+
|
|
1522
|
+
List all authenticated brokers.
|
|
1523
|
+
|
|
1524
|
+
```
|
|
1525
|
+
USAGE
|
|
1526
|
+
$ sc broker login list [--json] [--log-level debug|warn|error|info|trace]
|
|
1527
|
+
|
|
1528
|
+
GLOBAL FLAGS
|
|
1529
|
+
--json Format output as json.
|
|
1530
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1531
|
+
<options: debug|warn|error|info|trace>
|
|
1532
|
+
|
|
1533
|
+
DESCRIPTION
|
|
1534
|
+
List all authenticated brokers.
|
|
1535
|
+
|
|
1536
|
+
Displays brokers you have logged into, including their authentication type, SEMP endpoints, and which one is set as
|
|
1537
|
+
default.
|
|
1538
|
+
|
|
1539
|
+
EXAMPLES
|
|
1540
|
+
$ sc broker login list
|
|
1541
|
+
```
|
|
1542
|
+
|
|
1543
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/login/list.ts)_
|
|
1544
|
+
|
|
1545
|
+
## `sc broker logout`
|
|
1546
|
+
|
|
1547
|
+
Logout from authenticated brokers.
|
|
1548
|
+
|
|
1549
|
+
```
|
|
1550
|
+
USAGE
|
|
1551
|
+
$ sc broker logout [--json] [--log-level debug|warn|error|info|trace] [-a | -b <value>] [--no-prompt]
|
|
1552
|
+
|
|
1553
|
+
FLAGS
|
|
1554
|
+
-a, --all Logout from all brokers
|
|
1555
|
+
-b, --broker-name=<value> Broker name to logout from
|
|
1556
|
+
--no-prompt Skip confirmation prompt and assume Yes
|
|
1557
|
+
|
|
1558
|
+
GLOBAL FLAGS
|
|
1559
|
+
--json Format output as json.
|
|
1560
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1561
|
+
<options: debug|warn|error|info|trace>
|
|
1562
|
+
|
|
1563
|
+
DESCRIPTION
|
|
1564
|
+
Logout from authenticated brokers.
|
|
1565
|
+
|
|
1566
|
+
Removes locally stored broker credentials.
|
|
1567
|
+
Interactive mode allows selection with arrow keys and spacebar.
|
|
1568
|
+
|
|
1569
|
+
EXAMPLES
|
|
1570
|
+
$ sc broker logout
|
|
1571
|
+
|
|
1572
|
+
$ sc broker logout --broker-name=dev-broker
|
|
1573
|
+
|
|
1574
|
+
$ sc broker logout --all
|
|
1575
|
+
|
|
1576
|
+
$ sc broker logout --broker-name=prod --no-prompt
|
|
1577
|
+
```
|
|
1578
|
+
|
|
1579
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/logout.ts)_
|
|
1580
|
+
|
|
1581
|
+
## `sc broker queue-template create`
|
|
1582
|
+
|
|
1583
|
+
Create a Queue Template on a Solace Event Broker.
|
|
1584
|
+
|
|
1585
|
+
```
|
|
1586
|
+
USAGE
|
|
1587
|
+
$ sc broker queue-template create -t <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1588
|
+
<value>] [-v <value>] [-a exclusive|non-exclusive] [--dead-msg-queue <value>] [--durability-override
|
|
1589
|
+
none|non-durable|durable] [--max-bind-count <value>] [--max-delivered-unacked-msgs-per-flow <value>] [--max-msg-size
|
|
1590
|
+
<value>] [-s <value>] [--max-redelivery-count <value>] [--max-ttl <value>] [-p
|
|
1591
|
+
consume|delete|modify-topic|no-access|read-only] [-f <value>]
|
|
1592
|
+
|
|
1593
|
+
FLAGS
|
|
1594
|
+
-a, --access-type=<option> The access type for queues created from this template.
|
|
1595
|
+
<options: exclusive|non-exclusive>
|
|
1596
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1597
|
+
-f, --queue-name-filter=<value> A wildcarded pattern to match queue names for applying this
|
|
1598
|
+
template. Supports * and > wildcards.
|
|
1599
|
+
-p, --permission=<option> The permission level for all consumers of queues created from this
|
|
1600
|
+
template, excluding the owner.
|
|
1601
|
+
<options: consume|delete|modify-topic|no-access|read-only>
|
|
1602
|
+
-s, --max-msg-spool-usage=<value> The maximum message spool usage allowed by queues created from this
|
|
1603
|
+
template, in megabytes (MB).
|
|
1604
|
+
-t, --queue-template-name=<value> (required) The name of the queue template to create.
|
|
1605
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1606
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1607
|
+
--dead-msg-queue=<value> The name of the Dead Message Queue.
|
|
1608
|
+
--durability-override=<option> Controls the durability of queues created from this template,
|
|
1609
|
+
overriding the requested durability.
|
|
1610
|
+
<options: none|non-durable|durable>
|
|
1611
|
+
--max-bind-count=<value> The maximum number of consumer flows that can bind to queues
|
|
1612
|
+
created from this template.
|
|
1613
|
+
--max-delivered-unacked-msgs-per-flow=<value> The maximum number of messages delivered but not acknowledged per
|
|
1614
|
+
flow.
|
|
1615
|
+
--max-msg-size=<value> The maximum message size allowed in queues created from this
|
|
1616
|
+
template, in bytes.
|
|
1617
|
+
--max-redelivery-count=<value> The maximum number of times a message will be redelivered before it
|
|
1618
|
+
is discarded or moved to the DMQ.
|
|
1619
|
+
--max-ttl=<value> The maximum time in seconds a message can stay in queues created
|
|
1620
|
+
from this template when respect-ttl-enabled is true.
|
|
1621
|
+
|
|
1622
|
+
GLOBAL FLAGS
|
|
1623
|
+
--json Format output as json.
|
|
1624
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1625
|
+
<options: debug|warn|error|info|trace>
|
|
1626
|
+
|
|
1627
|
+
DESCRIPTION
|
|
1628
|
+
Create a Queue Template on a Solace Event Broker.
|
|
1629
|
+
|
|
1630
|
+
Any attribute missing from the request will be set to its default value. The creation of instances of this object are
|
|
1631
|
+
synchronized to HA mates and replication sites via config-sync.
|
|
1632
|
+
|
|
1633
|
+
EXAMPLES
|
|
1634
|
+
$ sc broker queue-template create --broker-name=dev-broker --queue-template-name=myTemplate --msg-vpn-name=default
|
|
1635
|
+
|
|
1636
|
+
$ sc broker queue-template create --broker-id=dev-broker --queue-template-name=myTemplate --msg-vpn-name=default --access-type=non-exclusive
|
|
1637
|
+
|
|
1638
|
+
$ sc broker queue-template create --broker-name=dev-broker --queue-template-name=myTemplate --msg-vpn-name=default --max-msg-spool-usage=1024 --permission=consume
|
|
1639
|
+
|
|
1640
|
+
$ sc broker queue-template create --queue-template-name=myTemplate --queue-name-filter="order.*"
|
|
1641
|
+
|
|
1642
|
+
$ sc broker queue-template create --queue-template-name=myTemplate --max-bind-count=500 --durability-override=non-durable
|
|
1643
|
+
```
|
|
1644
|
+
|
|
1645
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/queue-template/create.ts)_
|
|
1646
|
+
|
|
1647
|
+
## `sc broker queue-template delete`
|
|
1648
|
+
|
|
1649
|
+
Delete a Queue Template from a Solace Event Broker.
|
|
1650
|
+
|
|
1651
|
+
```
|
|
1652
|
+
USAGE
|
|
1653
|
+
$ sc broker queue-template delete -t <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1654
|
+
<value>] [-v <value>] [--no-prompt]
|
|
1655
|
+
|
|
1656
|
+
FLAGS
|
|
1657
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1658
|
+
-t, --queue-template-name=<value> (required) The name of the queue template to delete.
|
|
1659
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1660
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1661
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
1662
|
+
|
|
1663
|
+
GLOBAL FLAGS
|
|
1664
|
+
--json Format output as json.
|
|
1665
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1666
|
+
<options: debug|warn|error|info|trace>
|
|
1667
|
+
|
|
1668
|
+
DESCRIPTION
|
|
1669
|
+
Delete a Queue Template from a Solace Event Broker.
|
|
1670
|
+
|
|
1671
|
+
Deletes the specified queue template from the Message VPN. This is a destructive operation that removes the template
|
|
1672
|
+
configuration.
|
|
1673
|
+
|
|
1674
|
+
The deletion is synchronized to HA mates and replication sites via config-sync.
|
|
1675
|
+
|
|
1676
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
1677
|
+
|
|
1678
|
+
EXAMPLES
|
|
1679
|
+
$ sc broker queue-template delete --queue-template-name=myTemplate --msg-vpn-name=default
|
|
1680
|
+
|
|
1681
|
+
$ sc broker queue-template delete --broker-name=dev-broker --queue-template-name=myTemplate
|
|
1682
|
+
|
|
1683
|
+
$ sc broker queue-template delete --queue-template-name=myTemplate --no-prompt
|
|
1684
|
+
|
|
1685
|
+
$ sc broker queue-template delete --broker-id=prod --queue-template-name=tempTemplate --msg-vpn-name=production --no-prompt
|
|
1686
|
+
```
|
|
1687
|
+
|
|
1688
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/queue-template/delete.ts)_
|
|
1689
|
+
|
|
1690
|
+
## `sc broker queue-template display`
|
|
1691
|
+
|
|
1692
|
+
Display queue template information from a Solace Event Broker.
|
|
1693
|
+
|
|
1694
|
+
```
|
|
1695
|
+
USAGE
|
|
1696
|
+
$ sc broker queue-template display -t <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1697
|
+
<value>] [-v <value>]
|
|
1698
|
+
|
|
1699
|
+
FLAGS
|
|
1700
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1701
|
+
-t, --queue-template-name=<value> (required) The name of the queue template to display.
|
|
1702
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1703
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1704
|
+
|
|
1705
|
+
GLOBAL FLAGS
|
|
1706
|
+
--json Format output as json.
|
|
1707
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1708
|
+
<options: debug|warn|error|info|trace>
|
|
1709
|
+
|
|
1710
|
+
DESCRIPTION
|
|
1711
|
+
Display queue template information from a Solace Event Broker.
|
|
1712
|
+
|
|
1713
|
+
Retrieves and displays detailed information about a queue template using the SEMP Monitor API, including configuration
|
|
1714
|
+
and state.
|
|
1715
|
+
|
|
1716
|
+
EXAMPLES
|
|
1717
|
+
$ sc broker queue-template display --queue-template-name=myTemplate --msg-vpn-name=default
|
|
1718
|
+
|
|
1719
|
+
$ sc broker queue-template display --broker-name=dev-broker --queue-template-name=myTemplate --msg-vpn-name=default
|
|
1720
|
+
|
|
1721
|
+
$ sc broker queue-template display --queue-template-name=myTemplate
|
|
1722
|
+
```
|
|
1723
|
+
|
|
1724
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/queue-template/display.ts)_
|
|
1725
|
+
|
|
1726
|
+
## `sc broker queue-template list`
|
|
1727
|
+
|
|
1728
|
+
List queue templates from a Solace Event Broker.
|
|
1729
|
+
|
|
1730
|
+
```
|
|
1731
|
+
USAGE
|
|
1732
|
+
$ sc broker queue-template list [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b <value>] [-v
|
|
1733
|
+
<value>] [-a] [-c <value>] [-t <value>] [-s <value>]
|
|
1734
|
+
|
|
1735
|
+
FLAGS
|
|
1736
|
+
-a, --all Display all queue templates (auto-pagination).
|
|
1737
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1738
|
+
-c, --count=<value> [default: 10] Number of queue templates to display per page.
|
|
1739
|
+
-s, --select=<value> Comma-separated list of attributes to display (max 10).
|
|
1740
|
+
-t, --queue-template-name=<value> Filter queue templates by name. Supports * wildcard.
|
|
1741
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1742
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1743
|
+
|
|
1744
|
+
GLOBAL FLAGS
|
|
1745
|
+
--json Format output as json.
|
|
1746
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1747
|
+
<options: debug|warn|error|info|trace>
|
|
1748
|
+
|
|
1749
|
+
DESCRIPTION
|
|
1750
|
+
List queue templates from a Solace Event Broker.
|
|
1751
|
+
|
|
1752
|
+
Retrieves and displays queue templates from the specified Message VPN using the SEMP Monitor API.
|
|
1753
|
+
Supports filtering by name (with wildcards), custom attribute selection, and pagination.
|
|
1754
|
+
|
|
1755
|
+
EXAMPLES
|
|
1756
|
+
$ sc broker queue-template list
|
|
1757
|
+
|
|
1758
|
+
$ sc broker queue-template list --count=20
|
|
1759
|
+
|
|
1760
|
+
$ sc broker queue-template list --queue-template-name="order*"
|
|
1761
|
+
|
|
1762
|
+
$ sc broker queue-template list --select=queueTemplateName,permission,maxMsgSpoolUsage
|
|
1763
|
+
|
|
1764
|
+
$ sc broker queue-template list --all
|
|
1765
|
+
|
|
1766
|
+
$ sc broker queue-template list --queue-template-name="*test*" --count=5 --all
|
|
1767
|
+
```
|
|
1768
|
+
|
|
1769
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/queue-template/list.ts)_
|
|
1770
|
+
|
|
1771
|
+
## `sc broker queue-template update`
|
|
1772
|
+
|
|
1773
|
+
Update a Queue Template on a Solace Event Broker.
|
|
1774
|
+
|
|
1775
|
+
```
|
|
1776
|
+
USAGE
|
|
1777
|
+
$ sc broker queue-template update -t <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1778
|
+
<value>] [-v <value>] [-a exclusive|non-exclusive] [--dead-msg-queue <value>] [--durability-override
|
|
1779
|
+
none|non-durable|durable] [--max-bind-count <value>] [--max-delivered-unacked-msgs-per-flow <value>] [--max-msg-size
|
|
1780
|
+
<value>] [-s <value>] [--max-redelivery-count <value>] [--max-ttl <value>] [-p
|
|
1781
|
+
consume|delete|modify-topic|no-access|read-only] [-f <value>]
|
|
1782
|
+
|
|
1783
|
+
FLAGS
|
|
1784
|
+
-a, --access-type=<option> The access type for queues created from this template.
|
|
1785
|
+
<options: exclusive|non-exclusive>
|
|
1786
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1787
|
+
-f, --queue-name-filter=<value> A wildcarded pattern to match queue names for applying this
|
|
1788
|
+
template. Supports * and > wildcards.
|
|
1789
|
+
-p, --permission=<option> The permission level for all consumers of queues created from this
|
|
1790
|
+
template, excluding the owner.
|
|
1791
|
+
<options: consume|delete|modify-topic|no-access|read-only>
|
|
1792
|
+
-s, --max-msg-spool-usage=<value> The maximum message spool usage allowed by queues created from this
|
|
1793
|
+
template, in megabytes (MB).
|
|
1794
|
+
-t, --queue-template-name=<value> (required) The name of the queue template to update.
|
|
1795
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1796
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1797
|
+
--dead-msg-queue=<value> The name of the Dead Message Queue.
|
|
1798
|
+
--durability-override=<option> Controls the durability of queues created from this template,
|
|
1799
|
+
overriding the requested durability.
|
|
1800
|
+
<options: none|non-durable|durable>
|
|
1801
|
+
--max-bind-count=<value> The maximum number of consumer flows that can bind to queues
|
|
1802
|
+
created from this template.
|
|
1803
|
+
--max-delivered-unacked-msgs-per-flow=<value> The maximum number of messages delivered but not acknowledged per
|
|
1804
|
+
flow.
|
|
1805
|
+
--max-msg-size=<value> The maximum message size allowed in queues created from this
|
|
1806
|
+
template, in bytes.
|
|
1807
|
+
--max-redelivery-count=<value> The maximum number of times a message will be redelivered before it
|
|
1808
|
+
is discarded or moved to the DMQ.
|
|
1809
|
+
--max-ttl=<value> The maximum time in seconds a message can stay in queues created
|
|
1810
|
+
from this template when respect-ttl-enabled is true.
|
|
1811
|
+
|
|
1812
|
+
GLOBAL FLAGS
|
|
1813
|
+
--json Format output as json.
|
|
1814
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1815
|
+
<options: debug|warn|error|info|trace>
|
|
1816
|
+
|
|
1817
|
+
DESCRIPTION
|
|
1818
|
+
Update a Queue Template on a Solace Event Broker.
|
|
1819
|
+
|
|
1820
|
+
Any attribute missing from the request will be left unchanged. The update of instances of this object are synchronized
|
|
1821
|
+
to HA mates and replication sites via config-sync.
|
|
1822
|
+
|
|
1823
|
+
EXAMPLES
|
|
1824
|
+
$ sc broker queue-template update --broker-name=dev-broker --queue-template-name=myTemplate --msg-vpn-name=default --permission=consume
|
|
1825
|
+
|
|
1826
|
+
$ sc broker queue-template update --broker-id=dev-broker --queue-template-name=myTemplate --msg-vpn-name=default --max-msg-spool-usage=2048
|
|
1827
|
+
|
|
1828
|
+
$ sc broker queue-template update --broker-name=dev-broker --queue-template-name=myTemplate --msg-vpn-name=default --max-msg-spool-usage=1024 --max-ttl=3600
|
|
1829
|
+
|
|
1830
|
+
$ sc broker queue-template update --queue-template-name=myTemplate --queue-name-filter="order.*"
|
|
1831
|
+
|
|
1832
|
+
$ sc broker queue-template update --queue-template-name=myTemplate --permission=read-only --max-bind-count=200
|
|
1833
|
+
```
|
|
1834
|
+
|
|
1835
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/queue-template/update.ts)_
|
|
1836
|
+
|
|
1837
|
+
## `sc broker queue create`
|
|
1838
|
+
|
|
1839
|
+
Create a Queue on a Solace Event Broker.
|
|
1840
|
+
|
|
1841
|
+
```
|
|
1842
|
+
USAGE
|
|
1843
|
+
$ sc broker queue create -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1844
|
+
<value>] [-v <value>] [-a exclusive|non-exclusive] [--dead-msg-queue <value>] [--egress-enabled] [--ingress-enabled]
|
|
1845
|
+
[-s <value>] [--max-redelivery-count <value>] [--max-ttl <value>] [-o <value>] [-p
|
|
1846
|
+
consume|delete|modify-topic|no-access|read-only] [--respect-ttl-enabled]
|
|
1847
|
+
|
|
1848
|
+
FLAGS
|
|
1849
|
+
-a, --access-type=<option> The access type for the queue.
|
|
1850
|
+
<options: exclusive|non-exclusive>
|
|
1851
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1852
|
+
-n, --name=<value> (required) The name of the queue to create.
|
|
1853
|
+
-o, --owner=<value> The client username that owns the queue and has permission equivalent to delete.
|
|
1854
|
+
-p, --permission=<option> [default: consume] The permission level for all consumers of the queue, excluding
|
|
1855
|
+
the owner.
|
|
1856
|
+
<options: consume|delete|modify-topic|no-access|read-only>
|
|
1857
|
+
-s, --max-msg-spool-usage=<value> The maximum message spool usage allowed by the queue, in megabytes (MB).
|
|
1858
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1859
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1860
|
+
--dead-msg-queue=<value> The name of the Dead Message Queue.
|
|
1861
|
+
--[no-]egress-enabled Enable or disable egress (message consumption) from the queue.
|
|
1862
|
+
--[no-]ingress-enabled Enable or disable ingress (message reception) to the queue.
|
|
1863
|
+
--max-redelivery-count=<value> The maximum number of times a message will be redelivered before it is discarded
|
|
1864
|
+
or moved to the DMQ.
|
|
1865
|
+
--max-ttl=<value> The maximum time in seconds a message can stay in the queue when
|
|
1866
|
+
respect-ttl-enabled is true.
|
|
1867
|
+
--[no-]respect-ttl-enabled Enable or disable the respecting of the time-to-live (TTL) for messages.
|
|
1868
|
+
|
|
1869
|
+
GLOBAL FLAGS
|
|
1870
|
+
--json Format output as json.
|
|
1871
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1872
|
+
<options: debug|warn|error|info|trace>
|
|
1873
|
+
|
|
1874
|
+
DESCRIPTION
|
|
1875
|
+
Create a Queue on a Solace Event Broker.
|
|
1876
|
+
|
|
1877
|
+
EXAMPLES
|
|
1878
|
+
$ sc broker queue create --name=myQueue
|
|
1879
|
+
|
|
1880
|
+
$ sc broker queue create --name=myQueue --access-type=non-exclusive --max-msg-spool-usage=1024 --egress-enabled --ingress-enabled
|
|
1881
|
+
```
|
|
1882
|
+
|
|
1883
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/queue/create.ts)_
|
|
1884
|
+
|
|
1885
|
+
## `sc broker queue delete`
|
|
1886
|
+
|
|
1887
|
+
Delete a Queue from a Solace Event Broker.
|
|
1888
|
+
|
|
1889
|
+
```
|
|
1890
|
+
USAGE
|
|
1891
|
+
$ sc broker queue delete -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1892
|
+
<value>] [-v <value>] [--no-prompt]
|
|
1893
|
+
|
|
1894
|
+
FLAGS
|
|
1895
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1896
|
+
-n, --name=<value> (required) The name of the queue to delete.
|
|
1897
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1898
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1899
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
1900
|
+
|
|
1901
|
+
GLOBAL FLAGS
|
|
1902
|
+
--json Format output as json.
|
|
1903
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1904
|
+
<options: debug|warn|error|info|trace>
|
|
1905
|
+
|
|
1906
|
+
DESCRIPTION
|
|
1907
|
+
Delete a Queue from a Solace Event Broker.
|
|
1908
|
+
|
|
1909
|
+
This is a destructive operation that removes the queue and deletes any messages persisted on the queue.
|
|
1910
|
+
|
|
1911
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
1912
|
+
|
|
1913
|
+
EXAMPLES
|
|
1914
|
+
$ sc broker queue delete --name=myQueue
|
|
1915
|
+
|
|
1916
|
+
$ sc broker queue delete --queue-name=myQueue --no-prompt
|
|
1917
|
+
```
|
|
1918
|
+
|
|
1919
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/queue/delete.ts)_
|
|
1920
|
+
|
|
1921
|
+
## `sc broker queue display`
|
|
1922
|
+
|
|
1923
|
+
Display queue information from a Solace Event Broker.
|
|
1924
|
+
|
|
1925
|
+
```
|
|
1926
|
+
USAGE
|
|
1927
|
+
$ sc broker queue display -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
1928
|
+
<value>] [-v <value>] [-s]
|
|
1929
|
+
|
|
1930
|
+
FLAGS
|
|
1931
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1932
|
+
-n, --name=<value> (required) The name of the queue to display.
|
|
1933
|
+
-s, --show-subscriptions Display only queue subscriptions without queue details.
|
|
1934
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1935
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1936
|
+
|
|
1937
|
+
GLOBAL FLAGS
|
|
1938
|
+
--json Format output as json.
|
|
1939
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1940
|
+
<options: debug|warn|error|info|trace>
|
|
1941
|
+
|
|
1942
|
+
DESCRIPTION
|
|
1943
|
+
Display queue information from a Solace Event Broker.
|
|
1944
|
+
|
|
1945
|
+
Retrieves and displays detailed information about a queue using the SEMP Monitor API, including operational state,
|
|
1946
|
+
statistics, and configuration.
|
|
1947
|
+
|
|
1948
|
+
EXAMPLES
|
|
1949
|
+
$ sc broker queue display --queue-name=myQueue
|
|
1950
|
+
|
|
1951
|
+
$ sc broker queue display --queue-name=myQueue --show-subscriptions
|
|
1952
|
+
```
|
|
1953
|
+
|
|
1954
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/queue/display.ts)_
|
|
1955
|
+
|
|
1956
|
+
## `sc broker queue list`
|
|
1957
|
+
|
|
1958
|
+
List queues from a Solace Event Broker.
|
|
1959
|
+
|
|
1960
|
+
```
|
|
1961
|
+
USAGE
|
|
1962
|
+
$ sc broker queue list [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b <value>] [-v
|
|
1963
|
+
<value>] [-a] [-c <value>] [-n <value>] [-s <value>]
|
|
1964
|
+
|
|
1965
|
+
FLAGS
|
|
1966
|
+
-a, --all Display all queues (auto-pagination).
|
|
1967
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1968
|
+
-c, --count=<value> [default: 10] Number of queues to display per page.
|
|
1969
|
+
-n, --name=<value> Filter queues by name. Supports * wildcard.
|
|
1970
|
+
-s, --select=<value> Comma-separated list of attributes to display (max 10).
|
|
1971
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1972
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1973
|
+
|
|
1974
|
+
GLOBAL FLAGS
|
|
1975
|
+
--json Format output as json.
|
|
1976
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1977
|
+
<options: debug|warn|error|info|trace>
|
|
1978
|
+
|
|
1979
|
+
DESCRIPTION
|
|
1980
|
+
List queues from a Solace Event Broker.
|
|
1981
|
+
|
|
1982
|
+
Retrieves and displays queues from the specified Message VPN using the SEMP Monitor API.
|
|
1983
|
+
Supports filtering by name (with wildcards), custom attribute selection, and pagination.
|
|
1984
|
+
Refer to the SEMP Monitor API docs for available attributes.
|
|
1985
|
+
|
|
1986
|
+
EXAMPLES
|
|
1987
|
+
$ sc broker queue list
|
|
1988
|
+
|
|
1989
|
+
$ sc broker queue list --count=20
|
|
1990
|
+
|
|
1991
|
+
$ sc broker queue list --name="order*"
|
|
1992
|
+
|
|
1993
|
+
$ sc broker queue list --select=queueName,owner,maxMsgSpoolUsage
|
|
1994
|
+
|
|
1995
|
+
$ sc broker queue list --all
|
|
1996
|
+
|
|
1997
|
+
$ sc broker queue list --name="*test*" --count=5 --all
|
|
1998
|
+
```
|
|
1999
|
+
|
|
2000
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/queue/list.ts)_
|
|
2001
|
+
|
|
2002
|
+
## `sc broker queue subscriptions create`
|
|
2003
|
+
|
|
2004
|
+
Create a topic subscription on a Queue in a Solace Event Broker.
|
|
2005
|
+
|
|
2006
|
+
```
|
|
2007
|
+
USAGE
|
|
2008
|
+
$ sc broker queue subscriptions create -n <value> -t <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value>
|
|
2009
|
+
| -b <value>] [-v <value>]
|
|
2010
|
+
|
|
2011
|
+
FLAGS
|
|
2012
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
2013
|
+
-n, --name=<value> (required) The name of the queue to add the subscription to.
|
|
2014
|
+
-t, --topic=<value> (required) The subscription topic to add to the queue.
|
|
2015
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
2016
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
2017
|
+
|
|
2018
|
+
GLOBAL FLAGS
|
|
2019
|
+
--json Format output as json.
|
|
2020
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
2021
|
+
<options: debug|warn|error|info|trace>
|
|
2022
|
+
|
|
2023
|
+
DESCRIPTION
|
|
2024
|
+
Create a topic subscription on a Queue in a Solace Event Broker.
|
|
2025
|
+
|
|
2026
|
+
Guaranteed messages published to topics matching the subscription will be delivered to the queue.
|
|
2027
|
+
|
|
2028
|
+
Subscriptions use topic pattern matching which can include wildcards:
|
|
2029
|
+
- '*' matches exactly one level in the topic hierarchy
|
|
2030
|
+
- '>' matches one or more levels at the end of the topic
|
|
2031
|
+
|
|
2032
|
+
Multiple subscriptions can be added to a single queue.
|
|
2033
|
+
|
|
2034
|
+
EXAMPLES
|
|
2035
|
+
$ sc broker queue subscriptions create --name=myQueue --topic=orders/>
|
|
2036
|
+
|
|
2037
|
+
$ sc broker queue subscriptions create --name=myQueue --topic=events/user/*
|
|
2038
|
+
```
|
|
2039
|
+
|
|
2040
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/queue/subscriptions/create.ts)_
|
|
2041
|
+
|
|
2042
|
+
## `sc broker queue subscriptions delete`
|
|
2043
|
+
|
|
2044
|
+
Delete a topic subscription from a Queue in a Solace Event Broker.
|
|
2045
|
+
|
|
2046
|
+
```
|
|
2047
|
+
USAGE
|
|
2048
|
+
$ sc broker queue subscriptions delete -n <value> -t <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value>
|
|
2049
|
+
| -b <value>] [-v <value>] [--no-prompt]
|
|
2050
|
+
|
|
2051
|
+
FLAGS
|
|
2052
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
2053
|
+
-n, --name=<value> (required) The name of the queue to remove the subscription from.
|
|
2054
|
+
-t, --topic=<value> (required) The subscription topic to remove from the queue.
|
|
2055
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
2056
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
2057
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
2058
|
+
|
|
2059
|
+
GLOBAL FLAGS
|
|
2060
|
+
--json Format output as json.
|
|
2061
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
2062
|
+
<options: debug|warn|error|info|trace>
|
|
2063
|
+
|
|
2064
|
+
DESCRIPTION
|
|
2065
|
+
Delete a topic subscription from a Queue in a Solace Event Broker.
|
|
2066
|
+
|
|
2067
|
+
This is a destructive operation that removes the subscription.
|
|
2068
|
+
|
|
2069
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
2070
|
+
|
|
2071
|
+
EXAMPLES
|
|
2072
|
+
$ sc broker queue subscriptions delete --name=myQueue --topic=orders/>
|
|
2073
|
+
|
|
2074
|
+
$ sc broker queue subscriptions delete --name=myQueue --topic=orders/> --no-prompt
|
|
2075
|
+
```
|
|
2076
|
+
|
|
2077
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/queue/subscriptions/delete.ts)_
|
|
2078
|
+
|
|
2079
|
+
## `sc broker queue update`
|
|
2080
|
+
|
|
2081
|
+
Update a Queue on a Solace Event Broker.
|
|
2082
|
+
|
|
2083
|
+
```
|
|
2084
|
+
USAGE
|
|
2085
|
+
$ sc broker queue update -n <value> [--json] [--log-level debug|warn|error|info|trace] [--broker-id <value> | -b
|
|
2086
|
+
<value>] [-v <value>] [-a exclusive|non-exclusive] [--dead-msg-queue <value>] [--egress-enabled] [--ingress-enabled]
|
|
2087
|
+
[-s <value>] [--max-redelivery-count <value>] [--max-ttl <value>] [-o <value>] [-p
|
|
2088
|
+
consume|delete|modify-topic|no-access|read-only] [--respect-ttl-enabled]
|
|
2089
|
+
|
|
2090
|
+
FLAGS
|
|
2091
|
+
-a, --access-type=<option> The access type for the queue.
|
|
2092
|
+
<options: exclusive|non-exclusive>
|
|
2093
|
+
-b, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
2094
|
+
-n, --name=<value> (required) The name of the queue to update.
|
|
2095
|
+
-o, --owner=<value> The client username that owns the queue and has permission equivalent to delete.
|
|
2096
|
+
-p, --permission=<option> The permission level for all consumers of the queue, excluding the owner.
|
|
2097
|
+
<options: consume|delete|modify-topic|no-access|read-only>
|
|
2098
|
+
-s, --max-msg-spool-usage=<value> The maximum message spool usage allowed by the queue, in megabytes (MB).
|
|
2099
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
2100
|
+
--broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
2101
|
+
--dead-msg-queue=<value> The name of the Dead Message Queue.
|
|
2102
|
+
--[no-]egress-enabled Enable or disable egress (message consumption) from the queue.
|
|
2103
|
+
--[no-]ingress-enabled Enable or disable ingress (message reception) to the queue.
|
|
2104
|
+
--max-redelivery-count=<value> The maximum number of times a message will be redelivered before it is discarded
|
|
2105
|
+
or moved to the DMQ.
|
|
2106
|
+
--max-ttl=<value> The maximum time in seconds a message can stay in the queue when
|
|
2107
|
+
respect-ttl-enabled is true.
|
|
2108
|
+
--[no-]respect-ttl-enabled Enable or disable the respecting of the time-to-live (TTL) for messages.
|
|
2109
|
+
|
|
2110
|
+
GLOBAL FLAGS
|
|
2111
|
+
--json Format output as json.
|
|
2112
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
2113
|
+
<options: debug|warn|error|info|trace>
|
|
2114
|
+
|
|
2115
|
+
DESCRIPTION
|
|
2116
|
+
Update a Queue on a Solace Event Broker.
|
|
2117
|
+
|
|
2118
|
+
Any attribute missing from the request will be left unchanged.
|
|
2119
|
+
|
|
2120
|
+
EXAMPLES
|
|
2121
|
+
$ sc broker queue update --name=myQueue --egress-enabled
|
|
2122
|
+
|
|
2123
|
+
$ sc broker queue update --name=myQueue --max-msg-spool-usage=1024 --max-ttl=3600
|
|
2124
|
+
|
|
2125
|
+
$ sc broker queue update --name=myQueue --no-egress-enabled
|
|
2126
|
+
```
|
|
2127
|
+
|
|
2128
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.7.0/src/commands/broker/queue/update.ts)_
|
|
2129
|
+
|
|
266
2130
|
## `sc commands`
|
|
267
2131
|
|
|
268
2132
|
List all sc commands.
|
|
@@ -379,7 +2243,7 @@ EXAMPLES
|
|
|
379
2243
|
$ sc missionctrl broker create --alias=my-alias --name=MyBrokerName --datacenter-id=eks-ca-central-1a --service-class-id=DEVELOPER
|
|
380
2244
|
```
|
|
381
2245
|
|
|
382
|
-
_See code: [src/commands/missionctrl/broker/create.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2246
|
+
_See code: [src/commands/missionctrl/broker/create.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/missionctrl/broker/create.ts)_
|
|
383
2247
|
|
|
384
2248
|
## `sc missionctrl broker delete`
|
|
385
2249
|
|
|
@@ -422,7 +2286,7 @@ EXAMPLES
|
|
|
422
2286
|
$ sc missionctrl broker delete --broker-id=MyBrokerId --no-prompt
|
|
423
2287
|
```
|
|
424
2288
|
|
|
425
|
-
_See code: [src/commands/missionctrl/broker/delete.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2289
|
+
_See code: [src/commands/missionctrl/broker/delete.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/missionctrl/broker/delete.ts)_
|
|
426
2290
|
|
|
427
2291
|
## `sc missionctrl broker display`
|
|
428
2292
|
|
|
@@ -461,7 +2325,7 @@ EXAMPLES
|
|
|
461
2325
|
$ sc missionctrl broker display --alias=my-alias --name=MyBrokerName
|
|
462
2326
|
```
|
|
463
2327
|
|
|
464
|
-
_See code: [src/commands/missionctrl/broker/display.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2328
|
+
_See code: [src/commands/missionctrl/broker/display.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/missionctrl/broker/display.ts)_
|
|
465
2329
|
|
|
466
2330
|
## `sc missionctrl broker list`
|
|
467
2331
|
|
|
@@ -517,7 +2381,7 @@ EXAMPLES
|
|
|
517
2381
|
$ sc missionctrl broker list --alias=my-alias --name=MyBrokerName --pageNumber=1 --pageSize=10 --sort=name:asc
|
|
518
2382
|
```
|
|
519
2383
|
|
|
520
|
-
_See code: [src/commands/missionctrl/broker/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2384
|
+
_See code: [src/commands/missionctrl/broker/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/missionctrl/broker/list.ts)_
|
|
521
2385
|
|
|
522
2386
|
## `sc missionctrl broker opstatus`
|
|
523
2387
|
|
|
@@ -561,7 +2425,7 @@ EXAMPLES
|
|
|
561
2425
|
$ sc missionctrl broker opstatus --alias=my-alias -b <broker-id>
|
|
562
2426
|
```
|
|
563
2427
|
|
|
564
|
-
_See code: [src/commands/missionctrl/broker/opstatus.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2428
|
+
_See code: [src/commands/missionctrl/broker/opstatus.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/missionctrl/broker/opstatus.ts)_
|
|
565
2429
|
|
|
566
2430
|
## `sc missionctrl broker state`
|
|
567
2431
|
|
|
@@ -603,7 +2467,7 @@ EXAMPLES
|
|
|
603
2467
|
$ sc missionctrl broker state --alias=my-alias --name=MyBrokerName
|
|
604
2468
|
```
|
|
605
2469
|
|
|
606
|
-
_See code: [src/commands/missionctrl/broker/state.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2470
|
+
_See code: [src/commands/missionctrl/broker/state.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/missionctrl/broker/state.ts)_
|
|
607
2471
|
|
|
608
2472
|
## `sc missionctrl broker update`
|
|
609
2473
|
|
|
@@ -648,7 +2512,7 @@ EXAMPLES
|
|
|
648
2512
|
$ sc missionctrl broker update --alias=my-alias --name <name> --new-name <new-name>
|
|
649
2513
|
```
|
|
650
2514
|
|
|
651
|
-
_See code: [src/commands/missionctrl/broker/update.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2515
|
+
_See code: [src/commands/missionctrl/broker/update.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/missionctrl/broker/update.ts)_
|
|
652
2516
|
|
|
653
2517
|
## `sc platform env create`
|
|
654
2518
|
|
|
@@ -689,7 +2553,7 @@ EXAMPLES
|
|
|
689
2553
|
$ sc platform env create --alias=my-alias --name=MyEnvironment --isDefault
|
|
690
2554
|
```
|
|
691
2555
|
|
|
692
|
-
_See code: [src/commands/platform/env/create.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2556
|
+
_See code: [src/commands/platform/env/create.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/platform/env/create.ts)_
|
|
693
2557
|
|
|
694
2558
|
## `sc platform env delete`
|
|
695
2559
|
|
|
@@ -729,7 +2593,7 @@ EXAMPLES
|
|
|
729
2593
|
$ sc platform env delete --env-id=MyEnvId --no-prompt
|
|
730
2594
|
```
|
|
731
2595
|
|
|
732
|
-
_See code: [src/commands/platform/env/delete.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2596
|
+
_See code: [src/commands/platform/env/delete.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/platform/env/delete.ts)_
|
|
733
2597
|
|
|
734
2598
|
## `sc platform env display`
|
|
735
2599
|
|
|
@@ -768,7 +2632,7 @@ EXAMPLES
|
|
|
768
2632
|
$ sc platform env display --alias=my-alias --name=MyEnvName
|
|
769
2633
|
```
|
|
770
2634
|
|
|
771
|
-
_See code: [src/commands/platform/env/display.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2635
|
+
_See code: [src/commands/platform/env/display.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/platform/env/display.ts)_
|
|
772
2636
|
|
|
773
2637
|
## `sc platform env list`
|
|
774
2638
|
|
|
@@ -806,7 +2670,7 @@ EXAMPLES
|
|
|
806
2670
|
$ sc platform env list --alias=my-alias --name=Default --pageNumber=1 --pageSize=10 --sort=name:ASC
|
|
807
2671
|
```
|
|
808
2672
|
|
|
809
|
-
_See code: [src/commands/platform/env/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2673
|
+
_See code: [src/commands/platform/env/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/platform/env/list.ts)_
|
|
810
2674
|
|
|
811
2675
|
## `sc platform env update`
|
|
812
2676
|
|
|
@@ -850,7 +2714,7 @@ EXAMPLES
|
|
|
850
2714
|
$ sc platform env update --alias=my-alias --name=MyEnvName --new-name=MyNewEnvName
|
|
851
2715
|
```
|
|
852
2716
|
|
|
853
|
-
_See code: [src/commands/platform/env/update.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2717
|
+
_See code: [src/commands/platform/env/update.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.3/src/commands/platform/env/update.ts)_
|
|
854
2718
|
|
|
855
2719
|
## `sc plugins`
|
|
856
2720
|
|