From 7a5737ad99373bd1d959b131c0ea6ab957aa07f6 Mon Sep 17 00:00:00 2001 From: harshitha-yb Date: Tue, 27 Aug 2024 06:59:39 +0000 Subject: [PATCH] Require namespace type along with name in describe, delete, restore PITR config commands --- cmd/cluster/pitr-config/pitr_config_ops.go | 136 ++++++------- cmd/pitr_config_test.go | 185 +++++++++++++++--- cmd/test/fixtures/get-ycql-pitr-config.json | 21 ++ ...-config.json => get-ysql-pitr-config.json} | 0 ...restore-ycql-database-via-pitr-config.json | 16 ++ ...estore-ysql-database-via-pitr-config.json} | 0 docs/ybm.md | 1 - docs/ybm_api-key.md | 1 - docs/ybm_api-key_create.md | 1 - docs/ybm_api-key_list.md | 1 - docs/ybm_api-key_revoke.md | 1 - docs/ybm_auth.md | 1 - docs/ybm_backup.md | 1 - docs/ybm_backup_create.md | 1 - docs/ybm_backup_delete.md | 1 - docs/ybm_backup_describe.md | 1 - docs/ybm_backup_list.md | 1 - docs/ybm_backup_policy.md | 1 - docs/ybm_backup_policy_disable.md | 1 - docs/ybm_backup_policy_enable.md | 1 - docs/ybm_backup_policy_list.md | 1 - docs/ybm_backup_policy_update.md | 1 - docs/ybm_backup_restore.md | 1 - docs/ybm_cluster.md | 2 - docs/ybm_cluster_cert.md | 1 - docs/ybm_cluster_cert_download.md | 1 - docs/ybm_cluster_create.md | 1 - docs/ybm_cluster_delete.md | 1 - docs/ybm_cluster_describe.md | 1 - docs/ybm_cluster_encryption.md | 1 - docs/ybm_cluster_encryption_list.md | 1 - docs/ybm_cluster_encryption_update-state.md | 1 - docs/ybm_cluster_encryption_update.md | 1 - docs/ybm_cluster_list.md | 1 - docs/ybm_cluster_namespace.md | 1 - docs/ybm_cluster_namespace_list.md | 1 - docs/ybm_cluster_network.md | 1 - docs/ybm_cluster_network_allow-list.md | 1 - docs/ybm_cluster_network_allow-list_assign.md | 1 - ...ybm_cluster_network_allow-list_unassign.md | 1 - docs/ybm_cluster_network_endpoint.md | 1 - docs/ybm_cluster_network_endpoint_create.md | 1 - docs/ybm_cluster_network_endpoint_delete.md | 1 - docs/ybm_cluster_network_endpoint_describe.md | 1 - docs/ybm_cluster_network_endpoint_list.md | 1 - docs/ybm_cluster_network_endpoint_update.md | 1 - docs/ybm_cluster_node.md | 1 - docs/ybm_cluster_node_list.md | 1 - docs/ybm_cluster_pause.md | 1 - docs/ybm_cluster_pitr-config.md | 37 ---- docs/ybm_cluster_read-replica.md | 1 - docs/ybm_cluster_read-replica_create.md | 1 - docs/ybm_cluster_read-replica_delete.md | 1 - docs/ybm_cluster_read-replica_list.md | 1 - docs/ybm_cluster_read-replica_update.md | 1 - docs/ybm_cluster_resume.md | 1 - docs/ybm_cluster_update.md | 1 - docs/ybm_completion.md | 1 - docs/ybm_completion_bash.md | 1 - docs/ybm_completion_fish.md | 1 - docs/ybm_completion_powershell.md | 1 - docs/ybm_completion_zsh.md | 1 - docs/ybm_integration.md | 1 - docs/ybm_integration_create.md | 1 - docs/ybm_integration_delete.md | 1 - docs/ybm_integration_list.md | 1 - docs/ybm_metrics-exporter.md | 1 - docs/ybm_metrics-exporter_assign.md | 1 - docs/ybm_metrics-exporter_create.md | 1 - docs/ybm_metrics-exporter_delete.md | 1 - docs/ybm_metrics-exporter_describe.md | 1 - docs/ybm_metrics-exporter_list.md | 1 - docs/ybm_metrics-exporter_pause.md | 1 - docs/ybm_metrics-exporter_unassign.md | 1 - docs/ybm_metrics-exporter_update.md | 1 - docs/ybm_network-allow-list.md | 1 - docs/ybm_network-allow-list_create.md | 1 - docs/ybm_network-allow-list_delete.md | 1 - docs/ybm_network-allow-list_list.md | 1 - docs/ybm_permission.md | 1 - docs/ybm_permission_list.md | 1 - docs/ybm_region.md | 1 - docs/ybm_region_instance.md | 1 - docs/ybm_region_instance_list.md | 1 - docs/ybm_region_list.md | 1 - docs/ybm_role.md | 1 - docs/ybm_role_create.md | 1 - docs/ybm_role_delete.md | 1 - docs/ybm_role_describe.md | 1 - docs/ybm_role_list.md | 1 - docs/ybm_role_update.md | 1 - docs/ybm_signup.md | 1 - docs/ybm_usage.md | 1 - docs/ybm_usage_get.md | 1 - docs/ybm_user.md | 1 - docs/ybm_user_delete.md | 1 - docs/ybm_user_invite.md | 1 - docs/ybm_user_list.md | 1 - docs/ybm_user_update.md | 1 - docs/ybm_vpc.md | 1 - docs/ybm_vpc_create.md | 1 - docs/ybm_vpc_delete.md | 1 - docs/ybm_vpc_list.md | 1 - docs/ybm_vpc_peering.md | 1 - docs/ybm_vpc_peering_create.md | 1 - docs/ybm_vpc_peering_delete.md | 1 - docs/ybm_vpc_peering_list.md | 1 - 107 files changed, 252 insertions(+), 244 deletions(-) create mode 100644 cmd/test/fixtures/get-ycql-pitr-config.json rename cmd/test/fixtures/{get-cluster-pitr-config.json => get-ysql-pitr-config.json} (100%) create mode 100644 cmd/test/fixtures/restore-ycql-database-via-pitr-config.json rename cmd/test/fixtures/{restore-cluster-database-via-pitr-config.json => restore-ysql-database-via-pitr-config.json} (100%) delete mode 100644 docs/ybm_cluster_pitr-config.md diff --git a/cmd/cluster/pitr-config/pitr_config_ops.go b/cmd/cluster/pitr-config/pitr_config_ops.go index b8c6c1f0..1abe3421 100644 --- a/cmd/cluster/pitr-config/pitr_config_ops.go +++ b/cmd/cluster/pitr-config/pitr_config_ops.go @@ -81,27 +81,9 @@ var describePitrConfigCmd = &cobra.Command{ } namespaceName, _ := cmd.Flags().GetString("namespace-name") - if len(namespaceName) == 0 { - logrus.Fatalf("Namespace name must be provided.\n") - } - - var pitrConfigId string - listConfigsResp, listConfigsResponse, listConfigsError := authApi.ListClusterPitrConfigs(clusterID).Execute() - if err != nil { - logrus.Debugf("Full HTTP response: %v", listConfigsResponse) - logrus.Fatalf(ybmAuthClient.GetApiErrorDetails(listConfigsError)) - } - - for _, pitrConfig := range listConfigsResp.GetData() { - if pitrConfig.Spec.DatabaseName == namespaceName { - pitrConfigId = *pitrConfig.Info.Id - break - } - } - - if len(pitrConfigId) == 0 { - logrus.Fatalf("No PITR Configs found for namespace %s in cluster %s \n", namespaceName, ClusterName) - } + namespaceType, _ := cmd.Flags().GetString("namespace-type") + validateNamespaceNameType(namespaceName, namespaceType) + pitrConfigId := requirePitrConfig(authApi, clusterID, namespaceName, namespaceType) resp, r, err := authApi.GetPitrConfig(clusterID, pitrConfigId).Execute() if err != nil { @@ -135,13 +117,8 @@ var createPitrConfigCmd = &cobra.Command{ } namespaceName, _ := cmd.Flags().GetString("namespace-name") - if len(namespaceName) == 0 { - logrus.Fatalf("Namespace name must be provided.\n") - } namespaceType, _ := cmd.Flags().GetString("namespace-type") - if !(namespaceType == "YCQL" || namespaceType == "YSQL") { - logrus.Fatalln("Only YCQL or YSQL namespace types are allowed.") - } + validateNamespaceNameType(namespaceName, namespaceType) retentionPeriod, _ := cmd.Flags().GetInt32("retention-period-in-days") pitrConfigSpec, err := authApi.CreatePitrConfigSpec(namespaceName, namespaceType, retentionPeriod) @@ -156,7 +133,7 @@ var createPitrConfigCmd = &cobra.Command{ } pitrConfigId := resp.Data.Info.Id - msg := fmt.Sprintf("The PITR Configuration for namespace %s in cluster %s is being created\n\n", formatter.Colorize(namespaceName, formatter.GREEN_COLOR), formatter.Colorize(ClusterName, formatter.GREEN_COLOR)) + msg := fmt.Sprintf("The PITR Configuration for %s namespace %s in cluster %s is being created\n\n", namespaceType, formatter.Colorize(namespaceName, formatter.GREEN_COLOR), formatter.Colorize(ClusterName, formatter.GREEN_COLOR)) if viper.GetBool("wait") { handleTaskCompletion(authApi, clusterID, msg, ybmclient.TASKTYPEENUM_ENABLE_DB_PITR) @@ -187,8 +164,10 @@ var restorePitrConfigCmd = &cobra.Command{ PreRun: func(cmd *cobra.Command, args []string) { viper.BindPFlag("force", cmd.Flags().Lookup("force")) namespaceName, _ := cmd.Flags().GetString("namespace-name") + namespaceType, _ := cmd.Flags().GetString("namespace-type") + validateNamespaceNameType(namespaceName, namespaceType) restoreAtMilis, _ := cmd.Flags().GetInt64("restore-at-millis") - err := util.ConfirmCommand(fmt.Sprintf("Are you sure you want to restore the namespace: %s in cluster %s to the snapshot at %d", namespaceName, ClusterName, restoreAtMilis), viper.GetBool("force")) + err := util.ConfirmCommand(fmt.Sprintf("Are you sure you want to restore the %s namespace: %s in cluster %s to the snapshot at %d", namespaceType, namespaceName, ClusterName, restoreAtMilis), viper.GetBool("force")) if err != nil { logrus.Fatal(err) } @@ -205,28 +184,10 @@ var restorePitrConfigCmd = &cobra.Command{ } namespaceName, _ := cmd.Flags().GetString("namespace-name") - if len(namespaceName) == 0 { - logrus.Fatalf("Namespace name must be provided.\n") - } + namespaceType, _ := cmd.Flags().GetString("namespace-type") + validateNamespaceNameType(namespaceName, namespaceType) restoreAtMilis, _ := cmd.Flags().GetInt64("restore-at-millis") - - var pitrConfigId string - listConfigsResp, listConfigsResponse, listConfigsError := authApi.ListClusterPitrConfigs(clusterID).Execute() - if err != nil { - logrus.Debugf("Full HTTP response: %v", listConfigsResponse) - logrus.Fatalf(ybmAuthClient.GetApiErrorDetails(listConfigsError)) - } - - for _, pitrConfig := range listConfigsResp.GetData() { - if pitrConfig.Spec.DatabaseName == namespaceName { - pitrConfigId = *pitrConfig.Info.Id - break - } - } - - if len(pitrConfigId) == 0 { - logrus.Fatalf("No PITR Configs found for namespace %s in cluster %s.\n", namespaceName, ClusterName) - } + pitrConfigId := requirePitrConfig(authApi, clusterID, namespaceName, namespaceType) restoreViaPitrConfigSpec, err := authApi.CreateRestoreViaPitrConfigSpec(restoreAtMilis) if err != nil { @@ -239,11 +200,11 @@ var restorePitrConfigCmd = &cobra.Command{ logrus.Fatalf(ybmAuthClient.GetApiErrorDetails(err)) } - msg := fmt.Sprintf("The namespace %s in cluster %s is being restored via PITR Configuration.\n\n", formatter.Colorize(namespaceName, formatter.GREEN_COLOR), formatter.Colorize(ClusterName, formatter.GREEN_COLOR)) + msg := fmt.Sprintf("The %s namespace %s in cluster %s is being restored via PITR Configuration.\n\n", namespaceType, formatter.Colorize(namespaceName, formatter.GREEN_COLOR), formatter.Colorize(ClusterName, formatter.GREEN_COLOR)) if viper.GetBool("wait") { handleTaskCompletion(authApi, clusterID, msg, ybmclient.TASKTYPEENUM_RESTORE_DB_PITR) - fmt.Printf("\nSuccessfully restored namespace %s in cluster %s to the snapshot at %d ms.\n\n", namespaceName, ClusterName, restoreAtMilis) + fmt.Printf("\nSuccessfully restored %s namespace %s in cluster %s to the snapshot at %d ms.\n\n", namespaceType, namespaceName, ClusterName, restoreAtMilis) } else { fmt.Println(msg) } @@ -257,10 +218,9 @@ var deletePitrConfigCmd = &cobra.Command{ PreRun: func(cmd *cobra.Command, args []string) { viper.BindPFlag("force", cmd.Flags().Lookup("force")) namespaceName, _ := cmd.Flags().GetString("namespace-name") - if len(namespaceName) == 0 { - logrus.Fatalf("Namespace name must be provided.\n") - } - err := util.ConfirmCommand(fmt.Sprintf("Are you sure you want to delete PITR Configuration for the namespace: %s in cluster: %s", namespaceName, ClusterName), viper.GetBool("force")) + namespaceType, _ := cmd.Flags().GetString("namespace-type") + validateNamespaceNameType(namespaceName, namespaceType) + err := util.ConfirmCommand(fmt.Sprintf("Are you sure you want to delete PITR Configuration for the %s namespace: %s in cluster: %s", namespaceType, namespaceName, ClusterName), viper.GetBool("force")) if err != nil { logrus.Fatal(err) } @@ -277,27 +237,9 @@ var deletePitrConfigCmd = &cobra.Command{ } namespaceName, _ := cmd.Flags().GetString("namespace-name") - if len(namespaceName) == 0 { - logrus.Fatalf("Namespace name must be provided.\n") - } - - var pitrConfigId string - listConfigsResp, listConfigsResponse, listConfigsError := authApi.ListClusterPitrConfigs(clusterID).Execute() - if err != nil { - logrus.Debugf("Full HTTP response: %v", listConfigsResponse) - logrus.Fatalf(ybmAuthClient.GetApiErrorDetails(listConfigsError)) - } - - for _, pitrConfig := range listConfigsResp.GetData() { - if pitrConfig.Spec.DatabaseName == namespaceName { - pitrConfigId = *pitrConfig.Info.Id - break - } - } - - if len(pitrConfigId) == 0 { - logrus.Fatalf("No PITR Configs found for namespace %s in cluster %s.\n", namespaceName, ClusterName) - } + namespaceType, _ := cmd.Flags().GetString("namespace-type") + validateNamespaceNameType(namespaceName, namespaceType) + pitrConfigId := requirePitrConfig(authApi, clusterID, namespaceName, namespaceType) r, err := authApi.DeletePitrConfig(clusterID, pitrConfigId).Execute() if err != nil { @@ -305,17 +247,47 @@ var deletePitrConfigCmd = &cobra.Command{ logrus.Fatalf(ybmAuthClient.GetApiErrorDetails(err)) } - msg := fmt.Sprintf("The PITR Configuration for namespace %s in cluster %s is being removed.\n\n", formatter.Colorize(namespaceName, formatter.GREEN_COLOR), formatter.Colorize(ClusterName, formatter.GREEN_COLOR)) + msg := fmt.Sprintf("The PITR Configuration for %s namespace %s in cluster %s is being removed.\n\n", namespaceType, formatter.Colorize(namespaceName, formatter.GREEN_COLOR), formatter.Colorize(ClusterName, formatter.GREEN_COLOR)) if viper.GetBool("wait") { handleTaskCompletion(authApi, clusterID, msg, ybmclient.TASKTYPEENUM_DISABLE_DB_PITR) - fmt.Printf("\nSuccessfully removed PITR Configuration for namespace %s in cluster %s.\n\n", namespaceName, ClusterName) + fmt.Printf("\nSuccessfully removed PITR Configuration for %s namespace %s in cluster %s.\n\n", namespaceType, namespaceName, ClusterName) } else { fmt.Println(msg) } }, } +func validateNamespaceNameType(namespaceName string, namespaceType string) { + if len(namespaceName) == 0 { + logrus.Fatalln("Namespace name must be provided.") + } + if !(namespaceType == "YCQL" || namespaceType == "YSQL") { + logrus.Fatalln("Only YCQL or YSQL namespace types are allowed.") + } +} + +func requirePitrConfig(authApi *ybmAuthClient.AuthApiClient, clusterID string, namespaceName string, namespaceType string) string { + var pitrConfigId string + listConfigsResp, listConfigsResponse, listConfigsError := authApi.ListClusterPitrConfigs(clusterID).Execute() + if listConfigsError != nil { + logrus.Debugf("Full HTTP response: %v", listConfigsResponse) + logrus.Fatalf(ybmAuthClient.GetApiErrorDetails(listConfigsError)) + } + + for _, pitrConfig := range listConfigsResp.GetData() { + if pitrConfig.Spec.DatabaseName == namespaceName && pitrConfig.Spec.DatabaseType == ybmclient.YbApiEnum(namespaceType) { + pitrConfigId = *pitrConfig.Info.Id + break + } + } + + if len(pitrConfigId) == 0 { + logrus.Fatalf("No PITR Configs found for %s namespace %s in cluster %s.\n", namespaceType, namespaceName, ClusterName) + } + return pitrConfigId +} + func handleTaskCompletion(authApi *ybmAuthClient.AuthApiClient, clusterID string, msg string, taskType ybmclient.TaskTypeEnum) { returnStatus, err := authApi.WaitForTaskCompletion(clusterID, ybmclient.ENTITYTYPEENUM_CLUSTER, taskType, []string{"FAILED", "SUCCEEDED"}, msg) if err != nil { @@ -333,6 +305,8 @@ func init() { describePitrConfigCmd.Flags().SortFlags = false describePitrConfigCmd.Flags().String("namespace-name", "", "[REQUIRED] Namespace to be restored via PITR Config.") describePitrConfigCmd.MarkFlagRequired("namespace-name") + describePitrConfigCmd.Flags().String("namespace-type", "", "[REQUIRED] The type of the namespace. Available options are YCQL and YSQL") + describePitrConfigCmd.MarkFlagRequired("namespace-type") util.AddCommandIfFeatureFlag(PitrConfigCmd, createPitrConfigCmd, util.PITR_CONFIG) createPitrConfigCmd.Flags().SortFlags = false @@ -347,6 +321,8 @@ func init() { restorePitrConfigCmd.Flags().SortFlags = false restorePitrConfigCmd.Flags().String("namespace-name", "", "[REQUIRED] Namespace to be restored via PITR Config.") restorePitrConfigCmd.MarkFlagRequired("namespace-name") + restorePitrConfigCmd.Flags().String("namespace-type", "", "[REQUIRED] The type of the namespace. Available options are YCQL and YSQL") + restorePitrConfigCmd.MarkFlagRequired("namespace-type") restorePitrConfigCmd.Flags().Int64("restore-at-millis", 1, "[REQUIRED] The time in milliseconds to which the namespace is to be restored") restorePitrConfigCmd.MarkFlagRequired("restore-at-millis") restorePitrConfigCmd.Flags().BoolP("force", "f", false, "Bypass the prompt for non-interactive usage") @@ -355,6 +331,8 @@ func init() { deletePitrConfigCmd.Flags().SortFlags = false deletePitrConfigCmd.Flags().String("namespace-name", "", "[REQUIRED] Namespace to be restored via PITR Config.") deletePitrConfigCmd.MarkFlagRequired("namespace-name") + deletePitrConfigCmd.Flags().String("namespace-type", "", "[REQUIRED] The type of the namespace. Available options are YCQL and YSQL") + deletePitrConfigCmd.MarkFlagRequired("namespace-type") deletePitrConfigCmd.Flags().BoolP("force", "f", false, "Bypass the prompt for non-interactive usage") } diff --git a/cmd/pitr_config_test.go b/cmd/pitr_config_test.go index cd305485..65d6121e 100644 --- a/cmd/pitr_config_test.go +++ b/cmd/pitr_config_test.go @@ -101,22 +101,22 @@ test_ysql_db YSQL 5 86400 session, err := gexec.Start(cmd, GinkgoWriter, GinkgoWriter) Expect(err).NotTo(HaveOccurred()) session.Wait(2) - Expect(session.Out).Should(gbytes.Say(`The PITR Configuration for namespace test_ysql_db in cluster stunning-sole is being created`)) + Expect(session.Out).Should(gbytes.Say(`The PITR Configuration for YSQL namespace test_ysql_db in cluster stunning-sole is being created`)) session.Kill() }) - }) - It("Should fail if invalid namespace type in PITR Config", func() { - cmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "create", "--cluster-name", "stunning-sole", "--namespace-name", "test_ysql_db", "--namespace-type", "PGSQL", "--retention-period-in-days", "5") - session, err := gexec.Start(cmd, GinkgoWriter, GinkgoWriter) - Expect(err).NotTo(HaveOccurred()) - session.Wait(2) - Expect(session.Err).Should(gbytes.Say("Only YCQL or YSQL namespace types are allowed.")) - session.Kill() + It("Should fail if invalid namespace type in PITR Config", func() { + cmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "create", "--cluster-name", "stunning-sole", "--namespace-name", "test_ysql_db", "--namespace-type", "PGSQL", "--retention-period-in-days", "5") + session, err := gexec.Start(cmd, GinkgoWriter, GinkgoWriter) + Expect(err).NotTo(HaveOccurred()) + session.Wait(2) + Expect(session.Err).Should(gbytes.Say("Only YCQL or YSQL namespace types are allowed.")) + session.Kill() + }) }) var _ = Describe("Restore cluster namespace via PITR config", func() { - It("Should successfully restore namespace via PITR Config", func() { + It("Should successfully restore YSQL namespace via PITR Config", func() { err := loadJson("./test/fixtures/list-cluster-pitr-configs.json", &responseListPITRConfig) Expect(err).ToNot(HaveOccurred()) server.AppendHandlers( @@ -125,7 +125,7 @@ test_ysql_db YSQL 5 86400 ghttp.RespondWithJSONEncodedPtr(&statusCode, responseListPITRConfig), ), ) - restoreErr := loadJson("./test/fixtures/restore-cluster-database-via-pitr-config.json", &responseRestoreViaPITRConfig) + restoreErr := loadJson("./test/fixtures/restore-ysql-database-via-pitr-config.json", &responseRestoreViaPITRConfig) Expect(restoreErr).ToNot(HaveOccurred()) server.AppendHandlers( ghttp.CombineHandlers( @@ -134,17 +134,60 @@ test_ysql_db YSQL 5 86400 ), ) - cmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "restore", "--cluster-name", "stunning-sole", "--namespace-name", "test_ysql_db", "--restore-at-millis", "4567", "--force") + ysqlCmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "restore", "--cluster-name", "stunning-sole", "--namespace-name", "test_ysql_db", "--namespace-type", "YSQL", "--restore-at-millis", "4567", "--force") + ysqlSession, ysqlErr := gexec.Start(ysqlCmd, GinkgoWriter, GinkgoWriter) + Expect(ysqlErr).NotTo(HaveOccurred()) + ysqlSession.Wait(2) + Expect(ysqlSession.Out).Should(gbytes.Say("The YSQL namespace test_ysql_db in cluster stunning-sole is being restored via PITR Configuration.")) + ysqlSession.Kill() + }) + + It("Should successfully restore YCQL namespace via PITR Config", func() { + err := loadJson("./test/fixtures/list-cluster-pitr-configs.json", &responseListPITRConfig) + Expect(err).ToNot(HaveOccurred()) + server.AppendHandlers( + ghttp.CombineHandlers( + ghttp.VerifyRequest(http.MethodGet, "/api/public/v1/accounts/340af43a-8a7c-4659-9258-4876fd6a207b/projects/78d4459c-0f45-47a5-899a-45ddf43eba6e/clusters/5f80730f-ba3f-4f7e-8c01-f8fa4c90dad8/pitr-configs"), + ghttp.RespondWithJSONEncodedPtr(&statusCode, responseListPITRConfig), + ), + ) + restoreErr := loadJson("./test/fixtures/restore-ycql-database-via-pitr-config.json", &responseRestoreViaPITRConfig) + Expect(restoreErr).ToNot(HaveOccurred()) + server.AppendHandlers( + ghttp.CombineHandlers( + ghttp.VerifyRequest(http.MethodPost, "/api/public/v1/accounts/340af43a-8a7c-4659-9258-4876fd6a207b/projects/78d4459c-0f45-47a5-899a-45ddf43eba6e/clusters/5f80730f-ba3f-4f7e-8c01-f8fa4c90dad8/pitr-configs/249f9bf1-4276-4c60-8ab3-2bf1b2f6f1aa/restore"), + ghttp.RespondWithJSONEncodedPtr(&statusCode, responseRestoreViaPITRConfig), + ), + ) + + ycqlCmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "restore", "--cluster-name", "stunning-sole", "--namespace-name", "test_ycql_db", "--namespace-type", "YCQL", "--restore-at-millis", "4567", "--force") + ycqlSession, ycqlErr := gexec.Start(ycqlCmd, GinkgoWriter, GinkgoWriter) + Expect(ycqlErr).NotTo(HaveOccurred()) + ycqlSession.Wait(2) + Expect(ycqlSession.Out).Should(gbytes.Say("The YCQL namespace test_ycql_db in cluster stunning-sole is being restored via PITR Configuration.")) + ycqlSession.Kill() + }) + + It("Should fail if invalid namespace name and type combination is provided", func() { + err := loadJson("./test/fixtures/list-cluster-pitr-configs.json", &responseListPITRConfig) + Expect(err).ToNot(HaveOccurred()) + server.AppendHandlers( + ghttp.CombineHandlers( + ghttp.VerifyRequest(http.MethodGet, "/api/public/v1/accounts/340af43a-8a7c-4659-9258-4876fd6a207b/projects/78d4459c-0f45-47a5-899a-45ddf43eba6e/clusters/5f80730f-ba3f-4f7e-8c01-f8fa4c90dad8/pitr-configs"), + ghttp.RespondWithJSONEncodedPtr(&statusCode, responseListPITRConfig), + ), + ) + cmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "restore", "--cluster-name", "stunning-sole", "--namespace-name", "test_ysql_db", "--namespace-type", "YCQL", "--restore-at-millis", "4567", "--force") session, err := gexec.Start(cmd, GinkgoWriter, GinkgoWriter) Expect(err).NotTo(HaveOccurred()) session.Wait(2) - Expect(session.Out).Should(gbytes.Say("The namespace test_ysql_db in cluster stunning-sole is being restored via PITR Configuration.")) + Expect(session.Err).Should(gbytes.Say("No PITR Configs found for YCQL namespace test_ysql_db in cluster stunning-sole.\n")) session.Kill() }) }) var _ = Describe("Describe Cluster PITR Config", func() { - It("Should successfully describe PITR Configs for the namespace in the cluster", func() { + It("Should successfully describe PITR Configs for the YSQL namespace in the cluster", func() { err := loadJson("./test/fixtures/list-cluster-pitr-configs.json", &responseListPITRConfig) Expect(err).ToNot(HaveOccurred()) server.AppendHandlers( @@ -153,7 +196,7 @@ test_ysql_db YSQL 5 86400 ghttp.RespondWithJSONEncodedPtr(&statusCode, responseListPITRConfig), ), ) - getErr := loadJson("./test/fixtures/get-cluster-pitr-config.json", &responseGetPITRConfig) + getErr := loadJson("./test/fixtures/get-ysql-pitr-config.json", &responseGetPITRConfig) Expect(getErr).ToNot(HaveOccurred()) server.AppendHandlers( ghttp.CombineHandlers( @@ -162,34 +205,79 @@ test_ysql_db YSQL 5 86400 ), ) - cmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "describe", "--cluster-name", "stunning-sole", "--namespace-name", "test_ysql_db") + ysqlCmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "describe", "--cluster-name", "stunning-sole", "--namespace-name", "test_ysql_db", "--namespace-type", "YSQL") + ysqlSession, ysqlErr := gexec.Start(ysqlCmd, GinkgoWriter, GinkgoWriter) + Expect(ysqlErr).NotTo(HaveOccurred()) + ysqlSession.Wait(2) + Expect(ysqlSession.Out).Should(gbytes.Say(`Namespace Table Type Retention Period in Days Backup Interval in Seconds State Earliest Recovery Time in Millis +test_ysql_db YSQL 5 86400 QUEUED 654321`)) + ysqlSession.Kill() + }) + + It("Should successfully describe PITR Configs for the YCQL namespace in the cluster", func() { + err := loadJson("./test/fixtures/list-cluster-pitr-configs.json", &responseListPITRConfig) + Expect(err).ToNot(HaveOccurred()) + server.AppendHandlers( + ghttp.CombineHandlers( + ghttp.VerifyRequest(http.MethodGet, "/api/public/v1/accounts/340af43a-8a7c-4659-9258-4876fd6a207b/projects/78d4459c-0f45-47a5-899a-45ddf43eba6e/clusters/5f80730f-ba3f-4f7e-8c01-f8fa4c90dad8/pitr-configs"), + ghttp.RespondWithJSONEncodedPtr(&statusCode, responseListPITRConfig), + ), + ) + getErr := loadJson("./test/fixtures/get-ycql-pitr-config.json", &responseGetPITRConfig) + Expect(getErr).ToNot(HaveOccurred()) + server.AppendHandlers( + ghttp.CombineHandlers( + ghttp.VerifyRequest(http.MethodGet, "/api/public/v1/accounts/340af43a-8a7c-4659-9258-4876fd6a207b/projects/78d4459c-0f45-47a5-899a-45ddf43eba6e/clusters/5f80730f-ba3f-4f7e-8c01-f8fa4c90dad8/pitr-configs/249f9bf1-4276-4c60-8ab3-2bf1b2f6f1aa"), + ghttp.RespondWithJSONEncodedPtr(&statusCode, responseGetPITRConfig), + ), + ) + + ycqlCmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "describe", "--cluster-name", "stunning-sole", "--namespace-name", "test_ycql_db", "--namespace-type", "YCQL") + ycqlSession, ycqlErr := gexec.Start(ycqlCmd, GinkgoWriter, GinkgoWriter) + Expect(ycqlErr).NotTo(HaveOccurred()) + ycqlSession.Wait(2) + Expect(ycqlSession.Out).Should(gbytes.Say(`Namespace Table Type Retention Period in Days Backup Interval in Seconds State Earliest Recovery Time in Millis +test_ycql_db YCQL 6 86400 ACTIVE 123456`)) + ycqlSession.Kill() + }) + + It("should fail if no PITR Configs found for the cluster", func() { + responseListPITRConfig = *openapi.NewClusterPitrConfigListResponse() + server.AppendHandlers( + ghttp.CombineHandlers( + ghttp.VerifyRequest(http.MethodGet, "/api/public/v1/accounts/340af43a-8a7c-4659-9258-4876fd6a207b/projects/78d4459c-0f45-47a5-899a-45ddf43eba6e/clusters/5f80730f-ba3f-4f7e-8c01-f8fa4c90dad8/pitr-configs"), + ghttp.RespondWithJSONEncodedPtr(&statusCode, responseListPITRConfig), + ), + ) + cmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "describe", "--cluster-name", "stunning-sole", "--namespace-name", "different-db", "--namespace-type", "YCQL") session, err := gexec.Start(cmd, GinkgoWriter, GinkgoWriter) Expect(err).NotTo(HaveOccurred()) session.Wait(2) - Expect(session.Out).Should(gbytes.Say(`Namespace Table Type Retention Period in Days Backup Interval in Seconds State Earliest Recovery Time in Millis -test_ysql_db YSQL 5 86400 QUEUED 654321`)) + Expect(session.Err).Should(gbytes.Say("No PITR Configs found for YCQL namespace different-db in cluster stunning-sole.\n")) session.Kill() }) - It("should fail if no PITR Configs found for the cluster", func() { - responseListPITRConfig = *openapi.NewClusterPitrConfigListResponse() + It("Should fail if invalid namespace name and type combination is provided", func() { + err := loadJson("./test/fixtures/list-cluster-pitr-configs.json", &responseListPITRConfig) + Expect(err).ToNot(HaveOccurred()) server.AppendHandlers( ghttp.CombineHandlers( ghttp.VerifyRequest(http.MethodGet, "/api/public/v1/accounts/340af43a-8a7c-4659-9258-4876fd6a207b/projects/78d4459c-0f45-47a5-899a-45ddf43eba6e/clusters/5f80730f-ba3f-4f7e-8c01-f8fa4c90dad8/pitr-configs"), ghttp.RespondWithJSONEncodedPtr(&statusCode, responseListPITRConfig), ), ) - cmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "describe", "--cluster-name", "stunning-sole", "--namespace-name", "different-db") + + cmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "describe", "--cluster-name", "stunning-sole", "--namespace-name", "test_ysql_db", "--namespace-type", "YCQL") session, err := gexec.Start(cmd, GinkgoWriter, GinkgoWriter) Expect(err).NotTo(HaveOccurred()) session.Wait(2) - Expect(session.Err).Should(gbytes.Say("No PITR Configs found for namespace different-db in cluster stunning-sole.\n")) + Expect(session.Err).Should(gbytes.Say("No PITR Configs found for YCQL namespace test_ysql_db in cluster stunning-sole.\n")) session.Kill() }) }) var _ = Describe("Delete Cluster PITR Config", func() { - It("Should successfully delete PITR Configs for the namespace in the cluster", func() { + It("Should successfully delete PITR Configs for the YSQL namespace in the cluster", func() { err := loadJson("./test/fixtures/list-cluster-pitr-configs.json", &responseListPITRConfig) Expect(err).ToNot(HaveOccurred()) server.AppendHandlers( @@ -206,11 +294,54 @@ test_ysql_db YSQL 5 86400 ), ) - cmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "delete", "--cluster-name", "stunning-sole", "--namespace-name", "test_ysql_db", "-f") + ysqlCmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "delete", "--cluster-name", "stunning-sole", "--namespace-name", "test_ysql_db", "--namespace-type", "YSQL", "-f") + ysqlSession, ysqlErr := gexec.Start(ysqlCmd, GinkgoWriter, GinkgoWriter) + Expect(ysqlErr).NotTo(HaveOccurred()) + ysqlSession.Wait(2) + Expect(ysqlSession.Out).Should(gbytes.Say("The PITR Configuration for YSQL namespace test_ysql_db in cluster stunning-sole is being removed.")) + ysqlSession.Kill() + }) + + It("Should successfully delete PITR Configs for the YCQL namespace in the cluster", func() { + err := loadJson("./test/fixtures/list-cluster-pitr-configs.json", &responseListPITRConfig) + Expect(err).ToNot(HaveOccurred()) + server.AppendHandlers( + ghttp.CombineHandlers( + ghttp.VerifyRequest(http.MethodGet, "/api/public/v1/accounts/340af43a-8a7c-4659-9258-4876fd6a207b/projects/78d4459c-0f45-47a5-899a-45ddf43eba6e/clusters/5f80730f-ba3f-4f7e-8c01-f8fa4c90dad8/pitr-configs"), + ghttp.RespondWithJSONEncodedPtr(&statusCode, responseListPITRConfig), + ), + ) + + server.AppendHandlers( + ghttp.CombineHandlers( + ghttp.VerifyRequest(http.MethodDelete, "/api/public/v1/accounts/340af43a-8a7c-4659-9258-4876fd6a207b/projects/78d4459c-0f45-47a5-899a-45ddf43eba6e/clusters/5f80730f-ba3f-4f7e-8c01-f8fa4c90dad8/pitr-configs/249f9bf1-4276-4c60-8ab3-2bf1b2f6f1aa"), + ghttp.RespondWithJSONEncodedPtr(&statusCode, "Successfully submitted remove Database PITR config request"), + ), + ) + + ycqlCmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "delete", "--cluster-name", "stunning-sole", "--namespace-name", "test_ycql_db", "--namespace-type", "YCQL", "-f") + ycqlSession, ycqlErr := gexec.Start(ycqlCmd, GinkgoWriter, GinkgoWriter) + Expect(ycqlErr).NotTo(HaveOccurred()) + ycqlSession.Wait(2) + Expect(ycqlSession.Out).Should(gbytes.Say("The PITR Configuration for YCQL namespace test_ycql_db in cluster stunning-sole is being removed.")) + ycqlSession.Kill() + }) + + It("Should fail if invalid namespace name and type combination is provided", func() { + err := loadJson("./test/fixtures/list-cluster-pitr-configs.json", &responseListPITRConfig) + Expect(err).ToNot(HaveOccurred()) + server.AppendHandlers( + ghttp.CombineHandlers( + ghttp.VerifyRequest(http.MethodGet, "/api/public/v1/accounts/340af43a-8a7c-4659-9258-4876fd6a207b/projects/78d4459c-0f45-47a5-899a-45ddf43eba6e/clusters/5f80730f-ba3f-4f7e-8c01-f8fa4c90dad8/pitr-configs"), + ghttp.RespondWithJSONEncodedPtr(&statusCode, responseListPITRConfig), + ), + ) + + cmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "delete", "--cluster-name", "stunning-sole", "--namespace-name", "test_ysql_db", "--namespace-type", "YCQL", "-f") session, err := gexec.Start(cmd, GinkgoWriter, GinkgoWriter) Expect(err).NotTo(HaveOccurred()) session.Wait(2) - Expect(session.Out).Should(gbytes.Say("The PITR Configuration for namespace test_ysql_db in cluster stunning-sole is being removed.")) + Expect(session.Err).Should(gbytes.Say("No PITR Configs found for YCQL namespace test_ysql_db in cluster stunning-sole.\n")) session.Kill() }) @@ -222,11 +353,11 @@ test_ysql_db YSQL 5 86400 ghttp.RespondWithJSONEncodedPtr(&statusCode, responseListPITRConfig), ), ) - cmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "delete", "--cluster-name", "stunning-sole", "--namespace-name", "different-db", "-f") + cmd := exec.Command(compiledCLIPath, "cluster", "pitr-config", "delete", "--cluster-name", "stunning-sole", "--namespace-name", "different-db", "--namespace-type", "YCQL", "-f") session, err := gexec.Start(cmd, GinkgoWriter, GinkgoWriter) Expect(err).NotTo(HaveOccurred()) session.Wait(2) - Expect(session.Err).Should(gbytes.Say("No PITR Configs found for namespace different-db in cluster stunning-sole.\n")) + Expect(session.Err).Should(gbytes.Say("No PITR Configs found for YCQL namespace different-db in cluster stunning-sole.\n")) session.Kill() }) }) diff --git a/cmd/test/fixtures/get-ycql-pitr-config.json b/cmd/test/fixtures/get-ycql-pitr-config.json new file mode 100644 index 00000000..80011b3e --- /dev/null +++ b/cmd/test/fixtures/get-ycql-pitr-config.json @@ -0,0 +1,21 @@ +{ + "data": + { + "spec": { + "database_type": "YCQL", + "database_name": "test_ycql_db", + "retention_period": 6 + }, + "info": { + "id": "249f9bf1-4276-4c60-8ab3-2bf1b2f6f1aa", + "cluster_id": "95c522b3-dfd8-4654-ab10-99f59179ad7c", + "metadata": { + "created_on": "2024-08-03T11:38:10.838Z", + "updated_on": "2024-08-03T11:38:10.838Z" + }, + "backup_interval": 86400, + "state": "ACTIVE", + "earliest_recovery_time_millis": 123456 + } + } + } diff --git a/cmd/test/fixtures/get-cluster-pitr-config.json b/cmd/test/fixtures/get-ysql-pitr-config.json similarity index 100% rename from cmd/test/fixtures/get-cluster-pitr-config.json rename to cmd/test/fixtures/get-ysql-pitr-config.json diff --git a/cmd/test/fixtures/restore-ycql-database-via-pitr-config.json b/cmd/test/fixtures/restore-ycql-database-via-pitr-config.json new file mode 100644 index 00000000..366d650f --- /dev/null +++ b/cmd/test/fixtures/restore-ycql-database-via-pitr-config.json @@ -0,0 +1,16 @@ +{ + "data": { + "spec": { + "restore_at_millis": 1234556 + }, + "info": { + "id": "249f9bf1-4276-4c60-8ab3-2bf1b2f6f1aa", + "cluster_id": "95c522b3-dfd8-4654-ab10-99f59179ad7c", + "metadata": { + "created_on": "2024-08-03T11:38:10.838Z", + "updated_on": "2024-08-03T11:38:10.838Z" + }, + "state": "ACTIVE" + } + } + } \ No newline at end of file diff --git a/cmd/test/fixtures/restore-cluster-database-via-pitr-config.json b/cmd/test/fixtures/restore-ysql-database-via-pitr-config.json similarity index 100% rename from cmd/test/fixtures/restore-cluster-database-via-pitr-config.json rename to cmd/test/fixtures/restore-ysql-database-via-pitr-config.json diff --git a/docs/ybm.md b/docs/ybm.md index a4dc25fa..5e1062a5 100644 --- a/docs/ybm.md +++ b/docs/ybm.md @@ -17,7 +17,6 @@ ybm [flags] --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug -h, --help help for ybm - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_api-key.md b/docs/ybm_api-key.md index 8f275015..c9f17b30 100644 --- a/docs/ybm_api-key.md +++ b/docs/ybm_api-key.md @@ -22,7 +22,6 @@ ybm api-key [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_api-key_create.md b/docs/ybm_api-key_create.md index 275b1715..7bef0cd6 100644 --- a/docs/ybm_api-key_create.md +++ b/docs/ybm_api-key_create.md @@ -28,7 +28,6 @@ ybm api-key create [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_api-key_list.md b/docs/ybm_api-key_list.md index 8dd9a0f6..3a1d1490 100644 --- a/docs/ybm_api-key_list.md +++ b/docs/ybm_api-key_list.md @@ -24,7 +24,6 @@ ybm api-key list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_api-key_revoke.md b/docs/ybm_api-key_revoke.md index 2028c31d..49d5e138 100644 --- a/docs/ybm_api-key_revoke.md +++ b/docs/ybm_api-key_revoke.md @@ -24,7 +24,6 @@ ybm api-key revoke [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_auth.md b/docs/ybm_auth.md index 6ae14765..844d68ac 100644 --- a/docs/ybm_auth.md +++ b/docs/ybm_auth.md @@ -22,7 +22,6 @@ ybm auth [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_backup.md b/docs/ybm_backup.md index 454bab68..aa0f957d 100644 --- a/docs/ybm_backup.md +++ b/docs/ybm_backup.md @@ -22,7 +22,6 @@ ybm backup [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_backup_create.md b/docs/ybm_backup_create.md index 37d01ad6..f788766c 100644 --- a/docs/ybm_backup_create.md +++ b/docs/ybm_backup_create.md @@ -25,7 +25,6 @@ ybm backup create [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_backup_delete.md b/docs/ybm_backup_delete.md index 84f2b9c1..6b651aed 100644 --- a/docs/ybm_backup_delete.md +++ b/docs/ybm_backup_delete.md @@ -24,7 +24,6 @@ ybm backup delete [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_backup_describe.md b/docs/ybm_backup_describe.md index f82c5acf..15ccd0c2 100644 --- a/docs/ybm_backup_describe.md +++ b/docs/ybm_backup_describe.md @@ -23,7 +23,6 @@ ybm backup describe [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_backup_list.md b/docs/ybm_backup_list.md index a6aea39a..7b31d7e9 100644 --- a/docs/ybm_backup_list.md +++ b/docs/ybm_backup_list.md @@ -23,7 +23,6 @@ ybm backup list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_backup_policy.md b/docs/ybm_backup_policy.md index 0f349643..b077c0ee 100644 --- a/docs/ybm_backup_policy.md +++ b/docs/ybm_backup_policy.md @@ -22,7 +22,6 @@ ybm backup policy [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_backup_policy_disable.md b/docs/ybm_backup_policy_disable.md index fe385566..8ec9fd8f 100644 --- a/docs/ybm_backup_policy_disable.md +++ b/docs/ybm_backup_policy_disable.md @@ -23,7 +23,6 @@ ybm backup policy disable [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_backup_policy_enable.md b/docs/ybm_backup_policy_enable.md index 1446b83e..40d8602a 100644 --- a/docs/ybm_backup_policy_enable.md +++ b/docs/ybm_backup_policy_enable.md @@ -23,7 +23,6 @@ ybm backup policy enable [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_backup_policy_list.md b/docs/ybm_backup_policy_list.md index 6ed8954b..c77a8042 100644 --- a/docs/ybm_backup_policy_list.md +++ b/docs/ybm_backup_policy_list.md @@ -23,7 +23,6 @@ ybm backup policy list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_backup_policy_update.md b/docs/ybm_backup_policy_update.md index d9ba5a58..bfeed7c8 100644 --- a/docs/ybm_backup_policy_update.md +++ b/docs/ybm_backup_policy_update.md @@ -28,7 +28,6 @@ ybm backup policy update [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_backup_restore.md b/docs/ybm_backup_restore.md index ec8392d0..a421ce8c 100644 --- a/docs/ybm_backup_restore.md +++ b/docs/ybm_backup_restore.md @@ -24,7 +24,6 @@ ybm backup restore [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster.md b/docs/ybm_cluster.md index 749a3cfc..8fbcb831 100644 --- a/docs/ybm_cluster.md +++ b/docs/ybm_cluster.md @@ -22,7 +22,6 @@ ybm cluster [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table @@ -43,7 +42,6 @@ ybm cluster [flags] * [ybm cluster network](ybm_cluster_network.md) - Manage network operations * [ybm cluster node](ybm_cluster_node.md) - Manage nodes for a cluster * [ybm cluster pause](ybm_cluster_pause.md) - Pause a cluster -* [ybm cluster pitr-config](ybm_cluster_pitr-config.md) - Manage Cluster PITR Configs * [ybm cluster read-replica](ybm_cluster_read-replica.md) - Manage Read Replicas * [ybm cluster resume](ybm_cluster_resume.md) - Resume a cluster * [ybm cluster update](ybm_cluster_update.md) - Update a cluster diff --git a/docs/ybm_cluster_cert.md b/docs/ybm_cluster_cert.md index eaeddef2..221172ce 100644 --- a/docs/ybm_cluster_cert.md +++ b/docs/ybm_cluster_cert.md @@ -22,7 +22,6 @@ ybm cluster cert [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_cert_download.md b/docs/ybm_cluster_cert_download.md index b0f1575e..316bd373 100644 --- a/docs/ybm_cluster_cert_download.md +++ b/docs/ybm_cluster_cert_download.md @@ -24,7 +24,6 @@ ybm cluster cert download [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_create.md b/docs/ybm_cluster_create.md index 8724e2d5..a67b64df 100644 --- a/docs/ybm_cluster_create.md +++ b/docs/ybm_cluster_create.md @@ -43,7 +43,6 @@ ybm cluster create [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_delete.md b/docs/ybm_cluster_delete.md index e32c419e..45230bcf 100644 --- a/docs/ybm_cluster_delete.md +++ b/docs/ybm_cluster_delete.md @@ -24,7 +24,6 @@ ybm cluster delete [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_describe.md b/docs/ybm_cluster_describe.md index 9894b771..acbe6091 100644 --- a/docs/ybm_cluster_describe.md +++ b/docs/ybm_cluster_describe.md @@ -23,7 +23,6 @@ ybm cluster describe [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_encryption.md b/docs/ybm_cluster_encryption.md index 2a0daa3d..4d691a59 100644 --- a/docs/ybm_cluster_encryption.md +++ b/docs/ybm_cluster_encryption.md @@ -23,7 +23,6 @@ ybm cluster encryption [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_encryption_list.md b/docs/ybm_cluster_encryption_list.md index b74e404c..07e530f2 100644 --- a/docs/ybm_cluster_encryption_list.md +++ b/docs/ybm_cluster_encryption_list.md @@ -23,7 +23,6 @@ ybm cluster encryption list [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_encryption_update-state.md b/docs/ybm_cluster_encryption_update-state.md index ce40eba6..0a9de65b 100644 --- a/docs/ybm_cluster_encryption_update-state.md +++ b/docs/ybm_cluster_encryption_update-state.md @@ -25,7 +25,6 @@ ybm cluster encryption update-state [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_encryption_update.md b/docs/ybm_cluster_encryption_update.md index c1abe59a..22ac9827 100644 --- a/docs/ybm_cluster_encryption_update.md +++ b/docs/ybm_cluster_encryption_update.md @@ -33,7 +33,6 @@ ybm cluster encryption update [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_list.md b/docs/ybm_cluster_list.md index b154387d..387c3868 100644 --- a/docs/ybm_cluster_list.md +++ b/docs/ybm_cluster_list.md @@ -22,7 +22,6 @@ ybm cluster list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_namespace.md b/docs/ybm_cluster_namespace.md index 65bf3ec1..92e94339 100644 --- a/docs/ybm_cluster_namespace.md +++ b/docs/ybm_cluster_namespace.md @@ -23,7 +23,6 @@ ybm cluster namespace [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_namespace_list.md b/docs/ybm_cluster_namespace_list.md index 29452fef..cf20f2be 100644 --- a/docs/ybm_cluster_namespace_list.md +++ b/docs/ybm_cluster_namespace_list.md @@ -23,7 +23,6 @@ ybm cluster namespace list [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_network.md b/docs/ybm_cluster_network.md index a328e7b9..65b94d7e 100644 --- a/docs/ybm_cluster_network.md +++ b/docs/ybm_cluster_network.md @@ -23,7 +23,6 @@ ybm cluster network [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_network_allow-list.md b/docs/ybm_cluster_network_allow-list.md index 8c3e1558..34f6844a 100644 --- a/docs/ybm_cluster_network_allow-list.md +++ b/docs/ybm_cluster_network_allow-list.md @@ -23,7 +23,6 @@ ybm cluster network allow-list [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_network_allow-list_assign.md b/docs/ybm_cluster_network_allow-list_assign.md index 1306d450..9cf56ffb 100644 --- a/docs/ybm_cluster_network_allow-list_assign.md +++ b/docs/ybm_cluster_network_allow-list_assign.md @@ -24,7 +24,6 @@ ybm cluster network allow-list assign [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_network_allow-list_unassign.md b/docs/ybm_cluster_network_allow-list_unassign.md index c965579d..5b05b6ec 100644 --- a/docs/ybm_cluster_network_allow-list_unassign.md +++ b/docs/ybm_cluster_network_allow-list_unassign.md @@ -24,7 +24,6 @@ ybm cluster network allow-list unassign [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_network_endpoint.md b/docs/ybm_cluster_network_endpoint.md index 6a625698..84181e4b 100644 --- a/docs/ybm_cluster_network_endpoint.md +++ b/docs/ybm_cluster_network_endpoint.md @@ -23,7 +23,6 @@ ybm cluster network endpoint [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_network_endpoint_create.md b/docs/ybm_cluster_network_endpoint_create.md index 39c6a5ac..7ffb52ec 100644 --- a/docs/ybm_cluster_network_endpoint_create.md +++ b/docs/ybm_cluster_network_endpoint_create.md @@ -26,7 +26,6 @@ ybm cluster network endpoint create [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_network_endpoint_delete.md b/docs/ybm_cluster_network_endpoint_delete.md index 0037e571..d4bf5704 100644 --- a/docs/ybm_cluster_network_endpoint_delete.md +++ b/docs/ybm_cluster_network_endpoint_delete.md @@ -25,7 +25,6 @@ ybm cluster network endpoint delete [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_network_endpoint_describe.md b/docs/ybm_cluster_network_endpoint_describe.md index 1c713de3..13a4d1e5 100644 --- a/docs/ybm_cluster_network_endpoint_describe.md +++ b/docs/ybm_cluster_network_endpoint_describe.md @@ -24,7 +24,6 @@ ybm cluster network endpoint describe [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_network_endpoint_list.md b/docs/ybm_cluster_network_endpoint_list.md index ee55a8ae..b36024f0 100644 --- a/docs/ybm_cluster_network_endpoint_list.md +++ b/docs/ybm_cluster_network_endpoint_list.md @@ -25,7 +25,6 @@ ybm cluster network endpoint list [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_network_endpoint_update.md b/docs/ybm_cluster_network_endpoint_update.md index c5f2a73b..0879a723 100644 --- a/docs/ybm_cluster_network_endpoint_update.md +++ b/docs/ybm_cluster_network_endpoint_update.md @@ -25,7 +25,6 @@ ybm cluster network endpoint update [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_node.md b/docs/ybm_cluster_node.md index f398b5cb..03e877e8 100644 --- a/docs/ybm_cluster_node.md +++ b/docs/ybm_cluster_node.md @@ -23,7 +23,6 @@ ybm cluster node [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_node_list.md b/docs/ybm_cluster_node_list.md index 64a18e90..708422b7 100644 --- a/docs/ybm_cluster_node_list.md +++ b/docs/ybm_cluster_node_list.md @@ -23,7 +23,6 @@ ybm cluster node list [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_pause.md b/docs/ybm_cluster_pause.md index 6fb3f08c..1bb58d21 100644 --- a/docs/ybm_cluster_pause.md +++ b/docs/ybm_cluster_pause.md @@ -23,7 +23,6 @@ ybm cluster pause [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_pitr-config.md b/docs/ybm_cluster_pitr-config.md deleted file mode 100644 index cf6bcd0d..00000000 --- a/docs/ybm_cluster_pitr-config.md +++ /dev/null @@ -1,37 +0,0 @@ -## ybm cluster pitr-config - -Manage Cluster PITR Configs - -### Synopsis - -Manage Cluster PITR Configs - -``` -ybm cluster pitr-config [flags] -``` - -### Options - -``` - -c, --cluster-name string [REQUIRED] The name of the cluster. - -h, --help help for pitr-config -``` - -### Options inherited from parent commands - -``` - -a, --apiKey string YugabyteDB Aeon account API key - --config string config file (default is $HOME/.ybm-cli.yaml) - --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname - -l, --logLevel string Select the desired log level format(info). Default to info - --no-color Disable colors in output , default to false - -o, --output string Select the desired output format (table, json, pretty). Default to table - --timeout duration Wait command timeout, example: 5m, 1h. (default 168h0m0s) - --wait Wait until the task is completed, otherwise it will exit immediately, default to false -``` - -### SEE ALSO - -* [ybm cluster](ybm_cluster.md) - Manage cluster operations - diff --git a/docs/ybm_cluster_read-replica.md b/docs/ybm_cluster_read-replica.md index ba88fdda..1f767352 100644 --- a/docs/ybm_cluster_read-replica.md +++ b/docs/ybm_cluster_read-replica.md @@ -23,7 +23,6 @@ ybm cluster read-replica [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_read-replica_create.md b/docs/ybm_cluster_read-replica_create.md index 591bb580..a83fd0dc 100644 --- a/docs/ybm_cluster_read-replica_create.md +++ b/docs/ybm_cluster_read-replica_create.md @@ -24,7 +24,6 @@ ybm cluster read-replica create [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_read-replica_delete.md b/docs/ybm_cluster_read-replica_delete.md index 295855bc..be6d50ff 100644 --- a/docs/ybm_cluster_read-replica_delete.md +++ b/docs/ybm_cluster_read-replica_delete.md @@ -24,7 +24,6 @@ ybm cluster read-replica delete [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_read-replica_list.md b/docs/ybm_cluster_read-replica_list.md index f671e87f..81d05487 100644 --- a/docs/ybm_cluster_read-replica_list.md +++ b/docs/ybm_cluster_read-replica_list.md @@ -23,7 +23,6 @@ ybm cluster read-replica list [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_read-replica_update.md b/docs/ybm_cluster_read-replica_update.md index 45859cb2..015a61d6 100644 --- a/docs/ybm_cluster_read-replica_update.md +++ b/docs/ybm_cluster_read-replica_update.md @@ -24,7 +24,6 @@ ybm cluster read-replica update [flags] -c, --cluster-name string [REQUIRED] The name of the cluster. --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_resume.md b/docs/ybm_cluster_resume.md index d5699eaa..aa585cfb 100644 --- a/docs/ybm_cluster_resume.md +++ b/docs/ybm_cluster_resume.md @@ -23,7 +23,6 @@ ybm cluster resume [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_cluster_update.md b/docs/ybm_cluster_update.md index 0647944e..2214b3f6 100644 --- a/docs/ybm_cluster_update.md +++ b/docs/ybm_cluster_update.md @@ -30,7 +30,6 @@ ybm cluster update [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_completion.md b/docs/ybm_completion.md index aadfa9a2..ed7b3594 100644 --- a/docs/ybm_completion.md +++ b/docs/ybm_completion.md @@ -20,7 +20,6 @@ See each sub-command's help for details on how to use the generated script. -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_completion_bash.md b/docs/ybm_completion_bash.md index ea8748f3..fb100644 100644 --- a/docs/ybm_completion_bash.md +++ b/docs/ybm_completion_bash.md @@ -43,7 +43,6 @@ ybm completion bash -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_completion_fish.md b/docs/ybm_completion_fish.md index e9241ead..86f0d198 100644 --- a/docs/ybm_completion_fish.md +++ b/docs/ybm_completion_fish.md @@ -34,7 +34,6 @@ ybm completion fish [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_completion_powershell.md b/docs/ybm_completion_powershell.md index b8ed0b03..325d8bc9 100644 --- a/docs/ybm_completion_powershell.md +++ b/docs/ybm_completion_powershell.md @@ -31,7 +31,6 @@ ybm completion powershell [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_completion_zsh.md b/docs/ybm_completion_zsh.md index 3592d6f9..6f87afbb 100644 --- a/docs/ybm_completion_zsh.md +++ b/docs/ybm_completion_zsh.md @@ -45,7 +45,6 @@ ybm completion zsh [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_integration.md b/docs/ybm_integration.md index 9e3e0f68..c655f0e6 100644 --- a/docs/ybm_integration.md +++ b/docs/ybm_integration.md @@ -22,7 +22,6 @@ ybm integration [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_integration_create.md b/docs/ybm_integration_create.md index a00f250c..40294a79 100644 --- a/docs/ybm_integration_create.md +++ b/docs/ybm_integration_create.md @@ -35,7 +35,6 @@ ybm integration create [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_integration_delete.md b/docs/ybm_integration_delete.md index 1b65b657..8d12584a 100644 --- a/docs/ybm_integration_delete.md +++ b/docs/ybm_integration_delete.md @@ -24,7 +24,6 @@ ybm integration delete [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_integration_list.md b/docs/ybm_integration_list.md index 3469ec94..8572ad12 100644 --- a/docs/ybm_integration_list.md +++ b/docs/ybm_integration_list.md @@ -22,7 +22,6 @@ ybm integration list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_metrics-exporter.md b/docs/ybm_metrics-exporter.md index 54687533..3742335e 100644 --- a/docs/ybm_metrics-exporter.md +++ b/docs/ybm_metrics-exporter.md @@ -22,7 +22,6 @@ ybm metrics-exporter [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_metrics-exporter_assign.md b/docs/ybm_metrics-exporter_assign.md index acfa413c..14750844 100644 --- a/docs/ybm_metrics-exporter_assign.md +++ b/docs/ybm_metrics-exporter_assign.md @@ -24,7 +24,6 @@ ybm metrics-exporter assign [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_metrics-exporter_create.md b/docs/ybm_metrics-exporter_create.md index 7a31c5e8..aa40a5ec 100644 --- a/docs/ybm_metrics-exporter_create.md +++ b/docs/ybm_metrics-exporter_create.md @@ -33,7 +33,6 @@ ybm metrics-exporter create [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_metrics-exporter_delete.md b/docs/ybm_metrics-exporter_delete.md index a87f7fa3..488623e8 100644 --- a/docs/ybm_metrics-exporter_delete.md +++ b/docs/ybm_metrics-exporter_delete.md @@ -24,7 +24,6 @@ ybm metrics-exporter delete [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_metrics-exporter_describe.md b/docs/ybm_metrics-exporter_describe.md index d99dc5c5..4766e5a5 100644 --- a/docs/ybm_metrics-exporter_describe.md +++ b/docs/ybm_metrics-exporter_describe.md @@ -23,7 +23,6 @@ ybm metrics-exporter describe [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_metrics-exporter_list.md b/docs/ybm_metrics-exporter_list.md index b19cd6a1..867a631c 100644 --- a/docs/ybm_metrics-exporter_list.md +++ b/docs/ybm_metrics-exporter_list.md @@ -22,7 +22,6 @@ ybm metrics-exporter list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_metrics-exporter_pause.md b/docs/ybm_metrics-exporter_pause.md index 83e14925..f1265b04 100644 --- a/docs/ybm_metrics-exporter_pause.md +++ b/docs/ybm_metrics-exporter_pause.md @@ -23,7 +23,6 @@ ybm metrics-exporter pause [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_metrics-exporter_unassign.md b/docs/ybm_metrics-exporter_unassign.md index c078954c..5138c398 100644 --- a/docs/ybm_metrics-exporter_unassign.md +++ b/docs/ybm_metrics-exporter_unassign.md @@ -23,7 +23,6 @@ ybm metrics-exporter unassign [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_metrics-exporter_update.md b/docs/ybm_metrics-exporter_update.md index 102ddc5c..7861a54c 100644 --- a/docs/ybm_metrics-exporter_update.md +++ b/docs/ybm_metrics-exporter_update.md @@ -34,7 +34,6 @@ ybm metrics-exporter update [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_network-allow-list.md b/docs/ybm_network-allow-list.md index 36d320bb..7d9bf887 100644 --- a/docs/ybm_network-allow-list.md +++ b/docs/ybm_network-allow-list.md @@ -22,7 +22,6 @@ ybm network-allow-list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_network-allow-list_create.md b/docs/ybm_network-allow-list_create.md index 0e3c895b..5379358c 100644 --- a/docs/ybm_network-allow-list_create.md +++ b/docs/ybm_network-allow-list_create.md @@ -25,7 +25,6 @@ ybm network-allow-list create [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_network-allow-list_delete.md b/docs/ybm_network-allow-list_delete.md index 8dec3563..ccbd76bc 100644 --- a/docs/ybm_network-allow-list_delete.md +++ b/docs/ybm_network-allow-list_delete.md @@ -24,7 +24,6 @@ ybm network-allow-list delete [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_network-allow-list_list.md b/docs/ybm_network-allow-list_list.md index b7525757..fe67299a 100644 --- a/docs/ybm_network-allow-list_list.md +++ b/docs/ybm_network-allow-list_list.md @@ -23,7 +23,6 @@ ybm network-allow-list list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_permission.md b/docs/ybm_permission.md index a4c9fe47..dd0043ed 100644 --- a/docs/ybm_permission.md +++ b/docs/ybm_permission.md @@ -22,7 +22,6 @@ ybm permission [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_permission_list.md b/docs/ybm_permission_list.md index 0dfa0bdc..17db310d 100644 --- a/docs/ybm_permission_list.md +++ b/docs/ybm_permission_list.md @@ -22,7 +22,6 @@ ybm permission list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_region.md b/docs/ybm_region.md index d32e36ae..ca9fb609 100644 --- a/docs/ybm_region.md +++ b/docs/ybm_region.md @@ -22,7 +22,6 @@ ybm region [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_region_instance.md b/docs/ybm_region_instance.md index f8078d68..ccd7ddd8 100644 --- a/docs/ybm_region_instance.md +++ b/docs/ybm_region_instance.md @@ -22,7 +22,6 @@ ybm region instance [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_region_instance_list.md b/docs/ybm_region_instance_list.md index c6376bd7..7481ee76 100644 --- a/docs/ybm_region_instance_list.md +++ b/docs/ybm_region_instance_list.md @@ -26,7 +26,6 @@ ybm region instance list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_region_list.md b/docs/ybm_region_list.md index 44796567..8b970c1b 100644 --- a/docs/ybm_region_list.md +++ b/docs/ybm_region_list.md @@ -23,7 +23,6 @@ ybm region list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_role.md b/docs/ybm_role.md index 4040636e..96bdb069 100644 --- a/docs/ybm_role.md +++ b/docs/ybm_role.md @@ -22,7 +22,6 @@ ybm role [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_role_create.md b/docs/ybm_role_create.md index 8aa2b66b..13b669d9 100644 --- a/docs/ybm_role_create.md +++ b/docs/ybm_role_create.md @@ -26,7 +26,6 @@ ybm role create [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_role_delete.md b/docs/ybm_role_delete.md index 5c4e7bd3..f7dc8953 100644 --- a/docs/ybm_role_delete.md +++ b/docs/ybm_role_delete.md @@ -24,7 +24,6 @@ ybm role delete [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_role_describe.md b/docs/ybm_role_describe.md index 7a73dc87..1fc20b30 100644 --- a/docs/ybm_role_describe.md +++ b/docs/ybm_role_describe.md @@ -23,7 +23,6 @@ ybm role describe [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_role_list.md b/docs/ybm_role_list.md index 80d8bea8..eabd1a17 100644 --- a/docs/ybm_role_list.md +++ b/docs/ybm_role_list.md @@ -24,7 +24,6 @@ ybm role list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_role_update.md b/docs/ybm_role_update.md index b83d086d..586c2321 100644 --- a/docs/ybm_role_update.md +++ b/docs/ybm_role_update.md @@ -27,7 +27,6 @@ ybm role update [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_signup.md b/docs/ybm_signup.md index 189b8c01..7a3260eb 100644 --- a/docs/ybm_signup.md +++ b/docs/ybm_signup.md @@ -22,7 +22,6 @@ ybm signup [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_usage.md b/docs/ybm_usage.md index d9c9b2a6..1f64bc7c 100644 --- a/docs/ybm_usage.md +++ b/docs/ybm_usage.md @@ -22,7 +22,6 @@ ybm usage [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_usage_get.md b/docs/ybm_usage_get.md index 74562a5c..838e9471 100644 --- a/docs/ybm_usage_get.md +++ b/docs/ybm_usage_get.md @@ -28,7 +28,6 @@ ybm usage get [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_user.md b/docs/ybm_user.md index ec459503..c2dfde07 100644 --- a/docs/ybm_user.md +++ b/docs/ybm_user.md @@ -22,7 +22,6 @@ ybm user [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_user_delete.md b/docs/ybm_user_delete.md index 8fea3ce5..680ef9f7 100644 --- a/docs/ybm_user_delete.md +++ b/docs/ybm_user_delete.md @@ -24,7 +24,6 @@ ybm user delete [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_user_invite.md b/docs/ybm_user_invite.md index 28044db8..0db36b84 100644 --- a/docs/ybm_user_invite.md +++ b/docs/ybm_user_invite.md @@ -25,7 +25,6 @@ ybm user invite [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_user_list.md b/docs/ybm_user_list.md index 41fbcf45..3af276c7 100644 --- a/docs/ybm_user_list.md +++ b/docs/ybm_user_list.md @@ -23,7 +23,6 @@ ybm user list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_user_update.md b/docs/ybm_user_update.md index 1d29a62b..0dbab662 100644 --- a/docs/ybm_user_update.md +++ b/docs/ybm_user_update.md @@ -25,7 +25,6 @@ ybm user update [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_vpc.md b/docs/ybm_vpc.md index 4f116397..88fdf21b 100644 --- a/docs/ybm_vpc.md +++ b/docs/ybm_vpc.md @@ -22,7 +22,6 @@ ybm vpc [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_vpc_create.md b/docs/ybm_vpc_create.md index 2777c70a..c5ae3e44 100644 --- a/docs/ybm_vpc_create.md +++ b/docs/ybm_vpc_create.md @@ -27,7 +27,6 @@ ybm vpc create [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_vpc_delete.md b/docs/ybm_vpc_delete.md index 6838edad..876b2ffc 100644 --- a/docs/ybm_vpc_delete.md +++ b/docs/ybm_vpc_delete.md @@ -24,7 +24,6 @@ ybm vpc delete [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_vpc_list.md b/docs/ybm_vpc_list.md index 683a0808..1738e897 100644 --- a/docs/ybm_vpc_list.md +++ b/docs/ybm_vpc_list.md @@ -23,7 +23,6 @@ ybm vpc list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_vpc_peering.md b/docs/ybm_vpc_peering.md index 0235165f..5726b7c1 100644 --- a/docs/ybm_vpc_peering.md +++ b/docs/ybm_vpc_peering.md @@ -22,7 +22,6 @@ ybm vpc peering [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_vpc_peering_create.md b/docs/ybm_vpc_peering_create.md index 4b470eda..a582f03d 100644 --- a/docs/ybm_vpc_peering_create.md +++ b/docs/ybm_vpc_peering_create.md @@ -31,7 +31,6 @@ ybm vpc peering create [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_vpc_peering_delete.md b/docs/ybm_vpc_peering_delete.md index 79ad2373..96ff11ac 100644 --- a/docs/ybm_vpc_peering_delete.md +++ b/docs/ybm_vpc_peering_delete.md @@ -24,7 +24,6 @@ ybm vpc peering delete [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table diff --git a/docs/ybm_vpc_peering_list.md b/docs/ybm_vpc_peering_list.md index 6cff4267..81802eea 100644 --- a/docs/ybm_vpc_peering_list.md +++ b/docs/ybm_vpc_peering_list.md @@ -23,7 +23,6 @@ ybm vpc peering list [flags] -a, --apiKey string YugabyteDB Aeon account API key --config string config file (default is $HOME/.ybm-cli.yaml) --debug Use debug mode, same as --logLevel debug - --host string YugabyteDB Aeon Api hostname -l, --logLevel string Select the desired log level format(info). Default to info --no-color Disable colors in output , default to false -o, --output string Select the desired output format (table, json, pretty). Default to table