@dishantlangayan/solace-cloud-cli 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1474 -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.2 linux-x64 node-v25.9.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,39 @@ 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 login basic`](#sc-broker-login-basic)
|
|
118
|
+
* [`sc broker login cloud`](#sc-broker-login-cloud)
|
|
119
|
+
* [`sc broker login list`](#sc-broker-login-list)
|
|
120
|
+
* [`sc broker logout`](#sc-broker-logout)
|
|
121
|
+
* [`sc broker queue create`](#sc-broker-queue-create)
|
|
122
|
+
* [`sc broker queue delete`](#sc-broker-queue-delete)
|
|
123
|
+
* [`sc broker queue display`](#sc-broker-queue-display)
|
|
124
|
+
* [`sc broker queue list`](#sc-broker-queue-list)
|
|
125
|
+
* [`sc broker queue subscriptions create`](#sc-broker-queue-subscriptions-create)
|
|
126
|
+
* [`sc broker queue subscriptions delete`](#sc-broker-queue-subscriptions-delete)
|
|
127
|
+
* [`sc broker queue update`](#sc-broker-queue-update)
|
|
94
128
|
* [`sc commands`](#sc-commands)
|
|
95
129
|
* [`sc help [COMMAND]`](#sc-help-command)
|
|
96
130
|
* [`sc missionctrl broker create`](#sc-missionctrl-broker-create)
|
|
@@ -142,7 +176,7 @@ EXAMPLES
|
|
|
142
176
|
$ sc account list
|
|
143
177
|
```
|
|
144
178
|
|
|
145
|
-
_See code: [src/commands/account/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
179
|
+
_See code: [src/commands/account/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/account/list.ts)_
|
|
146
180
|
|
|
147
181
|
## `sc account login`
|
|
148
182
|
|
|
@@ -192,7 +226,7 @@ EXAMPLES
|
|
|
192
226
|
$ sc account login --org=my-org-id --base-url=https://api.custom.solace.cloud
|
|
193
227
|
```
|
|
194
228
|
|
|
195
|
-
_See code: [src/commands/account/login.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
229
|
+
_See code: [src/commands/account/login.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/account/login.ts)_
|
|
196
230
|
|
|
197
231
|
## `sc account logout`
|
|
198
232
|
|
|
@@ -230,7 +264,7 @@ EXAMPLES
|
|
|
230
264
|
$ sc account logout --org=my-org-id --no-prompt
|
|
231
265
|
```
|
|
232
266
|
|
|
233
|
-
_See code: [src/commands/account/logout.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
267
|
+
_See code: [src/commands/account/logout.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/account/logout.ts)_
|
|
234
268
|
|
|
235
269
|
## `sc autocomplete [SHELL]`
|
|
236
270
|
|
|
@@ -263,6 +297,1421 @@ EXAMPLES
|
|
|
263
297
|
|
|
264
298
|
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.40/src/commands/autocomplete/index.ts)_
|
|
265
299
|
|
|
300
|
+
## `sc broker acl-profile client-connect-exceptions create`
|
|
301
|
+
|
|
302
|
+
Create a client connect exception for an ACL Profile on a Solace Event Broker.
|
|
303
|
+
|
|
304
|
+
```
|
|
305
|
+
USAGE
|
|
306
|
+
$ sc broker acl-profile client-connect-exceptions create -a <value> -c <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n
|
|
307
|
+
<value>] [-v <value>]
|
|
308
|
+
|
|
309
|
+
FLAGS
|
|
310
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile.
|
|
311
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
312
|
+
-c, --client-connect-exception-address=<value> (required) The IP address/netmask of the client connect exception in
|
|
313
|
+
CIDR form (e.g., 192.168.1.0/24).
|
|
314
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
315
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
316
|
+
|
|
317
|
+
GLOBAL FLAGS
|
|
318
|
+
--json Format output as json.
|
|
319
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
320
|
+
<options: debug|warn|error|info|trace>
|
|
321
|
+
|
|
322
|
+
DESCRIPTION
|
|
323
|
+
Create a client connect exception for an ACL Profile on a Solace Event Broker.
|
|
324
|
+
|
|
325
|
+
Adds an exception to the ACL Profile that allows or disallows clients connecting from specific IP addresses. The
|
|
326
|
+
exception is expressed as an IP address/netmask in CIDR form. The creation is synchronized to HA mates and replication
|
|
327
|
+
sites via config-sync.
|
|
328
|
+
|
|
329
|
+
EXAMPLES
|
|
330
|
+
$ sc broker acl-profile client-connect-exceptions create --acl-profile-name=myProfile --client-connect-exception-address=192.168.1.0/24
|
|
331
|
+
|
|
332
|
+
$ sc broker acl-profile client-connect-exceptions create --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --client-connect-exception-address=10.0.0.0/8
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/client-connect-exceptions/create.ts)_
|
|
336
|
+
|
|
337
|
+
## `sc broker acl-profile client-connect-exceptions delete`
|
|
338
|
+
|
|
339
|
+
Delete a client connect exception from an ACL Profile on a Solace Event Broker.
|
|
340
|
+
|
|
341
|
+
```
|
|
342
|
+
USAGE
|
|
343
|
+
$ sc broker acl-profile client-connect-exceptions delete -a <value> -c <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n
|
|
344
|
+
<value>] [-v <value>] [--no-prompt]
|
|
345
|
+
|
|
346
|
+
FLAGS
|
|
347
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile.
|
|
348
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
349
|
+
-c, --client-connect-exception-address=<value> (required) The IP address/netmask of the client connect exception to
|
|
350
|
+
delete in CIDR form.
|
|
351
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
352
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
353
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
354
|
+
|
|
355
|
+
GLOBAL FLAGS
|
|
356
|
+
--json Format output as json.
|
|
357
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
358
|
+
<options: debug|warn|error|info|trace>
|
|
359
|
+
|
|
360
|
+
DESCRIPTION
|
|
361
|
+
Delete a client connect exception from an ACL Profile on a Solace Event Broker.
|
|
362
|
+
|
|
363
|
+
Removes the specified client connect exception from the ACL Profile. This is a destructive operation. The deletion is
|
|
364
|
+
synchronized to HA mates and replication sites via config-sync.
|
|
365
|
+
|
|
366
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
367
|
+
|
|
368
|
+
EXAMPLES
|
|
369
|
+
$ sc broker acl-profile client-connect-exceptions delete --acl-profile-name=myProfile --client-connect-exception-address=192.168.1.0/24
|
|
370
|
+
|
|
371
|
+
$ sc broker acl-profile client-connect-exceptions delete --acl-profile-name=myProfile --client-connect-exception-address=10.0.0.0/8 --no-prompt
|
|
372
|
+
|
|
373
|
+
$ sc broker acl-profile client-connect-exceptions delete --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --client-connect-exception-address=172.16.0.0/12 --no-prompt
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/client-connect-exceptions/delete.ts)_
|
|
377
|
+
|
|
378
|
+
## `sc broker acl-profile client-connect-exceptions list`
|
|
379
|
+
|
|
380
|
+
List client connect exceptions for an ACL Profile from a Solace Event Broker.
|
|
381
|
+
|
|
382
|
+
```
|
|
383
|
+
USAGE
|
|
384
|
+
$ sc broker acl-profile client-connect-exceptions list -a <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
385
|
+
<value>]
|
|
386
|
+
|
|
387
|
+
FLAGS
|
|
388
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile.
|
|
389
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
390
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
391
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
392
|
+
|
|
393
|
+
GLOBAL FLAGS
|
|
394
|
+
--json Format output as json.
|
|
395
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
396
|
+
<options: debug|warn|error|info|trace>
|
|
397
|
+
|
|
398
|
+
DESCRIPTION
|
|
399
|
+
List client connect exceptions for an ACL Profile from a Solace Event Broker.
|
|
400
|
+
|
|
401
|
+
Retrieves and displays all client connect exceptions configured for the specified ACL Profile using the SEMP Monitor
|
|
402
|
+
API.
|
|
403
|
+
|
|
404
|
+
EXAMPLES
|
|
405
|
+
$ sc broker acl-profile client-connect-exceptions list --acl-profile-name=myProfile
|
|
406
|
+
|
|
407
|
+
$ sc broker acl-profile client-connect-exceptions list --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/client-connect-exceptions/list.ts)_
|
|
411
|
+
|
|
412
|
+
## `sc broker acl-profile create`
|
|
413
|
+
|
|
414
|
+
Create an ACL Profile on a Solace Event Broker.
|
|
415
|
+
|
|
416
|
+
```
|
|
417
|
+
USAGE
|
|
418
|
+
$ sc broker acl-profile create -a <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
419
|
+
<value>] [--client-connect-default-action allow|disallow] [--publish-topic-default-action allow|disallow]
|
|
420
|
+
[--subscribe-share-name-default-action allow|disallow] [--subscribe-topic-default-action allow|disallow]
|
|
421
|
+
|
|
422
|
+
FLAGS
|
|
423
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile to create.
|
|
424
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default
|
|
425
|
+
broker.
|
|
426
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
427
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
428
|
+
--client-connect-default-action=<option> The default action to take when a client using the ACL Profile
|
|
429
|
+
connects.
|
|
430
|
+
<options: allow|disallow>
|
|
431
|
+
--publish-topic-default-action=<option> The default action to take when a client using the ACL Profile
|
|
432
|
+
publishes to a topic.
|
|
433
|
+
<options: allow|disallow>
|
|
434
|
+
--subscribe-share-name-default-action=<option> The default action to take when a client using the ACL Profile
|
|
435
|
+
subscribes to a share-name subscription.
|
|
436
|
+
<options: allow|disallow>
|
|
437
|
+
--subscribe-topic-default-action=<option> The default action to take when a client using the ACL Profile
|
|
438
|
+
subscribes to a topic.
|
|
439
|
+
<options: allow|disallow>
|
|
440
|
+
|
|
441
|
+
GLOBAL FLAGS
|
|
442
|
+
--json Format output as json.
|
|
443
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
444
|
+
<options: debug|warn|error|info|trace>
|
|
445
|
+
|
|
446
|
+
DESCRIPTION
|
|
447
|
+
Create an ACL Profile on a Solace Event Broker.
|
|
448
|
+
|
|
449
|
+
Any attribute missing from the request will be set to its default value. The creation of instances of this object are
|
|
450
|
+
synchronized to HA mates and replication sites via config-sync.
|
|
451
|
+
|
|
452
|
+
EXAMPLES
|
|
453
|
+
$ sc broker acl-profile create --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default
|
|
454
|
+
|
|
455
|
+
$ sc broker acl-profile create --broker-id=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --client-connect-default-action=allow
|
|
456
|
+
|
|
457
|
+
$ sc broker acl-profile create --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --publish-topic-default-action=allow --subscribe-topic-default-action=allow
|
|
458
|
+
|
|
459
|
+
$ sc broker acl-profile create --acl-profile-name=myProfile
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/create.ts)_
|
|
463
|
+
|
|
464
|
+
## `sc broker acl-profile delete`
|
|
465
|
+
|
|
466
|
+
Delete an ACL Profile from a Solace Event Broker.
|
|
467
|
+
|
|
468
|
+
```
|
|
469
|
+
USAGE
|
|
470
|
+
$ sc broker acl-profile delete -a <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
471
|
+
<value>] [--no-prompt]
|
|
472
|
+
|
|
473
|
+
FLAGS
|
|
474
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile to delete.
|
|
475
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
476
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
477
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
478
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
479
|
+
|
|
480
|
+
GLOBAL FLAGS
|
|
481
|
+
--json Format output as json.
|
|
482
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
483
|
+
<options: debug|warn|error|info|trace>
|
|
484
|
+
|
|
485
|
+
DESCRIPTION
|
|
486
|
+
Delete an ACL Profile from a Solace Event Broker.
|
|
487
|
+
|
|
488
|
+
Deletes the specified ACL Profile from the Message VPN. This is a destructive operation that removes the ACL Profile.
|
|
489
|
+
Any clients or client usernames using this profile should be updated to use a different profile before deletion.
|
|
490
|
+
|
|
491
|
+
The deletion is synchronized to HA mates and replication sites via config-sync.
|
|
492
|
+
|
|
493
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
494
|
+
|
|
495
|
+
EXAMPLES
|
|
496
|
+
$ sc broker acl-profile delete --acl-profile-name=myProfile --msg-vpn-name=default
|
|
497
|
+
|
|
498
|
+
$ sc broker acl-profile delete --broker-name=dev-broker --acl-profile-name=myProfile
|
|
499
|
+
|
|
500
|
+
$ sc broker acl-profile delete --acl-profile-name=myProfile --no-prompt
|
|
501
|
+
|
|
502
|
+
$ sc broker acl-profile delete --broker-id=prod --acl-profile-name=tempProfile --msg-vpn-name=production --no-prompt
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/delete.ts)_
|
|
506
|
+
|
|
507
|
+
## `sc broker acl-profile display`
|
|
508
|
+
|
|
509
|
+
Display ACL Profile information from a Solace Event Broker.
|
|
510
|
+
|
|
511
|
+
```
|
|
512
|
+
USAGE
|
|
513
|
+
$ sc broker acl-profile display -a <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
514
|
+
<value>]
|
|
515
|
+
|
|
516
|
+
FLAGS
|
|
517
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile to display.
|
|
518
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
519
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
520
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
521
|
+
|
|
522
|
+
GLOBAL FLAGS
|
|
523
|
+
--json Format output as json.
|
|
524
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
525
|
+
<options: debug|warn|error|info|trace>
|
|
526
|
+
|
|
527
|
+
DESCRIPTION
|
|
528
|
+
Display ACL Profile information from a Solace Event Broker.
|
|
529
|
+
|
|
530
|
+
Retrieves and displays detailed information about an ACL Profile using the SEMP Monitor API, including configuration
|
|
531
|
+
and default actions.
|
|
532
|
+
|
|
533
|
+
EXAMPLES
|
|
534
|
+
$ sc broker acl-profile display --acl-profile-name=myProfile --msg-vpn-name=default
|
|
535
|
+
|
|
536
|
+
$ sc broker acl-profile display --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default
|
|
537
|
+
|
|
538
|
+
$ sc broker acl-profile display --acl-profile-name=myProfile
|
|
539
|
+
```
|
|
540
|
+
|
|
541
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/display.ts)_
|
|
542
|
+
|
|
543
|
+
## `sc broker acl-profile list`
|
|
544
|
+
|
|
545
|
+
List ACL Profiles from a Solace Event Broker.
|
|
546
|
+
|
|
547
|
+
```
|
|
548
|
+
USAGE
|
|
549
|
+
$ sc broker acl-profile list [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v <value>]
|
|
550
|
+
[--acl-profile-name <value>] [-a] [-c <value>] [-s <value>]
|
|
551
|
+
|
|
552
|
+
FLAGS
|
|
553
|
+
-a, --all Display all ACL profiles (auto-pagination).
|
|
554
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
555
|
+
-c, --count=<value> [default: 10] Number of ACL profiles to display per page.
|
|
556
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
557
|
+
-s, --select=<value> Comma-separated list of attributes to display (max 10).
|
|
558
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
559
|
+
--acl-profile-name=<value> Filter ACL profiles by name. Supports * wildcard.
|
|
560
|
+
|
|
561
|
+
GLOBAL FLAGS
|
|
562
|
+
--json Format output as json.
|
|
563
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
564
|
+
<options: debug|warn|error|info|trace>
|
|
565
|
+
|
|
566
|
+
DESCRIPTION
|
|
567
|
+
List ACL Profiles from a Solace Event Broker.
|
|
568
|
+
|
|
569
|
+
Retrieves and displays ACL Profiles from the specified Message VPN using the SEMP Monitor API.
|
|
570
|
+
Supports filtering by name (with wildcards), custom attribute selection, and pagination.
|
|
571
|
+
|
|
572
|
+
EXAMPLES
|
|
573
|
+
$ sc broker acl-profile list
|
|
574
|
+
|
|
575
|
+
$ sc broker acl-profile list --count=20
|
|
576
|
+
|
|
577
|
+
$ sc broker acl-profile list --acl-profile-name="client*"
|
|
578
|
+
|
|
579
|
+
$ sc broker acl-profile list --select=aclProfileName,clientConnectDefaultAction,publishTopicDefaultAction
|
|
580
|
+
|
|
581
|
+
$ sc broker acl-profile list --all
|
|
582
|
+
|
|
583
|
+
$ sc broker acl-profile list --acl-profile-name="*custom*" --count=5 --all
|
|
584
|
+
```
|
|
585
|
+
|
|
586
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/list.ts)_
|
|
587
|
+
|
|
588
|
+
## `sc broker acl-profile publish-topic-exceptions create`
|
|
589
|
+
|
|
590
|
+
Create a publish topic exception for an ACL Profile on a Solace Event Broker.
|
|
591
|
+
|
|
592
|
+
```
|
|
593
|
+
USAGE
|
|
594
|
+
$ sc broker acl-profile publish-topic-exceptions create -a <value> -p <value> -s smf|mqtt [--json] [--log-level debug|warn|error|info|trace] [-b
|
|
595
|
+
<value> | -n <value>] [-v <value>]
|
|
596
|
+
|
|
597
|
+
FLAGS
|
|
598
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile.
|
|
599
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
600
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
601
|
+
-p, --publish-topic-exception=<value> (required) The topic for the exception. May include wildcards.
|
|
602
|
+
-s, --syntax=<option> (required) The syntax of the topic.
|
|
603
|
+
<options: smf|mqtt>
|
|
604
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
605
|
+
|
|
606
|
+
GLOBAL FLAGS
|
|
607
|
+
--json Format output as json.
|
|
608
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
609
|
+
<options: debug|warn|error|info|trace>
|
|
610
|
+
|
|
611
|
+
DESCRIPTION
|
|
612
|
+
Create a publish topic exception for an ACL Profile on a Solace Event Broker.
|
|
613
|
+
|
|
614
|
+
Adds an exception to the ACL Profile for clients publishing to specific topics. The exception is expressed as a topic
|
|
615
|
+
with optional wildcards and must specify the syntax type (smf or mqtt). The creation is synchronized to HA mates and
|
|
616
|
+
replication sites via config-sync.
|
|
617
|
+
|
|
618
|
+
EXAMPLES
|
|
619
|
+
$ sc broker acl-profile publish-topic-exceptions create --acl-profile-name=myProfile --publish-topic-exception="orders/*/created" --syntax=smf
|
|
620
|
+
|
|
621
|
+
$ sc broker acl-profile publish-topic-exceptions create --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --publish-topic-exception="devices/+/telemetry" --syntax=mqtt
|
|
622
|
+
```
|
|
623
|
+
|
|
624
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/publish-topic-exceptions/create.ts)_
|
|
625
|
+
|
|
626
|
+
## `sc broker acl-profile publish-topic-exceptions delete`
|
|
627
|
+
|
|
628
|
+
Delete a publish topic exception from an ACL Profile on a Solace Event Broker.
|
|
629
|
+
|
|
630
|
+
```
|
|
631
|
+
USAGE
|
|
632
|
+
$ sc broker acl-profile publish-topic-exceptions delete -a <value> -p <value> -s smf|mqtt [--json] [--log-level debug|warn|error|info|trace] [-b
|
|
633
|
+
<value> | -n <value>] [-v <value>] [--no-prompt]
|
|
634
|
+
|
|
635
|
+
FLAGS
|
|
636
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile.
|
|
637
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
638
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
639
|
+
-p, --publish-topic-exception=<value> (required) The topic of the exception to delete.
|
|
640
|
+
-s, --syntax=<option> (required) The syntax of the topic.
|
|
641
|
+
<options: smf|mqtt>
|
|
642
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
643
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
644
|
+
|
|
645
|
+
GLOBAL FLAGS
|
|
646
|
+
--json Format output as json.
|
|
647
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
648
|
+
<options: debug|warn|error|info|trace>
|
|
649
|
+
|
|
650
|
+
DESCRIPTION
|
|
651
|
+
Delete a publish topic exception from an ACL Profile on a Solace Event Broker.
|
|
652
|
+
|
|
653
|
+
Removes the specified publish topic exception from the ACL Profile. This is a destructive operation. The deletion is
|
|
654
|
+
synchronized to HA mates and replication sites via config-sync.
|
|
655
|
+
|
|
656
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
657
|
+
|
|
658
|
+
EXAMPLES
|
|
659
|
+
$ sc broker acl-profile publish-topic-exceptions delete --acl-profile-name=myProfile --publish-topic-exception="orders/*/created" --syntax=smf
|
|
660
|
+
|
|
661
|
+
$ sc broker acl-profile publish-topic-exceptions delete --acl-profile-name=myProfile --publish-topic-exception="devices/+/telemetry" --syntax=mqtt --no-prompt
|
|
662
|
+
|
|
663
|
+
$ sc broker acl-profile publish-topic-exceptions delete --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --publish-topic-exception="test/topic" --syntax=smf --no-prompt
|
|
664
|
+
```
|
|
665
|
+
|
|
666
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/publish-topic-exceptions/delete.ts)_
|
|
667
|
+
|
|
668
|
+
## `sc broker acl-profile publish-topic-exceptions list`
|
|
669
|
+
|
|
670
|
+
List publish topic exceptions for an ACL Profile from a Solace Event Broker.
|
|
671
|
+
|
|
672
|
+
```
|
|
673
|
+
USAGE
|
|
674
|
+
$ sc broker acl-profile publish-topic-exceptions list -a <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
675
|
+
<value>]
|
|
676
|
+
|
|
677
|
+
FLAGS
|
|
678
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile.
|
|
679
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
680
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
681
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
682
|
+
|
|
683
|
+
GLOBAL FLAGS
|
|
684
|
+
--json Format output as json.
|
|
685
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
686
|
+
<options: debug|warn|error|info|trace>
|
|
687
|
+
|
|
688
|
+
DESCRIPTION
|
|
689
|
+
List publish topic exceptions for an ACL Profile from a Solace Event Broker.
|
|
690
|
+
|
|
691
|
+
Retrieves and displays all publish topic exceptions configured for the specified ACL Profile using the SEMP Monitor
|
|
692
|
+
API.
|
|
693
|
+
|
|
694
|
+
EXAMPLES
|
|
695
|
+
$ sc broker acl-profile publish-topic-exceptions list --acl-profile-name=myProfile
|
|
696
|
+
|
|
697
|
+
$ sc broker acl-profile publish-topic-exceptions list --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default
|
|
698
|
+
```
|
|
699
|
+
|
|
700
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/publish-topic-exceptions/list.ts)_
|
|
701
|
+
|
|
702
|
+
## `sc broker acl-profile subscribe-share-name-exceptions create`
|
|
703
|
+
|
|
704
|
+
Create a subscribe share name exception for an ACL Profile on a Solace Event Broker.
|
|
705
|
+
|
|
706
|
+
```
|
|
707
|
+
USAGE
|
|
708
|
+
$ sc broker acl-profile subscribe-share-name-exceptions create -a <value> -s <value> -x smf|mqtt [--json] [--log-level debug|warn|error|info|trace] [-b
|
|
709
|
+
<value> | -n <value>] [-v <value>]
|
|
710
|
+
|
|
711
|
+
FLAGS
|
|
712
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile.
|
|
713
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
714
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
715
|
+
-s, --subscribe-share-name-exception=<value> (required) The share name for the exception. May include wildcards.
|
|
716
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
717
|
+
-x, --syntax=<option> (required) The syntax of the share name.
|
|
718
|
+
<options: smf|mqtt>
|
|
719
|
+
|
|
720
|
+
GLOBAL FLAGS
|
|
721
|
+
--json Format output as json.
|
|
722
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
723
|
+
<options: debug|warn|error|info|trace>
|
|
724
|
+
|
|
725
|
+
DESCRIPTION
|
|
726
|
+
Create a subscribe share name exception for an ACL Profile on a Solace Event Broker.
|
|
727
|
+
|
|
728
|
+
Adds an exception to the ACL Profile for clients subscribing to specific shared subscriptions. The exception is
|
|
729
|
+
expressed as a share name with optional wildcards and must specify the syntax type (smf or mqtt). The creation is
|
|
730
|
+
synchronized to HA mates and replication sites via config-sync.
|
|
731
|
+
|
|
732
|
+
EXAMPLES
|
|
733
|
+
$ sc broker acl-profile subscribe-share-name-exceptions create --acl-profile-name=myProfile --subscribe-share-name-exception="orders/*" --syntax=smf
|
|
734
|
+
|
|
735
|
+
$ sc broker acl-profile subscribe-share-name-exceptions create --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --subscribe-share-name-exception="devices/+" --syntax=mqtt
|
|
736
|
+
```
|
|
737
|
+
|
|
738
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/subscribe-share-name-exceptions/create.ts)_
|
|
739
|
+
|
|
740
|
+
## `sc broker acl-profile subscribe-share-name-exceptions delete`
|
|
741
|
+
|
|
742
|
+
Delete a subscribe share name exception from an ACL Profile on a Solace Event Broker.
|
|
743
|
+
|
|
744
|
+
```
|
|
745
|
+
USAGE
|
|
746
|
+
$ sc broker acl-profile subscribe-share-name-exceptions delete -a <value> -s <value> -x smf|mqtt [--json] [--log-level debug|warn|error|info|trace] [-b
|
|
747
|
+
<value> | -n <value>] [-v <value>] [--no-prompt]
|
|
748
|
+
|
|
749
|
+
FLAGS
|
|
750
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile.
|
|
751
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
752
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
753
|
+
-s, --subscribe-share-name-exception=<value> (required) The share name of the exception to delete.
|
|
754
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
755
|
+
-x, --syntax=<option> (required) The syntax of the share name.
|
|
756
|
+
<options: smf|mqtt>
|
|
757
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
758
|
+
|
|
759
|
+
GLOBAL FLAGS
|
|
760
|
+
--json Format output as json.
|
|
761
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
762
|
+
<options: debug|warn|error|info|trace>
|
|
763
|
+
|
|
764
|
+
DESCRIPTION
|
|
765
|
+
Delete a subscribe share name exception from an ACL Profile on a Solace Event Broker.
|
|
766
|
+
|
|
767
|
+
Removes the specified subscribe share name exception from the ACL Profile. This is a destructive operation. The
|
|
768
|
+
deletion is synchronized to HA mates and replication sites via config-sync.
|
|
769
|
+
|
|
770
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
771
|
+
|
|
772
|
+
EXAMPLES
|
|
773
|
+
$ sc broker acl-profile subscribe-share-name-exceptions delete --acl-profile-name=myProfile --subscribe-share-name-exception="orders/*" --syntax=smf
|
|
774
|
+
|
|
775
|
+
$ sc broker acl-profile subscribe-share-name-exceptions delete --acl-profile-name=myProfile --subscribe-share-name-exception="devices/+" --syntax=mqtt --no-prompt
|
|
776
|
+
|
|
777
|
+
$ sc broker acl-profile subscribe-share-name-exceptions delete --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --subscribe-share-name-exception="test/share" --syntax=smf --no-prompt
|
|
778
|
+
```
|
|
779
|
+
|
|
780
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/subscribe-share-name-exceptions/delete.ts)_
|
|
781
|
+
|
|
782
|
+
## `sc broker acl-profile subscribe-share-name-exceptions list`
|
|
783
|
+
|
|
784
|
+
List subscribe share name exceptions for an ACL Profile from a Solace Event Broker.
|
|
785
|
+
|
|
786
|
+
```
|
|
787
|
+
USAGE
|
|
788
|
+
$ sc broker acl-profile subscribe-share-name-exceptions list -a <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
789
|
+
<value>]
|
|
790
|
+
|
|
791
|
+
FLAGS
|
|
792
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile.
|
|
793
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
794
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
795
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
796
|
+
|
|
797
|
+
GLOBAL FLAGS
|
|
798
|
+
--json Format output as json.
|
|
799
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
800
|
+
<options: debug|warn|error|info|trace>
|
|
801
|
+
|
|
802
|
+
DESCRIPTION
|
|
803
|
+
List subscribe share name exceptions for an ACL Profile from a Solace Event Broker.
|
|
804
|
+
|
|
805
|
+
Retrieves and displays all subscribe share name exceptions configured for the specified ACL Profile using the SEMP
|
|
806
|
+
Monitor API.
|
|
807
|
+
|
|
808
|
+
EXAMPLES
|
|
809
|
+
$ sc broker acl-profile subscribe-share-name-exceptions list --acl-profile-name=myProfile
|
|
810
|
+
|
|
811
|
+
$ sc broker acl-profile subscribe-share-name-exceptions list --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default
|
|
812
|
+
```
|
|
813
|
+
|
|
814
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/subscribe-share-name-exceptions/list.ts)_
|
|
815
|
+
|
|
816
|
+
## `sc broker acl-profile subscribe-topic-exceptions create`
|
|
817
|
+
|
|
818
|
+
Create a subscribe topic exception for an ACL Profile on a Solace Event Broker.
|
|
819
|
+
|
|
820
|
+
```
|
|
821
|
+
USAGE
|
|
822
|
+
$ sc broker acl-profile subscribe-topic-exceptions create -a <value> -s <value> -x smf|mqtt [--json] [--log-level debug|warn|error|info|trace] [-b
|
|
823
|
+
<value> | -n <value>] [-v <value>]
|
|
824
|
+
|
|
825
|
+
FLAGS
|
|
826
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile.
|
|
827
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
828
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
829
|
+
-s, --subscribe-topic-exception=<value> (required) The topic for the exception. May include wildcards.
|
|
830
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
831
|
+
-x, --syntax=<option> (required) The syntax of the topic.
|
|
832
|
+
<options: smf|mqtt>
|
|
833
|
+
|
|
834
|
+
GLOBAL FLAGS
|
|
835
|
+
--json Format output as json.
|
|
836
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
837
|
+
<options: debug|warn|error|info|trace>
|
|
838
|
+
|
|
839
|
+
DESCRIPTION
|
|
840
|
+
Create a subscribe topic exception for an ACL Profile on a Solace Event Broker.
|
|
841
|
+
|
|
842
|
+
Adds an exception to the ACL Profile for clients subscribing to specific topics. The exception is expressed as a topic
|
|
843
|
+
with optional wildcards and must specify the syntax type (smf or mqtt). The creation is synchronized to HA mates and
|
|
844
|
+
replication sites via config-sync.
|
|
845
|
+
|
|
846
|
+
EXAMPLES
|
|
847
|
+
$ sc broker acl-profile subscribe-topic-exceptions create --acl-profile-name=myProfile --subscribe-topic-exception="orders/*/created" --syntax=smf
|
|
848
|
+
|
|
849
|
+
$ sc broker acl-profile subscribe-topic-exceptions create --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --subscribe-topic-exception="devices/+/telemetry" --syntax=mqtt
|
|
850
|
+
```
|
|
851
|
+
|
|
852
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/subscribe-topic-exceptions/create.ts)_
|
|
853
|
+
|
|
854
|
+
## `sc broker acl-profile subscribe-topic-exceptions delete`
|
|
855
|
+
|
|
856
|
+
Delete a subscribe topic exception from an ACL Profile on a Solace Event Broker.
|
|
857
|
+
|
|
858
|
+
```
|
|
859
|
+
USAGE
|
|
860
|
+
$ sc broker acl-profile subscribe-topic-exceptions delete -a <value> -s <value> -x smf|mqtt [--json] [--log-level debug|warn|error|info|trace] [-b
|
|
861
|
+
<value> | -n <value>] [-v <value>] [--no-prompt]
|
|
862
|
+
|
|
863
|
+
FLAGS
|
|
864
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile.
|
|
865
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
866
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
867
|
+
-s, --subscribe-topic-exception=<value> (required) The topic of the exception to delete.
|
|
868
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
869
|
+
-x, --syntax=<option> (required) The syntax of the topic.
|
|
870
|
+
<options: smf|mqtt>
|
|
871
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
872
|
+
|
|
873
|
+
GLOBAL FLAGS
|
|
874
|
+
--json Format output as json.
|
|
875
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
876
|
+
<options: debug|warn|error|info|trace>
|
|
877
|
+
|
|
878
|
+
DESCRIPTION
|
|
879
|
+
Delete a subscribe topic exception from an ACL Profile on a Solace Event Broker.
|
|
880
|
+
|
|
881
|
+
Removes the specified subscribe topic exception from the ACL Profile. This is a destructive operation. The deletion is
|
|
882
|
+
synchronized to HA mates and replication sites via config-sync.
|
|
883
|
+
|
|
884
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
885
|
+
|
|
886
|
+
EXAMPLES
|
|
887
|
+
$ sc broker acl-profile subscribe-topic-exceptions delete --acl-profile-name=myProfile --subscribe-topic-exception="orders/*/created" --syntax=smf
|
|
888
|
+
|
|
889
|
+
$ sc broker acl-profile subscribe-topic-exceptions delete --acl-profile-name=myProfile --subscribe-topic-exception="devices/+/telemetry" --syntax=mqtt --no-prompt
|
|
890
|
+
|
|
891
|
+
$ sc broker acl-profile subscribe-topic-exceptions delete --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --subscribe-topic-exception="test/topic" --syntax=smf --no-prompt
|
|
892
|
+
```
|
|
893
|
+
|
|
894
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/subscribe-topic-exceptions/delete.ts)_
|
|
895
|
+
|
|
896
|
+
## `sc broker acl-profile subscribe-topic-exceptions list`
|
|
897
|
+
|
|
898
|
+
List subscribe topic exceptions for an ACL Profile from a Solace Event Broker.
|
|
899
|
+
|
|
900
|
+
```
|
|
901
|
+
USAGE
|
|
902
|
+
$ sc broker acl-profile subscribe-topic-exceptions list -a <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
903
|
+
<value>]
|
|
904
|
+
|
|
905
|
+
FLAGS
|
|
906
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile.
|
|
907
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
908
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
909
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
910
|
+
|
|
911
|
+
GLOBAL FLAGS
|
|
912
|
+
--json Format output as json.
|
|
913
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
914
|
+
<options: debug|warn|error|info|trace>
|
|
915
|
+
|
|
916
|
+
DESCRIPTION
|
|
917
|
+
List subscribe topic exceptions for an ACL Profile from a Solace Event Broker.
|
|
918
|
+
|
|
919
|
+
Retrieves and displays all subscribe topic exceptions configured for the specified ACL Profile using the SEMP Monitor
|
|
920
|
+
API.
|
|
921
|
+
|
|
922
|
+
EXAMPLES
|
|
923
|
+
$ sc broker acl-profile subscribe-topic-exceptions list --acl-profile-name=myProfile
|
|
924
|
+
|
|
925
|
+
$ sc broker acl-profile subscribe-topic-exceptions list --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default
|
|
926
|
+
```
|
|
927
|
+
|
|
928
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/subscribe-topic-exceptions/list.ts)_
|
|
929
|
+
|
|
930
|
+
## `sc broker acl-profile update`
|
|
931
|
+
|
|
932
|
+
Update an ACL Profile on a Solace Event Broker.
|
|
933
|
+
|
|
934
|
+
```
|
|
935
|
+
USAGE
|
|
936
|
+
$ sc broker acl-profile update -a <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
937
|
+
<value>] [--client-connect-default-action allow|disallow] [--publish-topic-default-action allow|disallow]
|
|
938
|
+
[--subscribe-share-name-default-action allow|disallow] [--subscribe-topic-default-action allow|disallow]
|
|
939
|
+
|
|
940
|
+
FLAGS
|
|
941
|
+
-a, --acl-profile-name=<value> (required) The name of the ACL Profile to update.
|
|
942
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default
|
|
943
|
+
broker.
|
|
944
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
945
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
946
|
+
--client-connect-default-action=<option> The default action to take when a client using the ACL Profile
|
|
947
|
+
connects.
|
|
948
|
+
<options: allow|disallow>
|
|
949
|
+
--publish-topic-default-action=<option> The default action to take when a client using the ACL Profile
|
|
950
|
+
publishes to a topic.
|
|
951
|
+
<options: allow|disallow>
|
|
952
|
+
--subscribe-share-name-default-action=<option> The default action to take when a client using the ACL Profile
|
|
953
|
+
subscribes to a share-name subscription.
|
|
954
|
+
<options: allow|disallow>
|
|
955
|
+
--subscribe-topic-default-action=<option> The default action to take when a client using the ACL Profile
|
|
956
|
+
subscribes to a topic.
|
|
957
|
+
<options: allow|disallow>
|
|
958
|
+
|
|
959
|
+
GLOBAL FLAGS
|
|
960
|
+
--json Format output as json.
|
|
961
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
962
|
+
<options: debug|warn|error|info|trace>
|
|
963
|
+
|
|
964
|
+
DESCRIPTION
|
|
965
|
+
Update an ACL Profile on a Solace Event Broker.
|
|
966
|
+
|
|
967
|
+
Any attribute missing from the request will be left unchanged. The update of instances of this object are synchronized
|
|
968
|
+
to HA mates and replication sites via config-sync.
|
|
969
|
+
|
|
970
|
+
EXAMPLES
|
|
971
|
+
$ sc broker acl-profile update --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --client-connect-default-action=allow
|
|
972
|
+
|
|
973
|
+
$ sc broker acl-profile update --broker-id=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --publish-topic-default-action=allow
|
|
974
|
+
|
|
975
|
+
$ sc broker acl-profile update --broker-name=dev-broker --acl-profile-name=myProfile --msg-vpn-name=default --subscribe-topic-default-action=allow --subscribe-share-name-default-action=disallow
|
|
976
|
+
|
|
977
|
+
$ sc broker acl-profile update --acl-profile-name=myProfile --publish-topic-default-action=disallow
|
|
978
|
+
```
|
|
979
|
+
|
|
980
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/acl-profile/update.ts)_
|
|
981
|
+
|
|
982
|
+
## `sc broker client-profile create`
|
|
983
|
+
|
|
984
|
+
Create a Client Profile on a Solace Event Broker.
|
|
985
|
+
|
|
986
|
+
```
|
|
987
|
+
USAGE
|
|
988
|
+
$ sc broker client-profile create -c <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
989
|
+
<value>] [--allow-bridge-connections-enabled] [--allow-guaranteed-endpoint-create-durability
|
|
990
|
+
all|durable|non-durable] [--allow-guaranteed-endpoint-create-enabled] [--allow-guaranteed-msg-receive-enabled]
|
|
991
|
+
[--allow-guaranteed-msg-send-enabled] [--allow-shared-subscriptions-enabled] [--allow-transacted-sessions-enabled]
|
|
992
|
+
[--api-queue-management-copy-from-on-create-name <value>] [--api-queue-management-copy-from-on-create-template-name
|
|
993
|
+
<value>] [--compression-enabled] [--eliding-delay <value>] [--eliding-enabled]
|
|
994
|
+
[--tls-allow-downgrade-to-plain-text-enabled]
|
|
995
|
+
|
|
996
|
+
FLAGS
|
|
997
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses
|
|
998
|
+
the default broker.
|
|
999
|
+
-c, --client-profile-name=<value> (required) The name of the client profile to
|
|
1000
|
+
create.
|
|
1001
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the
|
|
1002
|
+
default broker.
|
|
1003
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1004
|
+
--[no-]allow-bridge-connections-enabled Enable or disable allowing Bridge clients using
|
|
1005
|
+
the Client Profile to connect.
|
|
1006
|
+
--allow-guaranteed-endpoint-create-durability=<option> The types of Queues and Topic Endpoints that
|
|
1007
|
+
clients can create.
|
|
1008
|
+
<options: all|durable|non-durable>
|
|
1009
|
+
--[no-]allow-guaranteed-endpoint-create-enabled Enable or disable allowing clients to create
|
|
1010
|
+
topic endpoints or queues.
|
|
1011
|
+
--[no-]allow-guaranteed-msg-receive-enabled Enable or disable allowing clients to receive
|
|
1012
|
+
guaranteed messages.
|
|
1013
|
+
--[no-]allow-guaranteed-msg-send-enabled Enable or disable allowing clients to send
|
|
1014
|
+
guaranteed messages.
|
|
1015
|
+
--[no-]allow-shared-subscriptions-enabled Enable or disable allowing shared subscriptions.
|
|
1016
|
+
--[no-]allow-transacted-sessions-enabled Enable or disable allowing clients to establish
|
|
1017
|
+
transacted sessions.
|
|
1018
|
+
--api-queue-management-copy-from-on-create-name=<value> The name of a queue to copy settings from when a
|
|
1019
|
+
new queue is created by a client.
|
|
1020
|
+
--api-queue-management-copy-from-on-create-template-name=<value> The name of a queue template to copy settings
|
|
1021
|
+
from when a new queue is created by a client.
|
|
1022
|
+
--[no-]compression-enabled Enable or disable allowing clients to use
|
|
1023
|
+
compression.
|
|
1024
|
+
--eliding-delay=<value> The amount of time to delay the delivery of
|
|
1025
|
+
messages to clients, in milliseconds.
|
|
1026
|
+
--[no-]eliding-enabled Enable or disable message eliding.
|
|
1027
|
+
--[no-]tls-allow-downgrade-to-plain-text-enabled Enable or disable allowing a client to downgrade
|
|
1028
|
+
an encrypted connection to plain text.
|
|
1029
|
+
|
|
1030
|
+
GLOBAL FLAGS
|
|
1031
|
+
--json Format output as json.
|
|
1032
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1033
|
+
<options: debug|warn|error|info|trace>
|
|
1034
|
+
|
|
1035
|
+
DESCRIPTION
|
|
1036
|
+
Create a Client Profile on a Solace Event Broker.
|
|
1037
|
+
|
|
1038
|
+
Any attribute missing from the request will be set to its default value. The creation of instances of this object are
|
|
1039
|
+
synchronized to HA mates and replication sites via config-sync.
|
|
1040
|
+
|
|
1041
|
+
EXAMPLES
|
|
1042
|
+
$ sc broker client-profile create --broker-name=dev-broker --client-profile-name=myProfile --msg-vpn-name=default
|
|
1043
|
+
|
|
1044
|
+
$ sc broker client-profile create --broker-id=dev-broker --client-profile-name=myProfile --msg-vpn-name=default --allow-guaranteed-msg-receive-enabled
|
|
1045
|
+
|
|
1046
|
+
$ sc broker client-profile create --broker-name=dev-broker --client-profile-name=myProfile --msg-vpn-name=default --compression-enabled --eliding-enabled
|
|
1047
|
+
|
|
1048
|
+
$ sc broker client-profile create --client-profile-name=myProfile
|
|
1049
|
+
```
|
|
1050
|
+
|
|
1051
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/client-profile/create.ts)_
|
|
1052
|
+
|
|
1053
|
+
## `sc broker client-profile delete`
|
|
1054
|
+
|
|
1055
|
+
Delete a Client Profile from a Solace Event Broker.
|
|
1056
|
+
|
|
1057
|
+
```
|
|
1058
|
+
USAGE
|
|
1059
|
+
$ sc broker client-profile delete -c <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
1060
|
+
<value>] [--no-prompt]
|
|
1061
|
+
|
|
1062
|
+
FLAGS
|
|
1063
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1064
|
+
-c, --client-profile-name=<value> (required) The name of the client profile to delete.
|
|
1065
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1066
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1067
|
+
--no-prompt Skip confirmation prompt.
|
|
1068
|
+
|
|
1069
|
+
GLOBAL FLAGS
|
|
1070
|
+
--json Format output as json.
|
|
1071
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1072
|
+
<options: debug|warn|error|info|trace>
|
|
1073
|
+
|
|
1074
|
+
DESCRIPTION
|
|
1075
|
+
Delete a Client Profile from a Solace Event Broker.
|
|
1076
|
+
|
|
1077
|
+
Deletes the specified Client Profile from the Message VPN. This action cannot be undone. A confirmation prompt will be
|
|
1078
|
+
displayed unless --no-prompt is specified.
|
|
1079
|
+
|
|
1080
|
+
EXAMPLES
|
|
1081
|
+
$ sc broker client-profile delete --broker-name=dev-broker --client-profile-name=myProfile --msg-vpn-name=default
|
|
1082
|
+
|
|
1083
|
+
$ sc broker client-profile delete --broker-id=dev-broker --client-profile-name=myProfile --msg-vpn-name=default --no-prompt
|
|
1084
|
+
|
|
1085
|
+
$ sc broker client-profile delete --client-profile-name=myProfile
|
|
1086
|
+
|
|
1087
|
+
$ sc broker client-profile delete --client-profile-name=myProfile --no-prompt
|
|
1088
|
+
```
|
|
1089
|
+
|
|
1090
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/client-profile/delete.ts)_
|
|
1091
|
+
|
|
1092
|
+
## `sc broker client-profile display`
|
|
1093
|
+
|
|
1094
|
+
Display a Client Profile from a Solace Event Broker.
|
|
1095
|
+
|
|
1096
|
+
```
|
|
1097
|
+
USAGE
|
|
1098
|
+
$ sc broker client-profile display -c <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
1099
|
+
<value>]
|
|
1100
|
+
|
|
1101
|
+
FLAGS
|
|
1102
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1103
|
+
-c, --client-profile-name=<value> (required) The name of the client profile to display.
|
|
1104
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1105
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1106
|
+
|
|
1107
|
+
GLOBAL FLAGS
|
|
1108
|
+
--json Format output as json.
|
|
1109
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1110
|
+
<options: debug|warn|error|info|trace>
|
|
1111
|
+
|
|
1112
|
+
DESCRIPTION
|
|
1113
|
+
Display a Client Profile from a Solace Event Broker.
|
|
1114
|
+
|
|
1115
|
+
Retrieves and displays detailed information about a specific Client Profile using the SEMP Monitor API.
|
|
1116
|
+
|
|
1117
|
+
EXAMPLES
|
|
1118
|
+
$ sc broker client-profile display --broker-name=dev-broker --client-profile-name=myProfile --msg-vpn-name=default
|
|
1119
|
+
|
|
1120
|
+
$ sc broker client-profile display --broker-id=dev-broker --client-profile-name=myProfile --msg-vpn-name=default
|
|
1121
|
+
|
|
1122
|
+
$ sc broker client-profile display --client-profile-name=myProfile
|
|
1123
|
+
```
|
|
1124
|
+
|
|
1125
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/client-profile/display.ts)_
|
|
1126
|
+
|
|
1127
|
+
## `sc broker client-profile list`
|
|
1128
|
+
|
|
1129
|
+
List Client Profiles from a Solace Event Broker.
|
|
1130
|
+
|
|
1131
|
+
```
|
|
1132
|
+
USAGE
|
|
1133
|
+
$ sc broker client-profile list [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v <value>] [-a]
|
|
1134
|
+
[-c <value>] [--count <value>] [-s <value>]
|
|
1135
|
+
|
|
1136
|
+
FLAGS
|
|
1137
|
+
-a, --all Display all client profiles (auto-pagination).
|
|
1138
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1139
|
+
-c, --client-profile-name=<value> Filter client profiles by name. Supports * wildcard.
|
|
1140
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1141
|
+
-s, --select=<value> Comma-separated list of attributes to display (max 10).
|
|
1142
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1143
|
+
--count=<value> [default: 10] Number of client profiles to display per page.
|
|
1144
|
+
|
|
1145
|
+
GLOBAL FLAGS
|
|
1146
|
+
--json Format output as json.
|
|
1147
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1148
|
+
<options: debug|warn|error|info|trace>
|
|
1149
|
+
|
|
1150
|
+
DESCRIPTION
|
|
1151
|
+
List Client Profiles from a Solace Event Broker.
|
|
1152
|
+
|
|
1153
|
+
Retrieves and displays Client Profiles from the specified Message VPN using the SEMP Monitor API.
|
|
1154
|
+
Supports filtering by name (with wildcards), custom attribute selection, and pagination.
|
|
1155
|
+
|
|
1156
|
+
EXAMPLES
|
|
1157
|
+
$ sc broker client-profile list
|
|
1158
|
+
|
|
1159
|
+
$ sc broker client-profile list --count=20
|
|
1160
|
+
|
|
1161
|
+
$ sc broker client-profile list --client-profile-name="test*"
|
|
1162
|
+
|
|
1163
|
+
$ sc broker client-profile list --select=clientProfileName,compressionEnabled,elidingEnabled
|
|
1164
|
+
|
|
1165
|
+
$ sc broker client-profile list --all
|
|
1166
|
+
|
|
1167
|
+
$ sc broker client-profile list --client-profile-name="*prod*" --count=5 --all
|
|
1168
|
+
```
|
|
1169
|
+
|
|
1170
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/client-profile/list.ts)_
|
|
1171
|
+
|
|
1172
|
+
## `sc broker client-profile update`
|
|
1173
|
+
|
|
1174
|
+
Update a Client Profile on a Solace Event Broker.
|
|
1175
|
+
|
|
1176
|
+
```
|
|
1177
|
+
USAGE
|
|
1178
|
+
$ sc broker client-profile update -c <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
1179
|
+
<value>] [--allow-bridge-connections-enabled] [--allow-guaranteed-endpoint-create-durability
|
|
1180
|
+
all|durable|non-durable] [--allow-guaranteed-endpoint-create-enabled] [--allow-guaranteed-msg-receive-enabled]
|
|
1181
|
+
[--allow-guaranteed-msg-send-enabled] [--allow-shared-subscriptions-enabled] [--allow-transacted-sessions-enabled]
|
|
1182
|
+
[--api-queue-management-copy-from-on-create-name <value>] [--api-queue-management-copy-from-on-create-template-name
|
|
1183
|
+
<value>] [--compression-enabled] [--eliding-delay <value>] [--eliding-enabled]
|
|
1184
|
+
[--tls-allow-downgrade-to-plain-text-enabled]
|
|
1185
|
+
|
|
1186
|
+
FLAGS
|
|
1187
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses
|
|
1188
|
+
the default broker.
|
|
1189
|
+
-c, --client-profile-name=<value> (required) The name of the client profile to
|
|
1190
|
+
update.
|
|
1191
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the
|
|
1192
|
+
default broker.
|
|
1193
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1194
|
+
--[no-]allow-bridge-connections-enabled Enable or disable allowing Bridge clients using
|
|
1195
|
+
the Client Profile to connect.
|
|
1196
|
+
--allow-guaranteed-endpoint-create-durability=<option> The types of Queues and Topic Endpoints that
|
|
1197
|
+
clients can create.
|
|
1198
|
+
<options: all|durable|non-durable>
|
|
1199
|
+
--[no-]allow-guaranteed-endpoint-create-enabled Enable or disable allowing clients to create
|
|
1200
|
+
topic endpoints or queues.
|
|
1201
|
+
--[no-]allow-guaranteed-msg-receive-enabled Enable or disable allowing clients to receive
|
|
1202
|
+
guaranteed messages.
|
|
1203
|
+
--[no-]allow-guaranteed-msg-send-enabled Enable or disable allowing clients to send
|
|
1204
|
+
guaranteed messages.
|
|
1205
|
+
--[no-]allow-shared-subscriptions-enabled Enable or disable allowing shared subscriptions.
|
|
1206
|
+
--[no-]allow-transacted-sessions-enabled Enable or disable allowing clients to establish
|
|
1207
|
+
transacted sessions.
|
|
1208
|
+
--api-queue-management-copy-from-on-create-name=<value> The name of a queue to copy settings from when a
|
|
1209
|
+
new queue is created by a client.
|
|
1210
|
+
--api-queue-management-copy-from-on-create-template-name=<value> The name of a queue template to copy settings
|
|
1211
|
+
from when a new queue is created by a client.
|
|
1212
|
+
--[no-]compression-enabled Enable or disable allowing clients to use
|
|
1213
|
+
compression.
|
|
1214
|
+
--eliding-delay=<value> The amount of time to delay the delivery of
|
|
1215
|
+
messages to clients, in milliseconds.
|
|
1216
|
+
--[no-]eliding-enabled Enable or disable message eliding.
|
|
1217
|
+
--[no-]tls-allow-downgrade-to-plain-text-enabled Enable or disable allowing a client to downgrade
|
|
1218
|
+
an encrypted connection to plain text.
|
|
1219
|
+
|
|
1220
|
+
GLOBAL FLAGS
|
|
1221
|
+
--json Format output as json.
|
|
1222
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1223
|
+
<options: debug|warn|error|info|trace>
|
|
1224
|
+
|
|
1225
|
+
DESCRIPTION
|
|
1226
|
+
Update a Client Profile on a Solace Event Broker.
|
|
1227
|
+
|
|
1228
|
+
Updates the configuration of an existing Client Profile. Only provided attributes will be updated (PATCH semantics).
|
|
1229
|
+
The updates are synchronized to HA mates and replication sites via config-sync.
|
|
1230
|
+
|
|
1231
|
+
EXAMPLES
|
|
1232
|
+
$ sc broker client-profile update --broker-name=dev-broker --client-profile-name=myProfile --msg-vpn-name=default --compression-enabled
|
|
1233
|
+
|
|
1234
|
+
$ sc broker client-profile update --broker-id=dev-broker --client-profile-name=myProfile --msg-vpn-name=default --no-eliding-enabled
|
|
1235
|
+
|
|
1236
|
+
$ 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
|
|
1237
|
+
|
|
1238
|
+
$ sc broker client-profile update --client-profile-name=myProfile --eliding-delay=100
|
|
1239
|
+
```
|
|
1240
|
+
|
|
1241
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/client-profile/update.ts)_
|
|
1242
|
+
|
|
1243
|
+
## `sc broker login basic`
|
|
1244
|
+
|
|
1245
|
+
Authorize the SC CLI to make SEMP API calls to a Solace Event Broker using Basic authentication.
|
|
1246
|
+
|
|
1247
|
+
```
|
|
1248
|
+
USAGE
|
|
1249
|
+
$ sc broker login basic -b <value> -p <value> -u <value> [--json] [--log-level debug|warn|error|info|trace]
|
|
1250
|
+
[--no-prompt] [-d]
|
|
1251
|
+
|
|
1252
|
+
FLAGS
|
|
1253
|
+
-b, --broker-name=<value> (required) Name/identifier for the broker
|
|
1254
|
+
-d, --set-default Set this broker as the default
|
|
1255
|
+
-p, --semp-port=<value> (required) SEMP port number (1-65535)
|
|
1256
|
+
-u, --semp-url=<value> (required) SEMP endpoint URL (must start with http:// or https://)
|
|
1257
|
+
--no-prompt Read credentials from SC_SEMP_USERNAME and SC_SEMP_PASSWORD environment variables
|
|
1258
|
+
|
|
1259
|
+
GLOBAL FLAGS
|
|
1260
|
+
--json Format output as json.
|
|
1261
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1262
|
+
<options: debug|warn|error|info|trace>
|
|
1263
|
+
|
|
1264
|
+
DESCRIPTION
|
|
1265
|
+
Authorize the SC CLI to make SEMP API calls to a Solace Event Broker using Basic authentication.
|
|
1266
|
+
|
|
1267
|
+
Stores broker credentials securely using encrypted local storage.
|
|
1268
|
+
Credentials are base64-encoded and encrypted before storage.
|
|
1269
|
+
|
|
1270
|
+
If a broker with the same name already exists, you'll be prompted to overwrite.
|
|
1271
|
+
|
|
1272
|
+
EXAMPLES
|
|
1273
|
+
$ sc broker login basic --broker-name=dev-broker --semp-url=https://localhost --semp-port=8080
|
|
1274
|
+
|
|
1275
|
+
$ sc broker login basic --broker-name=ci-broker --semp-url=http://192.168.1.100 --semp-port=8080 --no-prompt
|
|
1276
|
+
|
|
1277
|
+
$ sc broker login basic --broker-name=default-broker --semp-url=https://broker.example.com --semp-port=943 --set-default
|
|
1278
|
+
```
|
|
1279
|
+
|
|
1280
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/login/basic.ts)_
|
|
1281
|
+
|
|
1282
|
+
## `sc broker login cloud`
|
|
1283
|
+
|
|
1284
|
+
Authorize the SC CLI to make SEMP API calls to a Solace Cloud Event Broker using Basic Authentication.
|
|
1285
|
+
|
|
1286
|
+
```
|
|
1287
|
+
USAGE
|
|
1288
|
+
$ sc broker login cloud -b <value> [--json] [--log-level debug|warn|error|info|trace] [--no-prompt] [-o <value>] [-d]
|
|
1289
|
+
|
|
1290
|
+
FLAGS
|
|
1291
|
+
-b, --broker-name=<value> (required) Name of the broker in Solace Cloud
|
|
1292
|
+
-d, --set-default Set this broker as the default
|
|
1293
|
+
-o, --org-name=<value> Solace Cloud organization name (uses default org if not specified)
|
|
1294
|
+
--no-prompt Skip confirmation prompts for overwriting existing broker
|
|
1295
|
+
|
|
1296
|
+
GLOBAL FLAGS
|
|
1297
|
+
--json Format output as json.
|
|
1298
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1299
|
+
<options: debug|warn|error|info|trace>
|
|
1300
|
+
|
|
1301
|
+
DESCRIPTION
|
|
1302
|
+
Authorize the SC CLI to make SEMP API calls to a Solace Cloud Event Broker using Basic Authentication.
|
|
1303
|
+
|
|
1304
|
+
Retrieves SEMP credentials automatically from Event Broker Service using Solace Cloud REST API.
|
|
1305
|
+
Requires prior authentication to Solace Cloud (sc:account:login).
|
|
1306
|
+
|
|
1307
|
+
The command will:
|
|
1308
|
+
1. Look up the broker by name in your Solace Cloud organization
|
|
1309
|
+
2. Retrieve SEMP endpoint details and credentials from Cloud API
|
|
1310
|
+
3. Store encrypted broker credentials locally for future use
|
|
1311
|
+
|
|
1312
|
+
Required Cloud API permissions: Read access to Event Broker Services
|
|
1313
|
+
|
|
1314
|
+
EXAMPLES
|
|
1315
|
+
$ sc broker login cloud --broker-name=production-broker
|
|
1316
|
+
|
|
1317
|
+
$ sc broker login cloud --broker-name=dev-broker --set-default
|
|
1318
|
+
|
|
1319
|
+
$ sc broker login cloud --broker-name=staging-broker --org-name=my-org
|
|
1320
|
+
|
|
1321
|
+
$ sc broker login cloud --broker-name=prod --no-prompt
|
|
1322
|
+
```
|
|
1323
|
+
|
|
1324
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/login/cloud.ts)_
|
|
1325
|
+
|
|
1326
|
+
## `sc broker login list`
|
|
1327
|
+
|
|
1328
|
+
List all authenticated brokers.
|
|
1329
|
+
|
|
1330
|
+
```
|
|
1331
|
+
USAGE
|
|
1332
|
+
$ sc broker login list [--json] [--log-level debug|warn|error|info|trace]
|
|
1333
|
+
|
|
1334
|
+
GLOBAL FLAGS
|
|
1335
|
+
--json Format output as json.
|
|
1336
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1337
|
+
<options: debug|warn|error|info|trace>
|
|
1338
|
+
|
|
1339
|
+
DESCRIPTION
|
|
1340
|
+
List all authenticated brokers.
|
|
1341
|
+
|
|
1342
|
+
Displays brokers you have logged into, including their authentication type, SEMP endpoints, and which one is set as
|
|
1343
|
+
default.
|
|
1344
|
+
|
|
1345
|
+
EXAMPLES
|
|
1346
|
+
$ sc broker login list
|
|
1347
|
+
```
|
|
1348
|
+
|
|
1349
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/login/list.ts)_
|
|
1350
|
+
|
|
1351
|
+
## `sc broker logout`
|
|
1352
|
+
|
|
1353
|
+
Logout from authenticated brokers.
|
|
1354
|
+
|
|
1355
|
+
```
|
|
1356
|
+
USAGE
|
|
1357
|
+
$ sc broker logout [--json] [--log-level debug|warn|error|info|trace] [-a | -b <value>] [--no-prompt]
|
|
1358
|
+
|
|
1359
|
+
FLAGS
|
|
1360
|
+
-a, --all Logout from all brokers
|
|
1361
|
+
-b, --broker-name=<value> Broker name to logout from
|
|
1362
|
+
--no-prompt Skip confirmation prompt and assume Yes
|
|
1363
|
+
|
|
1364
|
+
GLOBAL FLAGS
|
|
1365
|
+
--json Format output as json.
|
|
1366
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1367
|
+
<options: debug|warn|error|info|trace>
|
|
1368
|
+
|
|
1369
|
+
DESCRIPTION
|
|
1370
|
+
Logout from authenticated brokers.
|
|
1371
|
+
|
|
1372
|
+
Removes locally stored broker credentials.
|
|
1373
|
+
Interactive mode allows selection with arrow keys and spacebar.
|
|
1374
|
+
|
|
1375
|
+
EXAMPLES
|
|
1376
|
+
$ sc broker logout
|
|
1377
|
+
|
|
1378
|
+
$ sc broker logout --broker-name=dev-broker
|
|
1379
|
+
|
|
1380
|
+
$ sc broker logout --all
|
|
1381
|
+
|
|
1382
|
+
$ sc broker logout --broker-name=prod --no-prompt
|
|
1383
|
+
```
|
|
1384
|
+
|
|
1385
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/logout.ts)_
|
|
1386
|
+
|
|
1387
|
+
## `sc broker queue create`
|
|
1388
|
+
|
|
1389
|
+
Create a Queue on a Solace Event Broker.
|
|
1390
|
+
|
|
1391
|
+
```
|
|
1392
|
+
USAGE
|
|
1393
|
+
$ sc broker queue create -q <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
1394
|
+
<value>] [-a exclusive|non-exclusive] [--dead-msg-queue <value>] [--egress-enabled] [--ingress-enabled] [-s <value>]
|
|
1395
|
+
[--max-redelivery-count <value>] [--max-ttl <value>] [-o <value>] [-p
|
|
1396
|
+
consume|delete|modify-topic|no-access|read-only] [--respect-ttl-enabled]
|
|
1397
|
+
|
|
1398
|
+
FLAGS
|
|
1399
|
+
-a, --access-type=<option> The access type for the queue.
|
|
1400
|
+
<options: exclusive|non-exclusive>
|
|
1401
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1402
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1403
|
+
-o, --owner=<value> The client username that owns the queue and has permission equivalent to delete.
|
|
1404
|
+
-p, --permission=<option> [default: consume] The permission level for all consumers of the queue, excluding
|
|
1405
|
+
the owner.
|
|
1406
|
+
<options: consume|delete|modify-topic|no-access|read-only>
|
|
1407
|
+
-q, --queue-name=<value> (required) The name of the queue to create.
|
|
1408
|
+
-s, --max-msg-spool-usage=<value> The maximum message spool usage allowed by the queue, in megabytes (MB).
|
|
1409
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1410
|
+
--dead-msg-queue=<value> The name of the Dead Message Queue.
|
|
1411
|
+
--[no-]egress-enabled Enable or disable egress (message consumption) from the queue.
|
|
1412
|
+
--[no-]ingress-enabled Enable or disable ingress (message reception) to the queue.
|
|
1413
|
+
--max-redelivery-count=<value> The maximum number of times a message will be redelivered before it is discarded
|
|
1414
|
+
or moved to the DMQ.
|
|
1415
|
+
--max-ttl=<value> The maximum time in seconds a message can stay in the queue when
|
|
1416
|
+
respect-ttl-enabled is true.
|
|
1417
|
+
--[no-]respect-ttl-enabled Enable or disable the respecting of the time-to-live (TTL) for messages.
|
|
1418
|
+
|
|
1419
|
+
GLOBAL FLAGS
|
|
1420
|
+
--json Format output as json.
|
|
1421
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1422
|
+
<options: debug|warn|error|info|trace>
|
|
1423
|
+
|
|
1424
|
+
DESCRIPTION
|
|
1425
|
+
Create a Queue on a Solace Event Broker.
|
|
1426
|
+
|
|
1427
|
+
Any attribute missing from the request will be set to its default value. The creation of instances of this object are
|
|
1428
|
+
synchronized to HA mates and replication sites via config-sync.
|
|
1429
|
+
|
|
1430
|
+
EXAMPLES
|
|
1431
|
+
$ sc broker queue create --broker-name=dev-broker --queue-name=myQueue --msg-vpn-name=default
|
|
1432
|
+
|
|
1433
|
+
$ sc broker queue create --broker-id=dev-broker --queue-name=myQueue --msg-vpn-name=default --access-type=non-exclusive
|
|
1434
|
+
|
|
1435
|
+
$ sc broker queue create --broker-name=dev-broker --queue-name=myQueue --msg-vpn-name=default --max-msg-spool-usage=1024 --egress-enabled --ingress-enabled
|
|
1436
|
+
|
|
1437
|
+
$ sc broker queue create --queue-name=myQueue
|
|
1438
|
+
```
|
|
1439
|
+
|
|
1440
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/queue/create.ts)_
|
|
1441
|
+
|
|
1442
|
+
## `sc broker queue delete`
|
|
1443
|
+
|
|
1444
|
+
Delete a Queue from a Solace Event Broker.
|
|
1445
|
+
|
|
1446
|
+
```
|
|
1447
|
+
USAGE
|
|
1448
|
+
$ sc broker queue delete -q <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
1449
|
+
<value>] [--no-prompt]
|
|
1450
|
+
|
|
1451
|
+
FLAGS
|
|
1452
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1453
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1454
|
+
-q, --queue-name=<value> (required) The name of the queue to delete.
|
|
1455
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1456
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
1457
|
+
|
|
1458
|
+
GLOBAL FLAGS
|
|
1459
|
+
--json Format output as json.
|
|
1460
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1461
|
+
<options: debug|warn|error|info|trace>
|
|
1462
|
+
|
|
1463
|
+
DESCRIPTION
|
|
1464
|
+
Delete a Queue from a Solace Event Broker.
|
|
1465
|
+
|
|
1466
|
+
Deletes the specified queue from the Message VPN. This is a destructive operation that removes the queue and all its
|
|
1467
|
+
messages. Any messages persisted on the queue will also be deleted.
|
|
1468
|
+
|
|
1469
|
+
The deletion is synchronized to HA mates and replication sites via config-sync.
|
|
1470
|
+
|
|
1471
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
1472
|
+
|
|
1473
|
+
EXAMPLES
|
|
1474
|
+
$ sc broker queue delete --queue-name=myQueue --msg-vpn-name=default
|
|
1475
|
+
|
|
1476
|
+
$ sc broker queue delete --broker-name=dev-broker --queue-name=myQueue
|
|
1477
|
+
|
|
1478
|
+
$ sc broker queue delete --queue-name=myQueue --no-prompt
|
|
1479
|
+
|
|
1480
|
+
$ sc broker queue delete --broker-id=prod --queue-name=tempQueue --msg-vpn-name=production --no-prompt
|
|
1481
|
+
```
|
|
1482
|
+
|
|
1483
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/queue/delete.ts)_
|
|
1484
|
+
|
|
1485
|
+
## `sc broker queue display`
|
|
1486
|
+
|
|
1487
|
+
Display queue information from a Solace Event Broker.
|
|
1488
|
+
|
|
1489
|
+
```
|
|
1490
|
+
USAGE
|
|
1491
|
+
$ sc broker queue display -q <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
1492
|
+
<value>] [-s]
|
|
1493
|
+
|
|
1494
|
+
FLAGS
|
|
1495
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1496
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1497
|
+
-q, --queue-name=<value> (required) The name of the queue to display.
|
|
1498
|
+
-s, --show-subscriptions Display only queue subscriptions without queue details.
|
|
1499
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1500
|
+
|
|
1501
|
+
GLOBAL FLAGS
|
|
1502
|
+
--json Format output as json.
|
|
1503
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1504
|
+
<options: debug|warn|error|info|trace>
|
|
1505
|
+
|
|
1506
|
+
DESCRIPTION
|
|
1507
|
+
Display queue information from a Solace Event Broker.
|
|
1508
|
+
|
|
1509
|
+
Retrieves and displays detailed information about a queue using the SEMP Monitor API, including operational state,
|
|
1510
|
+
statistics, and configuration.
|
|
1511
|
+
|
|
1512
|
+
EXAMPLES
|
|
1513
|
+
$ sc broker queue display --queue-name=myQueue --msg-vpn-name=default
|
|
1514
|
+
|
|
1515
|
+
$ sc broker queue display --broker-name=dev-broker --queue-name=myQueue --msg-vpn-name=default
|
|
1516
|
+
|
|
1517
|
+
$ sc broker queue display --queue-name=myQueue --show-subscriptions
|
|
1518
|
+
|
|
1519
|
+
$ sc broker queue display --queue-name=myQueue
|
|
1520
|
+
```
|
|
1521
|
+
|
|
1522
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/queue/display.ts)_
|
|
1523
|
+
|
|
1524
|
+
## `sc broker queue list`
|
|
1525
|
+
|
|
1526
|
+
List queues from a Solace Event Broker.
|
|
1527
|
+
|
|
1528
|
+
```
|
|
1529
|
+
USAGE
|
|
1530
|
+
$ sc broker queue list [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v <value>] [-a]
|
|
1531
|
+
[-c <value>] [-q <value>] [-s <value>]
|
|
1532
|
+
|
|
1533
|
+
FLAGS
|
|
1534
|
+
-a, --all Display all queues (auto-pagination).
|
|
1535
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1536
|
+
-c, --count=<value> [default: 10] Number of queues to display per page.
|
|
1537
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1538
|
+
-q, --queue-name=<value> Filter queues by name. Supports * wildcard.
|
|
1539
|
+
-s, --select=<value> Comma-separated list of attributes to display (max 10).
|
|
1540
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1541
|
+
|
|
1542
|
+
GLOBAL FLAGS
|
|
1543
|
+
--json Format output as json.
|
|
1544
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1545
|
+
<options: debug|warn|error|info|trace>
|
|
1546
|
+
|
|
1547
|
+
DESCRIPTION
|
|
1548
|
+
List queues from a Solace Event Broker.
|
|
1549
|
+
|
|
1550
|
+
Retrieves and displays queues from the specified Message VPN using the SEMP Monitor API.
|
|
1551
|
+
Supports filtering by name (with wildcards), custom attribute selection, and pagination.
|
|
1552
|
+
|
|
1553
|
+
EXAMPLES
|
|
1554
|
+
$ sc broker queue list
|
|
1555
|
+
|
|
1556
|
+
$ sc broker queue list --count=20
|
|
1557
|
+
|
|
1558
|
+
$ sc broker queue list --queue-name="order*"
|
|
1559
|
+
|
|
1560
|
+
$ sc broker queue list --select=queueName,owner,maxMsgSpoolUsage
|
|
1561
|
+
|
|
1562
|
+
$ sc broker queue list --all
|
|
1563
|
+
|
|
1564
|
+
$ sc broker queue list --queue-name="*test*" --count=5 --all
|
|
1565
|
+
```
|
|
1566
|
+
|
|
1567
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/queue/list.ts)_
|
|
1568
|
+
|
|
1569
|
+
## `sc broker queue subscriptions create`
|
|
1570
|
+
|
|
1571
|
+
Create a subscription on a Queue in a Solace Event Broker.
|
|
1572
|
+
|
|
1573
|
+
```
|
|
1574
|
+
USAGE
|
|
1575
|
+
$ sc broker queue subscriptions create -q <value> -t <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n
|
|
1576
|
+
<value>] [-v <value>]
|
|
1577
|
+
|
|
1578
|
+
FLAGS
|
|
1579
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1580
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1581
|
+
-q, --queue-name=<value> (required) The name of the queue to add the subscription to.
|
|
1582
|
+
-t, --subscription-topic=<value> (required) The subscription topic to add to the queue.
|
|
1583
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1584
|
+
|
|
1585
|
+
GLOBAL FLAGS
|
|
1586
|
+
--json Format output as json.
|
|
1587
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1588
|
+
<options: debug|warn|error|info|trace>
|
|
1589
|
+
|
|
1590
|
+
DESCRIPTION
|
|
1591
|
+
Create a subscription on a Queue in a Solace Event Broker.
|
|
1592
|
+
|
|
1593
|
+
Adds a topic subscription to the specified queue. Guaranteed messages published to topics matching the subscription
|
|
1594
|
+
will be delivered to the queue.
|
|
1595
|
+
|
|
1596
|
+
The creation of subscriptions is synchronized to HA mates and replication sites via config-sync.
|
|
1597
|
+
|
|
1598
|
+
Subscriptions use topic pattern matching which can include wildcards:
|
|
1599
|
+
- '*' matches exactly one level in the topic hierarchy
|
|
1600
|
+
- '>' matches one or more levels at the end of the topic
|
|
1601
|
+
|
|
1602
|
+
Multiple subscriptions can be added to a single queue.
|
|
1603
|
+
|
|
1604
|
+
EXAMPLES
|
|
1605
|
+
$ sc broker queue subscriptions create --queue-name=myQueue --subscription-topic=orders/> --msg-vpn-name=default
|
|
1606
|
+
|
|
1607
|
+
$ sc broker queue subscriptions create --broker-name=dev-broker --queue-name=myQueue --subscription-topic=events/user/*
|
|
1608
|
+
|
|
1609
|
+
$ sc broker queue subscriptions create --broker-id=prod --queue-name=notifications --subscription-topic=alerts/critical --msg-vpn-name=production
|
|
1610
|
+
|
|
1611
|
+
$ sc broker queue subscriptions create --queue-name=myQueue --subscription-topic=data/sensor/temperature
|
|
1612
|
+
```
|
|
1613
|
+
|
|
1614
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/queue/subscriptions/create.ts)_
|
|
1615
|
+
|
|
1616
|
+
## `sc broker queue subscriptions delete`
|
|
1617
|
+
|
|
1618
|
+
Delete a subscription from a Queue in a Solace Event Broker.
|
|
1619
|
+
|
|
1620
|
+
```
|
|
1621
|
+
USAGE
|
|
1622
|
+
$ sc broker queue subscriptions delete -q <value> -t <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n
|
|
1623
|
+
<value>] [-v <value>] [--no-prompt]
|
|
1624
|
+
|
|
1625
|
+
FLAGS
|
|
1626
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1627
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1628
|
+
-q, --queue-name=<value> (required) The name of the queue to remove the subscription from.
|
|
1629
|
+
-t, --subscription-topic=<value> (required) The subscription topic to remove from the queue.
|
|
1630
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1631
|
+
--no-prompt Skip confirmation prompt and proceed with deletion.
|
|
1632
|
+
|
|
1633
|
+
GLOBAL FLAGS
|
|
1634
|
+
--json Format output as json.
|
|
1635
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1636
|
+
<options: debug|warn|error|info|trace>
|
|
1637
|
+
|
|
1638
|
+
DESCRIPTION
|
|
1639
|
+
Delete a subscription from a Queue in a Solace Event Broker.
|
|
1640
|
+
|
|
1641
|
+
Removes a topic subscription from the specified queue. This is a destructive operation that removes the subscription.
|
|
1642
|
+
|
|
1643
|
+
The deletion is synchronized to HA mates and replication sites via config-sync.
|
|
1644
|
+
|
|
1645
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
1646
|
+
|
|
1647
|
+
EXAMPLES
|
|
1648
|
+
$ sc broker queue subscriptions delete --queue-name=myQueue --subscription-topic=orders/> --msg-vpn-name=default
|
|
1649
|
+
|
|
1650
|
+
$ sc broker queue subscriptions delete --broker-name=dev-broker --queue-name=myQueue --subscription-topic=events/user/*
|
|
1651
|
+
|
|
1652
|
+
$ sc broker queue subscriptions delete --queue-name=myQueue --subscription-topic=orders/> --no-prompt
|
|
1653
|
+
|
|
1654
|
+
$ sc broker queue subscriptions delete --broker-id=prod --queue-name=notifications --subscription-topic=alerts/critical --msg-vpn-name=production --no-prompt
|
|
1655
|
+
```
|
|
1656
|
+
|
|
1657
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/queue/subscriptions/delete.ts)_
|
|
1658
|
+
|
|
1659
|
+
## `sc broker queue update`
|
|
1660
|
+
|
|
1661
|
+
Update a Queue on a Solace Event Broker.
|
|
1662
|
+
|
|
1663
|
+
```
|
|
1664
|
+
USAGE
|
|
1665
|
+
$ sc broker queue update -q <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
1666
|
+
<value>] [-a exclusive|non-exclusive] [--dead-msg-queue <value>] [--egress-enabled] [--ingress-enabled] [-s <value>]
|
|
1667
|
+
[--max-redelivery-count <value>] [--max-ttl <value>] [-o <value>] [-p
|
|
1668
|
+
consume|delete|modify-topic|no-access|read-only] [--respect-ttl-enabled]
|
|
1669
|
+
|
|
1670
|
+
FLAGS
|
|
1671
|
+
-a, --access-type=<option> The access type for the queue.
|
|
1672
|
+
<options: exclusive|non-exclusive>
|
|
1673
|
+
-b, --broker-id=<value> Stored broker identifier. If not provided, uses the default broker.
|
|
1674
|
+
-n, --broker-name=<value> Stored broker name. If not provided, uses the default broker.
|
|
1675
|
+
-o, --owner=<value> The client username that owns the queue and has permission equivalent to delete.
|
|
1676
|
+
-p, --permission=<option> The permission level for all consumers of the queue, excluding the owner.
|
|
1677
|
+
<options: consume|delete|modify-topic|no-access|read-only>
|
|
1678
|
+
-q, --queue-name=<value> (required) The name of the queue to update.
|
|
1679
|
+
-s, --max-msg-spool-usage=<value> The maximum message spool usage allowed by the queue, in megabytes (MB).
|
|
1680
|
+
-v, --msg-vpn-name=<value> The name of the Message VPN.
|
|
1681
|
+
--dead-msg-queue=<value> The name of the Dead Message Queue.
|
|
1682
|
+
--[no-]egress-enabled Enable or disable egress (message consumption) from the queue.
|
|
1683
|
+
--[no-]ingress-enabled Enable or disable ingress (message reception) to the queue.
|
|
1684
|
+
--max-redelivery-count=<value> The maximum number of times a message will be redelivered before it is discarded
|
|
1685
|
+
or moved to the DMQ.
|
|
1686
|
+
--max-ttl=<value> The maximum time in seconds a message can stay in the queue when
|
|
1687
|
+
respect-ttl-enabled is true.
|
|
1688
|
+
--[no-]respect-ttl-enabled Enable or disable the respecting of the time-to-live (TTL) for messages.
|
|
1689
|
+
|
|
1690
|
+
GLOBAL FLAGS
|
|
1691
|
+
--json Format output as json.
|
|
1692
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1693
|
+
<options: debug|warn|error|info|trace>
|
|
1694
|
+
|
|
1695
|
+
DESCRIPTION
|
|
1696
|
+
Update a Queue on a Solace Event Broker.
|
|
1697
|
+
|
|
1698
|
+
Any attribute missing from the request will be left unchanged. The update of instances of this object are synchronized
|
|
1699
|
+
to HA mates and replication sites via config-sync.
|
|
1700
|
+
|
|
1701
|
+
EXAMPLES
|
|
1702
|
+
$ sc broker queue update --broker-name=dev-broker --queue-name=myQueue --msg-vpn-name=default --egress-enabled
|
|
1703
|
+
|
|
1704
|
+
$ sc broker queue update --broker-id=dev-broker --queue-name=myQueue --msg-vpn-name=default --max-msg-spool-usage=2048
|
|
1705
|
+
|
|
1706
|
+
$ sc broker queue update --broker-name=dev-broker --queue-name=myQueue --msg-vpn-name=default --max-msg-spool-usage=1024 --max-ttl=3600
|
|
1707
|
+
|
|
1708
|
+
$ sc broker queue update --queue-name=myQueue --owner=newowner
|
|
1709
|
+
|
|
1710
|
+
$ sc broker queue update --queue-name=myQueue --permission=read-only --no-egress-enabled
|
|
1711
|
+
```
|
|
1712
|
+
|
|
1713
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/queue/update.ts)_
|
|
1714
|
+
|
|
266
1715
|
## `sc commands`
|
|
267
1716
|
|
|
268
1717
|
List all sc commands.
|
|
@@ -379,7 +1828,7 @@ EXAMPLES
|
|
|
379
1828
|
$ sc missionctrl broker create --alias=my-alias --name=MyBrokerName --datacenter-id=eks-ca-central-1a --service-class-id=DEVELOPER
|
|
380
1829
|
```
|
|
381
1830
|
|
|
382
|
-
_See code: [src/commands/missionctrl/broker/create.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
1831
|
+
_See code: [src/commands/missionctrl/broker/create.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/missionctrl/broker/create.ts)_
|
|
383
1832
|
|
|
384
1833
|
## `sc missionctrl broker delete`
|
|
385
1834
|
|
|
@@ -422,7 +1871,7 @@ EXAMPLES
|
|
|
422
1871
|
$ sc missionctrl broker delete --broker-id=MyBrokerId --no-prompt
|
|
423
1872
|
```
|
|
424
1873
|
|
|
425
|
-
_See code: [src/commands/missionctrl/broker/delete.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
1874
|
+
_See code: [src/commands/missionctrl/broker/delete.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/missionctrl/broker/delete.ts)_
|
|
426
1875
|
|
|
427
1876
|
## `sc missionctrl broker display`
|
|
428
1877
|
|
|
@@ -461,7 +1910,7 @@ EXAMPLES
|
|
|
461
1910
|
$ sc missionctrl broker display --alias=my-alias --name=MyBrokerName
|
|
462
1911
|
```
|
|
463
1912
|
|
|
464
|
-
_See code: [src/commands/missionctrl/broker/display.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
1913
|
+
_See code: [src/commands/missionctrl/broker/display.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/missionctrl/broker/display.ts)_
|
|
465
1914
|
|
|
466
1915
|
## `sc missionctrl broker list`
|
|
467
1916
|
|
|
@@ -517,7 +1966,7 @@ EXAMPLES
|
|
|
517
1966
|
$ sc missionctrl broker list --alias=my-alias --name=MyBrokerName --pageNumber=1 --pageSize=10 --sort=name:asc
|
|
518
1967
|
```
|
|
519
1968
|
|
|
520
|
-
_See code: [src/commands/missionctrl/broker/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
1969
|
+
_See code: [src/commands/missionctrl/broker/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/missionctrl/broker/list.ts)_
|
|
521
1970
|
|
|
522
1971
|
## `sc missionctrl broker opstatus`
|
|
523
1972
|
|
|
@@ -561,7 +2010,7 @@ EXAMPLES
|
|
|
561
2010
|
$ sc missionctrl broker opstatus --alias=my-alias -b <broker-id>
|
|
562
2011
|
```
|
|
563
2012
|
|
|
564
|
-
_See code: [src/commands/missionctrl/broker/opstatus.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2013
|
+
_See code: [src/commands/missionctrl/broker/opstatus.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/missionctrl/broker/opstatus.ts)_
|
|
565
2014
|
|
|
566
2015
|
## `sc missionctrl broker state`
|
|
567
2016
|
|
|
@@ -603,7 +2052,7 @@ EXAMPLES
|
|
|
603
2052
|
$ sc missionctrl broker state --alias=my-alias --name=MyBrokerName
|
|
604
2053
|
```
|
|
605
2054
|
|
|
606
|
-
_See code: [src/commands/missionctrl/broker/state.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2055
|
+
_See code: [src/commands/missionctrl/broker/state.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/missionctrl/broker/state.ts)_
|
|
607
2056
|
|
|
608
2057
|
## `sc missionctrl broker update`
|
|
609
2058
|
|
|
@@ -648,7 +2097,7 @@ EXAMPLES
|
|
|
648
2097
|
$ sc missionctrl broker update --alias=my-alias --name <name> --new-name <new-name>
|
|
649
2098
|
```
|
|
650
2099
|
|
|
651
|
-
_See code: [src/commands/missionctrl/broker/update.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2100
|
+
_See code: [src/commands/missionctrl/broker/update.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/missionctrl/broker/update.ts)_
|
|
652
2101
|
|
|
653
2102
|
## `sc platform env create`
|
|
654
2103
|
|
|
@@ -689,7 +2138,7 @@ EXAMPLES
|
|
|
689
2138
|
$ sc platform env create --alias=my-alias --name=MyEnvironment --isDefault
|
|
690
2139
|
```
|
|
691
2140
|
|
|
692
|
-
_See code: [src/commands/platform/env/create.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2141
|
+
_See code: [src/commands/platform/env/create.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/platform/env/create.ts)_
|
|
693
2142
|
|
|
694
2143
|
## `sc platform env delete`
|
|
695
2144
|
|
|
@@ -729,7 +2178,7 @@ EXAMPLES
|
|
|
729
2178
|
$ sc platform env delete --env-id=MyEnvId --no-prompt
|
|
730
2179
|
```
|
|
731
2180
|
|
|
732
|
-
_See code: [src/commands/platform/env/delete.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2181
|
+
_See code: [src/commands/platform/env/delete.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/platform/env/delete.ts)_
|
|
733
2182
|
|
|
734
2183
|
## `sc platform env display`
|
|
735
2184
|
|
|
@@ -768,7 +2217,7 @@ EXAMPLES
|
|
|
768
2217
|
$ sc platform env display --alias=my-alias --name=MyEnvName
|
|
769
2218
|
```
|
|
770
2219
|
|
|
771
|
-
_See code: [src/commands/platform/env/display.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2220
|
+
_See code: [src/commands/platform/env/display.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/platform/env/display.ts)_
|
|
772
2221
|
|
|
773
2222
|
## `sc platform env list`
|
|
774
2223
|
|
|
@@ -806,7 +2255,7 @@ EXAMPLES
|
|
|
806
2255
|
$ sc platform env list --alias=my-alias --name=Default --pageNumber=1 --pageSize=10 --sort=name:ASC
|
|
807
2256
|
```
|
|
808
2257
|
|
|
809
|
-
_See code: [src/commands/platform/env/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2258
|
+
_See code: [src/commands/platform/env/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/platform/env/list.ts)_
|
|
810
2259
|
|
|
811
2260
|
## `sc platform env update`
|
|
812
2261
|
|
|
@@ -850,7 +2299,7 @@ EXAMPLES
|
|
|
850
2299
|
$ sc platform env update --alias=my-alias --name=MyEnvName --new-name=MyNewEnvName
|
|
851
2300
|
```
|
|
852
2301
|
|
|
853
|
-
_See code: [src/commands/platform/env/update.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.
|
|
2302
|
+
_See code: [src/commands/platform/env/update.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/platform/env/update.ts)_
|
|
854
2303
|
|
|
855
2304
|
## `sc plugins`
|
|
856
2305
|
|