From 156f6a2099877896ed0d04690f8cd2ba9d69f18f Mon Sep 17 00:00:00 2001 From: API Engineering Date: Tue, 14 Nov 2023 17:34:19 +0000 Subject: [PATCH] [bot] Updated client based on openapi-13ed326/clientgen --- DO_OPENAPI_COMMIT_SHA.txt | 2 +- src/pydo/aio/operations/_operations.py | 82 ++++++++++++-------------- src/pydo/operations/_operations.py | 82 ++++++++++++-------------- 3 files changed, 75 insertions(+), 91 deletions(-) diff --git a/DO_OPENAPI_COMMIT_SHA.txt b/DO_OPENAPI_COMMIT_SHA.txt index 6fb3b188..55e54a30 100644 --- a/DO_OPENAPI_COMMIT_SHA.txt +++ b/DO_OPENAPI_COMMIT_SHA.txt @@ -1 +1 @@ -a4755ec +13ed326 diff --git a/src/pydo/aio/operations/_operations.py b/src/pydo/aio/operations/_operations.py index e0c911e2..122e469f 100644 --- a/src/pydo/aio/operations/_operations.py +++ b/src/pydo/aio/operations/_operations.py @@ -72987,6 +72987,10 @@ async def update_online_migration( body = { "disable_ssl": bool, # Optional. Enables SSL encryption when connecting to the source database. + "ignore_dbs": [ + "str" # Optional. List of databases that should be ignored during + migration. + ], "source": { "dbname": "str", # Optional. The name of the default database. "host": "str", # Optional. The FQDN pointing to the database @@ -74520,6 +74524,10 @@ async def list_replicas(self, database_cluster_uuid: str, **kwargs: Any) -> JSON "status": "str", # Optional. A string representing the current status of the database cluster. Known values are: "creating", "online", "resizing", "migrating", and "forking". + "storage_size_mib": 0, # Optional. Additional storage added + to the cluster, in MiB. If null, no additional storage is added to the + cluster, beyond what is provided as a base amount from the 'size' and any + previously added additional storage. "tags": [ "str" # Optional. A flat array of tag names as strings to apply to the read-only replica after it is created. Tag @@ -74697,6 +74705,10 @@ async def create_replica( "status": "str", # Optional. A string representing the current status of the database cluster. Known values are: "creating", "online", "resizing", "migrating", and "forking". + "storage_size_mib": 0, # Optional. Additional storage added to the cluster, + in MiB. If null, no additional storage is added to the cluster, beyond what is + provided as a base amount from the 'size' and any previously added additional + storage. "tags": [ "str" # Optional. A flat array of tag names as strings to apply to the read-only replica after it is created. Tag names can either be existing @@ -74759,6 +74771,10 @@ async def create_replica( "status": "str", # Optional. A string representing the current status of the database cluster. Known values are: "creating", "online", "resizing", "migrating", and "forking". + "storage_size_mib": 0, # Optional. Additional storage added to the + cluster, in MiB. If null, no additional storage is added to the cluster, + beyond what is provided as a base amount from the 'size' and any previously + added additional storage. "tags": [ "str" # Optional. A flat array of tag names as strings to apply to the read-only replica after it is created. Tag names can either @@ -74870,6 +74886,10 @@ async def create_replica( "status": "str", # Optional. A string representing the current status of the database cluster. Known values are: "creating", "online", "resizing", "migrating", and "forking". + "storage_size_mib": 0, # Optional. Additional storage added to the + cluster, in MiB. If null, no additional storage is added to the cluster, + beyond what is provided as a base amount from the 'size' and any previously + added additional storage. "tags": [ "str" # Optional. A flat array of tag names as strings to apply to the read-only replica after it is created. Tag names can either @@ -74979,6 +74999,10 @@ async def create_replica( "status": "str", # Optional. A string representing the current status of the database cluster. Known values are: "creating", "online", "resizing", "migrating", and "forking". + "storage_size_mib": 0, # Optional. Additional storage added to the + cluster, in MiB. If null, no additional storage is added to the cluster, + beyond what is provided as a base amount from the 'size' and any previously + added additional storage. "tags": [ "str" # Optional. A flat array of tag names as strings to apply to the read-only replica after it is created. Tag names can either @@ -75166,6 +75190,10 @@ async def get_replica( "status": "str", # Optional. A string representing the current status of the database cluster. Known values are: "creating", "online", "resizing", "migrating", and "forking". + "storage_size_mib": 0, # Optional. Additional storage added to the + cluster, in MiB. If null, no additional storage is added to the cluster, + beyond what is provided as a base amount from the 'size' and any previously + added additional storage. "tags": [ "str" # Optional. A flat array of tag names as strings to apply to the read-only replica after it is created. Tag names can either @@ -79399,14 +79427,10 @@ async def create_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is 604800000. The + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default value is - False. Whether unclean_leader_election_enable specifies whether to allow - replicas that are not insync to be elected as leaders as a last resort. This - may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partition_count": 0, # Optional. The number of partitions available for the @@ -79506,14 +79530,10 @@ async def create_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ @@ -79677,14 +79697,10 @@ async def create_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ @@ -79846,14 +79862,10 @@ async def create_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ @@ -80096,14 +80108,10 @@ async def get_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ @@ -80333,14 +80341,10 @@ async def update_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is 604800000. The + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default value is - False. Whether unclean_leader_election_enable specifies whether to allow - replicas that are not insync to be elected as leaders as a last resort. This - may result in data loss since those leaders are not insync. }, "partition_count": 0, # Optional. The number of partitions available for the topic. On update, this value can only be increased. @@ -80439,14 +80443,10 @@ async def update_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ @@ -80613,14 +80613,10 @@ async def update_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ @@ -80785,14 +80781,10 @@ async def update_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ diff --git a/src/pydo/operations/_operations.py b/src/pydo/operations/_operations.py index ed337b6c..9b1a4093 100644 --- a/src/pydo/operations/_operations.py +++ b/src/pydo/operations/_operations.py @@ -79862,6 +79862,10 @@ def update_online_migration( body = { "disable_ssl": bool, # Optional. Enables SSL encryption when connecting to the source database. + "ignore_dbs": [ + "str" # Optional. List of databases that should be ignored during + migration. + ], "source": { "dbname": "str", # Optional. The name of the default database. "host": "str", # Optional. The FQDN pointing to the database @@ -81393,6 +81397,10 @@ def list_replicas(self, database_cluster_uuid: str, **kwargs: Any) -> JSON: "status": "str", # Optional. A string representing the current status of the database cluster. Known values are: "creating", "online", "resizing", "migrating", and "forking". + "storage_size_mib": 0, # Optional. Additional storage added + to the cluster, in MiB. If null, no additional storage is added to the + cluster, beyond what is provided as a base amount from the 'size' and any + previously added additional storage. "tags": [ "str" # Optional. A flat array of tag names as strings to apply to the read-only replica after it is created. Tag @@ -81570,6 +81578,10 @@ def create_replica( "status": "str", # Optional. A string representing the current status of the database cluster. Known values are: "creating", "online", "resizing", "migrating", and "forking". + "storage_size_mib": 0, # Optional. Additional storage added to the cluster, + in MiB. If null, no additional storage is added to the cluster, beyond what is + provided as a base amount from the 'size' and any previously added additional + storage. "tags": [ "str" # Optional. A flat array of tag names as strings to apply to the read-only replica after it is created. Tag names can either be existing @@ -81632,6 +81644,10 @@ def create_replica( "status": "str", # Optional. A string representing the current status of the database cluster. Known values are: "creating", "online", "resizing", "migrating", and "forking". + "storage_size_mib": 0, # Optional. Additional storage added to the + cluster, in MiB. If null, no additional storage is added to the cluster, + beyond what is provided as a base amount from the 'size' and any previously + added additional storage. "tags": [ "str" # Optional. A flat array of tag names as strings to apply to the read-only replica after it is created. Tag names can either @@ -81743,6 +81759,10 @@ def create_replica( "status": "str", # Optional. A string representing the current status of the database cluster. Known values are: "creating", "online", "resizing", "migrating", and "forking". + "storage_size_mib": 0, # Optional. Additional storage added to the + cluster, in MiB. If null, no additional storage is added to the cluster, + beyond what is provided as a base amount from the 'size' and any previously + added additional storage. "tags": [ "str" # Optional. A flat array of tag names as strings to apply to the read-only replica after it is created. Tag names can either @@ -81852,6 +81872,10 @@ def create_replica( "status": "str", # Optional. A string representing the current status of the database cluster. Known values are: "creating", "online", "resizing", "migrating", and "forking". + "storage_size_mib": 0, # Optional. Additional storage added to the + cluster, in MiB. If null, no additional storage is added to the cluster, + beyond what is provided as a base amount from the 'size' and any previously + added additional storage. "tags": [ "str" # Optional. A flat array of tag names as strings to apply to the read-only replica after it is created. Tag names can either @@ -82039,6 +82063,10 @@ def get_replica( "status": "str", # Optional. A string representing the current status of the database cluster. Known values are: "creating", "online", "resizing", "migrating", and "forking". + "storage_size_mib": 0, # Optional. Additional storage added to the + cluster, in MiB. If null, no additional storage is added to the cluster, + beyond what is provided as a base amount from the 'size' and any previously + added additional storage. "tags": [ "str" # Optional. A flat array of tag names as strings to apply to the read-only replica after it is created. Tag names can either @@ -86266,14 +86294,10 @@ def create_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is 604800000. The + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default value is - False. Whether unclean_leader_election_enable specifies whether to allow - replicas that are not insync to be elected as leaders as a last resort. This - may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partition_count": 0, # Optional. The number of partitions available for the @@ -86373,14 +86397,10 @@ def create_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ @@ -86544,14 +86564,10 @@ def create_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ @@ -86713,14 +86729,10 @@ def create_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ @@ -86963,14 +86975,10 @@ def get_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ @@ -87200,14 +87208,10 @@ def update_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is 604800000. The + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default value is - False. Whether unclean_leader_election_enable specifies whether to allow - replicas that are not insync to be elected as leaders as a last resort. This - may result in data loss since those leaders are not insync. }, "partition_count": 0, # Optional. The number of partitions available for the topic. On update, this value can only be increased. @@ -87306,14 +87310,10 @@ def update_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ @@ -87480,14 +87480,10 @@ def update_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [ @@ -87652,14 +87648,10 @@ def update_kafka_topic( "segment_jitter_ms": 0, # Optional. Default value is 0. The segment_jitter_ms specifies the maximum random jitter subtracted from the scheduled segment roll time to avoid thundering herds of segment rolling. - "segment_ms": 604800000, # Optional. Default value is + "segment_ms": 604800000 # Optional. Default value is 604800000. The segment_ms specifies the period of time after which the log will be forced to roll if the segment file isn't full. This ensures that retention can delete or compact old data. - "unclean_leader_election_enable": False # Optional. Default - value is False. Whether unclean_leader_election_enable specifies whether - to allow replicas that are not insync to be elected as leaders as a last - resort. This may result in data loss since those leaders are not insync. }, "name": "str", # Optional. The name of the Kafka topic. "partitions": [