diff --git a/packages/clients/src/api/rdb/v1/marshalling.gen.ts b/packages/clients/src/api/rdb/v1/marshalling.gen.ts index f42135930..c6418c854 100644 --- a/packages/clients/src/api/rdb/v1/marshalling.gen.ts +++ b/packages/clients/src/api/rdb/v1/marshalling.gen.ts @@ -1308,5 +1308,6 @@ export const marshalUpgradeInstanceRequest = ( ) : undefined, }, + { param: 'enable_encryption', value: request.enableEncryption }, ]), }) diff --git a/packages/clients/src/api/rdb/v1/types.gen.ts b/packages/clients/src/api/rdb/v1/types.gen.ts index 6134cc905..2f4592980 100644 --- a/packages/clients/src/api/rdb/v1/types.gen.ts +++ b/packages/clients/src/api/rdb/v1/types.gen.ts @@ -1577,8 +1577,8 @@ export type UpgradeInstanceRequest = { * Node type of the Database Instance you want to upgrade to. * * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', - * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow' - * could be set. + * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', + * 'enableEncryption' could be set. */ nodeType?: string /** @@ -1586,24 +1586,24 @@ export type UpgradeInstanceRequest = { * Instance. * * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', - * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow' - * could be set. + * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', + * 'enableEncryption' could be set. */ enableHa?: boolean /** * Increase your block storage volume size. * * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', - * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow' - * could be set. + * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', + * 'enableEncryption' could be set. */ volumeSize?: number /** * Change your Database Instance storage type. * * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', - * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow' - * could be set. + * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', + * 'enableEncryption' could be set. */ volumeType?: VolumeType /** @@ -1611,8 +1611,8 @@ export type UpgradeInstanceRequest = { * current one and perform a Database Engine upgrade. * * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', - * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow' - * could be set. + * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', + * 'enableEncryption' could be set. */ upgradableVersionId?: string /** @@ -1620,8 +1620,17 @@ export type UpgradeInstanceRequest = { * endpoints. * * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', - * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow' - * could be set. + * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', + * 'enableEncryption' could be set. */ majorUpgradeWorkflow?: UpgradeInstanceRequestMajorUpgradeWorkflow + /** + * Defines whether or not encryption should be enabled on the Database + * Instance. + * + * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', + * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', + * 'enableEncryption' could be set. + */ + enableEncryption?: boolean }