From 187832622307f8748b23f466a5e1f0b36bdc7296 Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Tue, 3 Oct 2023 09:48:13 -0400 Subject: [PATCH 1/2] Added EOS message to Database Create commands --- openapi.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index b62d802f9..9965e0f0e 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3301,6 +3301,8 @@ paths: x-linode-cli-action: mysql-create x-linode-grant: add_databases description: | + **This command is currently only available for customers who already have an active Managed Database.** + Provision a Managed MySQL Database. Restricted Users must have the `add_databases` grant to use this command. @@ -4055,6 +4057,8 @@ paths: x-linode-cli-action: postgresql-create x-linode-grant: add_databases description: | + **This command is currently only available for customers who already have an active Managed Database.** + Provision a Managed PostgreSQL Database. Restricted Users must have the `add_databases` grant to use this command. From 4e235b7f28f98da936a069eb43ff91c5367b5132 Mon Sep 17 00:00:00 2001 From: bbiggerr Date: Wed, 4 Oct 2023 13:53:01 -0400 Subject: [PATCH 2/2] Added EOS notice to ALL databases commands --- openapi.yaml | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 9965e0f0e..edc7f9603 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3133,6 +3133,8 @@ paths: - $ref: '#/components/parameters/pageOffset' - $ref: '#/components/parameters/pageSize' description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display all available Managed Database engine types and versions. Engine IDs are used when creating new Managed Databases. responses: '200': @@ -3179,6 +3181,8 @@ paths: - $ref: '#/components/parameters/pageOffset' - $ref: '#/components/parameters/pageSize' description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display information for a single Managed Database engine type and version. responses: '200': @@ -3214,6 +3218,8 @@ paths: - $ref: '#/components/parameters/pageOffset' - $ref: '#/components/parameters/pageSize' description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display all Managed Databases that are accessible by your User, regardless of engine type. For more detailed information on a particular Database instance, make a request to its `instance_uri`. @@ -3261,6 +3267,8 @@ paths: - $ref: '#/components/parameters/pageOffset' - $ref: '#/components/parameters/pageSize' description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display all accessible Managed MySQL Databases. security: - personalAccessToken: [] @@ -3403,6 +3411,8 @@ paths: x-linode-cli-action: mysql-view x-linode-grant: read_only description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display information for a single, accessible Managed MySQL Database. security: - personalAccessToken: [] @@ -3436,6 +3446,8 @@ paths: x-linode-cli-action: mysql-delete x-linode-grant: read_write description: | + **This command is currently only available for customers who already have an active Managed Database.** + Remove a Managed MySQL Database from your Account. Requires `read_write` access to the Database. @@ -3476,6 +3488,8 @@ paths: x-linode-cli-action: mysql-update x-linode-grant: read_write description: | + **This command is currently only available for customers who already have an active Managed Database.** + Update a Managed MySQL Database. Requires `read_write` access to the Database. @@ -3579,6 +3593,8 @@ paths: - $ref: '#/components/parameters/pageOffset' - $ref: '#/components/parameters/pageSize' description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display all backups for an accessible Managed MySQL Database. The Database must not be provisioning to perform this command. @@ -3625,6 +3641,8 @@ paths: x-linode-cli-action: mysql-backup-snapshot x-linode-grant: read_write description: | + **This command is currently only available for customers who already have an active Managed Database.** + Creates a snapshot backup of a Managed MySQL Database. Requires `read_write` access to the Database. @@ -3694,6 +3712,8 @@ paths: x-linode-cli-action: mysql-backup-view x-linode-grant: read_only description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display information for a single backup for an accessible Managed MySQL Database. The Database must not be provisioning to perform this command. @@ -3728,6 +3748,8 @@ paths: - url: https://api.linode.com/v4beta x-linode-cli-action: mysql-backup-delete description: | + **This command is currently only available for customers who already have an active Managed Database.** + Delete a single backup for an accessible Managed MySQL Database. Requires `read_write` access to the Database. @@ -3781,6 +3803,8 @@ paths: x-linode-cli-action: mysql-backup-restore x-linode-grant: read_write description: | + **This command is currently only available for customers who already have an active Managed Database.** + Restore a backup to a Managed MySQL Database on your Account. Requires `read_write` access to the Database. @@ -3831,6 +3855,8 @@ paths: x-linode-cli-action: mysql-creds-view x-linode-grant: read_only description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display the root username and password for an accessible Managed MySQL Database. The Database must have an `active` status to perform this command. @@ -3875,6 +3901,8 @@ paths: x-linode-cli-action: mysql-creds-reset x-linode-grant: read_write description: | + **This command is currently only available for customers who already have an active Managed Database.** + Reset the root password for a Managed MySQL Database. Requires `read_write` access to the Database. @@ -3925,6 +3953,8 @@ paths: x-linode-cli-action: mysql-ssl-cert x-linode-grant: read_only description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display the SSL CA certificate for an accessible Managed MySQL Database. The Database must have an `active` status to perform this command. @@ -3969,6 +3999,8 @@ paths: x-linode-cli-action: mysql-patch x-linode-grant: read_write description: | + **This command is currently only available for customers who already have an active Managed Database.** + Apply security patches and updates to the underlying operating system of the Managed MySQL Database. This function runs during regular maintenance windows, which are configurable with the **Managed MySQL Database Update** ([PUT /databases/mysql/instances/{instanceId}](/docs/api/databases/#managed-mysql-database-update)) command. Requires `read_write` access to the Database. @@ -4017,6 +4049,8 @@ paths: - $ref: '#/components/parameters/pageOffset' - $ref: '#/components/parameters/pageSize' description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display all accessible Managed PostgreSQL Databases. security: - personalAccessToken: [] @@ -4161,6 +4195,8 @@ paths: x-linode-cli-action: postgresql-view x-linode-grant: read_only description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display information for a single, accessible Managed PostgreSQL Database. security: - personalAccessToken: [] @@ -4194,6 +4230,8 @@ paths: x-linode-cli-action: postgresql-delete x-linode-grant: read_write description: | + **This command is currently only available for customers who already have an active Managed Database.** + Remove a Managed PostgreSQL Database from your Account. Requires `read_write` access to the Database. @@ -4234,6 +4272,8 @@ paths: x-linode-cli-action: postgresql-update x-linode-grant: read_write description: | + **This command is currently only available for customers who already have an active Managed Database.** + Update a Managed PostgreSQL Database. Requires `read_write` access to the Database. @@ -4337,6 +4377,8 @@ paths: - $ref: '#/components/parameters/pageOffset' - $ref: '#/components/parameters/pageSize' description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display all backups for an accessible Managed PostgreSQL Database. The Database must not be provisioning to perform this command. @@ -4383,6 +4425,8 @@ paths: x-linode-cli-action: postgresql-backup-snapshot x-linode-grant: read_write description: | + **This command is currently only available for customers who already have an active Managed Database.** + Creates a snapshot backup of a Managed PostgreSQL Database. Requires `read_write` access to the Database. @@ -4452,6 +4496,8 @@ paths: x-linode-cli-action: postgresql-backup-view x-linode-grant: read_only description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display information for a single backup for an accessible Managed PostgreSQL Database. The Database must not be provisioning to perform this command. @@ -4486,6 +4532,8 @@ paths: - url: https://api.linode.com/v4beta x-linode-cli-action: postgresql-backup-delete description: | + **This command is currently only available for customers who already have an active Managed Database.** + Delete a single backup for an accessible Managed PostgreSQL Database. Requires `read_write` access to the Database. @@ -4539,6 +4587,8 @@ paths: x-linode-cli-action: postgresql-backup-restore x-linode-grant: read_write description: | + **This command is currently only available for customers who already have an active Managed Database.** + Restore a backup to a Managed PostgreSQL Database on your Account. Requires `read_write` access to the Database. @@ -4589,6 +4639,8 @@ paths: x-linode-cli-action: postgresql-creds-view x-linode-grant: read_only description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display the root username and password for an accessible Managed PostgreSQL Database. The Database must have an `active` status to perform this command. @@ -4633,6 +4685,8 @@ paths: x-linode-cli-action: postgresql-creds-reset x-linode-grant: read_write description: | + **This command is currently only available for customers who already have an active Managed Database.** + Reset the root password for a Managed PostgreSQL Database. Requires `read_write` access to the Database. @@ -4683,6 +4737,8 @@ paths: x-linode-cli-action: postgresql-ssl-cert x-linode-grant: read_only description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display the SSL CA certificate for an accessible Managed PostgreSQL Database. The Database must have an `active` status to perform this command. @@ -4727,6 +4783,8 @@ paths: x-linode-cli-action: postgresql-patch x-linode-grant: read_write description: | + **This command is currently only available for customers who already have an active Managed Database.** + Apply security patches and updates to the underlying operating system of the Managed PostgreSQL Database. This function runs during regular maintenance windows, which are configurable with the **Managed PostgreSQL Database Update** ([PUT /databases/postgresql/instances/{instanceId}](/docs/api/databases/#managed-postgresql-database-update)) command. Requires `read_write` access to the Database. @@ -4774,6 +4832,8 @@ paths: - $ref: '#/components/parameters/pageOffset' - $ref: '#/components/parameters/pageSize' description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display all Managed Database node types. The type and number of nodes determine the resources and price of a Managed Database instance. Each Managed Database can have one node type. In the case of a high availabilty Database, all nodes are provisioned according to the chosen type. @@ -4844,6 +4904,8 @@ paths: - $ref: '#/components/parameters/pageOffset' - $ref: '#/components/parameters/pageSize' description: | + **This command is currently only available for customers who already have an active Managed Database.** + Display the details of a single Managed Database type. The type and number of nodes determine the resources and price of a Managed Database instance. responses: '200':