@dishantlangayan/solace-cloud-cli 0.4.0 → 0.5.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.
@@ -218,14 +218,14 @@
218
218
  "logout.js"
219
219
  ]
220
220
  },
221
- "platform:env:create": {
221
+ "missionctrl:broker:create": {
222
222
  "aliases": [],
223
223
  "args": {},
224
- "description": "Create a new environment.\n\n Token Permissions: [ environments:edit ]",
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` ]",
225
225
  "examples": [
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"
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",
228
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyBrokerName --datacenter-id=eks-ca-central-1a --service-class-id=DEVELOPER"
229
229
  ],
230
230
  "flags": {
231
231
  "json": {
@@ -262,29 +262,49 @@
262
262
  "multiple": false,
263
263
  "type": "option"
264
264
  },
265
- "description": {
265
+ "datacenter-id": {
266
266
  "char": "d",
267
- "description": "Description of the environment to create.",
268
- "name": "description",
267
+ "description": "The identifier of the datacenter.",
268
+ "name": "datacenter-id",
269
+ "required": true,
269
270
  "hasDynamicHelp": false,
270
271
  "multiple": false,
271
272
  "type": "option"
272
273
  },
273
- "isDefault": {
274
- "description": "Indicates this is the organization's default environment.",
275
- "name": "isDefault",
276
- "allowNo": false,
277
- "type": "boolean"
274
+ "env-name": {
275
+ "char": "e",
276
+ "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.",
277
+ "name": "env-name",
278
+ "hasDynamicHelp": false,
279
+ "multiple": false,
280
+ "type": "option"
278
281
  },
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
+ "locked": {
283
+ "char": "l",
284
+ "description": "Indicates if you can delete the event broker service after creating it. The default value is false.",
285
+ "name": "locked",
282
286
  "allowNo": false,
283
287
  "type": "boolean"
284
288
  },
289
+ "max-spool-usage": {
290
+ "char": "s",
291
+ "description": "The message spool size, in gigabytes (GB). A default message spool size is provided if this is not specified.",
292
+ "name": "max-spool-usage",
293
+ "hasDynamicHelp": false,
294
+ "multiple": false,
295
+ "type": "option"
296
+ },
297
+ "msg-vpn-name": {
298
+ "char": "m",
299
+ "description": "The message VPN name. A default message VPN name is provided when this is not specified.",
300
+ "name": "msg-vpn-name",
301
+ "hasDynamicHelp": false,
302
+ "multiple": false,
303
+ "type": "option"
304
+ },
285
305
  "name": {
286
306
  "char": "n",
287
- "description": "Name of the environment to create.",
307
+ "description": "Name of the event broker service to create.",
288
308
  "name": "name",
289
309
  "required": true,
290
310
  "hasDynamicHelp": false,
@@ -301,11 +321,35 @@
301
321
  "hasDynamicHelp": false,
302
322
  "multiple": false,
303
323
  "type": "option"
324
+ },
325
+ "redundancy-group-ssl-enabled": {
326
+ "char": "r",
327
+ "description": "Enable or disable SSL for the redundancy group (for mate-link encryption). The default value is false (disabled)",
328
+ "name": "redundancy-group-ssl-enabled",
329
+ "allowNo": false,
330
+ "type": "boolean"
331
+ },
332
+ "service-class-id": {
333
+ "char": "c",
334
+ "description": "Supported service classes.",
335
+ "name": "service-class-id",
336
+ "required": true,
337
+ "hasDynamicHelp": false,
338
+ "multiple": false,
339
+ "type": "option"
340
+ },
341
+ "version": {
342
+ "char": "v",
343
+ "description": "The event broker version. A default version is provided when this is not specified.",
344
+ "name": "version",
345
+ "hasDynamicHelp": false,
346
+ "multiple": false,
347
+ "type": "option"
304
348
  }
305
349
  },
306
350
  "hasDynamicHelp": false,
307
351
  "hiddenAliases": [],
308
- "id": "platform:env:create",
352
+ "id": "missionctrl:broker:create",
309
353
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
310
354
  "pluginName": "@dishantlangayan/solace-cloud-cli",
311
355
  "pluginType": "core",
@@ -315,20 +359,21 @@
315
359
  "relativePath": [
316
360
  "dist",
317
361
  "commands",
318
- "platform",
319
- "env",
362
+ "missionctrl",
363
+ "broker",
320
364
  "create.js"
321
365
  ]
322
366
  },
323
- "platform:env:delete": {
367
+ "missionctrl:broker:delete": {
324
368
  "aliases": [],
325
369
  "args": {},
326
- "description": "Delete an environment using either its name or unique identifier. The default environment cannot be deleted.\n\n Token Permissions: [ environments:edit ]",
370
+ "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` ]",
327
371
  "examples": [
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"
372
+ "<%= config.bin %> <%= command.id %> --broker-id=MyBrokerId",
373
+ "<%= config.bin %> <%= command.id %> --name=MyBrokerName",
374
+ "<%= config.bin %> <%= command.id %> --org=my-org --broker-id=MyBrokerId",
375
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyBrokerName",
376
+ "<%= config.bin %> <%= command.id %> --broker-id=MyBrokerId --no-prompt"
332
377
  ],
333
378
  "flags": {
334
379
  "json": {
@@ -365,22 +410,28 @@
365
410
  "multiple": false,
366
411
  "type": "option"
367
412
  },
368
- "env-id": {
369
- "char": "e",
370
- "description": "Id of the environment.",
371
- "name": "env-id",
413
+ "broker-id": {
414
+ "char": "b",
415
+ "description": "Id of the event broker service.",
416
+ "name": "broker-id",
372
417
  "hasDynamicHelp": false,
373
418
  "multiple": false,
374
419
  "type": "option"
375
420
  },
376
421
  "name": {
377
422
  "char": "n",
378
- "description": "Name of the environment.",
423
+ "description": "Name of the event broker service.",
379
424
  "name": "name",
380
425
  "hasDynamicHelp": false,
381
426
  "multiple": false,
382
427
  "type": "option"
383
428
  },
429
+ "no-prompt": {
430
+ "description": "Skip confirmation prompt and assume Yes",
431
+ "name": "no-prompt",
432
+ "allowNo": false,
433
+ "type": "boolean"
434
+ },
384
435
  "org": {
385
436
  "char": "o",
386
437
  "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
@@ -395,7 +446,7 @@
395
446
  },
396
447
  "hasDynamicHelp": false,
397
448
  "hiddenAliases": [],
398
- "id": "platform:env:delete",
449
+ "id": "missionctrl:broker:delete",
399
450
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
400
451
  "pluginName": "@dishantlangayan/solace-cloud-cli",
401
452
  "pluginType": "core",
@@ -405,20 +456,19 @@
405
456
  "relativePath": [
406
457
  "dist",
407
458
  "commands",
408
- "platform",
409
- "env",
459
+ "missionctrl",
460
+ "broker",
410
461
  "delete.js"
411
462
  ]
412
463
  },
413
- "platform:env:display": {
464
+ "missionctrl:broker:display": {
414
465
  "aliases": [],
415
466
  "args": {},
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 ]",
467
+ "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` ]",
417
468
  "examples": [
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"
469
+ "<%= config.bin %> <%= command.id %> --broker-id=MyBrokerId",
470
+ "<%= config.bin %> <%= command.id %> --org=my-org --name=MyBrokerName",
471
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyBrokerName"
422
472
  ],
423
473
  "flags": {
424
474
  "json": {
@@ -455,17 +505,17 @@
455
505
  "multiple": false,
456
506
  "type": "option"
457
507
  },
458
- "env-id": {
459
- "char": "e",
460
- "description": "Id of the environment.",
461
- "name": "env-id",
508
+ "broker-id": {
509
+ "char": "b",
510
+ "description": "Id of the event broker service.",
511
+ "name": "broker-id",
462
512
  "hasDynamicHelp": false,
463
513
  "multiple": false,
464
514
  "type": "option"
465
515
  },
466
516
  "name": {
467
517
  "char": "n",
468
- "description": "Name of the environment.",
518
+ "description": "Name of the event broker service.",
469
519
  "name": "name",
470
520
  "hasDynamicHelp": false,
471
521
  "multiple": false,
@@ -485,7 +535,7 @@
485
535
  },
486
536
  "hasDynamicHelp": false,
487
537
  "hiddenAliases": [],
488
- "id": "platform:env:display",
538
+ "id": "missionctrl:broker:display",
489
539
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
490
540
  "pluginName": "@dishantlangayan/solace-cloud-cli",
491
541
  "pluginType": "core",
@@ -495,19 +545,19 @@
495
545
  "relativePath": [
496
546
  "dist",
497
547
  "commands",
498
- "platform",
499
- "env",
548
+ "missionctrl",
549
+ "broker",
500
550
  "display.js"
501
551
  ]
502
552
  },
503
- "platform:env:list": {
553
+ "missionctrl:broker:list": {
504
554
  "aliases": [],
505
555
  "args": {},
506
- "description": "Get a list of all Environments. \n \n Required token permissions: [ environments:view ]",
556
+ "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` ]",
507
557
  "examples": [
508
558
  "<%= config.bin %> <%= command.id %>",
509
559
  "<%= config.bin %> <%= command.id %> --org=my-org",
510
- "<%= config.bin %> <%= command.id %> --alias=my-alias --name=Default --pageNumber=1 --pageSize=10 --sort=name:ASC"
560
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyBrokerName --pageNumber=1 --pageSize=10 --sort=name:asc"
511
561
  ],
512
562
  "flags": {
513
563
  "json": {
@@ -546,7 +596,7 @@
546
596
  },
547
597
  "name": {
548
598
  "char": "n",
549
- "description": "Name of the environment to match on.",
599
+ "description": "Name of the event broker service to match on.",
550
600
  "name": "name",
551
601
  "hasDynamicHelp": false,
552
602
  "multiple": false,
@@ -564,23 +614,21 @@
564
614
  "type": "option"
565
615
  },
566
616
  "pageNumber": {
567
- "char": "p",
568
- "description": "The page number to get. Defaults to 10",
617
+ "description": "The page number to get. Defaults to 1",
569
618
  "name": "pageNumber",
570
619
  "hasDynamicHelp": false,
571
620
  "multiple": false,
572
621
  "type": "option"
573
622
  },
574
623
  "pageSize": {
575
- "char": "s",
576
- "description": "The number of environments to get per page. Defaults to 1",
624
+ "description": "The number of event broker services to return per page. Defaults to 10",
577
625
  "name": "pageSize",
578
626
  "hasDynamicHelp": false,
579
627
  "multiple": false,
580
628
  "type": "option"
581
629
  },
582
630
  "sort": {
583
- "description": "The query (fieldName:<ASC/DESC>) used to sort the environment list in the response.",
631
+ "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",
584
632
  "name": "sort",
585
633
  "hasDynamicHelp": false,
586
634
  "multiple": false,
@@ -589,7 +637,7 @@
589
637
  },
590
638
  "hasDynamicHelp": false,
591
639
  "hiddenAliases": [],
592
- "id": "platform:env:list",
640
+ "id": "missionctrl:broker:list",
593
641
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
594
642
  "pluginName": "@dishantlangayan/solace-cloud-cli",
595
643
  "pluginType": "core",
@@ -599,20 +647,20 @@
599
647
  "relativePath": [
600
648
  "dist",
601
649
  "commands",
602
- "platform",
603
- "env",
650
+ "missionctrl",
651
+ "broker",
604
652
  "list.js"
605
653
  ]
606
654
  },
607
- "platform:env:update": {
655
+ "missionctrl:broker:opstatus": {
608
656
  "aliases": [],
609
657
  "args": {},
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 ",
658
+ "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 ]",
611
659
  "examples": [
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"
660
+ "<%= config.bin %> <%= command.id %> -b <broker-id>",
661
+ "<%= config.bin %> <%= command.id %> -n <broker-name>",
662
+ "<%= config.bin %> <%= command.id %> --org=my-org -b <broker-id>",
663
+ "<%= config.bin %> <%= command.id %> --alias=my-alias -b <broker-id>"
616
664
  ],
617
665
  "flags": {
618
666
  "json": {
@@ -649,43 +697,22 @@
649
697
  "multiple": false,
650
698
  "type": "option"
651
699
  },
652
- "description": {
653
- "char": "d",
654
- "description": "Description of the environment to update.",
655
- "name": "description",
656
- "hasDynamicHelp": false,
657
- "multiple": false,
658
- "type": "option"
659
- },
660
- "env-id": {
661
- "char": "e",
662
- "description": "Id of the environment.",
663
- "name": "env-id",
700
+ "broker-id": {
701
+ "char": "b",
702
+ "description": "Id of the event broker service.",
703
+ "name": "broker-id",
664
704
  "hasDynamicHelp": false,
665
705
  "multiple": false,
666
706
  "type": "option"
667
707
  },
668
- "isDefault": {
669
- "description": "Indicates this is the organization's default environment. The default value is false.",
670
- "name": "isDefault",
671
- "allowNo": false,
672
- "type": "boolean"
673
- },
674
708
  "name": {
675
709
  "char": "n",
676
- "description": "Current name of the environment.",
710
+ "description": "Name of the event broker service.",
677
711
  "name": "name",
678
712
  "hasDynamicHelp": false,
679
713
  "multiple": false,
680
714
  "type": "option"
681
715
  },
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
716
  "org": {
690
717
  "char": "o",
691
718
  "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
@@ -696,11 +723,26 @@
696
723
  "hasDynamicHelp": false,
697
724
  "multiple": false,
698
725
  "type": "option"
726
+ },
727
+ "show-progress": {
728
+ "char": "p",
729
+ "description": "Displays a status bar of the in-progress operations. The command will wait for completion of each step of the operation.",
730
+ "name": "show-progress",
731
+ "allowNo": false,
732
+ "type": "boolean"
733
+ },
734
+ "wait-ms": {
735
+ "char": "w",
736
+ "description": "The milliseconds to wait between API calls for checking progress of the operation. Default is 5000 ms.",
737
+ "name": "wait-ms",
738
+ "hasDynamicHelp": false,
739
+ "multiple": false,
740
+ "type": "option"
699
741
  }
700
742
  },
701
743
  "hasDynamicHelp": false,
702
744
  "hiddenAliases": [],
703
- "id": "platform:env:update",
745
+ "id": "missionctrl:broker:opstatus",
704
746
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
705
747
  "pluginName": "@dishantlangayan/solace-cloud-cli",
706
748
  "pluginType": "core",
@@ -710,19 +752,20 @@
710
752
  "relativePath": [
711
753
  "dist",
712
754
  "commands",
713
- "platform",
714
- "env",
715
- "update.js"
755
+ "missionctrl",
756
+ "broker",
757
+ "opstatus.js"
716
758
  ]
717
759
  },
718
- "missionctrl:broker:create": {
760
+ "missionctrl:broker:state": {
719
761
  "aliases": [],
720
762
  "args": {},
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` ]",
763
+ "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 ]",
722
764
  "examples": [
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"
765
+ "<%= config.bin %> <%= command.id %> --broker-id=MyBrokerServiceId",
766
+ "<%= config.bin %> <%= command.id %> --name=MyBrokerName",
767
+ "<%= config.bin %> <%= command.id %> --org=my-org --broker-id=MyBrokerServiceId",
768
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyBrokerName"
726
769
  ],
727
770
  "flags": {
728
771
  "json": {
@@ -759,51 +802,18 @@
759
802
  "multiple": false,
760
803
  "type": "option"
761
804
  },
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",
805
+ "broker-id": {
806
+ "char": "b",
807
+ "description": "Id of the event broker service.",
808
+ "name": "broker-id",
798
809
  "hasDynamicHelp": false,
799
810
  "multiple": false,
800
811
  "type": "option"
801
812
  },
802
813
  "name": {
803
814
  "char": "n",
804
- "description": "Name of the event broker service to create.",
815
+ "description": "Name of the event broker service.",
805
816
  "name": "name",
806
- "required": true,
807
817
  "hasDynamicHelp": false,
808
818
  "multiple": false,
809
819
  "type": "option"
@@ -818,35 +828,11 @@
818
828
  "hasDynamicHelp": false,
819
829
  "multiple": false,
820
830
  "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"
845
831
  }
846
832
  },
847
833
  "hasDynamicHelp": false,
848
834
  "hiddenAliases": [],
849
- "id": "missionctrl:broker:create",
835
+ "id": "missionctrl:broker:state",
850
836
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
851
837
  "pluginName": "@dishantlangayan/solace-cloud-cli",
852
838
  "pluginType": "core",
@@ -858,18 +844,18 @@
858
844
  "commands",
859
845
  "missionctrl",
860
846
  "broker",
861
- "create.js"
847
+ "state.js"
862
848
  ]
863
849
  },
864
- "missionctrl:broker:delete": {
850
+ "missionctrl:broker:update": {
865
851
  "aliases": [],
866
852
  "args": {},
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` ]",
853
+ "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 ]",
868
854
  "examples": [
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"
855
+ "<%= config.bin %> <%= command.id %>",
856
+ "<%= config.bin %> <%= command.id %> --broker-id <broker-id> --new-name <new-name>",
857
+ "<%= config.bin %> <%= command.id %> --org=my-org --name <name> --new-name <new-name>",
858
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name <name> --new-name <new-name>"
873
859
  ],
874
860
  "flags": {
875
861
  "json": {
@@ -914,6 +900,14 @@
914
900
  "multiple": false,
915
901
  "type": "option"
916
902
  },
903
+ "locked": {
904
+ "char": "l",
905
+ "description": "Indicates whether the event broker service has deletion protection enabled. The valid values are 'true' (enabled) or 'false' (disabled).",
906
+ "name": "locked",
907
+ "hasDynamicHelp": false,
908
+ "multiple": false,
909
+ "type": "option"
910
+ },
917
911
  "name": {
918
912
  "char": "n",
919
913
  "description": "Name of the event broker service.",
@@ -922,6 +916,13 @@
922
916
  "multiple": false,
923
917
  "type": "option"
924
918
  },
919
+ "new-name": {
920
+ "description": "New name of the event broker service. The new service name must be unique within an organization.",
921
+ "name": "new-name",
922
+ "hasDynamicHelp": false,
923
+ "multiple": false,
924
+ "type": "option"
925
+ },
925
926
  "org": {
926
927
  "char": "o",
927
928
  "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
@@ -936,7 +937,7 @@
936
937
  },
937
938
  "hasDynamicHelp": false,
938
939
  "hiddenAliases": [],
939
- "id": "missionctrl:broker:delete",
940
+ "id": "missionctrl:broker:update",
940
941
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
941
942
  "pluginName": "@dishantlangayan/solace-cloud-cli",
942
943
  "pluginType": "core",
@@ -948,17 +949,17 @@
948
949
  "commands",
949
950
  "missionctrl",
950
951
  "broker",
951
- "delete.js"
952
+ "update.js"
952
953
  ]
953
954
  },
954
- "missionctrl:broker:display": {
955
+ "platform:env:create": {
955
956
  "aliases": [],
956
957
  "args": {},
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` ]",
958
+ "description": "Create a new environment.\n\n Token Permissions: [ environments:edit ]",
958
959
  "examples": [
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"
960
+ "<%= config.bin %> <%= command.id %> --name=MyEnvironment",
961
+ "<%= config.bin %> <%= command.id %> --org=my-org --name=MyEnvironment --description=\"My environment description\" --isDefault --isProduction",
962
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyEnvironment --isDefault"
962
963
  ],
963
964
  "flags": {
964
965
  "json": {
@@ -995,18 +996,31 @@
995
996
  "multiple": false,
996
997
  "type": "option"
997
998
  },
998
- "broker-id": {
999
- "char": "b",
1000
- "description": "Id of the event broker service.",
1001
- "name": "broker-id",
999
+ "description": {
1000
+ "char": "d",
1001
+ "description": "Description of the environment to create.",
1002
+ "name": "description",
1002
1003
  "hasDynamicHelp": false,
1003
1004
  "multiple": false,
1004
1005
  "type": "option"
1005
1006
  },
1007
+ "isDefault": {
1008
+ "description": "Indicates this is the organization's default environment.",
1009
+ "name": "isDefault",
1010
+ "allowNo": false,
1011
+ "type": "boolean"
1012
+ },
1013
+ "isProduction": {
1014
+ "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.",
1015
+ "name": "isProduction",
1016
+ "allowNo": false,
1017
+ "type": "boolean"
1018
+ },
1006
1019
  "name": {
1007
1020
  "char": "n",
1008
- "description": "Name of the event broker service.",
1021
+ "description": "Name of the environment to create.",
1009
1022
  "name": "name",
1023
+ "required": true,
1010
1024
  "hasDynamicHelp": false,
1011
1025
  "multiple": false,
1012
1026
  "type": "option"
@@ -1025,7 +1039,7 @@
1025
1039
  },
1026
1040
  "hasDynamicHelp": false,
1027
1041
  "hiddenAliases": [],
1028
- "id": "missionctrl:broker:display",
1042
+ "id": "platform:env:create",
1029
1043
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
1030
1044
  "pluginName": "@dishantlangayan/solace-cloud-cli",
1031
1045
  "pluginType": "core",
@@ -1035,19 +1049,21 @@
1035
1049
  "relativePath": [
1036
1050
  "dist",
1037
1051
  "commands",
1038
- "missionctrl",
1039
- "broker",
1040
- "display.js"
1052
+ "platform",
1053
+ "env",
1054
+ "create.js"
1041
1055
  ]
1042
1056
  },
1043
- "missionctrl:broker:list": {
1057
+ "platform:env:delete": {
1044
1058
  "aliases": [],
1045
1059
  "args": {},
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` ]",
1060
+ "description": "Delete an environment using either its name or unique identifier. The default environment cannot be deleted.\n\n Token Permissions: [ environments:edit ]",
1047
1061
  "examples": [
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"
1062
+ "<%= config.bin %> <%= command.id %> --name=MyEnvName",
1063
+ "<%= config.bin %> <%= command.id %> --env-id=MyEnvId",
1064
+ "<%= config.bin %> <%= command.id %> --org=my-org --name=MyEnvName",
1065
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyEnvName",
1066
+ "<%= config.bin %> <%= command.id %> --env-id=MyEnvId --no-prompt"
1051
1067
  ],
1052
1068
  "flags": {
1053
1069
  "json": {
@@ -1084,14 +1100,28 @@
1084
1100
  "multiple": false,
1085
1101
  "type": "option"
1086
1102
  },
1103
+ "env-id": {
1104
+ "char": "e",
1105
+ "description": "Id of the environment.",
1106
+ "name": "env-id",
1107
+ "hasDynamicHelp": false,
1108
+ "multiple": false,
1109
+ "type": "option"
1110
+ },
1087
1111
  "name": {
1088
1112
  "char": "n",
1089
- "description": "Name of the event broker service to match on.",
1113
+ "description": "Name of the environment.",
1090
1114
  "name": "name",
1091
1115
  "hasDynamicHelp": false,
1092
1116
  "multiple": false,
1093
1117
  "type": "option"
1094
1118
  },
1119
+ "no-prompt": {
1120
+ "description": "Skip confirmation prompt and assume Yes",
1121
+ "name": "no-prompt",
1122
+ "allowNo": false,
1123
+ "type": "boolean"
1124
+ },
1095
1125
  "org": {
1096
1126
  "char": "o",
1097
1127
  "description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
@@ -1102,32 +1132,11 @@
1102
1132
  "hasDynamicHelp": false,
1103
1133
  "multiple": false,
1104
1134
  "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"
1126
1135
  }
1127
1136
  },
1128
1137
  "hasDynamicHelp": false,
1129
1138
  "hiddenAliases": [],
1130
- "id": "missionctrl:broker:list",
1139
+ "id": "platform:env:delete",
1131
1140
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
1132
1141
  "pluginName": "@dishantlangayan/solace-cloud-cli",
1133
1142
  "pluginType": "core",
@@ -1137,20 +1146,20 @@
1137
1146
  "relativePath": [
1138
1147
  "dist",
1139
1148
  "commands",
1140
- "missionctrl",
1141
- "broker",
1142
- "list.js"
1149
+ "platform",
1150
+ "env",
1151
+ "delete.js"
1143
1152
  ]
1144
1153
  },
1145
- "missionctrl:broker:opstatus": {
1154
+ "platform:env:display": {
1146
1155
  "aliases": [],
1147
1156
  "args": {},
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 ]",
1157
+ "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 ]",
1149
1158
  "examples": [
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>"
1159
+ "<%= config.bin %> <%= command.id %> --name=MyEnvName",
1160
+ "<%= config.bin %> <%= command.id %> --env-id=MyEnvId",
1161
+ "<%= config.bin %> <%= command.id %> --org=my-org --env-id=MyEnvId",
1162
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyEnvName"
1154
1163
  ],
1155
1164
  "flags": {
1156
1165
  "json": {
@@ -1187,17 +1196,17 @@
1187
1196
  "multiple": false,
1188
1197
  "type": "option"
1189
1198
  },
1190
- "broker-id": {
1191
- "char": "b",
1192
- "description": "Id of the event broker service.",
1193
- "name": "broker-id",
1199
+ "env-id": {
1200
+ "char": "e",
1201
+ "description": "Id of the environment.",
1202
+ "name": "env-id",
1194
1203
  "hasDynamicHelp": false,
1195
1204
  "multiple": false,
1196
1205
  "type": "option"
1197
1206
  },
1198
1207
  "name": {
1199
1208
  "char": "n",
1200
- "description": "Name of the event broker service.",
1209
+ "description": "Name of the environment.",
1201
1210
  "name": "name",
1202
1211
  "hasDynamicHelp": false,
1203
1212
  "multiple": false,
@@ -1213,26 +1222,11 @@
1213
1222
  "hasDynamicHelp": false,
1214
1223
  "multiple": false,
1215
1224
  "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"
1231
1225
  }
1232
1226
  },
1233
1227
  "hasDynamicHelp": false,
1234
1228
  "hiddenAliases": [],
1235
- "id": "missionctrl:broker:opstatus",
1229
+ "id": "platform:env:display",
1236
1230
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
1237
1231
  "pluginName": "@dishantlangayan/solace-cloud-cli",
1238
1232
  "pluginType": "core",
@@ -1242,20 +1236,19 @@
1242
1236
  "relativePath": [
1243
1237
  "dist",
1244
1238
  "commands",
1245
- "missionctrl",
1246
- "broker",
1247
- "opstatus.js"
1239
+ "platform",
1240
+ "env",
1241
+ "display.js"
1248
1242
  ]
1249
1243
  },
1250
- "missionctrl:broker:state": {
1244
+ "platform:env:list": {
1251
1245
  "aliases": [],
1252
1246
  "args": {},
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 ]",
1247
+ "description": "Get a list of all Environments. \n \n Required token permissions: [ environments:view ]",
1254
1248
  "examples": [
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"
1249
+ "<%= config.bin %> <%= command.id %>",
1250
+ "<%= config.bin %> <%= command.id %> --org=my-org",
1251
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=Default --pageNumber=1 --pageSize=10 --sort=name:ASC"
1259
1252
  ],
1260
1253
  "flags": {
1261
1254
  "json": {
@@ -1292,17 +1285,9 @@
1292
1285
  "multiple": false,
1293
1286
  "type": "option"
1294
1287
  },
1295
- "broker-id": {
1296
- "char": "b",
1297
- "description": "Id of the event broker service.",
1298
- "name": "broker-id",
1299
- "hasDynamicHelp": false,
1300
- "multiple": false,
1301
- "type": "option"
1302
- },
1303
1288
  "name": {
1304
1289
  "char": "n",
1305
- "description": "Name of the event broker service.",
1290
+ "description": "Name of the environment to match on.",
1306
1291
  "name": "name",
1307
1292
  "hasDynamicHelp": false,
1308
1293
  "multiple": false,
@@ -1318,11 +1303,34 @@
1318
1303
  "hasDynamicHelp": false,
1319
1304
  "multiple": false,
1320
1305
  "type": "option"
1306
+ },
1307
+ "pageNumber": {
1308
+ "char": "p",
1309
+ "description": "The page number to get. Defaults to 10",
1310
+ "name": "pageNumber",
1311
+ "hasDynamicHelp": false,
1312
+ "multiple": false,
1313
+ "type": "option"
1314
+ },
1315
+ "pageSize": {
1316
+ "char": "s",
1317
+ "description": "The number of environments to get per page. Defaults to 1",
1318
+ "name": "pageSize",
1319
+ "hasDynamicHelp": false,
1320
+ "multiple": false,
1321
+ "type": "option"
1322
+ },
1323
+ "sort": {
1324
+ "description": "The query (fieldName:<ASC/DESC>) used to sort the environment list in the response.",
1325
+ "name": "sort",
1326
+ "hasDynamicHelp": false,
1327
+ "multiple": false,
1328
+ "type": "option"
1321
1329
  }
1322
1330
  },
1323
1331
  "hasDynamicHelp": false,
1324
1332
  "hiddenAliases": [],
1325
- "id": "missionctrl:broker:state",
1333
+ "id": "platform:env:list",
1326
1334
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
1327
1335
  "pluginName": "@dishantlangayan/solace-cloud-cli",
1328
1336
  "pluginType": "core",
@@ -1332,20 +1340,20 @@
1332
1340
  "relativePath": [
1333
1341
  "dist",
1334
1342
  "commands",
1335
- "missionctrl",
1336
- "broker",
1337
- "state.js"
1343
+ "platform",
1344
+ "env",
1345
+ "list.js"
1338
1346
  ]
1339
1347
  },
1340
- "missionctrl:broker:update": {
1348
+ "platform:env:update": {
1341
1349
  "aliases": [],
1342
1350
  "args": {},
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 ]",
1351
+ "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 ",
1344
1352
  "examples": [
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>"
1353
+ "<%= config.bin %> <%= command.id %> --name=MyEnvName --new-name=MyNewEnvName",
1354
+ "<%= config.bin %> <%= command.id %> --env-id=MyEnvId --new-name=MyNewEnvName --description=\"My description to update\" --isDefault",
1355
+ "<%= config.bin %> <%= command.id %> --org=my-org --name=MyEnvName --isDefault",
1356
+ "<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyEnvName --new-name=MyNewEnvName"
1349
1357
  ],
1350
1358
  "flags": {
1351
1359
  "json": {
@@ -1382,32 +1390,38 @@
1382
1390
  "multiple": false,
1383
1391
  "type": "option"
1384
1392
  },
1385
- "broker-id": {
1386
- "char": "b",
1387
- "description": "Id of the event broker service.",
1388
- "name": "broker-id",
1393
+ "description": {
1394
+ "char": "d",
1395
+ "description": "Description of the environment to update.",
1396
+ "name": "description",
1389
1397
  "hasDynamicHelp": false,
1390
1398
  "multiple": false,
1391
1399
  "type": "option"
1392
1400
  },
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",
1401
+ "env-id": {
1402
+ "char": "e",
1403
+ "description": "Id of the environment.",
1404
+ "name": "env-id",
1397
1405
  "hasDynamicHelp": false,
1398
1406
  "multiple": false,
1399
1407
  "type": "option"
1400
1408
  },
1409
+ "isDefault": {
1410
+ "description": "Indicates this is the organization's default environment. The default value is false.",
1411
+ "name": "isDefault",
1412
+ "allowNo": false,
1413
+ "type": "boolean"
1414
+ },
1401
1415
  "name": {
1402
1416
  "char": "n",
1403
- "description": "Name of the event broker service.",
1417
+ "description": "Current name of the environment.",
1404
1418
  "name": "name",
1405
1419
  "hasDynamicHelp": false,
1406
1420
  "multiple": false,
1407
1421
  "type": "option"
1408
1422
  },
1409
1423
  "new-name": {
1410
- "description": "New name of the event broker service. The new service name must be unique within an organization.",
1424
+ "description": "New name of the environment.",
1411
1425
  "name": "new-name",
1412
1426
  "hasDynamicHelp": false,
1413
1427
  "multiple": false,
@@ -1427,7 +1441,7 @@
1427
1441
  },
1428
1442
  "hasDynamicHelp": false,
1429
1443
  "hiddenAliases": [],
1430
- "id": "missionctrl:broker:update",
1444
+ "id": "platform:env:update",
1431
1445
  "pluginAlias": "@dishantlangayan/solace-cloud-cli",
1432
1446
  "pluginName": "@dishantlangayan/solace-cloud-cli",
1433
1447
  "pluginType": "core",
@@ -1437,11 +1451,11 @@
1437
1451
  "relativePath": [
1438
1452
  "dist",
1439
1453
  "commands",
1440
- "missionctrl",
1441
- "broker",
1454
+ "platform",
1455
+ "env",
1442
1456
  "update.js"
1443
1457
  ]
1444
1458
  }
1445
1459
  },
1446
- "version": "0.4.0"
1460
+ "version": "0.5.0"
1447
1461
  }