Skip to content

Commit

Permalink
[bot] Updated client based on openapi-13ed326/clientgen
Browse files Browse the repository at this point in the history
  • Loading branch information
API Engineering committed Nov 14, 2023
1 parent 79679c8 commit 156f6a2
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 91 deletions.
2 changes: 1 addition & 1 deletion DO_OPENAPI_COMMIT_SHA.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a4755ec
13ed326
82 changes: 37 additions & 45 deletions src/pydo/aio/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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": [
Expand Down
Loading

0 comments on commit 156f6a2

Please sign in to comment.