@dishantlangayan/solace-cloud-cli 0.3.0 → 0.4.0

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.
Files changed (29) hide show
  1. package/README.md +98 -52
  2. package/dist/commands/account/login.js +1 -2
  3. package/dist/commands/missionctrl/broker/create.d.ts +1 -0
  4. package/dist/commands/missionctrl/broker/create.js +9 -2
  5. package/dist/commands/missionctrl/broker/delete.d.ts +1 -0
  6. package/dist/commands/missionctrl/broker/delete.js +9 -2
  7. package/dist/commands/missionctrl/broker/display.d.ts +1 -0
  8. package/dist/commands/missionctrl/broker/display.js +9 -2
  9. package/dist/commands/missionctrl/broker/list.d.ts +1 -0
  10. package/dist/commands/missionctrl/broker/list.js +9 -3
  11. package/dist/commands/missionctrl/broker/opstatus.d.ts +1 -0
  12. package/dist/commands/missionctrl/broker/opstatus.js +9 -2
  13. package/dist/commands/missionctrl/broker/state.d.ts +1 -0
  14. package/dist/commands/missionctrl/broker/state.js +9 -2
  15. package/dist/commands/missionctrl/broker/update.d.ts +1 -0
  16. package/dist/commands/missionctrl/broker/update.js +9 -2
  17. package/dist/commands/platform/env/create.d.ts +1 -0
  18. package/dist/commands/platform/env/create.js +9 -2
  19. package/dist/commands/platform/env/delete.d.ts +1 -0
  20. package/dist/commands/platform/env/delete.js +9 -2
  21. package/dist/commands/platform/env/display.d.ts +1 -0
  22. package/dist/commands/platform/env/display.js +9 -2
  23. package/dist/commands/platform/env/list.d.ts +1 -0
  24. package/dist/commands/platform/env/list.js +9 -3
  25. package/dist/commands/platform/env/update.d.ts +1 -0
  26. package/dist/commands/platform/env/update.js +9 -2
  27. package/dist/lib/org-utils.js +2 -6
  28. package/oclif.manifest.json +455 -277
  29. package/package.json +1 -1
@@ -218,13 +218,14 @@
218
218
  "logout.js"
219
219
  ]
220
220
  },
221
- "missionctrl:broker:create": {
221
+ "platform:env:create": {
222
222
  "aliases": [],
223
223
  "args": {},
224
- "description": "Create an event broker service. You must provide a unique name and select a service class and datacenter. You can optionally define other properties for the event broker service.\n\nYour token must have one of the permissions listed in the Token Permissions.\n\nToken Permissions: [ `services:post` ]",
224
+ "description": "Create a new environment.\n\n Token Permissions: [ environments:edit ]",
225
225
  "examples": [
226
- "<%= config.bin %> <%= command.id %> --name=MyBrokerName --datacenter-id=eks-ca-central-1a --service-class-id=DEVELOPER",
227
- "<%= config.bin %> <%= command.id %> --org=my-org --name=MyBrokerName --datacenter-id=eks-ca-central-1a --service-class-id=DEVELOPER"
226
+ "<%= config.bin %> <%= command.id %> --name=MyEnvironment",
227
+ "<%= config.bin %> <%= command.id %> --org=my-org --name=MyEnvironment --description=\"My environment description\" --isDefault --isProduction",
228
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyEnvironment --isDefault"
228
229
  ],
229
230
  "flags": {
230
231
  "json": {
@@ -250,49 +251,40 @@
250
251
  ],
251
252
  "type": "option"
252
253
  },
253
- "datacenter-id": {
254
- "char": "d",
255
- "description": "The identifier of the datacenter.",
256
- "name": "datacenter-id",
257
- "required": true,
254
+ "alias": {
255
+ "char": "a",
256
+ "description": "Organization alias to use. If not specified, uses the default organization.",
257
+ "exclusive": [
258
+ "org"
259
+ ],
260
+ "name": "alias",
258
261
  "hasDynamicHelp": false,
259
262
  "multiple": false,
260
263
  "type": "option"
261
264
  },
262
- "env-name": {
263
- "char": "e",
264
- "description": "The name of the environment environment where you want to create the service. \n You can only specify an environment identifier when creating services in a Public Region. \n You cannot specify an environment identifier when creating a service in a Dedicated Region. \n If no name is provided, the service will be created in the default environment.",
265
- "name": "env-name",
265
+ "description": {
266
+ "char": "d",
267
+ "description": "Description of the environment to create.",
268
+ "name": "description",
266
269
  "hasDynamicHelp": false,
267
270
  "multiple": false,
268
271
  "type": "option"
269
272
  },
270
- "locked": {
271
- "char": "l",
272
- "description": "Indicates if you can delete the event broker service after creating it. The default value is false.",
273
- "name": "locked",
273
+ "isDefault": {
274
+ "description": "Indicates this is the organization's default environment.",
275
+ "name": "isDefault",
274
276
  "allowNo": false,
275
277
  "type": "boolean"
276
278
  },
277
- "max-spool-usage": {
278
- "char": "s",
279
- "description": "The message spool size, in gigabytes (GB). A default message spool size is provided if this is not specified.",
280
- "name": "max-spool-usage",
281
- "hasDynamicHelp": false,
282
- "multiple": false,
283
- "type": "option"
284
- },
285
- "msg-vpn-name": {
286
- "char": "m",
287
- "description": "The message VPN name. A default message VPN name is provided when this is not specified.",
288
- "name": "msg-vpn-name",
289
- "hasDynamicHelp": false,
290
- "multiple": false,
291
- "type": "option"
279
+ "isProduction": {
280
+ "description": "Indicates this is an organization's production environment. \n This is an immutable field. If an environment needs to be migrated, \n architecture can be migrated to a new environment with the desired \n environment type instead.",
281
+ "name": "isProduction",
282
+ "allowNo": false,
283
+ "type": "boolean"
292
284
  },
293
285
  "name": {
294
286
  "char": "n",
295
- "description": "Name of the event broker service to create.",
287
+ "description": "Name of the environment to create.",
296
288
  "name": "name",
297
289
  "required": true,
298
290
  "hasDynamicHelp": false,
@@ -301,40 +293,19 @@
301
293
  },
302
294
  "org": {
303
295
  "char": "o",
304
- "description": "Organization ID or alias to use. If not specified, uses the default organization.",
296
+ "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
297
+ "exclusive": [
298
+ "alias"
299
+ ],
305
300
  "name": "org",
306
301
  "hasDynamicHelp": false,
307
302
  "multiple": false,
308
303
  "type": "option"
309
- },
310
- "redundancy-group-ssl-enabled": {
311
- "char": "r",
312
- "description": "Enable or disable SSL for the redundancy group (for mate-link encryption). The default value is false (disabled)",
313
- "name": "redundancy-group-ssl-enabled",
314
- "allowNo": false,
315
- "type": "boolean"
316
- },
317
- "service-class-id": {
318
- "char": "c",
319
- "description": "Supported service classes.",
320
- "name": "service-class-id",
321
- "required": true,
322
- "hasDynamicHelp": false,
323
- "multiple": false,
324
- "type": "option"
325
- },
326
- "version": {
327
- "char": "v",
328
- "description": "The event broker version. A default version is provided when this is not specified.",
329
- "name": "version",
330
- "hasDynamicHelp": false,
331
- "multiple": false,
332
- "type": "option"
333
304
  }
334
305
  },
335
306
  "hasDynamicHelp": false,
336
307
  "hiddenAliases": [],
337
- "id": "missionctrl:broker:create",
308
+ "id": "platform:env:create",
338
309
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
339
310
  "pluginName": "@dishantlangayan/solace-cloud-cli",
340
311
  "pluginType": "core",
@@ -344,19 +315,20 @@
344
315
  "relativePath": [
345
316
  "dist",
346
317
  "commands",
347
- "missionctrl",
348
- "broker",
318
+ "platform",
319
+ "env",
349
320
  "create.js"
350
321
  ]
351
322
  },
352
- "missionctrl:broker:delete": {
323
+ "platform:env:delete": {
353
324
  "aliases": [],
354
325
  "args": {},
355
- "description": "Delete a service using its unique identifier.\n\nYour token must have one of the permissions listed in the Token Permissions.\n\nToken Permissions: [ `services:delete` **or** `services:delete:self` **or** `mission_control:access` ]",
326
+ "description": "Delete an environment using either its name or unique identifier. The default environment cannot be deleted.\n\n Token Permissions: [ environments:edit ]",
356
327
  "examples": [
357
- "<%= config.bin %> <%= command.id %> --broker-id=MyBrokerId",
358
- "<%= config.bin %> <%= command.id %> --name=MyBrokerName",
359
- "<%= config.bin %> <%= command.id %> --org=my-org --broker-id=MyBrokerId"
328
+ "<%= config.bin %> <%= command.id %> --name=MyEnvName",
329
+ "<%= config.bin %> <%= command.id %> --env-id=MyEnvId",
330
+ "<%= config.bin %> <%= command.id %> --org=my-org --name=MyEnvName",
331
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyEnvName"
360
332
  ],
361
333
  "flags": {
362
334
  "json": {
@@ -382,17 +354,28 @@
382
354
  ],
383
355
  "type": "option"
384
356
  },
385
- "broker-id": {
386
- "char": "b",
387
- "description": "Id of the event broker service.",
388
- "name": "broker-id",
357
+ "alias": {
358
+ "char": "a",
359
+ "description": "Organization alias to use. If not specified, uses the default organization.",
360
+ "exclusive": [
361
+ "org"
362
+ ],
363
+ "name": "alias",
364
+ "hasDynamicHelp": false,
365
+ "multiple": false,
366
+ "type": "option"
367
+ },
368
+ "env-id": {
369
+ "char": "e",
370
+ "description": "Id of the environment.",
371
+ "name": "env-id",
389
372
  "hasDynamicHelp": false,
390
373
  "multiple": false,
391
374
  "type": "option"
392
375
  },
393
376
  "name": {
394
377
  "char": "n",
395
- "description": "Name of the event broker service.",
378
+ "description": "Name of the environment.",
396
379
  "name": "name",
397
380
  "hasDynamicHelp": false,
398
381
  "multiple": false,
@@ -400,7 +383,10 @@
400
383
  },
401
384
  "org": {
402
385
  "char": "o",
403
- "description": "Organization ID or alias to use. If not specified, uses the default organization.",
386
+ "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
387
+ "exclusive": [
388
+ "alias"
389
+ ],
404
390
  "name": "org",
405
391
  "hasDynamicHelp": false,
406
392
  "multiple": false,
@@ -409,7 +395,7 @@
409
395
  },
410
396
  "hasDynamicHelp": false,
411
397
  "hiddenAliases": [],
412
- "id": "missionctrl:broker:delete",
398
+ "id": "platform:env:delete",
413
399
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
414
400
  "pluginName": "@dishantlangayan/solace-cloud-cli",
415
401
  "pluginType": "core",
@@ -419,18 +405,20 @@
419
405
  "relativePath": [
420
406
  "dist",
421
407
  "commands",
422
- "missionctrl",
423
- "broker",
408
+ "platform",
409
+ "env",
424
410
  "delete.js"
425
411
  ]
426
412
  },
427
- "missionctrl:broker:display": {
413
+ "platform:env:display": {
428
414
  "aliases": [],
429
415
  "args": {},
430
- "description": "Get the details of an event broker service using its identifier or name.\n \n Use either the Event Broker's ID (--broker-id) or name of the Event Broker (--name).\n \n Token Permissions: [ `mission_control:access` **or** `services:get` **or** `services:get:self` **or** `services:view` **or** `services:view:self` ]",
416
+ "description": "Display information about an Environment.\n \n Use either the Environment's ID (--env-id) or name of the Environment (--name).\n \n Required token permissions: [ environments:view ]",
431
417
  "examples": [
432
- "<%= config.bin %> <%= command.id %> --broker-id=MyBrokerId",
433
- "<%= config.bin %> <%= command.id %> --org=my-org --name=MyBrokerName"
418
+ "<%= config.bin %> <%= command.id %> --name=MyEnvName",
419
+ "<%= config.bin %> <%= command.id %> --env-id=MyEnvId",
420
+ "<%= config.bin %> <%= command.id %> --org=my-org --env-id=MyEnvId",
421
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyEnvName"
434
422
  ],
435
423
  "flags": {
436
424
  "json": {
@@ -456,17 +444,28 @@
456
444
  ],
457
445
  "type": "option"
458
446
  },
459
- "broker-id": {
460
- "char": "b",
461
- "description": "Id of the event broker service.",
462
- "name": "broker-id",
447
+ "alias": {
448
+ "char": "a",
449
+ "description": "Organization alias to use. If not specified, uses the default organization.",
450
+ "exclusive": [
451
+ "org"
452
+ ],
453
+ "name": "alias",
454
+ "hasDynamicHelp": false,
455
+ "multiple": false,
456
+ "type": "option"
457
+ },
458
+ "env-id": {
459
+ "char": "e",
460
+ "description": "Id of the environment.",
461
+ "name": "env-id",
463
462
  "hasDynamicHelp": false,
464
463
  "multiple": false,
465
464
  "type": "option"
466
465
  },
467
466
  "name": {
468
467
  "char": "n",
469
- "description": "Name of the event broker service.",
468
+ "description": "Name of the environment.",
470
469
  "name": "name",
471
470
  "hasDynamicHelp": false,
472
471
  "multiple": false,
@@ -474,7 +473,10 @@
474
473
  },
475
474
  "org": {
476
475
  "char": "o",
477
- "description": "Organization ID or alias to use. If not specified, uses the default organization.",
476
+ "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
477
+ "exclusive": [
478
+ "alias"
479
+ ],
478
480
  "name": "org",
479
481
  "hasDynamicHelp": false,
480
482
  "multiple": false,
@@ -483,7 +485,7 @@
483
485
  },
484
486
  "hasDynamicHelp": false,
485
487
  "hiddenAliases": [],
486
- "id": "missionctrl:broker:display",
488
+ "id": "platform:env:display",
487
489
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
488
490
  "pluginName": "@dishantlangayan/solace-cloud-cli",
489
491
  "pluginType": "core",
@@ -493,19 +495,19 @@
493
495
  "relativePath": [
494
496
  "dist",
495
497
  "commands",
496
- "missionctrl",
497
- "broker",
498
+ "platform",
499
+ "env",
498
500
  "display.js"
499
501
  ]
500
502
  },
501
- "missionctrl:broker:list": {
503
+ "platform:env:list": {
502
504
  "aliases": [],
503
505
  "args": {},
504
- "description": "Get a listing of event broker services.\n\nYour token must have one of the permissions listed in the Token Permissions.\n\nToken Permissions: [ `mission_control:access` **or** `services:get` **or** `services:get:self` **or** `services:view` **or** `services:view:self` ]",
506
+ "description": "Get a list of all Environments. \n \n Required token permissions: [ environments:view ]",
505
507
  "examples": [
506
508
  "<%= config.bin %> <%= command.id %>",
507
509
  "<%= config.bin %> <%= command.id %> --org=my-org",
508
- "<%= config.bin %> <%= command.id %> --name=MyBrokerName --pageNumber=1 --pageSize=10 --sort=name:asc"
510
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=Default --pageNumber=1 --pageSize=10 --sort=name:ASC"
509
511
  ],
510
512
  "flags": {
511
513
  "json": {
@@ -531,9 +533,20 @@
531
533
  ],
532
534
  "type": "option"
533
535
  },
536
+ "alias": {
537
+ "char": "a",
538
+ "description": "Organization alias to use. If not specified, uses the default organization.",
539
+ "exclusive": [
540
+ "org"
541
+ ],
542
+ "name": "alias",
543
+ "hasDynamicHelp": false,
544
+ "multiple": false,
545
+ "type": "option"
546
+ },
534
547
  "name": {
535
548
  "char": "n",
536
- "description": "Name of the event broker service to match on.",
549
+ "description": "Name of the environment to match on.",
537
550
  "name": "name",
538
551
  "hasDynamicHelp": false,
539
552
  "multiple": false,
@@ -541,28 +554,33 @@
541
554
  },
542
555
  "org": {
543
556
  "char": "o",
544
- "description": "Organization ID or alias to use. If not specified, uses the default organization.",
557
+ "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
558
+ "exclusive": [
559
+ "alias"
560
+ ],
545
561
  "name": "org",
546
562
  "hasDynamicHelp": false,
547
563
  "multiple": false,
548
564
  "type": "option"
549
565
  },
550
566
  "pageNumber": {
551
- "description": "The page number to get. Defaults to 1",
567
+ "char": "p",
568
+ "description": "The page number to get. Defaults to 10",
552
569
  "name": "pageNumber",
553
570
  "hasDynamicHelp": false,
554
571
  "multiple": false,
555
572
  "type": "option"
556
573
  },
557
574
  "pageSize": {
558
- "description": "The number of event broker services to return per page. Defaults to 10",
575
+ "char": "s",
576
+ "description": "The number of environments to get per page. Defaults to 1",
559
577
  "name": "pageSize",
560
578
  "hasDynamicHelp": false,
561
579
  "multiple": false,
562
580
  "type": "option"
563
581
  },
564
582
  "sort": {
565
- "description": "Sort the returned event broker services by attribute.\n\n You can use the following value formats for the sort order:\n\n * attributes-names \n * attributes-names:sort-order",
583
+ "description": "The query (fieldName:<ASC/DESC>) used to sort the environment list in the response.",
566
584
  "name": "sort",
567
585
  "hasDynamicHelp": false,
568
586
  "multiple": false,
@@ -571,7 +589,7 @@
571
589
  },
572
590
  "hasDynamicHelp": false,
573
591
  "hiddenAliases": [],
574
- "id": "missionctrl:broker:list",
592
+ "id": "platform:env:list",
575
593
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
576
594
  "pluginName": "@dishantlangayan/solace-cloud-cli",
577
595
  "pluginType": "core",
@@ -581,19 +599,20 @@
581
599
  "relativePath": [
582
600
  "dist",
583
601
  "commands",
584
- "missionctrl",
585
- "broker",
602
+ "platform",
603
+ "env",
586
604
  "list.js"
587
605
  ]
588
606
  },
589
- "missionctrl:broker:opstatus": {
607
+ "platform:env:update": {
590
608
  "aliases": [],
591
609
  "args": {},
592
- "description": "Get the status of all operations being performed on an event broker service. \n To get the operation status, you must provide the identifier or name of the event broker service.\n\n Token Permissions: [ mission_control:access or services:get or services:get:self or services:view or services:view:self ]",
610
+ "description": "Modify an environment's attributes\n \n Use either the Environment's ID (--env-id) or name of the Environment (--name).\n \n Token Permissions: [ environments:edit ]\n ",
593
611
  "examples": [
594
- "<%= config.bin %> <%= command.id %> -b <broker-id>",
595
- "<%= config.bin %> <%= command.id %> -n <broker-name>",
596
- "<%= config.bin %> <%= command.id %> --org=my-org -b <broker-id>"
612
+ "<%= config.bin %> <%= command.id %> --name=MyEnvName --new-name=MyNewEnvName",
613
+ "<%= config.bin %> <%= command.id %> --env-id=MyEnvId --new-name=MyNewEnvName --description=\"My description to update\" --isDefault",
614
+ "<%= config.bin %> <%= command.id %> --org=my-org --name=MyEnvName --isDefault",
615
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyEnvName --new-name=MyNewEnvName"
597
616
  ],
598
617
  "flags": {
599
618
  "json": {
@@ -619,41 +638,61 @@
619
638
  ],
620
639
  "type": "option"
621
640
  },
622
- "broker-id": {
623
- "char": "b",
624
- "description": "Id of the event broker service.",
625
- "name": "broker-id",
641
+ "alias": {
642
+ "char": "a",
643
+ "description": "Organization alias to use. If not specified, uses the default organization.",
644
+ "exclusive": [
645
+ "org"
646
+ ],
647
+ "name": "alias",
626
648
  "hasDynamicHelp": false,
627
649
  "multiple": false,
628
650
  "type": "option"
629
651
  },
630
- "name": {
631
- "char": "n",
632
- "description": "Name of the event broker service.",
633
- "name": "name",
652
+ "description": {
653
+ "char": "d",
654
+ "description": "Description of the environment to update.",
655
+ "name": "description",
634
656
  "hasDynamicHelp": false,
635
657
  "multiple": false,
636
658
  "type": "option"
637
659
  },
638
- "org": {
639
- "char": "o",
640
- "description": "Organization ID or alias to use. If not specified, uses the default organization.",
641
- "name": "org",
660
+ "env-id": {
661
+ "char": "e",
662
+ "description": "Id of the environment.",
663
+ "name": "env-id",
642
664
  "hasDynamicHelp": false,
643
665
  "multiple": false,
644
666
  "type": "option"
645
667
  },
646
- "show-progress": {
647
- "char": "p",
648
- "description": "Displays a status bar of the in-progress operations. The command will wait for completion of each step of the operation.",
649
- "name": "show-progress",
668
+ "isDefault": {
669
+ "description": "Indicates this is the organization's default environment. The default value is false.",
670
+ "name": "isDefault",
650
671
  "allowNo": false,
651
672
  "type": "boolean"
652
673
  },
653
- "wait-ms": {
654
- "char": "w",
655
- "description": "The milliseconds to wait between API calls for checking progress of the operation. Default is 5000 ms.",
656
- "name": "wait-ms",
674
+ "name": {
675
+ "char": "n",
676
+ "description": "Current name of the environment.",
677
+ "name": "name",
678
+ "hasDynamicHelp": false,
679
+ "multiple": false,
680
+ "type": "option"
681
+ },
682
+ "new-name": {
683
+ "description": "New name of the environment.",
684
+ "name": "new-name",
685
+ "hasDynamicHelp": false,
686
+ "multiple": false,
687
+ "type": "option"
688
+ },
689
+ "org": {
690
+ "char": "o",
691
+ "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
692
+ "exclusive": [
693
+ "alias"
694
+ ],
695
+ "name": "org",
657
696
  "hasDynamicHelp": false,
658
697
  "multiple": false,
659
698
  "type": "option"
@@ -661,7 +700,7 @@
661
700
  },
662
701
  "hasDynamicHelp": false,
663
702
  "hiddenAliases": [],
664
- "id": "missionctrl:broker:opstatus",
703
+ "id": "platform:env:update",
665
704
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
666
705
  "pluginName": "@dishantlangayan/solace-cloud-cli",
667
706
  "pluginType": "core",
@@ -671,19 +710,19 @@
671
710
  "relativePath": [
672
711
  "dist",
673
712
  "commands",
674
- "missionctrl",
675
- "broker",
676
- "opstatus.js"
713
+ "platform",
714
+ "env",
715
+ "update.js"
677
716
  ]
678
717
  },
679
- "missionctrl:broker:state": {
718
+ "missionctrl:broker:create": {
680
719
  "aliases": [],
681
720
  "args": {},
682
- "description": "Get the availability state of an event broker service and the name of the active messaging node using the service's unique identifier.\n\n Your token must have one of the permissions listed in the Token Permissions.\n \n Token Permissions: [ mission_control:access or services:get or services:get:self or services:view or services:view:self ]",
721
+ "description": "Create an event broker service. You must provide a unique name and select a service class and datacenter. You can optionally define other properties for the event broker service.\n\nYour token must have one of the permissions listed in the Token Permissions.\n\nToken Permissions: [ `services:post` ]",
683
722
  "examples": [
684
- "<%= config.bin %> <%= command.id %> --broker-id=MyBrokerServiceId",
685
- "<%= config.bin %> <%= command.id %> --name=MyBrokerName",
686
- "<%= config.bin %> <%= command.id %> --org=my-org --broker-id=MyBrokerServiceId"
723
+ "<%= config.bin %> <%= command.id %> --name=MyBrokerName --datacenter-id=eks-ca-central-1a --service-class-id=DEVELOPER",
724
+ "<%= config.bin %> <%= command.id %> --org=my-org --name=MyBrokerName --datacenter-id=eks-ca-central-1a --service-class-id=DEVELOPER",
725
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyBrokerName --datacenter-id=eks-ca-central-1a --service-class-id=DEVELOPER"
687
726
  ],
688
727
  "flags": {
689
728
  "json": {
@@ -709,34 +748,105 @@
709
748
  ],
710
749
  "type": "option"
711
750
  },
712
- "broker-id": {
713
- "char": "b",
714
- "description": "Id of the event broker service.",
715
- "name": "broker-id",
751
+ "alias": {
752
+ "char": "a",
753
+ "description": "Organization alias to use. If not specified, uses the default organization.",
754
+ "exclusive": [
755
+ "org"
756
+ ],
757
+ "name": "alias",
758
+ "hasDynamicHelp": false,
759
+ "multiple": false,
760
+ "type": "option"
761
+ },
762
+ "datacenter-id": {
763
+ "char": "d",
764
+ "description": "The identifier of the datacenter.",
765
+ "name": "datacenter-id",
766
+ "required": true,
767
+ "hasDynamicHelp": false,
768
+ "multiple": false,
769
+ "type": "option"
770
+ },
771
+ "env-name": {
772
+ "char": "e",
773
+ "description": "The name of the environment environment where you want to create the service. \n You can only specify an environment identifier when creating services in a Public Region. \n You cannot specify an environment identifier when creating a service in a Dedicated Region. \n If no name is provided, the service will be created in the default environment.",
774
+ "name": "env-name",
775
+ "hasDynamicHelp": false,
776
+ "multiple": false,
777
+ "type": "option"
778
+ },
779
+ "locked": {
780
+ "char": "l",
781
+ "description": "Indicates if you can delete the event broker service after creating it. The default value is false.",
782
+ "name": "locked",
783
+ "allowNo": false,
784
+ "type": "boolean"
785
+ },
786
+ "max-spool-usage": {
787
+ "char": "s",
788
+ "description": "The message spool size, in gigabytes (GB). A default message spool size is provided if this is not specified.",
789
+ "name": "max-spool-usage",
790
+ "hasDynamicHelp": false,
791
+ "multiple": false,
792
+ "type": "option"
793
+ },
794
+ "msg-vpn-name": {
795
+ "char": "m",
796
+ "description": "The message VPN name. A default message VPN name is provided when this is not specified.",
797
+ "name": "msg-vpn-name",
716
798
  "hasDynamicHelp": false,
717
799
  "multiple": false,
718
800
  "type": "option"
719
801
  },
720
802
  "name": {
721
803
  "char": "n",
722
- "description": "Name of the event broker service.",
804
+ "description": "Name of the event broker service to create.",
723
805
  "name": "name",
806
+ "required": true,
724
807
  "hasDynamicHelp": false,
725
808
  "multiple": false,
726
809
  "type": "option"
727
810
  },
728
811
  "org": {
729
812
  "char": "o",
730
- "description": "Organization ID or alias to use. If not specified, uses the default organization.",
813
+ "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
814
+ "exclusive": [
815
+ "alias"
816
+ ],
731
817
  "name": "org",
732
818
  "hasDynamicHelp": false,
733
819
  "multiple": false,
734
820
  "type": "option"
821
+ },
822
+ "redundancy-group-ssl-enabled": {
823
+ "char": "r",
824
+ "description": "Enable or disable SSL for the redundancy group (for mate-link encryption). The default value is false (disabled)",
825
+ "name": "redundancy-group-ssl-enabled",
826
+ "allowNo": false,
827
+ "type": "boolean"
828
+ },
829
+ "service-class-id": {
830
+ "char": "c",
831
+ "description": "Supported service classes.",
832
+ "name": "service-class-id",
833
+ "required": true,
834
+ "hasDynamicHelp": false,
835
+ "multiple": false,
836
+ "type": "option"
837
+ },
838
+ "version": {
839
+ "char": "v",
840
+ "description": "The event broker version. A default version is provided when this is not specified.",
841
+ "name": "version",
842
+ "hasDynamicHelp": false,
843
+ "multiple": false,
844
+ "type": "option"
735
845
  }
736
846
  },
737
847
  "hasDynamicHelp": false,
738
848
  "hiddenAliases": [],
739
- "id": "missionctrl:broker:state",
849
+ "id": "missionctrl:broker:create",
740
850
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
741
851
  "pluginName": "@dishantlangayan/solace-cloud-cli",
742
852
  "pluginType": "core",
@@ -748,17 +858,18 @@
748
858
  "commands",
749
859
  "missionctrl",
750
860
  "broker",
751
- "state.js"
861
+ "create.js"
752
862
  ]
753
863
  },
754
- "missionctrl:broker:update": {
864
+ "missionctrl:broker:delete": {
755
865
  "aliases": [],
756
866
  "args": {},
757
- "description": "Update the configuration of an existing event broker service. \n You can provide any combination of supported flags. If a flag is not provided, then it will not be updated.\n \n Your token must have one of the permissions listed in the Token Permissions.\n\n Token Permissions: [ mission_control:access or services:put ]",
867
+ "description": "Delete a service using its unique identifier.\n\nYour token must have one of the permissions listed in the Token Permissions.\n\nToken Permissions: [ `services:delete` **or** `services:delete:self` **or** `mission_control:access` ]",
758
868
  "examples": [
759
- "<%= config.bin %> <%= command.id %>",
760
- "<%= config.bin %> <%= command.id %> --broker-id <broker-id> --new-name <new-name>",
761
- "<%= config.bin %> <%= command.id %> --org=my-org --name <name> --new-name <new-name>"
869
+ "<%= config.bin %> <%= command.id %> --broker-id=MyBrokerId",
870
+ "<%= config.bin %> <%= command.id %> --name=MyBrokerName",
871
+ "<%= config.bin %> <%= command.id %> --org=my-org --broker-id=MyBrokerId",
872
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyBrokerName"
762
873
  ],
763
874
  "flags": {
764
875
  "json": {
@@ -784,18 +895,21 @@
784
895
  ],
785
896
  "type": "option"
786
897
  },
787
- "broker-id": {
788
- "char": "b",
789
- "description": "Id of the event broker service.",
790
- "name": "broker-id",
898
+ "alias": {
899
+ "char": "a",
900
+ "description": "Organization alias to use. If not specified, uses the default organization.",
901
+ "exclusive": [
902
+ "org"
903
+ ],
904
+ "name": "alias",
791
905
  "hasDynamicHelp": false,
792
906
  "multiple": false,
793
907
  "type": "option"
794
908
  },
795
- "locked": {
796
- "char": "l",
797
- "description": "Indicates whether the event broker service has deletion protection enabled. The valid values are 'true' (enabled) or 'false' (disabled).",
798
- "name": "locked",
909
+ "broker-id": {
910
+ "char": "b",
911
+ "description": "Id of the event broker service.",
912
+ "name": "broker-id",
799
913
  "hasDynamicHelp": false,
800
914
  "multiple": false,
801
915
  "type": "option"
@@ -808,16 +922,12 @@
808
922
  "multiple": false,
809
923
  "type": "option"
810
924
  },
811
- "new-name": {
812
- "description": "New name of the event broker service. The new service name must be unique within an organization.",
813
- "name": "new-name",
814
- "hasDynamicHelp": false,
815
- "multiple": false,
816
- "type": "option"
817
- },
818
925
  "org": {
819
926
  "char": "o",
820
- "description": "Organization ID or alias to use. If not specified, uses the default organization.",
927
+ "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
928
+ "exclusive": [
929
+ "alias"
930
+ ],
821
931
  "name": "org",
822
932
  "hasDynamicHelp": false,
823
933
  "multiple": false,
@@ -826,7 +936,7 @@
826
936
  },
827
937
  "hasDynamicHelp": false,
828
938
  "hiddenAliases": [],
829
- "id": "missionctrl:broker:update",
939
+ "id": "missionctrl:broker:delete",
830
940
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
831
941
  "pluginName": "@dishantlangayan/solace-cloud-cli",
832
942
  "pluginType": "core",
@@ -838,16 +948,17 @@
838
948
  "commands",
839
949
  "missionctrl",
840
950
  "broker",
841
- "update.js"
951
+ "delete.js"
842
952
  ]
843
953
  },
844
- "platform:env:create": {
954
+ "missionctrl:broker:display": {
845
955
  "aliases": [],
846
956
  "args": {},
847
- "description": "Create a new environment.\n\n Token Permissions: [ environments:edit ]",
957
+ "description": "Get the details of an event broker service using its identifier or name.\n \n Use either the Event Broker's ID (--broker-id) or name of the Event Broker (--name).\n \n Token Permissions: [ `mission_control:access` **or** `services:get` **or** `services:get:self` **or** `services:view` **or** `services:view:self` ]",
848
958
  "examples": [
849
- "<%= config.bin %> <%= command.id %> --name=MyEnvironment",
850
- "<%= config.bin %> <%= command.id %> --org=my-org --name=MyEnvironment --description=\"My environment description\" --isDefault --isProduction"
959
+ "<%= config.bin %> <%= command.id %> --broker-id=MyBrokerId",
960
+ "<%= config.bin %> <%= command.id %> --org=my-org --name=MyBrokerName",
961
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyBrokerName"
851
962
  ],
852
963
  "flags": {
853
964
  "json": {
@@ -873,38 +984,39 @@
873
984
  ],
874
985
  "type": "option"
875
986
  },
876
- "description": {
877
- "char": "d",
878
- "description": "Description of the environment to create.",
879
- "name": "description",
987
+ "alias": {
988
+ "char": "a",
989
+ "description": "Organization alias to use. If not specified, uses the default organization.",
990
+ "exclusive": [
991
+ "org"
992
+ ],
993
+ "name": "alias",
880
994
  "hasDynamicHelp": false,
881
995
  "multiple": false,
882
996
  "type": "option"
883
997
  },
884
- "isDefault": {
885
- "description": "Indicates this is the organization's default environment.",
886
- "name": "isDefault",
887
- "allowNo": false,
888
- "type": "boolean"
889
- },
890
- "isProduction": {
891
- "description": "Indicates this is an organization's production environment. \n This is an immutable field. If an environment needs to be migrated, \n architecture can be migrated to a new environment with the desired \n environment type instead.",
892
- "name": "isProduction",
893
- "allowNo": false,
894
- "type": "boolean"
998
+ "broker-id": {
999
+ "char": "b",
1000
+ "description": "Id of the event broker service.",
1001
+ "name": "broker-id",
1002
+ "hasDynamicHelp": false,
1003
+ "multiple": false,
1004
+ "type": "option"
895
1005
  },
896
1006
  "name": {
897
1007
  "char": "n",
898
- "description": "Name of the environment to create.",
1008
+ "description": "Name of the event broker service.",
899
1009
  "name": "name",
900
- "required": true,
901
1010
  "hasDynamicHelp": false,
902
1011
  "multiple": false,
903
1012
  "type": "option"
904
1013
  },
905
1014
  "org": {
906
1015
  "char": "o",
907
- "description": "Organization ID or alias to use. If not specified, uses the default organization.",
1016
+ "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
1017
+ "exclusive": [
1018
+ "alias"
1019
+ ],
908
1020
  "name": "org",
909
1021
  "hasDynamicHelp": false,
910
1022
  "multiple": false,
@@ -913,7 +1025,7 @@
913
1025
  },
914
1026
  "hasDynamicHelp": false,
915
1027
  "hiddenAliases": [],
916
- "id": "platform:env:create",
1028
+ "id": "missionctrl:broker:display",
917
1029
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
918
1030
  "pluginName": "@dishantlangayan/solace-cloud-cli",
919
1031
  "pluginType": "core",
@@ -923,19 +1035,19 @@
923
1035
  "relativePath": [
924
1036
  "dist",
925
1037
  "commands",
926
- "platform",
927
- "env",
928
- "create.js"
1038
+ "missionctrl",
1039
+ "broker",
1040
+ "display.js"
929
1041
  ]
930
1042
  },
931
- "platform:env:delete": {
1043
+ "missionctrl:broker:list": {
932
1044
  "aliases": [],
933
1045
  "args": {},
934
- "description": "Delete an environment using either its name or unique identifier. The default environment cannot be deleted.\n\n Token Permissions: [ environments:edit ]",
1046
+ "description": "Get a listing of event broker services.\n\nYour token must have one of the permissions listed in the Token Permissions.\n\nToken Permissions: [ `mission_control:access` **or** `services:get` **or** `services:get:self` **or** `services:view` **or** `services:view:self` ]",
935
1047
  "examples": [
936
- "<%= config.bin %> <%= command.id %> --name=MyEnvName",
937
- "<%= config.bin %> <%= command.id %> --env-id=MyEnvId",
938
- "<%= config.bin %> <%= command.id %> --org=my-org --name=MyEnvName"
1048
+ "<%= config.bin %> <%= command.id %>",
1049
+ "<%= config.bin %> <%= command.id %> --org=my-org",
1050
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyBrokerName --pageNumber=1 --pageSize=10 --sort=name:asc"
939
1051
  ],
940
1052
  "flags": {
941
1053
  "json": {
@@ -961,17 +1073,20 @@
961
1073
  ],
962
1074
  "type": "option"
963
1075
  },
964
- "env-id": {
965
- "char": "e",
966
- "description": "Id of the environment.",
967
- "name": "env-id",
1076
+ "alias": {
1077
+ "char": "a",
1078
+ "description": "Organization alias to use. If not specified, uses the default organization.",
1079
+ "exclusive": [
1080
+ "org"
1081
+ ],
1082
+ "name": "alias",
968
1083
  "hasDynamicHelp": false,
969
1084
  "multiple": false,
970
1085
  "type": "option"
971
1086
  },
972
1087
  "name": {
973
1088
  "char": "n",
974
- "description": "Name of the environment.",
1089
+ "description": "Name of the event broker service to match on.",
975
1090
  "name": "name",
976
1091
  "hasDynamicHelp": false,
977
1092
  "multiple": false,
@@ -979,16 +1094,40 @@
979
1094
  },
980
1095
  "org": {
981
1096
  "char": "o",
982
- "description": "Organization ID or alias to use. If not specified, uses the default organization.",
1097
+ "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
1098
+ "exclusive": [
1099
+ "alias"
1100
+ ],
983
1101
  "name": "org",
984
1102
  "hasDynamicHelp": false,
985
1103
  "multiple": false,
986
1104
  "type": "option"
1105
+ },
1106
+ "pageNumber": {
1107
+ "description": "The page number to get. Defaults to 1",
1108
+ "name": "pageNumber",
1109
+ "hasDynamicHelp": false,
1110
+ "multiple": false,
1111
+ "type": "option"
1112
+ },
1113
+ "pageSize": {
1114
+ "description": "The number of event broker services to return per page. Defaults to 10",
1115
+ "name": "pageSize",
1116
+ "hasDynamicHelp": false,
1117
+ "multiple": false,
1118
+ "type": "option"
1119
+ },
1120
+ "sort": {
1121
+ "description": "Sort the returned event broker services by attribute.\n\n You can use the following value formats for the sort order:\n\n * attributes-names \n * attributes-names:sort-order",
1122
+ "name": "sort",
1123
+ "hasDynamicHelp": false,
1124
+ "multiple": false,
1125
+ "type": "option"
987
1126
  }
988
1127
  },
989
1128
  "hasDynamicHelp": false,
990
1129
  "hiddenAliases": [],
991
- "id": "platform:env:delete",
1130
+ "id": "missionctrl:broker:list",
992
1131
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
993
1132
  "pluginName": "@dishantlangayan/solace-cloud-cli",
994
1133
  "pluginType": "core",
@@ -998,19 +1137,20 @@
998
1137
  "relativePath": [
999
1138
  "dist",
1000
1139
  "commands",
1001
- "platform",
1002
- "env",
1003
- "delete.js"
1140
+ "missionctrl",
1141
+ "broker",
1142
+ "list.js"
1004
1143
  ]
1005
1144
  },
1006
- "platform:env:display": {
1145
+ "missionctrl:broker:opstatus": {
1007
1146
  "aliases": [],
1008
1147
  "args": {},
1009
- "description": "Display information about an Environment.\n \n Use either the Environment's ID (--env-id) or name of the Environment (--name).\n \n Required token permissions: [ environments:view ]",
1148
+ "description": "Get the status of all operations being performed on an event broker service. \n To get the operation status, you must provide the identifier or name of the event broker service.\n\n Token Permissions: [ mission_control:access or services:get or services:get:self or services:view or services:view:self ]",
1010
1149
  "examples": [
1011
- "<%= config.bin %> <%= command.id %> --name=MyEnvName",
1012
- "<%= config.bin %> <%= command.id %> --env-id=MyEnvId",
1013
- "<%= config.bin %> <%= command.id %> --org=my-org --env-id=MyEnvId"
1150
+ "<%= config.bin %> <%= command.id %> -b <broker-id>",
1151
+ "<%= config.bin %> <%= command.id %> -n <broker-name>",
1152
+ "<%= config.bin %> <%= command.id %> --org=my-org -b <broker-id>",
1153
+ "<%= config.bin %> <%= command.id %> --alias=my-alias -b <broker-id>"
1014
1154
  ],
1015
1155
  "flags": {
1016
1156
  "json": {
@@ -1036,17 +1176,28 @@
1036
1176
  ],
1037
1177
  "type": "option"
1038
1178
  },
1039
- "env-id": {
1040
- "char": "e",
1041
- "description": "Id of the environment.",
1042
- "name": "env-id",
1179
+ "alias": {
1180
+ "char": "a",
1181
+ "description": "Organization alias to use. If not specified, uses the default organization.",
1182
+ "exclusive": [
1183
+ "org"
1184
+ ],
1185
+ "name": "alias",
1186
+ "hasDynamicHelp": false,
1187
+ "multiple": false,
1188
+ "type": "option"
1189
+ },
1190
+ "broker-id": {
1191
+ "char": "b",
1192
+ "description": "Id of the event broker service.",
1193
+ "name": "broker-id",
1043
1194
  "hasDynamicHelp": false,
1044
1195
  "multiple": false,
1045
1196
  "type": "option"
1046
1197
  },
1047
1198
  "name": {
1048
1199
  "char": "n",
1049
- "description": "Name of the environment.",
1200
+ "description": "Name of the event broker service.",
1050
1201
  "name": "name",
1051
1202
  "hasDynamicHelp": false,
1052
1203
  "multiple": false,
@@ -1054,16 +1205,34 @@
1054
1205
  },
1055
1206
  "org": {
1056
1207
  "char": "o",
1057
- "description": "Organization ID or alias to use. If not specified, uses the default organization.",
1208
+ "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
1209
+ "exclusive": [
1210
+ "alias"
1211
+ ],
1058
1212
  "name": "org",
1059
1213
  "hasDynamicHelp": false,
1060
1214
  "multiple": false,
1061
1215
  "type": "option"
1216
+ },
1217
+ "show-progress": {
1218
+ "char": "p",
1219
+ "description": "Displays a status bar of the in-progress operations. The command will wait for completion of each step of the operation.",
1220
+ "name": "show-progress",
1221
+ "allowNo": false,
1222
+ "type": "boolean"
1223
+ },
1224
+ "wait-ms": {
1225
+ "char": "w",
1226
+ "description": "The milliseconds to wait between API calls for checking progress of the operation. Default is 5000 ms.",
1227
+ "name": "wait-ms",
1228
+ "hasDynamicHelp": false,
1229
+ "multiple": false,
1230
+ "type": "option"
1062
1231
  }
1063
1232
  },
1064
1233
  "hasDynamicHelp": false,
1065
1234
  "hiddenAliases": [],
1066
- "id": "platform:env:display",
1235
+ "id": "missionctrl:broker:opstatus",
1067
1236
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
1068
1237
  "pluginName": "@dishantlangayan/solace-cloud-cli",
1069
1238
  "pluginType": "core",
@@ -1073,19 +1242,20 @@
1073
1242
  "relativePath": [
1074
1243
  "dist",
1075
1244
  "commands",
1076
- "platform",
1077
- "env",
1078
- "display.js"
1245
+ "missionctrl",
1246
+ "broker",
1247
+ "opstatus.js"
1079
1248
  ]
1080
1249
  },
1081
- "platform:env:list": {
1250
+ "missionctrl:broker:state": {
1082
1251
  "aliases": [],
1083
1252
  "args": {},
1084
- "description": "Get a list of all Environments. \n \n Required token permissions: [ environments:view ]",
1253
+ "description": "Get the availability state of an event broker service and the name of the active messaging node using the service's unique identifier.\n\n Your token must have one of the permissions listed in the Token Permissions.\n \n Token Permissions: [ mission_control:access or services:get or services:get:self or services:view or services:view:self ]",
1085
1254
  "examples": [
1086
- "<%= config.bin %> <%= command.id %>",
1087
- "<%= config.bin %> <%= command.id %> --org=my-org",
1088
- "<%= config.bin %> <%= command.id %> --name=Default --pageNumber=1 --pageSize=10 --sort=name:ASC"
1255
+ "<%= config.bin %> <%= command.id %> --broker-id=MyBrokerServiceId",
1256
+ "<%= config.bin %> <%= command.id %> --name=MyBrokerName",
1257
+ "<%= config.bin %> <%= command.id %> --org=my-org --broker-id=MyBrokerServiceId",
1258
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyBrokerName"
1089
1259
  ],
1090
1260
  "flags": {
1091
1261
  "json": {
@@ -1111,41 +1281,40 @@
1111
1281
  ],
1112
1282
  "type": "option"
1113
1283
  },
1114
- "name": {
1115
- "char": "n",
1116
- "description": "Name of the environment to match on.",
1117
- "name": "name",
1118
- "hasDynamicHelp": false,
1119
- "multiple": false,
1120
- "type": "option"
1121
- },
1122
- "org": {
1123
- "char": "o",
1124
- "description": "Organization ID or alias to use. If not specified, uses the default organization.",
1125
- "name": "org",
1284
+ "alias": {
1285
+ "char": "a",
1286
+ "description": "Organization alias to use. If not specified, uses the default organization.",
1287
+ "exclusive": [
1288
+ "org"
1289
+ ],
1290
+ "name": "alias",
1126
1291
  "hasDynamicHelp": false,
1127
1292
  "multiple": false,
1128
1293
  "type": "option"
1129
1294
  },
1130
- "pageNumber": {
1131
- "char": "p",
1132
- "description": "The page number to get. Defaults to 10",
1133
- "name": "pageNumber",
1295
+ "broker-id": {
1296
+ "char": "b",
1297
+ "description": "Id of the event broker service.",
1298
+ "name": "broker-id",
1134
1299
  "hasDynamicHelp": false,
1135
1300
  "multiple": false,
1136
1301
  "type": "option"
1137
1302
  },
1138
- "pageSize": {
1139
- "char": "s",
1140
- "description": "The number of environments to get per page. Defaults to 1",
1141
- "name": "pageSize",
1303
+ "name": {
1304
+ "char": "n",
1305
+ "description": "Name of the event broker service.",
1306
+ "name": "name",
1142
1307
  "hasDynamicHelp": false,
1143
1308
  "multiple": false,
1144
1309
  "type": "option"
1145
1310
  },
1146
- "sort": {
1147
- "description": "The query (fieldName:<ASC/DESC>) used to sort the environment list in the response.",
1148
- "name": "sort",
1311
+ "org": {
1312
+ "char": "o",
1313
+ "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
1314
+ "exclusive": [
1315
+ "alias"
1316
+ ],
1317
+ "name": "org",
1149
1318
  "hasDynamicHelp": false,
1150
1319
  "multiple": false,
1151
1320
  "type": "option"
@@ -1153,7 +1322,7 @@
1153
1322
  },
1154
1323
  "hasDynamicHelp": false,
1155
1324
  "hiddenAliases": [],
1156
- "id": "platform:env:list",
1325
+ "id": "missionctrl:broker:state",
1157
1326
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
1158
1327
  "pluginName": "@dishantlangayan/solace-cloud-cli",
1159
1328
  "pluginType": "core",
@@ -1163,19 +1332,20 @@
1163
1332
  "relativePath": [
1164
1333
  "dist",
1165
1334
  "commands",
1166
- "platform",
1167
- "env",
1168
- "list.js"
1335
+ "missionctrl",
1336
+ "broker",
1337
+ "state.js"
1169
1338
  ]
1170
1339
  },
1171
- "platform:env:update": {
1340
+ "missionctrl:broker:update": {
1172
1341
  "aliases": [],
1173
1342
  "args": {},
1174
- "description": "Modify an environment's attributes\n \n Use either the Environment's ID (--env-id) or name of the Environment (--name).\n \n Token Permissions: [ environments:edit ]\n ",
1343
+ "description": "Update the configuration of an existing event broker service. \n You can provide any combination of supported flags. If a flag is not provided, then it will not be updated.\n \n Your token must have one of the permissions listed in the Token Permissions.\n\n Token Permissions: [ mission_control:access or services:put ]",
1175
1344
  "examples": [
1176
- "<%= config.bin %> <%= command.id %> --name=MyEnvName --new-name=MyNewEnvName",
1177
- "<%= config.bin %> <%= command.id %> --env-id=MyEnvId --new-name=MyNewEnvName --description=\"My description to update\" --isDefault",
1178
- "<%= config.bin %> <%= command.id %> --org=my-org --name=MyEnvName --isDefault"
1345
+ "<%= config.bin %> <%= command.id %>",
1346
+ "<%= config.bin %> <%= command.id %> --broker-id <broker-id> --new-name <new-name>",
1347
+ "<%= config.bin %> <%= command.id %> --org=my-org --name <name> --new-name <new-name>",
1348
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name <name> --new-name <new-name>"
1179
1349
  ],
1180
1350
  "flags": {
1181
1351
  "json": {
@@ -1201,38 +1371,43 @@
1201
1371
  ],
1202
1372
  "type": "option"
1203
1373
  },
1204
- "description": {
1205
- "char": "d",
1206
- "description": "Description of the environment to update.",
1207
- "name": "description",
1374
+ "alias": {
1375
+ "char": "a",
1376
+ "description": "Organization alias to use. If not specified, uses the default organization.",
1377
+ "exclusive": [
1378
+ "org"
1379
+ ],
1380
+ "name": "alias",
1208
1381
  "hasDynamicHelp": false,
1209
1382
  "multiple": false,
1210
1383
  "type": "option"
1211
1384
  },
1212
- "env-id": {
1213
- "char": "e",
1214
- "description": "Id of the environment.",
1215
- "name": "env-id",
1385
+ "broker-id": {
1386
+ "char": "b",
1387
+ "description": "Id of the event broker service.",
1388
+ "name": "broker-id",
1216
1389
  "hasDynamicHelp": false,
1217
1390
  "multiple": false,
1218
1391
  "type": "option"
1219
1392
  },
1220
- "isDefault": {
1221
- "description": "Indicates this is the organization's default environment. The default value is false.",
1222
- "name": "isDefault",
1223
- "allowNo": false,
1224
- "type": "boolean"
1393
+ "locked": {
1394
+ "char": "l",
1395
+ "description": "Indicates whether the event broker service has deletion protection enabled. The valid values are 'true' (enabled) or 'false' (disabled).",
1396
+ "name": "locked",
1397
+ "hasDynamicHelp": false,
1398
+ "multiple": false,
1399
+ "type": "option"
1225
1400
  },
1226
1401
  "name": {
1227
1402
  "char": "n",
1228
- "description": "Current name of the environment.",
1403
+ "description": "Name of the event broker service.",
1229
1404
  "name": "name",
1230
1405
  "hasDynamicHelp": false,
1231
1406
  "multiple": false,
1232
1407
  "type": "option"
1233
1408
  },
1234
1409
  "new-name": {
1235
- "description": "New name of the environment.",
1410
+ "description": "New name of the event broker service. The new service name must be unique within an organization.",
1236
1411
  "name": "new-name",
1237
1412
  "hasDynamicHelp": false,
1238
1413
  "multiple": false,
@@ -1240,7 +1415,10 @@
1240
1415
  },
1241
1416
  "org": {
1242
1417
  "char": "o",
1243
- "description": "Organization ID or alias to use. If not specified, uses the default organization.",
1418
+ "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
1419
+ "exclusive": [
1420
+ "alias"
1421
+ ],
1244
1422
  "name": "org",
1245
1423
  "hasDynamicHelp": false,
1246
1424
  "multiple": false,
@@ -1249,7 +1427,7 @@
1249
1427
  },
1250
1428
  "hasDynamicHelp": false,
1251
1429
  "hiddenAliases": [],
1252
- "id": "platform:env:update",
1430
+ "id": "missionctrl:broker:update",
1253
1431
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
1254
1432
  "pluginName": "@dishantlangayan/solace-cloud-cli",
1255
1433
  "pluginType": "core",
@@ -1259,11 +1437,11 @@
1259
1437
  "relativePath": [
1260
1438
  "dist",
1261
1439
  "commands",
1262
- "platform",
1263
- "env",
1440
+ "missionctrl",
1441
+ "broker",
1264
1442
  "update.js"
1265
1443
  ]
1266
1444
  }
1267
1445
  },
1268
- "version": "0.3.0"
1446
+ "version": "0.4.0"
1269
1447
  }