@dishantlangayan/solace-cloud-cli 0.4.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 +1594 -139
- package/dist/commands/missionctrl/broker/delete.d.ts +1 -0
- package/dist/commands/missionctrl/broker/delete.js +25 -0
- package/dist/commands/platform/env/delete.d.ts +1 -0
- package/dist/commands/platform/env/delete.js +25 -0
- package/oclif.manifest.json +301 -287
- package/package.json +6 -5
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,93 +43,1378 @@ $ 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.
|
|
46
|
+
@dishantlangayan/solace-cloud-cli/0.5.2 linux-x64 node-v25.9.0
|
|
44
47
|
$ sc --help [COMMAND]
|
|
45
48
|
USAGE
|
|
46
|
-
$ sc COMMAND
|
|
47
|
-
...
|
|
49
|
+
$ sc COMMAND
|
|
50
|
+
...
|
|
51
|
+
```
|
|
52
|
+
<!-- usagestop -->
|
|
53
|
+
# Authenticating with Solace Cloud
|
|
54
|
+
<!-- configuration -->
|
|
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:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
sc account login --org <Your Org Name>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Refer to the [Solace Cloud CLI documention](https://dishantlangayan.github.io/sc-cli/docs/getting-started/sc-authentication) for more information.
|
|
62
|
+
|
|
63
|
+
<!-- configurationstop -->
|
|
64
|
+
# Resources
|
|
65
|
+
<!-- resources -->
|
|
66
|
+
This is not an officially supported Solace product.
|
|
67
|
+
|
|
68
|
+
For more information try these resources:
|
|
69
|
+
- Solace Cloud CLI [Documentation](https://dishantlangayan.github.io/sc-cli/docs/intro)
|
|
70
|
+
- Ask the [Solace Community](https://solace.community)
|
|
71
|
+
- The Solace Developer Portal website at: https://solace.dev
|
|
72
|
+
|
|
73
|
+
<!-- resourcesstop -->
|
|
74
|
+
# Contributing
|
|
75
|
+
<!-- contributing -->
|
|
76
|
+
Contributions are encouraged! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
|
|
77
|
+
|
|
78
|
+
<!-- contributingstop -->
|
|
79
|
+
# Authors
|
|
80
|
+
<!-- authors -->
|
|
81
|
+
See the list of [contributors](https://github.com/solacelabs/solace-cloud-cli/graphs/contributors) who participated in this project.
|
|
82
|
+
|
|
83
|
+
<!-- authorsstop -->
|
|
84
|
+
# License
|
|
85
|
+
<!-- license -->
|
|
86
|
+
See the [LICENSE](LICENSE) file for details.
|
|
87
|
+
|
|
88
|
+
<!-- licensestop -->
|
|
89
|
+
# Commands
|
|
90
|
+
<!-- commands -->
|
|
91
|
+
* [`sc account list`](#sc-account-list)
|
|
92
|
+
* [`sc account login`](#sc-account-login)
|
|
93
|
+
* [`sc account logout`](#sc-account-logout)
|
|
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)
|
|
128
|
+
* [`sc commands`](#sc-commands)
|
|
129
|
+
* [`sc help [COMMAND]`](#sc-help-command)
|
|
130
|
+
* [`sc missionctrl broker create`](#sc-missionctrl-broker-create)
|
|
131
|
+
* [`sc missionctrl broker delete`](#sc-missionctrl-broker-delete)
|
|
132
|
+
* [`sc missionctrl broker display`](#sc-missionctrl-broker-display)
|
|
133
|
+
* [`sc missionctrl broker list`](#sc-missionctrl-broker-list)
|
|
134
|
+
* [`sc missionctrl broker opstatus`](#sc-missionctrl-broker-opstatus)
|
|
135
|
+
* [`sc missionctrl broker state`](#sc-missionctrl-broker-state)
|
|
136
|
+
* [`sc missionctrl broker update`](#sc-missionctrl-broker-update)
|
|
137
|
+
* [`sc platform env create`](#sc-platform-env-create)
|
|
138
|
+
* [`sc platform env delete`](#sc-platform-env-delete)
|
|
139
|
+
* [`sc platform env display`](#sc-platform-env-display)
|
|
140
|
+
* [`sc platform env list`](#sc-platform-env-list)
|
|
141
|
+
* [`sc platform env update`](#sc-platform-env-update)
|
|
142
|
+
* [`sc plugins`](#sc-plugins)
|
|
143
|
+
* [`sc plugins add PLUGIN`](#sc-plugins-add-plugin)
|
|
144
|
+
* [`sc plugins:inspect PLUGIN...`](#sc-pluginsinspect-plugin)
|
|
145
|
+
* [`sc plugins install PLUGIN`](#sc-plugins-install-plugin)
|
|
146
|
+
* [`sc plugins link PATH`](#sc-plugins-link-path)
|
|
147
|
+
* [`sc plugins remove [PLUGIN]`](#sc-plugins-remove-plugin)
|
|
148
|
+
* [`sc plugins reset`](#sc-plugins-reset)
|
|
149
|
+
* [`sc plugins uninstall [PLUGIN]`](#sc-plugins-uninstall-plugin)
|
|
150
|
+
* [`sc plugins unlink [PLUGIN]`](#sc-plugins-unlink-plugin)
|
|
151
|
+
* [`sc plugins update`](#sc-plugins-update)
|
|
152
|
+
* [`sc search`](#sc-search)
|
|
153
|
+
* [`sc update [CHANNEL]`](#sc-update-channel)
|
|
154
|
+
* [`sc version`](#sc-version)
|
|
155
|
+
* [`sc which`](#sc-which)
|
|
156
|
+
|
|
157
|
+
## `sc account list`
|
|
158
|
+
|
|
159
|
+
List all authenticated organizations.
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
USAGE
|
|
163
|
+
$ sc account list [--json] [--log-level debug|warn|error|info|trace]
|
|
164
|
+
|
|
165
|
+
GLOBAL FLAGS
|
|
166
|
+
--json Format output as json.
|
|
167
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
168
|
+
<options: debug|warn|error|info|trace>
|
|
169
|
+
|
|
170
|
+
DESCRIPTION
|
|
171
|
+
List all authenticated organizations.
|
|
172
|
+
|
|
173
|
+
Displays organizations you have logged into, including their aliases and which one is set as default.
|
|
174
|
+
|
|
175
|
+
EXAMPLES
|
|
176
|
+
$ sc account list
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
_See code: [src/commands/account/list.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/account/list.ts)_
|
|
180
|
+
|
|
181
|
+
## `sc account login`
|
|
182
|
+
|
|
183
|
+
Login to a Solace Cloud organization.
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
USAGE
|
|
187
|
+
$ sc account login -o <value> [--json] [--log-level debug|warn|error|info|trace] [-a <value>] [--api-version
|
|
188
|
+
<value>] [--base-url <value>] [--no-prompt] [-d]
|
|
189
|
+
|
|
190
|
+
FLAGS
|
|
191
|
+
-a, --alias=<value> Alias name for this organization (allows storing multiple tokens for the same org with
|
|
192
|
+
different aliases)
|
|
193
|
+
-d, --set-default Set this organization as the default
|
|
194
|
+
-o, --org=<value> (required) Organization ID to login to
|
|
195
|
+
--api-version=<value> API version to use (optional)
|
|
196
|
+
--base-url=<value> Custom base URL for Solace Cloud API (optional)
|
|
197
|
+
--no-prompt Read access token from SC_ACCESS_TOKEN environment variable instead of prompting
|
|
198
|
+
|
|
199
|
+
GLOBAL FLAGS
|
|
200
|
+
--json Format output as json.
|
|
201
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
202
|
+
<options: debug|warn|error|info|trace>
|
|
203
|
+
|
|
204
|
+
DESCRIPTION
|
|
205
|
+
Login to a Solace Cloud organization.
|
|
206
|
+
|
|
207
|
+
Stores organization credentials securely using OS keychain.
|
|
208
|
+
The access token is encrypted and stored locally.
|
|
209
|
+
|
|
210
|
+
You can store multiple access tokens for the same organization by using unique aliases.
|
|
211
|
+
Without an alias, only one token per organization ID is allowed.
|
|
212
|
+
|
|
213
|
+
Required token permissions: Varies by operations you intend to perform
|
|
214
|
+
|
|
215
|
+
EXAMPLES
|
|
216
|
+
$ sc account login --org=my-org-id
|
|
217
|
+
|
|
218
|
+
$ sc account login --org=my-org-id --alias=production
|
|
219
|
+
|
|
220
|
+
$ sc account login --org=my-org-id --alias=staging
|
|
221
|
+
|
|
222
|
+
$ sc account login --org=my-org-id --set-default
|
|
223
|
+
|
|
224
|
+
$ sc account login --org=my-org-id --no-prompt
|
|
225
|
+
|
|
226
|
+
$ sc account login --org=my-org-id --base-url=https://api.custom.solace.cloud
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
_See code: [src/commands/account/login.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/account/login.ts)_
|
|
230
|
+
|
|
231
|
+
## `sc account logout`
|
|
232
|
+
|
|
233
|
+
Logout from authenticated organizations.
|
|
234
|
+
|
|
235
|
+
```
|
|
236
|
+
USAGE
|
|
237
|
+
$ sc account logout [--json] [--log-level debug|warn|error|info|trace] [-a] [--no-prompt] [-o <value>]
|
|
238
|
+
|
|
239
|
+
FLAGS
|
|
240
|
+
-a, --all Logout of all organizations
|
|
241
|
+
-o, --org=<value> Organization ID or alias to logout from
|
|
242
|
+
--no-prompt Skip confirmation prompt and assume Yes
|
|
243
|
+
|
|
244
|
+
GLOBAL FLAGS
|
|
245
|
+
--json Format output as json.
|
|
246
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
247
|
+
<options: debug|warn|error|info|trace>
|
|
248
|
+
|
|
249
|
+
DESCRIPTION
|
|
250
|
+
Logout from authenticated organizations.
|
|
251
|
+
|
|
252
|
+
Removes locally stored organization credentials and access tokens.
|
|
253
|
+
Interactive mode allows selection with arrow keys and spacebar.
|
|
254
|
+
|
|
255
|
+
EXAMPLES
|
|
256
|
+
$ sc account logout
|
|
257
|
+
|
|
258
|
+
$ sc account logout --org=my-org-id
|
|
259
|
+
|
|
260
|
+
$ sc account logout --org=production
|
|
261
|
+
|
|
262
|
+
$ sc account logout --all
|
|
263
|
+
|
|
264
|
+
$ sc account logout --org=my-org-id --no-prompt
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
_See code: [src/commands/account/logout.ts](https://github.com/SolaceLabs/solace-cloud-cli/blob/v0.5.2/src/commands/account/logout.ts)_
|
|
268
|
+
|
|
269
|
+
## `sc autocomplete [SHELL]`
|
|
270
|
+
|
|
271
|
+
Display autocomplete installation instructions.
|
|
272
|
+
|
|
273
|
+
```
|
|
274
|
+
USAGE
|
|
275
|
+
$ sc autocomplete [SHELL] [-r]
|
|
276
|
+
|
|
277
|
+
ARGUMENTS
|
|
278
|
+
[SHELL] (zsh|bash|powershell) Shell type
|
|
279
|
+
|
|
280
|
+
FLAGS
|
|
281
|
+
-r, --refresh-cache Refresh cache (ignores displaying instructions)
|
|
282
|
+
|
|
283
|
+
DESCRIPTION
|
|
284
|
+
Display autocomplete installation instructions.
|
|
285
|
+
|
|
286
|
+
EXAMPLES
|
|
287
|
+
$ sc autocomplete
|
|
288
|
+
|
|
289
|
+
$ sc autocomplete bash
|
|
290
|
+
|
|
291
|
+
$ sc autocomplete zsh
|
|
292
|
+
|
|
293
|
+
$ sc autocomplete powershell
|
|
294
|
+
|
|
295
|
+
$ sc autocomplete --refresh-cache
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.40/src/commands/autocomplete/index.ts)_
|
|
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
|
|
48
1322
|
```
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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.
|
|
53
1329
|
|
|
54
1330
|
```
|
|
55
|
-
|
|
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
|
|
56
1347
|
```
|
|
57
1348
|
|
|
58
|
-
|
|
1349
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/login/list.ts)_
|
|
59
1350
|
|
|
60
|
-
|
|
61
|
-
* SC_BASE_URL - The location of your Solace Home Cloud account determines the base URL you use. Default is `https://api.solace.cloud/`
|
|
1351
|
+
## `sc broker logout`
|
|
62
1352
|
|
|
63
|
-
|
|
64
|
-
# Resources
|
|
65
|
-
<!-- resources -->
|
|
66
|
-
This is not an officially supported Solace product.
|
|
1353
|
+
Logout from authenticated brokers.
|
|
67
1354
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
-
|
|
1355
|
+
```
|
|
1356
|
+
USAGE
|
|
1357
|
+
$ sc broker logout [--json] [--log-level debug|warn|error|info|trace] [-a | -b <value>] [--no-prompt]
|
|
71
1358
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
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
|
|
76
1363
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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>
|
|
81
1368
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
<!-- license -->
|
|
85
|
-
See the [LICENSE](LICENSE) file for details.
|
|
1369
|
+
DESCRIPTION
|
|
1370
|
+
Logout from authenticated brokers.
|
|
86
1371
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
<!-- commands -->
|
|
90
|
-
* [`sc account list`](#sc-account-list)
|
|
91
|
-
* [`sc account login`](#sc-account-login)
|
|
92
|
-
* [`sc account logout`](#sc-account-logout)
|
|
93
|
-
* [`sc autocomplete [SHELL]`](#sc-autocomplete-shell)
|
|
94
|
-
* [`sc commands`](#sc-commands)
|
|
95
|
-
* [`sc help [COMMAND]`](#sc-help-command)
|
|
96
|
-
* [`sc missionctrl broker create`](#sc-missionctrl-broker-create)
|
|
97
|
-
* [`sc missionctrl broker delete`](#sc-missionctrl-broker-delete)
|
|
98
|
-
* [`sc missionctrl broker display`](#sc-missionctrl-broker-display)
|
|
99
|
-
* [`sc missionctrl broker list`](#sc-missionctrl-broker-list)
|
|
100
|
-
* [`sc missionctrl broker opstatus`](#sc-missionctrl-broker-opstatus)
|
|
101
|
-
* [`sc missionctrl broker state`](#sc-missionctrl-broker-state)
|
|
102
|
-
* [`sc missionctrl broker update`](#sc-missionctrl-broker-update)
|
|
103
|
-
* [`sc platform env create`](#sc-platform-env-create)
|
|
104
|
-
* [`sc platform env delete`](#sc-platform-env-delete)
|
|
105
|
-
* [`sc platform env display`](#sc-platform-env-display)
|
|
106
|
-
* [`sc platform env list`](#sc-platform-env-list)
|
|
107
|
-
* [`sc platform env update`](#sc-platform-env-update)
|
|
108
|
-
* [`sc plugins`](#sc-plugins)
|
|
109
|
-
* [`sc plugins add PLUGIN`](#sc-plugins-add-plugin)
|
|
110
|
-
* [`sc plugins:inspect PLUGIN...`](#sc-pluginsinspect-plugin)
|
|
111
|
-
* [`sc plugins install PLUGIN`](#sc-plugins-install-plugin)
|
|
112
|
-
* [`sc plugins link PATH`](#sc-plugins-link-path)
|
|
113
|
-
* [`sc plugins remove [PLUGIN]`](#sc-plugins-remove-plugin)
|
|
114
|
-
* [`sc plugins reset`](#sc-plugins-reset)
|
|
115
|
-
* [`sc plugins uninstall [PLUGIN]`](#sc-plugins-uninstall-plugin)
|
|
116
|
-
* [`sc plugins unlink [PLUGIN]`](#sc-plugins-unlink-plugin)
|
|
117
|
-
* [`sc plugins update`](#sc-plugins-update)
|
|
118
|
-
* [`sc search`](#sc-search)
|
|
119
|
-
* [`sc update [CHANNEL]`](#sc-update-channel)
|
|
120
|
-
* [`sc version`](#sc-version)
|
|
121
|
-
* [`sc which`](#sc-which)
|
|
1372
|
+
Removes locally stored broker credentials.
|
|
1373
|
+
Interactive mode allows selection with arrow keys and spacebar.
|
|
122
1374
|
|
|
123
|
-
|
|
1375
|
+
EXAMPLES
|
|
1376
|
+
$ sc broker logout
|
|
124
1377
|
|
|
125
|
-
|
|
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.
|
|
126
1390
|
|
|
127
1391
|
```
|
|
128
1392
|
USAGE
|
|
129
|
-
$ sc
|
|
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.
|
|
130
1418
|
|
|
131
1419
|
GLOBAL FLAGS
|
|
132
1420
|
--json Format output as json.
|
|
@@ -134,33 +1422,38 @@ GLOBAL FLAGS
|
|
|
134
1422
|
<options: debug|warn|error|info|trace>
|
|
135
1423
|
|
|
136
1424
|
DESCRIPTION
|
|
137
|
-
|
|
1425
|
+
Create a Queue on a Solace Event Broker.
|
|
138
1426
|
|
|
139
|
-
|
|
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.
|
|
140
1429
|
|
|
141
1430
|
EXAMPLES
|
|
142
|
-
$ sc
|
|
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
|
|
143
1438
|
```
|
|
144
1439
|
|
|
145
|
-
_See code: [
|
|
1440
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/queue/create.ts)_
|
|
146
1441
|
|
|
147
|
-
## `sc
|
|
1442
|
+
## `sc broker queue delete`
|
|
148
1443
|
|
|
149
|
-
|
|
1444
|
+
Delete a Queue from a Solace Event Broker.
|
|
150
1445
|
|
|
151
1446
|
```
|
|
152
1447
|
USAGE
|
|
153
|
-
$ sc
|
|
154
|
-
<value>] [--
|
|
1448
|
+
$ sc broker queue delete -q <value> [--json] [--log-level debug|warn|error|info|trace] [-b <value> | -n <value>] [-v
|
|
1449
|
+
<value>] [--no-prompt]
|
|
155
1450
|
|
|
156
1451
|
FLAGS
|
|
157
|
-
-
|
|
158
|
-
|
|
159
|
-
-
|
|
160
|
-
-
|
|
161
|
-
--
|
|
162
|
-
--base-url=<value> Custom base URL for Solace Cloud API (optional)
|
|
163
|
-
--no-prompt Read access token from SC_ACCESS_TOKEN environment variable instead of prompting
|
|
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.
|
|
164
1457
|
|
|
165
1458
|
GLOBAL FLAGS
|
|
166
1459
|
--json Format output as json.
|
|
@@ -168,44 +1461,83 @@ GLOBAL FLAGS
|
|
|
168
1461
|
<options: debug|warn|error|info|trace>
|
|
169
1462
|
|
|
170
1463
|
DESCRIPTION
|
|
171
|
-
|
|
1464
|
+
Delete a Queue from a Solace Event Broker.
|
|
172
1465
|
|
|
173
|
-
|
|
174
|
-
|
|
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.
|
|
175
1468
|
|
|
176
|
-
|
|
177
|
-
Without an alias, only one token per organization ID is allowed.
|
|
1469
|
+
The deletion is synchronized to HA mates and replication sites via config-sync.
|
|
178
1470
|
|
|
179
|
-
|
|
1471
|
+
By default, a confirmation prompt is shown before deletion. Use --no-prompt to skip confirmation.
|
|
180
1472
|
|
|
181
1473
|
EXAMPLES
|
|
182
|
-
$ sc
|
|
1474
|
+
$ sc broker queue delete --queue-name=myQueue --msg-vpn-name=default
|
|
183
1475
|
|
|
184
|
-
$ sc
|
|
1476
|
+
$ sc broker queue delete --broker-name=dev-broker --queue-name=myQueue
|
|
185
1477
|
|
|
186
|
-
$ sc
|
|
1478
|
+
$ sc broker queue delete --queue-name=myQueue --no-prompt
|
|
187
1479
|
|
|
188
|
-
$ sc
|
|
1480
|
+
$ sc broker queue delete --broker-id=prod --queue-name=tempQueue --msg-vpn-name=production --no-prompt
|
|
1481
|
+
```
|
|
189
1482
|
|
|
190
|
-
|
|
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.
|
|
191
1488
|
|
|
192
|
-
$ sc account login --org=my-org-id --base-url=https://api.custom.solace.cloud
|
|
193
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]
|
|
194
1493
|
|
|
195
|
-
|
|
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.
|
|
196
1500
|
|
|
197
|
-
|
|
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>
|
|
198
1505
|
|
|
199
|
-
|
|
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.
|
|
200
1527
|
|
|
201
1528
|
```
|
|
202
1529
|
USAGE
|
|
203
|
-
$ sc
|
|
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>]
|
|
204
1532
|
|
|
205
1533
|
FLAGS
|
|
206
|
-
-a, --all
|
|
207
|
-
-
|
|
208
|
-
|
|
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.
|
|
209
1541
|
|
|
210
1542
|
GLOBAL FLAGS
|
|
211
1543
|
--json Format output as json.
|
|
@@ -213,55 +1545,172 @@ GLOBAL FLAGS
|
|
|
213
1545
|
<options: debug|warn|error|info|trace>
|
|
214
1546
|
|
|
215
1547
|
DESCRIPTION
|
|
216
|
-
|
|
1548
|
+
List queues from a Solace Event Broker.
|
|
217
1549
|
|
|
218
|
-
|
|
219
|
-
|
|
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.
|
|
220
1552
|
|
|
221
1553
|
EXAMPLES
|
|
222
|
-
$ sc
|
|
1554
|
+
$ sc broker queue list
|
|
223
1555
|
|
|
224
|
-
$ sc
|
|
1556
|
+
$ sc broker queue list --count=20
|
|
225
1557
|
|
|
226
|
-
$ sc
|
|
1558
|
+
$ sc broker queue list --queue-name="order*"
|
|
227
1559
|
|
|
228
|
-
$ sc
|
|
1560
|
+
$ sc broker queue list --select=queueName,owner,maxMsgSpoolUsage
|
|
229
1561
|
|
|
230
|
-
$ sc
|
|
1562
|
+
$ sc broker queue list --all
|
|
1563
|
+
|
|
1564
|
+
$ sc broker queue list --queue-name="*test*" --count=5 --all
|
|
231
1565
|
```
|
|
232
1566
|
|
|
233
|
-
_See code: [
|
|
1567
|
+
_See code: [@dishantlangayan/sc-plugin-broker](https://github.com/dishantlangayan/sc-plugin-broker/blob/v0.5.0/src/commands/broker/queue/list.ts)_
|
|
234
1568
|
|
|
235
|
-
## `sc
|
|
1569
|
+
## `sc broker queue subscriptions create`
|
|
236
1570
|
|
|
237
|
-
|
|
1571
|
+
Create a subscription on a Queue in a Solace Event Broker.
|
|
238
1572
|
|
|
239
1573
|
```
|
|
240
1574
|
USAGE
|
|
241
|
-
$ sc
|
|
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>]
|
|
242
1577
|
|
|
243
|
-
|
|
244
|
-
|
|
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]
|
|
245
1624
|
|
|
246
1625
|
FLAGS
|
|
247
|
-
-
|
|
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>
|
|
248
1637
|
|
|
249
1638
|
DESCRIPTION
|
|
250
|
-
|
|
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.
|
|
251
1646
|
|
|
252
1647
|
EXAMPLES
|
|
253
|
-
$ sc
|
|
1648
|
+
$ sc broker queue subscriptions delete --queue-name=myQueue --subscription-topic=orders/> --msg-vpn-name=default
|
|
254
1649
|
|
|
255
|
-
$ sc
|
|
1650
|
+
$ sc broker queue subscriptions delete --broker-name=dev-broker --queue-name=myQueue --subscription-topic=events/user/*
|
|
256
1651
|
|
|
257
|
-
$ sc
|
|
1652
|
+
$ sc broker queue subscriptions delete --queue-name=myQueue --subscription-topic=orders/> --no-prompt
|
|
258
1653
|
|
|
259
|
-
$ sc
|
|
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.
|
|
260
1662
|
|
|
261
|
-
$ sc autocomplete --refresh-cache
|
|
262
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]
|
|
263
1669
|
|
|
264
|
-
|
|
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)_
|
|
265
1714
|
|
|
266
1715
|
## `sc commands`
|
|
267
1716
|
|
|
@@ -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/
|
|
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
|
|
|
@@ -388,7 +1837,7 @@ Delete a service using its unique identifier.
|
|
|
388
1837
|
```
|
|
389
1838
|
USAGE
|
|
390
1839
|
$ sc missionctrl broker delete [--json] [--log-level debug|warn|error|info|trace] [-a <value> | -o <value>] [-b <value>] [-n
|
|
391
|
-
<value>]
|
|
1840
|
+
<value>] [--no-prompt]
|
|
392
1841
|
|
|
393
1842
|
FLAGS
|
|
394
1843
|
-a, --alias=<value> Organization alias to use. If not specified, uses the default organization.
|
|
@@ -396,6 +1845,7 @@ FLAGS
|
|
|
396
1845
|
-n, --name=<value> Name of the event broker service.
|
|
397
1846
|
-o, --org=<value> Organization ID to use. If not specified, uses the default organization or alias if
|
|
398
1847
|
specified.
|
|
1848
|
+
--no-prompt Skip confirmation prompt and assume Yes
|
|
399
1849
|
|
|
400
1850
|
GLOBAL FLAGS
|
|
401
1851
|
--json Format output as json.
|
|
@@ -417,9 +1867,11 @@ EXAMPLES
|
|
|
417
1867
|
$ sc missionctrl broker delete --org=my-org --broker-id=MyBrokerId
|
|
418
1868
|
|
|
419
1869
|
$ sc missionctrl broker delete --alias=my-alias --name=MyBrokerName
|
|
1870
|
+
|
|
1871
|
+
$ sc missionctrl broker delete --broker-id=MyBrokerId --no-prompt
|
|
420
1872
|
```
|
|
421
1873
|
|
|
422
|
-
_See code: [src/commands/missionctrl/broker/delete.ts](https://github.com/
|
|
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)_
|
|
423
1875
|
|
|
424
1876
|
## `sc missionctrl broker display`
|
|
425
1877
|
|
|
@@ -458,7 +1910,7 @@ EXAMPLES
|
|
|
458
1910
|
$ sc missionctrl broker display --alias=my-alias --name=MyBrokerName
|
|
459
1911
|
```
|
|
460
1912
|
|
|
461
|
-
_See code: [src/commands/missionctrl/broker/display.ts](https://github.com/
|
|
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)_
|
|
462
1914
|
|
|
463
1915
|
## `sc missionctrl broker list`
|
|
464
1916
|
|
|
@@ -514,7 +1966,7 @@ EXAMPLES
|
|
|
514
1966
|
$ sc missionctrl broker list --alias=my-alias --name=MyBrokerName --pageNumber=1 --pageSize=10 --sort=name:asc
|
|
515
1967
|
```
|
|
516
1968
|
|
|
517
|
-
_See code: [src/commands/missionctrl/broker/list.ts](https://github.com/
|
|
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)_
|
|
518
1970
|
|
|
519
1971
|
## `sc missionctrl broker opstatus`
|
|
520
1972
|
|
|
@@ -558,7 +2010,7 @@ EXAMPLES
|
|
|
558
2010
|
$ sc missionctrl broker opstatus --alias=my-alias -b <broker-id>
|
|
559
2011
|
```
|
|
560
2012
|
|
|
561
|
-
_See code: [src/commands/missionctrl/broker/opstatus.ts](https://github.com/
|
|
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)_
|
|
562
2014
|
|
|
563
2015
|
## `sc missionctrl broker state`
|
|
564
2016
|
|
|
@@ -600,7 +2052,7 @@ EXAMPLES
|
|
|
600
2052
|
$ sc missionctrl broker state --alias=my-alias --name=MyBrokerName
|
|
601
2053
|
```
|
|
602
2054
|
|
|
603
|
-
_See code: [src/commands/missionctrl/broker/state.ts](https://github.com/
|
|
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)_
|
|
604
2056
|
|
|
605
2057
|
## `sc missionctrl broker update`
|
|
606
2058
|
|
|
@@ -645,7 +2097,7 @@ EXAMPLES
|
|
|
645
2097
|
$ sc missionctrl broker update --alias=my-alias --name <name> --new-name <new-name>
|
|
646
2098
|
```
|
|
647
2099
|
|
|
648
|
-
_See code: [src/commands/missionctrl/broker/update.ts](https://github.com/
|
|
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)_
|
|
649
2101
|
|
|
650
2102
|
## `sc platform env create`
|
|
651
2103
|
|
|
@@ -686,7 +2138,7 @@ EXAMPLES
|
|
|
686
2138
|
$ sc platform env create --alias=my-alias --name=MyEnvironment --isDefault
|
|
687
2139
|
```
|
|
688
2140
|
|
|
689
|
-
_See code: [src/commands/platform/env/create.ts](https://github.com/
|
|
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)_
|
|
690
2142
|
|
|
691
2143
|
## `sc platform env delete`
|
|
692
2144
|
|
|
@@ -695,13 +2147,14 @@ Delete an environment using either its name or unique identifier. The default en
|
|
|
695
2147
|
```
|
|
696
2148
|
USAGE
|
|
697
2149
|
$ sc platform env delete [--json] [--log-level debug|warn|error|info|trace] [-a <value> | -o <value>] [-e <value>] [-n
|
|
698
|
-
<value>]
|
|
2150
|
+
<value>] [--no-prompt]
|
|
699
2151
|
|
|
700
2152
|
FLAGS
|
|
701
2153
|
-a, --alias=<value> Organization alias to use. If not specified, uses the default organization.
|
|
702
2154
|
-e, --env-id=<value> Id of the environment.
|
|
703
2155
|
-n, --name=<value> Name of the environment.
|
|
704
2156
|
-o, --org=<value> Organization ID to use. If not specified, uses the default organization or alias if specified.
|
|
2157
|
+
--no-prompt Skip confirmation prompt and assume Yes
|
|
705
2158
|
|
|
706
2159
|
GLOBAL FLAGS
|
|
707
2160
|
--json Format output as json.
|
|
@@ -721,9 +2174,11 @@ EXAMPLES
|
|
|
721
2174
|
$ sc platform env delete --org=my-org --name=MyEnvName
|
|
722
2175
|
|
|
723
2176
|
$ sc platform env delete --alias=my-alias --name=MyEnvName
|
|
2177
|
+
|
|
2178
|
+
$ sc platform env delete --env-id=MyEnvId --no-prompt
|
|
724
2179
|
```
|
|
725
2180
|
|
|
726
|
-
_See code: [src/commands/platform/env/delete.ts](https://github.com/
|
|
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)_
|
|
727
2182
|
|
|
728
2183
|
## `sc platform env display`
|
|
729
2184
|
|
|
@@ -762,7 +2217,7 @@ EXAMPLES
|
|
|
762
2217
|
$ sc platform env display --alias=my-alias --name=MyEnvName
|
|
763
2218
|
```
|
|
764
2219
|
|
|
765
|
-
_See code: [src/commands/platform/env/display.ts](https://github.com/
|
|
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)_
|
|
766
2221
|
|
|
767
2222
|
## `sc platform env list`
|
|
768
2223
|
|
|
@@ -800,7 +2255,7 @@ EXAMPLES
|
|
|
800
2255
|
$ sc platform env list --alias=my-alias --name=Default --pageNumber=1 --pageSize=10 --sort=name:ASC
|
|
801
2256
|
```
|
|
802
2257
|
|
|
803
|
-
_See code: [src/commands/platform/env/list.ts](https://github.com/
|
|
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)_
|
|
804
2259
|
|
|
805
2260
|
## `sc platform env update`
|
|
806
2261
|
|
|
@@ -844,7 +2299,7 @@ EXAMPLES
|
|
|
844
2299
|
$ sc platform env update --alias=my-alias --name=MyEnvName --new-name=MyNewEnvName
|
|
845
2300
|
```
|
|
846
2301
|
|
|
847
|
-
_See code: [src/commands/platform/env/update.ts](https://github.com/
|
|
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)_
|
|
848
2303
|
|
|
849
2304
|
## `sc plugins`
|
|
850
2305
|
|