rsdo 0.1.20260901

A Rust client library for the DigitalOcean API v2
Documentation
type: object

properties:
  id:
    type: string
    format: uuid
    example: 9cc10173-e9ea-4176-9dbc-a4cee4c4ff30
    description: A unique ID that can be used to identify and reference a database cluster.
    readOnly: true
  name:
    type: string
    example: backend
    description: A unique, human-readable name referring to a database cluster.
  engine:
    type: string
    example: mysql
    enum:
      - pg
      - mysql
      - redis
      - valkey
      - mongodb
      - kafka
      - opensearch
      - advanced_pg
      - advanced_mysql
    description: >-
      A slug representing the database engine used for the cluster. The possible values
      are: "pg" for PostgreSQL, "mysql" for MySQL, "redis" for Caching, "mongodb" for MongoDB,
      "kafka" for Kafka, "opensearch" for OpenSearch, "valkey" for Valkey, "advanced_pg" for
      PostgreSQL Advanced Edition, and "advanced_mysql" for MySQL Advanced Edition. Advanced
      Edition engines are currently in public preview.
  version:
    type: string
    example: '8'
    description: A string representing the version of the database engine in use for the cluster.
  semantic_version:
    type: string
    example: '8.0.28'
    description:  A string representing the semantic version of the database engine in use for the cluster.
    readOnly: true
  num_nodes:
    type: integer
    example: 2
    description: The number of nodes in the database cluster.
  size:
    type: string
    example: db-s-2vcpu-4gb
    description: The slug identifier representing the size of the nodes in the database cluster.
  region:
    type: string
    example: nyc3
    description: The slug identifier for the region where the database cluster is located.
  status:
    type: string
    enum:
      - creating
      - online
      - resizing
      - migrating
      - forking
    example: creating
    description: A string representing the current status of the database cluster.
    readOnly: true
  created_at:
    type: string
    format: date-time
    example: 2019-01-11T18:37:36Z
    description:  >-
      A time value given in ISO8601 combined date and time format that represents
      when the database cluster was created.
    readOnly: true
  private_network_uuid:
    type: string
    pattern: '^$|[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}'
    example: d455e75d-4858-4eec-8c95-da2f0a5f93a7
    description: >-
      A string specifying the UUID of the VPC to which the database cluster will be
      assigned. If excluded, the cluster when creating a new database cluster, it will
      be assigned to your account's default VPC for the region.
      <br><br>Requires `vpc:read` scope.
  tags:
    type: array
    items:
      type: string
    example:
     - production
    nullable: true
    description: >-
      An array of tags that have been applied to the database cluster.
      <br><br>Requires `tag:read` scope.
  db_names:
    type: array
    items:
      type: string
    example:
      - doadmin
    nullable: true
    readOnly: true
    description: >-
      An array of strings containing the names of databases created in the
      database cluster.
  ui_connection:
    allOf:
    - $ref: './opensearch_connection.yml'
    - readOnly: true
    description: >-
     The connection details for OpenSearch dashboard. 
  schema_registry_connection:
    allOf:
    - $ref: './schema_registry_connection.yml'
    - readOnly: true
    description: >-
     The connection details for Schema Registry.
  connection:
    allOf:
    - $ref: './database_connection.yml'
    - readOnly: true
  private_connection:
    allOf:
    - $ref: './database_connection.yml'
    - readOnly: true
  standby_connection:
    allOf:
    - $ref: './database_connection.yml'
    - readOnly: true
  standby_private_connection:
    allOf:
    - $ref: './database_connection.yml'
    - readOnly: true
  users:
    type: array
    nullable: true
    items:
      $ref: './database_user.yml'
    readOnly: true
  maintenance_window:
    allOf:
    - $ref: './database_maintenance_window.yml'
    - readOnly: true
  project_id:
    type: string
    format: uuid
    example: 9cc10173-e9ea-4176-9dbc-a4cee4c4ff30
    description: The ID of the project that the database cluster is assigned to. If excluded when creating a new database cluster, it will be assigned to your default project.<br><br>Requires `project:read` scope.
  rules:
    type: array
    items:
      $ref: './firewall_rule.yml'
  version_end_of_life:
    type: string
    example: '2023-11-09T00:00:00Z'
    readOnly: true
    description: >-
      A timestamp referring to the date when the particular version will no longer be supported. If null, the version
      does not have an end of life timeline.
  version_end_of_availability:
    type: string
    example: '2023-05-09T00:00:00Z'
    readOnly: true
    description: >-
      A timestamp referring to the date when the particular version will no longer be available for creating new
      clusters. If null, the version does not have an end of availability timeline.
  storage_size_mib:
    type: integer
    example: 61440
    description: >-
      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.
  metrics_endpoints:
    type: array
    items:
      $ref: './database_service_endpoint.yml'
    description: >-
      Public hostname and port of the cluster's metrics endpoint(s). Includes one record for the cluster's primary node and
      a second entry for the cluster's standby node(s).
    readOnly: true
  do_settings:
    allOf:
    - $ref: './do_settings.yml'
    - description: >-
        DigitalOcean-specific settings for the database cluster, including custom service CNAMEs.



required:
  - name
  - engine
  - num_nodes
  - size
  - region