@@ -42,6 +42,8 @@ var createMetricsExporterCmd = &cobra.Command{
42
42
Use : "create" ,
43
43
Short : "Create Metrics Exporter Config" ,
44
44
Long : "Create Metrics Exporter Config" ,
45
+ Deprecated : "use \" integration create\" instead." +
46
+ "\n This command was deprecated 2024-11-30 and will be supported until 2025-2-28.\n " ,
45
47
Run : func (cmd * cobra.Command , args []string ) {
46
48
47
49
metricsExporterName , _ := cmd .Flags ().GetString ("config-name" )
@@ -90,6 +92,8 @@ var listMetricsExporterCmd = &cobra.Command{
90
92
Use : "list" ,
91
93
Short : "List Metrics Exporter Config" ,
92
94
Long : "List Metrics Exporter Config" ,
95
+ Deprecated : "use \" integration list\" instead." +
96
+ "\n This command was deprecated 2024-11-30 and will be supported until 2025-2-28.\n " ,
93
97
Run : func (cmd * cobra.Command , args []string ) {
94
98
authApi , err := ybmAuthClient .NewAuthApiClient ()
95
99
if err != nil {
@@ -122,6 +126,8 @@ var describeMetricsExporterCmd = &cobra.Command{
122
126
Use : "describe" ,
123
127
Short : "Describe Metrics Exporter Config" ,
124
128
Long : "Describe Metrics Exporter Config" ,
129
+ Deprecated : "refer to \" integration\" ." +
130
+ "\n This command was deprecated 2024-11-30 and will be supported until 2025-2-28.\n " ,
125
131
Run : func (cmd * cobra.Command , args []string ) {
126
132
authApi , err := ybmAuthClient .NewAuthApiClient ()
127
133
if err != nil {
@@ -146,6 +152,8 @@ var deleteMetricsExporterCmd = &cobra.Command{
146
152
Use : "delete" ,
147
153
Short : "Delete Metrics Exporter Config" ,
148
154
Long : "Delete Metrics Exporter Config" ,
155
+ Deprecated : "use \" integration delete\" instead." +
156
+ "\n This command was deprecated 2024-11-30 and will be supported until 2025-2-28.\n " ,
149
157
PreRun : func (cmd * cobra.Command , args []string ) {
150
158
viper .BindPFlag ("force" , cmd .Flags ().Lookup ("force" ))
151
159
configName , _ := cmd .Flags ().GetString ("config-name" )
@@ -277,6 +285,8 @@ var updateMetricsExporterCmd = &cobra.Command{
277
285
Use : "update" ,
278
286
Short : "Update Metrics Exporter Config" ,
279
287
Long : "Update Metrics Exporter Config" ,
288
+ Deprecated : "refer to \" integration\" ." +
289
+ "\n This command was deprecated 2024-11-30 and will be supported until 2025-2-28.\n " ,
280
290
Run : func (cmd * cobra.Command , args []string ) {
281
291
authApi , err := ybmAuthClient .NewAuthApiClient ()
282
292
if err != nil {
0 commit comments