UpgradeInstanceRequest: {
    enableEncryption?: boolean;
    enableHa?: boolean;
    instanceId: string;
    majorUpgradeWorkflow?: RDB.v1.UpgradeInstanceRequestMajorUpgradeWorkflow;
    nodeType?: string;
    region?: Region;
    upgradableVersionId?: string;
    volumeSize?: number;
    volumeType?: RDB.v1.VolumeType;
}

Type declaration

  • OptionalenableEncryption?: boolean

    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.

  • OptionalenableHa?: boolean

    Defines whether or not high availability should be enabled on the Database Instance.

    One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', 'enableEncryption' could be set.

  • instanceId: string

    UUID of the Database Instance you want to upgrade.

  • OptionalmajorUpgradeWorkflow?: RDB.v1.UpgradeInstanceRequestMajorUpgradeWorkflow

    Upgrade your database engine to a new major version including instance endpoints.

    One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', 'enableEncryption' could be set.

  • OptionalnodeType?: string

    Node type of the Database Instance you want to upgrade to.

    One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', 'enableEncryption' could be set.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • OptionalupgradableVersionId?: string

    This will create a new Database Instance with same specifications as the current one and perform a Database Engine upgrade.

    One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', 'enableEncryption' could be set.

  • OptionalvolumeSize?: number

    Increase your block storage volume size.

    One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', 'enableEncryption' could be set.

  • OptionalvolumeType?: RDB.v1.VolumeType

    Change your Database Instance storage type.

    One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa', 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow', 'enableEncryption' could be set.