From 74adadd57798deed6cb311a33e0ed97a4f6f21b9 Mon Sep 17 00:00:00 2001 From: API Engineering Date: Wed, 29 Jul 2026 06:28:54 +0000 Subject: [PATCH] [bot] Updated client based on openapi-1bc04db/clientgen --- DO_OPENAPI_COMMIT_SHA.txt | 2 +- changelist.md | 11 +- ...v2_databases.DatabasesPostRequestBody.html | 58 +++--- ..._item_firewall.FirewallRequestBuilder.html | 4 +- ...bases_item_users.UsersPostRequestBody.html | 14 +- ...abases_item_users.UsersRequestBuilder.html | 8 +- ...s_item.WithUsernameItemRequestBuilder.html | 8 +- ...ped_resources.ResourcesRequestBuilder.html | 4 +- ...tem_resources.ResourcesRequestBuilder.html | 4 +- ...item.WithVpc_peering_PatchRequestBody.html | 2 +- ...item.WithVpc_peering_PatchRequestBody.html | 2 +- src/dots/kiota-lock.json | 2 +- src/dots/models/index.ts | 166 +++++++++++++++++- src/dots/v2/databases/item/firewall/index.ts | 4 +- src/dots/v2/databases/item/users/index.ts | 8 +- .../v2/databases/item/users/item/index.ts | 8 +- .../defaultEscaped/resources/index.ts | 4 +- src/dots/v2/projects/item/resources/index.ts | 4 +- 18 files changed, 237 insertions(+), 76 deletions(-) diff --git a/DO_OPENAPI_COMMIT_SHA.txt b/DO_OPENAPI_COMMIT_SHA.txt index 7ffb1d2679..3ac9e60bde 100644 --- a/DO_OPENAPI_COMMIT_SHA.txt +++ b/DO_OPENAPI_COMMIT_SHA.txt @@ -1 +1 @@ -7e5b46e +1bc04db diff --git a/changelist.md b/changelist.md index 8d74d72915..e91b34f540 100644 --- a/changelist.md +++ b/changelist.md @@ -1,6 +1,11 @@ ## Changelist -Current commit: digitalocean/openapi@3d7b823 (2026-07-03T11:48:42Z) -Target commit: digitalocean/openapi@7e5b46e (2026-07-08T11:33:21Z) +Current commit: digitalocean/openapi@7e5b46e (2026-07-08T11:33:21Z) +Target commit: digitalocean/openapi@1bc04db (2026-07-29T06:25:53Z) -* digitalocean/openapi#1200: MS-873: Add eval run name editing and model catalog badges to OpenAPI spec - 2026-07-08T11:33:21Z [] +* digitalocean/openapi#1208: Complete databases firewall PUT description (PDOCS-4399) - 2026-07-29T06:25:53Z [] +* digitalocean/openapi#1206: Update spec to support project:assign_resource standardization - 2026-07-27T08:45:08Z [] +* digitalocean/openapi#1205: update disk_info enum - 2026-07-23T11:57:48Z [] +* digitalocean/openapi#1203: [DBAAS-8887] Add 16 new MySQL advanced config parameters - 2026-07-17T07:54:47Z [] +* digitalocean/openapi#1202: DBAAS-8634: Document pg_allow_replication optional default and update path - 2026-07-16T09:12:20Z [] +* digitalocean/openapi#1201: Add p2p_oci_registry_plugin to k8s response - 2026-07-09T14:24:10Z [] diff --git a/docs/interfaces/v2_databases.DatabasesPostRequestBody.html b/docs/interfaces/v2_databases.DatabasesPostRequestBody.html index c81585adf9..5f47047d08 100644 --- a/docs/interfaces/v2_databases.DatabasesPostRequestBody.html +++ b/docs/interfaces/v2_databases.DatabasesPostRequestBody.html @@ -32,33 +32,33 @@

Properties

additionalData?: Record<string, unknown>

Gets the additional data for this object that did not belong to the properties.

The additional data for this object.

autoscale?: null | Database_autoscale_params

Autoscaling configuration for the database cluster. Currently only supports storage autoscaling. If null, autoscaling is not configured for the cluster.

-
backupRestore?: null | Database_backup

The backup_restore property

+
backupRestore?: null | Database_backup

The backup_restore property

connection?: null | Database_connection

The connection property

-
createdAt?: null | Date

A time value given in ISO8601 combined date and time format that represents when the database cluster was created.

-
dbNames?: null | string[]

An array of strings containing the names of databases created in the database cluster.

-
doSettings?: null | Do_settings

The do_settings property

-
engine?: null | Database_cluster_engine

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.

-
id?: null | string

A unique ID that can be used to identify and reference a database cluster.

-
maintenanceWindow?: null | Database_maintenance_window

The maintenance_window property

-
metricsEndpoints?: null | Database_service_endpoint[]

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).

-
name?: null | string

A unique, human-readable name referring to a database cluster.

-
numNodes?: null | number

The number of nodes in the database cluster.

-
privateConnection?: null | Database_connection

The private_connection property

-
privateNetworkUuid?: null | string

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.

Requires vpc:read scope.

-
projectId?: null | string

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.

Requires project:update scope.

-
region?: null | string

The slug identifier for the region where the database cluster is located.

-
rules?: null | Firewall_rule[]

The rules property

-
schemaRegistryConnection?: null | Schema_registry_connection

The connection details for Schema Registry.

-
semanticVersion?: null | string

A string representing the semantic version of the database engine in use for the cluster.

-
size?: null | string

The slug identifier representing the size of the nodes in the database cluster.

-
standbyConnection?: null | Database_connection

The standby_connection property

-
standbyPrivateConnection?: null | Database_connection

The standby_private_connection property

-
status?: null | Database_cluster_status

A string representing the current status of the database cluster.

-
storageSizeMib?: null | number

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?: null | string[]

An array of tags (as strings) to apply to the database cluster.

Requires tag:create scope.

-
uiConnection?: null | Opensearch_connection

The connection details for OpenSearch dashboard.

-
users?: null | Database_user[]

The users property

-
version?: null | string

A string representing the version of the database engine in use for the cluster.

-
versionEndOfAvailability?: null | string

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.

-
versionEndOfLife?: null | string

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.

-
+
createdAt?: null | Date

A time value given in ISO8601 combined date and time format that represents when the database cluster was created.

+
dbNames?: null | string[]

An array of strings containing the names of databases created in the database cluster.

+
doSettings?: null | Do_settings

The do_settings property

+
engine?: null | Database_cluster_engine

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.

+
id?: null | string

A unique ID that can be used to identify and reference a database cluster.

+
maintenanceWindow?: null | Database_maintenance_window

The maintenance_window property

+
metricsEndpoints?: null | Database_service_endpoint[]

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).

+
name?: null | string

A unique, human-readable name referring to a database cluster.

+
numNodes?: null | number

The number of nodes in the database cluster.

+
privateConnection?: null | Database_connection

The private_connection property

+
privateNetworkUuid?: null | string

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.

Requires vpc:read scope.

+
projectId?: null | string

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.

Requires project:assign_resource scope.

+
region?: null | string

The slug identifier for the region where the database cluster is located.

+
rules?: null | Firewall_rule[]

The rules property

+
schemaRegistryConnection?: null | Schema_registry_connection

The connection details for Schema Registry.

+
semanticVersion?: null | string

A string representing the semantic version of the database engine in use for the cluster.

+
size?: null | string

The slug identifier representing the size of the nodes in the database cluster.

+
standbyConnection?: null | Database_connection

The standby_connection property

+
standbyPrivateConnection?: null | Database_connection

The standby_private_connection property

+
status?: null | Database_cluster_status

A string representing the current status of the database cluster.

+
storageSizeMib?: null | number

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?: null | string[]

An array of tags (as strings) to apply to the database cluster.

Requires tag:create scope.

+
uiConnection?: null | Opensearch_connection

The connection details for OpenSearch dashboard.

+
users?: null | Database_user[]

The users property

+
version?: null | string

A string representing the version of the database engine in use for the cluster.

+
versionEndOfAvailability?: null | string

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.

+
versionEndOfLife?: null | string

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.

+
diff --git a/docs/interfaces/v2_databases_item_firewall.FirewallRequestBuilder.html b/docs/interfaces/v2_databases_item_firewall.FirewallRequestBuilder.html index c3b9f77778..a025e449a4 100644 --- a/docs/interfaces/v2_databases_item_firewall.FirewallRequestBuilder.html +++ b/docs/interfaces/v2_databases_item_firewall.FirewallRequestBuilder.html @@ -11,7 +11,7 @@

error when the service returns a 429 status code

error when the service returns a 500 status code

error when the service returns a 4XX or 5XX status code

-

Returns RequestInformation

diff --git a/docs/interfaces/v2_databases_item_users.UsersPostRequestBody.html b/docs/interfaces/v2_databases_item_users.UsersPostRequestBody.html index 3240b400da..a304e3c02d 100644 --- a/docs/interfaces/v2_databases_item_users.UsersPostRequestBody.html +++ b/docs/interfaces/v2_databases_item_users.UsersPostRequestBody.html @@ -8,13 +8,13 @@ role? settings?

Properties

accessCert?: null | string

Access certificate for TLS client authentication. (Kafka only)

-
accessKey?: null | string

Access key for TLS client authentication. (Kafka only)

-
additionalData?: Record<string, unknown>

Gets the additional data for this object that did not belong to the properties.

+
accessKey?: null | string

Access key for TLS client authentication. (Kafka only)

+
additionalData?: Record<string, unknown>

Gets the additional data for this object that did not belong to the properties.

The additional data for this object.

mysqlSettings?: null | Mysql_settings

The mysql_settings property

-
name?: null | string

The name of a database user.

-
password?: null | string

A randomly generated password for the database user.
Requires database:view_credentials scope.

-
readonly?: null | boolean

(To be deprecated: use settings.mongo_user_settings.role instead for access controls to MongoDB databases). For MongoDB clusters, set to true to create a read-only user.This option is not currently supported for other database engines.

+
name?: null | string

The name of a database user.

+
password?: null | string

A randomly generated password for the database user.
Requires database:view_credentials scope.

+
readonly?: null | boolean

(To be deprecated: use settings.mongo_user_settings.role instead for access controls to MongoDB databases). For MongoDB clusters, set to true to create a read-only user.This option is not currently supported for other database engines.

role?: null | Database_user_role

A string representing the database user's role. The value will be either"primary" or "normal".

-
settings?: null | User_settings

The settings property

-
+
settings?: null | User_settings

The settings property

+
diff --git a/docs/interfaces/v2_databases_item_users.UsersRequestBuilder.html b/docs/interfaces/v2_databases_item_users.UsersRequestBuilder.html index d3caab5bd7..b54fdb6d3f 100644 --- a/docs/interfaces/v2_databases_item_users.UsersRequestBuilder.html +++ b/docs/interfaces/v2_databases_item_users.UsersRequestBuilder.html @@ -7,14 +7,14 @@ withUrl

Methods

  • To list all of the users for your database cluster, send a GET request to/v2/databases/$DATABASE_ID/users.Note: User management is not supported for Caching or Valkey clusters.The result will be a JSON object with a users key. This will be set to an arrayof database user objects, each of which will contain the standard database user attributes.User passwords will not show without the database:view_credentials scope.For MySQL clusters, additional options will be contained in the mysql_settings object.For MongoDB clusters, additional information will be contained in the mongo_user_settings object

    +

Returns WithUsernameItemRequestBuilder

  • To list all of the users for your database cluster, send a GET request to/v2/databases/$DATABASE_ID/users.Note: User management is not supported for Caching or Valkey clusters.The result will be a JSON object with a users key. This will be set to an arrayof database user objects, each of which will contain the standard database user attributes.User passwords will not show without the database:view_credentials scope.For MySQL clusters, additional options will be contained in the mysql_settings object.For PostgreSQL clusters, additional options will be contained in the settingsobject (for example, pg_allow_replication).For Kafka clusters, additional options will be contained in the settings object.For MongoDB clusters, additional information will be contained in the mongo_user_settings object

    Parameters

    • OptionalrequestConfiguration: RequestConfiguration<object>

      Configuration for the request such as headers, query parameters, and middleware options.

    Returns Promise<undefined | UsersGetResponse>

    error when the service returns a 401 status code

    error when the service returns a 404 status code

    error when the service returns a 429 status code

    error when the service returns a 500 status code

    error when the service returns a 4XX or 5XX status code

    -

post

  • post(
        body: UsersPostRequestBody,
        requestConfiguration?: RequestConfiguration<object>,
    ): Promise<undefined | UsersPostResponse>

    To add a new database user, send a POST request to /v2/databases/$DATABASE_ID/userswith the desired username.Note: User management is not supported for Caching or Valkey clusters.When adding a user to a MySQL cluster, additional options can be configured in themysql_settings object.When adding a user to a Kafka cluster, additional options can be configured inthe settings object. When adding a user to a MongoDB cluster, additional options can be configured inthe settings.mongo_user_settings object.The response will be a JSON object with a key called user. The value of this will be anobject that contains the standard attributes associated with a database user includingits randomly generated password.

    +

post

  • post(
        body: UsersPostRequestBody,
        requestConfiguration?: RequestConfiguration<object>,
    ): Promise<undefined | UsersPostResponse>

    To add a new database user, send a POST request to /v2/databases/$DATABASE_ID/userswith the desired username.Note: User management is not supported for Caching or Valkey clusters.When adding a user to a MySQL cluster, additional options can be configured in themysql_settings object.When adding a user to a PostgreSQL cluster, additional options can be configured inthe settings object (for example, pg_allow_replication). Whenpg_allow_replication is omitted, it defaults to false.When adding a user to a Kafka cluster, additional options can be configured inthe settings object.When adding a user to a MongoDB cluster, additional options can be configured inthe settings.mongo_user_settings object.The response will be a JSON object with a key called user. The value of this will be anobject that contains the standard attributes associated with a database user includingits randomly generated password.

    Parameters

    • body: UsersPostRequestBody

      The request body

    • OptionalrequestConfiguration: RequestConfiguration<object>

      Configuration for the request such as headers, query parameters, and middleware options.

    Returns Promise<undefined | UsersPostResponse>

    error when the service returns a 401 status code

    @@ -22,9 +22,9 @@

    error when the service returns a 429 status code

    error when the service returns a 500 status code

    error when the service returns a 4XX or 5XX status code

    -
  • To list all of the users for your database cluster, send a GET request to/v2/databases/$DATABASE_ID/users.Note: User management is not supported for Caching or Valkey clusters.The result will be a JSON object with a users key. This will be set to an arrayof database user objects, each of which will contain the standard database user attributes.User passwords will not show without the database:view_credentials scope.For MySQL clusters, additional options will be contained in the mysql_settings object.For MongoDB clusters, additional information will be contained in the mongo_user_settings object

    +
  • To list all of the users for your database cluster, send a GET request to/v2/databases/$DATABASE_ID/users.Note: User management is not supported for Caching or Valkey clusters.The result will be a JSON object with a users key. This will be set to an arrayof database user objects, each of which will contain the standard database user attributes.User passwords will not show without the database:view_credentials scope.For MySQL clusters, additional options will be contained in the mysql_settings object.For PostgreSQL clusters, additional options will be contained in the settingsobject (for example, pg_allow_replication).For Kafka clusters, additional options will be contained in the settings object.For MongoDB clusters, additional information will be contained in the mongo_user_settings object

    Parameters

    • OptionalrequestConfiguration: RequestConfiguration<object>

      Configuration for the request such as headers, query parameters, and middleware options.

      -

    Returns RequestInformation

  • To add a new database user, send a POST request to /v2/databases/$DATABASE_ID/userswith the desired username.Note: User management is not supported for Caching or Valkey clusters.When adding a user to a MySQL cluster, additional options can be configured in themysql_settings object.When adding a user to a Kafka cluster, additional options can be configured inthe settings object. When adding a user to a MongoDB cluster, additional options can be configured inthe settings.mongo_user_settings object.The response will be a JSON object with a key called user. The value of this will be anobject that contains the standard attributes associated with a database user includingits randomly generated password.

    +

Returns RequestInformation

  • To add a new database user, send a POST request to /v2/databases/$DATABASE_ID/userswith the desired username.Note: User management is not supported for Caching or Valkey clusters.When adding a user to a MySQL cluster, additional options can be configured in themysql_settings object.When adding a user to a PostgreSQL cluster, additional options can be configured inthe settings object (for example, pg_allow_replication). Whenpg_allow_replication is omitted, it defaults to false.When adding a user to a Kafka cluster, additional options can be configured inthe settings object.When adding a user to a MongoDB cluster, additional options can be configured inthe settings.mongo_user_settings object.The response will be a JSON object with a key called user. The value of this will be anobject that contains the standard attributes associated with a database user includingits randomly generated password.

    Parameters

    • body: UsersPostRequestBody

      The request body

    • OptionalrequestConfiguration: RequestConfiguration<object>

      Configuration for the request such as headers, query parameters, and middleware options.

    Returns RequestInformation

  • Parameters

    • rawUrl: string

    Returns UsersRequestBuilder

diff --git a/docs/interfaces/v2_databases_item_users_item.WithUsernameItemRequestBuilder.html b/docs/interfaces/v2_databases_item_users_item.WithUsernameItemRequestBuilder.html index cf6c3916f6..684784b104 100644 --- a/docs/interfaces/v2_databases_item_users_item.WithUsernameItemRequestBuilder.html +++ b/docs/interfaces/v2_databases_item_users_item.WithUsernameItemRequestBuilder.html @@ -15,14 +15,14 @@

error when the service returns a 429 status code

error when the service returns a 500 status code

error when the service returns a 4XX or 5XX status code

-

Returns RequestInformation

Returns RequestInformation

diff --git a/docs/interfaces/v2_projects_defaultEscaped_resources.ResourcesRequestBuilder.html b/docs/interfaces/v2_projects_defaultEscaped_resources.ResourcesRequestBuilder.html index 2de2b8312d..64c06871f0 100644 --- a/docs/interfaces/v2_projects_defaultEscaped_resources.ResourcesRequestBuilder.html +++ b/docs/interfaces/v2_projects_defaultEscaped_resources.ResourcesRequestBuilder.html @@ -11,7 +11,7 @@

error when the service returns a 429 status code

error when the service returns a 500 status code

error when the service returns a 4XX or 5XX status code

-

post

post

Returns RequestInformation

diff --git a/docs/interfaces/v2_projects_item_resources.ResourcesRequestBuilder.html b/docs/interfaces/v2_projects_item_resources.ResourcesRequestBuilder.html index f3534a5cb0..51b88780df 100644 --- a/docs/interfaces/v2_projects_item_resources.ResourcesRequestBuilder.html +++ b/docs/interfaces/v2_projects_item_resources.ResourcesRequestBuilder.html @@ -11,7 +11,7 @@

error when the service returns a 429 status code

error when the service returns a 500 status code

error when the service returns a 4XX or 5XX status code

-

post

post

Returns RequestInformation

diff --git a/docs/interfaces/v2_vpc_peerings_item.WithVpc_peering_PatchRequestBody.html b/docs/interfaces/v2_vpc_peerings_item.WithVpc_peering_PatchRequestBody.html index 7ff25c07b8..4b7846eb07 100644 --- a/docs/interfaces/v2_vpc_peerings_item.WithVpc_peering_PatchRequestBody.html +++ b/docs/interfaces/v2_vpc_peerings_item.WithVpc_peering_PatchRequestBody.html @@ -3,4 +3,4 @@

Properties

additionalData?: Record<string, unknown>

Gets the additional data for this object that did not belong to the properties.

The additional data for this object.

name?: null | string

The name of the VPC peering. Must be unique within the team and may only contain alphanumeric characters and dashes.

-
+
diff --git a/docs/interfaces/v2_vpcs_item_peerings_item.WithVpc_peering_PatchRequestBody.html b/docs/interfaces/v2_vpcs_item_peerings_item.WithVpc_peering_PatchRequestBody.html index 7fdfba50fa..d1975214ef 100644 --- a/docs/interfaces/v2_vpcs_item_peerings_item.WithVpc_peering_PatchRequestBody.html +++ b/docs/interfaces/v2_vpcs_item_peerings_item.WithVpc_peering_PatchRequestBody.html @@ -3,4 +3,4 @@

Properties

additionalData?: Record<string, unknown>

Gets the additional data for this object that did not belong to the properties.

The additional data for this object.

name?: null | string

The name of the VPC peering. Must be unique within the team and may only contain alphanumeric characters and dashes.

-
+
diff --git a/src/dots/kiota-lock.json b/src/dots/kiota-lock.json index 492e2081fe..ee97c588fc 100644 --- a/src/dots/kiota-lock.json +++ b/src/dots/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "FCF3FAE743C3959028DFDD1A29D6EF0FE6012C7376EA690463662E3D63B8A68A9B22B85AB7F432CD36EC84BADCDDFD1EAF9D2850622C93A60C325EA671346D78", + "descriptionHash": "B51269023D2EB1D63A4A4075EF01892E12735455FB12F38D1DAABFC681BE21664344536F7B431926E8B4C004E2CD3E755A42C1FBF9B908E5A59B7157C323F83F", "descriptionLocation": "../../DigitalOcean-public.v2.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.31.1", diff --git a/src/dots/models/index.ts b/src/dots/models/index.ts index 2d21cb3ab3..f6494c2ae9 100644 --- a/src/dots/models/index.ts +++ b/src/dots/models/index.ts @@ -8409,7 +8409,7 @@ export interface Apps_cors_policy extends AdditionalDataHolder, Parsable { } export interface Apps_create_app_request extends AdditionalDataHolder, Parsable { /** - * The ID of the project the app should be assigned to. If omitted, it will be assigned to your default project.

Requires `project:update` scope. + * The ID of the project the app should be assigned to. If omitted, it will be assigned to your default project.

Requires `project:assign_resource` scope. */ projectId?: string | null; /** @@ -10336,6 +10336,10 @@ export interface Cluster extends AdditionalDataHolder, Parsable { * An object specifying whether the Nvidia GPU Device Plugin should be enabled in the Kubernetes cluster. It's enabled by default for clusters with an Nvidia GPU node pool. */ nvidiaGpuDevicePlugin?: Nvidia_gpu_device_plugin | null; + /** + * An object specifying whether the Peer-to-peer OCI registry component should be enabled for the Kubernetes cluster. + */ + p2pOciRegistryPlugin?: P2p_oci_registry_plugin | null; /** * An object specifying whether the RDMA shared device plugin should be enabled in the Kubernetes cluster. */ @@ -10472,6 +10476,10 @@ export interface Cluster_read extends AdditionalDataHolder, Parsable { * An object specifying whether the Nvidia GPU Device Plugin should be enabled in the Kubernetes cluster. It's enabled by default for clusters with an Nvidia GPU node pool. */ nvidiaGpuDevicePlugin?: Nvidia_gpu_device_plugin | null; + /** + * An object specifying whether the Peer-to-peer OCI registry component should be enabled for the Kubernetes cluster. + */ + p2pOciRegistryPlugin?: P2p_oci_registry_plugin | null; /** * An object specifying whether the RDMA shared device plugin should be enabled in the Kubernetes cluster. */ @@ -10614,6 +10622,10 @@ export interface Cluster_update extends AdditionalDataHolder, Parsable { * An object specifying whether the Nvidia GPU Device Plugin should be enabled in the Kubernetes cluster. It's enabled by default for clusters with an Nvidia GPU node pool. */ nvidiaGpuDevicePlugin?: Nvidia_gpu_device_plugin | null; + /** + * An object specifying whether the Peer-to-peer OCI registry component should be enabled for the Kubernetes cluster. + */ + p2pOciRegistryPlugin?: P2p_oci_registry_plugin | null; /** * An object specifying whether the RDMA shared device plugin should be enabled in the Kubernetes cluster. */ @@ -18559,6 +18571,15 @@ export function createOptions_version_availabilityFromDiscriminatorValue(parseNo export function createOptionsFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record void>) { return deserializeIntoOptions; } +/** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @returns {P2p_oci_registry_plugin} + */ +// @ts-ignore +export function createP2p_oci_registry_pluginFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record void>) { + return deserializeIntoP2p_oci_registry_plugin; +} /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object @@ -20177,7 +20198,7 @@ export interface Database_cluster extends AdditionalDataHolder, Parsable { */ privateNetworkUuid?: string | null; /** - * 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.

Requires `project:update` scope. + * 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.

Requires `project:assign_resource` scope. */ projectId?: Guid | null; /** @@ -28036,6 +28057,7 @@ export function deserializeIntoCluster(cluster: Partial | undefined = { "name": n => { cluster.name = n.getStringValue(); }, "node_pools": n => { cluster.nodePools = n.getCollectionOfObjectValues(createKubernetes_node_poolFromDiscriminatorValue); }, "nvidia_gpu_device_plugin": n => { cluster.nvidiaGpuDevicePlugin = n.getObjectValue(createNvidia_gpu_device_pluginFromDiscriminatorValue); }, + "p2p_oci_registry_plugin": n => { cluster.p2pOciRegistryPlugin = n.getObjectValue(createP2p_oci_registry_pluginFromDiscriminatorValue); }, "rdma_shared_dev_plugin": n => { cluster.rdmaSharedDevPlugin = n.getObjectValue(createRdma_shared_dev_pluginFromDiscriminatorValue); }, "region": n => { cluster.region = n.getStringValue(); }, "registry_enabled": n => { cluster.registryEnabled = n.getBooleanValue(); }, @@ -28088,6 +28110,7 @@ export function deserializeIntoCluster_read(cluster_read: Partial "name": n => { cluster_read.name = n.getStringValue(); }, "node_pools": n => { cluster_read.nodePools = n.getCollectionOfObjectValues(createKubernetes_node_poolFromDiscriminatorValue); }, "nvidia_gpu_device_plugin": n => { cluster_read.nvidiaGpuDevicePlugin = n.getObjectValue(createNvidia_gpu_device_pluginFromDiscriminatorValue); }, + "p2p_oci_registry_plugin": n => { cluster_read.p2pOciRegistryPlugin = n.getObjectValue(createP2p_oci_registry_pluginFromDiscriminatorValue); }, "rdma_shared_dev_plugin": n => { cluster_read.rdmaSharedDevPlugin = n.getObjectValue(createRdma_shared_dev_pluginFromDiscriminatorValue); }, "region": n => { cluster_read.region = n.getStringValue(); }, "registries": n => { cluster_read.registries = n.getCollectionOfPrimitiveValues(); }, @@ -28169,6 +28192,7 @@ export function deserializeIntoCluster_update(cluster_update: Partial { cluster_update.maintenancePolicy = n.getObjectValue(createMaintenance_policyFromDiscriminatorValue); }, "name": n => { cluster_update.name = n.getStringValue(); }, "nvidia_gpu_device_plugin": n => { cluster_update.nvidiaGpuDevicePlugin = n.getObjectValue(createNvidia_gpu_device_pluginFromDiscriminatorValue); }, + "p2p_oci_registry_plugin": n => { cluster_update.p2pOciRegistryPlugin = n.getObjectValue(createP2p_oci_registry_pluginFromDiscriminatorValue); }, "rdma_shared_dev_plugin": n => { cluster_update.rdmaSharedDevPlugin = n.getObjectValue(createRdma_shared_dev_pluginFromDiscriminatorValue); }, "routing_agent": n => { cluster_update.routingAgent = n.getObjectValue(createRouting_agentFromDiscriminatorValue); }, "sso": n => { cluster_update.sso = n.getObjectValue(createSsoFromDiscriminatorValue); }, @@ -31523,20 +31547,30 @@ export function deserializeIntoMultiregistry_create(multiregistry_create: Partia // @ts-ignore export function deserializeIntoMysql_advanced_config(mysql_advanced_config: Partial | undefined = {}) : Record void> { return { + "automatic_sp_privileges": n => { mysql_advanced_config.automaticSpPrivileges = n.getBooleanValue(); }, "backup_hour": n => { mysql_advanced_config.backupHour = n.getNumberValue(); }, "backup_minute": n => { mysql_advanced_config.backupMinute = n.getNumberValue(); }, "binlog_retention_period": n => { mysql_advanced_config.binlogRetentionPeriod = n.getNumberValue(); }, "connect_timeout": n => { mysql_advanced_config.connectTimeout = n.getNumberValue(); }, "default_time_zone": n => { mysql_advanced_config.defaultTimeZone = n.getStringValue(); }, + "div_precision_increment": n => { mysql_advanced_config.divPrecisionIncrement = n.getNumberValue(); }, + "end_markers_in_json": n => { mysql_advanced_config.endMarkersInJson = n.getBooleanValue(); }, + "eq_range_index_dive_limit": n => { mysql_advanced_config.eqRangeIndexDiveLimit = n.getNumberValue(); }, "group_concat_max_len": n => { mysql_advanced_config.groupConcatMaxLen = n.getNumberValue(); }, "information_schema_stats_expiry": n => { mysql_advanced_config.informationSchemaStatsExpiry = n.getNumberValue(); }, "innodb_change_buffer_max_size": n => { mysql_advanced_config.innodbChangeBufferMaxSize = n.getNumberValue(); }, "innodb_flush_neighbors": n => { mysql_advanced_config.innodbFlushNeighbors = n.getNumberValue(); }, + "innodb_ft_enable_stopword": n => { mysql_advanced_config.innodbFtEnableStopword = n.getBooleanValue(); }, + "innodb_ft_max_token_size": n => { mysql_advanced_config.innodbFtMaxTokenSize = n.getNumberValue(); }, "innodb_ft_min_token_size": n => { mysql_advanced_config.innodbFtMinTokenSize = n.getNumberValue(); }, + "innodb_ft_num_word_optimize": n => { mysql_advanced_config.innodbFtNumWordOptimize = n.getNumberValue(); }, + "innodb_ft_result_cache_limit": n => { mysql_advanced_config.innodbFtResultCacheLimit = n.getNumberValue(); }, "innodb_ft_server_stopword_table": n => { mysql_advanced_config.innodbFtServerStopwordTable = n.getStringValue(); }, + "innodb_ft_user_stopword_table": n => { mysql_advanced_config.innodbFtUserStopwordTable = n.getStringValue(); }, "innodb_lock_wait_timeout": n => { mysql_advanced_config.innodbLockWaitTimeout = n.getNumberValue(); }, "innodb_log_buffer_size": n => { mysql_advanced_config.innodbLogBufferSize = n.getNumberValue(); }, "innodb_online_alter_log_max_size": n => { mysql_advanced_config.innodbOnlineAlterLogMaxSize = n.getNumberValue(); }, + "innodb_optimize_fulltext_only": n => { mysql_advanced_config.innodbOptimizeFulltextOnly = n.getBooleanValue(); }, "innodb_print_all_deadlocks": n => { mysql_advanced_config.innodbPrintAllDeadlocks = n.getBooleanValue(); }, "innodb_read_io_threads": n => { mysql_advanced_config.innodbReadIoThreads = n.getNumberValue(); }, "innodb_rollback_on_timeout": n => { mysql_advanced_config.innodbRollbackOnTimeout = n.getBooleanValue(); }, @@ -31547,17 +31581,23 @@ export function deserializeIntoMysql_advanced_config(mysql_advanced_config: Part "log_output": n => { mysql_advanced_config.logOutput = n.getEnumValue(Mysql_advanced_config_log_outputObject) ?? Mysql_advanced_config_log_outputObject.NONE; }, "long_query_time": n => { mysql_advanced_config.longQueryTime = n.getNumberValue(); }, "max_allowed_packet": n => { mysql_advanced_config.maxAllowedPacket = n.getNumberValue(); }, + "max_execution_time": n => { mysql_advanced_config.maxExecutionTime = n.getNumberValue(); }, "max_heap_table_size": n => { mysql_advanced_config.maxHeapTableSize = n.getNumberValue(); }, + "max_seeks_for_key": n => { mysql_advanced_config.maxSeeksForKey = n.getNumberValue(); }, "mysql_incremental_backup": n => { mysql_advanced_config.mysqlIncrementalBackup = n.getObjectValue(createMysql_incremental_backupFromDiscriminatorValue); }, "net_buffer_length": n => { mysql_advanced_config.netBufferLength = n.getNumberValue(); }, "net_read_timeout": n => { mysql_advanced_config.netReadTimeout = n.getNumberValue(); }, "net_write_timeout": n => { mysql_advanced_config.netWriteTimeout = n.getNumberValue(); }, + "optimizer_prune_level": n => { mysql_advanced_config.optimizerPruneLevel = n.getNumberValue(); }, + "optimizer_search_depth": n => { mysql_advanced_config.optimizerSearchDepth = n.getNumberValue(); }, + "optimizer_switch": n => { mysql_advanced_config.optimizerSwitch = n.getStringValue(); }, "slow_query_log": n => { mysql_advanced_config.slowQueryLog = n.getBooleanValue(); }, "sort_buffer_size": n => { mysql_advanced_config.sortBufferSize = n.getNumberValue(); }, "sql_mode": n => { mysql_advanced_config.sqlMode = n.getStringValue(); }, "sql_require_primary_key": n => { mysql_advanced_config.sqlRequirePrimaryKey = n.getBooleanValue(); }, "tmp_table_size": n => { mysql_advanced_config.tmpTableSize = n.getNumberValue(); }, "wait_timeout": n => { mysql_advanced_config.waitTimeout = n.getNumberValue(); }, + "windowing_use_high_precision": n => { mysql_advanced_config.windowingUseHighPrecision = n.getBooleanValue(); }, } } /** @@ -32388,6 +32428,17 @@ export function deserializeIntoOptions_version_availability(options_version_avai "valkey": n => { options_version_availability.valkey = n.getCollectionOfObjectValues(createDatabase_version_availabilityFromDiscriminatorValue); }, } } +/** + * The deserialization information for the current model + * @param P2p_oci_registry_plugin The instance to deserialize into. + * @returns {Record void>} + */ +// @ts-ignore +export function deserializeIntoP2p_oci_registry_plugin(p2p_oci_registry_plugin: Partial | undefined = {}) : Record void> { + return { + "enabled": n => { p2p_oci_registry_plugin.enabled = n.getBooleanValue(); }, + } +} /** * The deserialization information for the current model * @param Page_links The instance to deserialize into. @@ -34609,7 +34660,7 @@ export interface Disk_info extends AdditionalDataHolder, Parsable { */ size?: Disk_info_size | null; /** - * The type of disk. All Droplets contain a `local` disk. Additionally, GPU Droplets can also have a `scratch` disk for non-persistent data. + * The type of disk. All Droplets contain a `local` or `remote` disk. Additionally, GPU Droplets can also have a `scratch` disk for non-persistent data. */ type?: Disk_info_type | null; } @@ -37269,6 +37320,10 @@ export interface Multiregistry_create extends AdditionalDataHolder, Parsable { export type Multiregistry_create_region = (typeof Multiregistry_create_regionObject)[keyof typeof Multiregistry_create_regionObject]; export type Multiregistry_create_subscription_tier_slug = (typeof Multiregistry_create_subscription_tier_slugObject)[keyof typeof Multiregistry_create_subscription_tier_slugObject]; export interface Mysql_advanced_config extends AdditionalDataHolder, Parsable { + /** + * When enabled, grants `EXECUTE` and `ALTER ROUTINE` privileges to the creator of a stored routine. When disabled, these privileges are not granted automatically. + */ + automaticSpPrivileges?: boolean | null; /** * The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed. */ @@ -37289,6 +37344,18 @@ export interface Mysql_advanced_config extends AdditionalDataHolder, Parsable { * Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or 'SYSTEM' to use the MySQL server default. */ defaultTimeZone?: string | null; + /** + * The number of digits by which to increase the scale of the result of division operations performed with the `/` operator. + */ + divPrecisionIncrement?: number | null; + /** + * When enabled, the JSON output of `EXPLAIN FORMAT=JSON` includes end markers for nested structures. + */ + endMarkersInJson?: boolean | null; + /** + * The number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics. + */ + eqRangeIndexDiveLimit?: number | null; /** * The maximum permitted result length, in bytes, for the GROUP_CONCAT() function. */ @@ -37305,14 +37372,34 @@ export interface Mysql_advanced_config extends AdditionalDataHolder, Parsable { * Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent. - 0 — disables this functionality, dirty pages in the same extent are not flushed. - 1 — flushes contiguous dirty pages in the same extent. - 2 — flushes dirty pages in the same extent. */ innodbFlushNeighbors?: number | null; + /** + * When enabled, the InnoDB FULLTEXT index stopword list is used. Disabled by default when a custom stopword table is configured. + */ + innodbFtEnableStopword?: boolean | null; + /** + * The maximum length of words that an InnoDB FULLTEXT index stores. Changing this parameter will lead to a restart of the MySQL service. + */ + innodbFtMaxTokenSize?: number | null; /** * The minimum length of words that an InnoDB FULLTEXT index stores. */ innodbFtMinTokenSize?: number | null; + /** + * The number of words to process during each OPTIMIZE TABLE operation on an InnoDB FULLTEXT index. + */ + innodbFtNumWordOptimize?: number | null; + /** + * The InnoDB FULLTEXT index query result cache size limit, in bytes. + */ + innodbFtResultCacheLimit?: number | null; /** * The InnoDB FULLTEXT index stopword list for all InnoDB tables. */ innodbFtServerStopwordTable?: string | null; + /** + * The InnoDB FULLTEXT index stopword list for user-created FULLTEXT indexes. Must be in the form `db_name/table_name`. Set to `null` to clear a previously configured value. + */ + innodbFtUserStopwordTable?: string | null; /** * The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up. */ @@ -37325,6 +37412,10 @@ export interface Mysql_advanced_config extends AdditionalDataHolder, Parsable { * The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables. */ innodbOnlineAlterLogMaxSize?: number | null; + /** + * When enabled, OPTIMIZE TABLE rebuilds only the InnoDB FULLTEXT index, not the table itself. + */ + innodbOptimizeFulltextOnly?: boolean | null; /** * When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default. */ @@ -37365,10 +37456,18 @@ export interface Mysql_advanced_config extends AdditionalDataHolder, Parsable { * The size of the largest message, in bytes, that can be received by the server. Default is 67108864 (64M). */ maxAllowedPacket?: number | null; + /** + * The execution timeout for `SELECT` statements, in milliseconds. A value of `0` disables the timeout (no limit). + */ + maxExecutionTime?: number | null; /** * The maximum size, in bytes, of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M) */ maxHeapTableSize?: number | null; + /** + * Limits the assumed maximum number of seeks when looking up rows based on a key. Lower values cause the query optimizer to prefer indexes over table scans for non-covering indexes. + */ + maxSeeksForKey?: number | null; /** * MySQL Incremental Backup configuration settings */ @@ -37385,6 +37484,18 @@ export interface Mysql_advanced_config extends AdditionalDataHolder, Parsable { * The number of seconds to wait for a block to be written to a connection before aborting the write. */ netWriteTimeout?: number | null; + /** + * Controls the heuristics applied during query optimization to prune less promising partial plans from the optimizer search space. `0` disables pruning and `1` enables it. + */ + optimizerPruneLevel?: number | null; + /** + * The maximum depth of search performed by the query optimizer. Smaller values can reduce compilation time for large joins; a value of `0` lets the server automatically pick a reasonable value. + */ + optimizerSearchDepth?: number | null; + /** + * Controls query optimizer behavior as a comma-separated list of `option=value` pairs, or `default` to restore server defaults. Each value must be `on`, `off`, or `default`. + */ + optimizerSwitch?: string | null; /** * When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false. */ @@ -37409,6 +37520,10 @@ export interface Mysql_advanced_config extends AdditionalDataHolder, Parsable { * The number of seconds the server waits for activity on a noninteractive connection before closing it. */ waitTimeout?: number | null; + /** + * When enabled, window functions use a higher precision for internal calculations, which can be more accurate but slower. + */ + windowingUseHighPrecision?: boolean | null; } export type Mysql_advanced_config_internal_tmp_mem_storage_engine = (typeof Mysql_advanced_config_internal_tmp_mem_storage_engineObject)[keyof typeof Mysql_advanced_config_internal_tmp_mem_storage_engineObject]; export type Mysql_advanced_config_log_output = (typeof Mysql_advanced_config_log_outputObject)[keyof typeof Mysql_advanced_config_log_outputObject]; @@ -38464,6 +38579,15 @@ export interface Options_version_availability extends AdditionalDataHolder, Pars */ valkey?: Database_version_availability[] | null; } +/** + * An object specifying whether the Peer-to-peer OCI registry component should be enabled for the Kubernetes cluster. + */ +export interface P2p_oci_registry_plugin extends AdditionalDataHolder, Parsable { + /** + * Indicates whether the Peer-to-peer OCI registry component is enabled. + */ + enabled?: boolean | null; +} export interface Page_links extends AdditionalDataHolder, Parsable { /** * The pages property @@ -47473,6 +47597,7 @@ export function serializeCluster(writer: SerializationWriter, cluster: Partial("node_pools", cluster.nodePools, serializeKubernetes_node_pool); writer.writeObjectValue("nvidia_gpu_device_plugin", cluster.nvidiaGpuDevicePlugin, serializeNvidia_gpu_device_plugin); + writer.writeObjectValue("p2p_oci_registry_plugin", cluster.p2pOciRegistryPlugin, serializeP2p_oci_registry_plugin); writer.writeObjectValue("rdma_shared_dev_plugin", cluster.rdmaSharedDevPlugin, serializeRdma_shared_dev_plugin); writer.writeStringValue("region", cluster.region); writer.writeObjectValue("routing_agent", cluster.routingAgent, serializeRouting_agent); @@ -47521,6 +47646,7 @@ export function serializeCluster_read(writer: SerializationWriter, cluster_read: writer.writeStringValue("name", cluster_read.name); writer.writeCollectionOfObjectValues("node_pools", cluster_read.nodePools, serializeKubernetes_node_pool); writer.writeObjectValue("nvidia_gpu_device_plugin", cluster_read.nvidiaGpuDevicePlugin, serializeNvidia_gpu_device_plugin); + writer.writeObjectValue("p2p_oci_registry_plugin", cluster_read.p2pOciRegistryPlugin, serializeP2p_oci_registry_plugin); writer.writeObjectValue("rdma_shared_dev_plugin", cluster_read.rdmaSharedDevPlugin, serializeRdma_shared_dev_plugin); writer.writeStringValue("region", cluster_read.region); writer.writeCollectionOfPrimitiveValues("registries", cluster_read.registries); @@ -47604,6 +47730,7 @@ export function serializeCluster_update(writer: SerializationWriter, cluster_upd writer.writeObjectValue("maintenance_policy", cluster_update.maintenancePolicy, serializeMaintenance_policy); writer.writeStringValue("name", cluster_update.name); writer.writeObjectValue("nvidia_gpu_device_plugin", cluster_update.nvidiaGpuDevicePlugin, serializeNvidia_gpu_device_plugin); + writer.writeObjectValue("p2p_oci_registry_plugin", cluster_update.p2pOciRegistryPlugin, serializeP2p_oci_registry_plugin); writer.writeObjectValue("rdma_shared_dev_plugin", cluster_update.rdmaSharedDevPlugin, serializeRdma_shared_dev_plugin); writer.writeObjectValue("routing_agent", cluster_update.routingAgent, serializeRouting_agent); writer.writeObjectValue("sso", cluster_update.sso, serializeSso); @@ -51158,20 +51285,30 @@ export function serializeMultiregistry_create(writer: SerializationWriter, multi // @ts-ignore export function serializeMysql_advanced_config(writer: SerializationWriter, mysql_advanced_config: Partial | undefined | null = {}, isSerializingDerivedType: boolean = false) : void { if (!mysql_advanced_config || isSerializingDerivedType) { return; } + writer.writeBooleanValue("automatic_sp_privileges", mysql_advanced_config.automaticSpPrivileges); writer.writeNumberValue("backup_hour", mysql_advanced_config.backupHour); writer.writeNumberValue("backup_minute", mysql_advanced_config.backupMinute); writer.writeNumberValue("binlog_retention_period", mysql_advanced_config.binlogRetentionPeriod); writer.writeNumberValue("connect_timeout", mysql_advanced_config.connectTimeout); writer.writeStringValue("default_time_zone", mysql_advanced_config.defaultTimeZone); + writer.writeNumberValue("div_precision_increment", mysql_advanced_config.divPrecisionIncrement); + writer.writeBooleanValue("end_markers_in_json", mysql_advanced_config.endMarkersInJson); + writer.writeNumberValue("eq_range_index_dive_limit", mysql_advanced_config.eqRangeIndexDiveLimit); writer.writeNumberValue("group_concat_max_len", mysql_advanced_config.groupConcatMaxLen); writer.writeNumberValue("information_schema_stats_expiry", mysql_advanced_config.informationSchemaStatsExpiry); writer.writeNumberValue("innodb_change_buffer_max_size", mysql_advanced_config.innodbChangeBufferMaxSize); writer.writeNumberValue("innodb_flush_neighbors", mysql_advanced_config.innodbFlushNeighbors); + writer.writeBooleanValue("innodb_ft_enable_stopword", mysql_advanced_config.innodbFtEnableStopword); + writer.writeNumberValue("innodb_ft_max_token_size", mysql_advanced_config.innodbFtMaxTokenSize); writer.writeNumberValue("innodb_ft_min_token_size", mysql_advanced_config.innodbFtMinTokenSize); + writer.writeNumberValue("innodb_ft_num_word_optimize", mysql_advanced_config.innodbFtNumWordOptimize); + writer.writeNumberValue("innodb_ft_result_cache_limit", mysql_advanced_config.innodbFtResultCacheLimit); writer.writeStringValue("innodb_ft_server_stopword_table", mysql_advanced_config.innodbFtServerStopwordTable); + writer.writeStringValue("innodb_ft_user_stopword_table", mysql_advanced_config.innodbFtUserStopwordTable); writer.writeNumberValue("innodb_lock_wait_timeout", mysql_advanced_config.innodbLockWaitTimeout); writer.writeNumberValue("innodb_log_buffer_size", mysql_advanced_config.innodbLogBufferSize); writer.writeNumberValue("innodb_online_alter_log_max_size", mysql_advanced_config.innodbOnlineAlterLogMaxSize); + writer.writeBooleanValue("innodb_optimize_fulltext_only", mysql_advanced_config.innodbOptimizeFulltextOnly); writer.writeBooleanValue("innodb_print_all_deadlocks", mysql_advanced_config.innodbPrintAllDeadlocks); writer.writeNumberValue("innodb_read_io_threads", mysql_advanced_config.innodbReadIoThreads); writer.writeBooleanValue("innodb_rollback_on_timeout", mysql_advanced_config.innodbRollbackOnTimeout); @@ -51182,17 +51319,23 @@ export function serializeMysql_advanced_config(writer: SerializationWriter, mysq writer.writeEnumValue("log_output", mysql_advanced_config.logOutput ?? Mysql_advanced_config_log_outputObject.NONE); writer.writeNumberValue("long_query_time", mysql_advanced_config.longQueryTime); writer.writeNumberValue("max_allowed_packet", mysql_advanced_config.maxAllowedPacket); + writer.writeNumberValue("max_execution_time", mysql_advanced_config.maxExecutionTime); writer.writeNumberValue("max_heap_table_size", mysql_advanced_config.maxHeapTableSize); + writer.writeNumberValue("max_seeks_for_key", mysql_advanced_config.maxSeeksForKey); writer.writeObjectValue("mysql_incremental_backup", mysql_advanced_config.mysqlIncrementalBackup, serializeMysql_incremental_backup); writer.writeNumberValue("net_buffer_length", mysql_advanced_config.netBufferLength); writer.writeNumberValue("net_read_timeout", mysql_advanced_config.netReadTimeout); writer.writeNumberValue("net_write_timeout", mysql_advanced_config.netWriteTimeout); + writer.writeNumberValue("optimizer_prune_level", mysql_advanced_config.optimizerPruneLevel); + writer.writeNumberValue("optimizer_search_depth", mysql_advanced_config.optimizerSearchDepth); + writer.writeStringValue("optimizer_switch", mysql_advanced_config.optimizerSwitch); writer.writeBooleanValue("slow_query_log", mysql_advanced_config.slowQueryLog); writer.writeNumberValue("sort_buffer_size", mysql_advanced_config.sortBufferSize); writer.writeStringValue("sql_mode", mysql_advanced_config.sqlMode); writer.writeBooleanValue("sql_require_primary_key", mysql_advanced_config.sqlRequirePrimaryKey); writer.writeNumberValue("tmp_table_size", mysql_advanced_config.tmpTableSize); writer.writeNumberValue("wait_timeout", mysql_advanced_config.waitTimeout); + writer.writeBooleanValue("windowing_use_high_precision", mysql_advanced_config.windowingUseHighPrecision); writer.writeAdditionalData(mysql_advanced_config.additionalData); } /** @@ -52040,6 +52183,18 @@ export function serializeOptions_version_availability(writer: SerializationWrite writer.writeCollectionOfObjectValues("valkey", options_version_availability.valkey, serializeDatabase_version_availability); writer.writeAdditionalData(options_version_availability.additionalData); } +/** + * Serializes information the current object + * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. + * @param P2p_oci_registry_plugin The instance to serialize from. + * @param writer Serialization writer to use to serialize this model + */ +// @ts-ignore +export function serializeP2p_oci_registry_plugin(writer: SerializationWriter, p2p_oci_registry_plugin: Partial | undefined | null = {}, isSerializingDerivedType: boolean = false) : void { + if (!p2p_oci_registry_plugin || isSerializingDerivedType) { return; } + writer.writeBooleanValue("enabled", p2p_oci_registry_plugin.enabled); + writer.writeAdditionalData(p2p_oci_registry_plugin.additionalData); +} /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. @@ -54882,7 +55037,7 @@ export interface User_settings extends AdditionalDataHolder, Parsable { */ opensearchAcl?: User_settings_opensearch_acl[] | null; /** - * For Postgres clusters, set to `true` for a user with replication rights.This option is not currently supported for other database engines. + * For PostgreSQL clusters, set to `true` to grant the user replicationprivileges. When omitted on create or update, the value defaults to`false` and replication privileges are not granted. This option is notcurrently supported for other database engines. */ pgAllowReplication?: boolean | null; } @@ -56863,10 +57018,11 @@ export const Destination_typeObject = { Opensearch_ext: "opensearch_ext", } as const; /** - * The type of disk. All Droplets contain a `local` disk. Additionally, GPU Droplets can also have a `scratch` disk for non-persistent data. + * The type of disk. All Droplets contain a `local` or `remote` disk. Additionally, GPU Droplets can also have a `scratch` disk for non-persistent data. */ export const Disk_info_typeObject = { Local: "local", + Remote: "remote", Scratch: "scratch", } as const; /** diff --git a/src/dots/v2/databases/item/firewall/index.ts b/src/dots/v2/databases/item/firewall/index.ts index 7fc210dfb5..c4c6be1f2c 100644 --- a/src/dots/v2/databases/item/firewall/index.ts +++ b/src/dots/v2/databases/item/firewall/index.ts @@ -74,7 +74,7 @@ export interface FirewallRequestBuilder extends BaseRequestBuilder | undefined) : Promise; /** - * To update a database cluster's firewall rules (known as "trusted sources" in the control panel), send a PUT request to `/v2/databases/$DATABASE_ID/firewall` specifying which resources should be able to open connections to the database. You may limit connections to specific Droplets, Kubernetes clusters, or IP addresses. When a tag is provided, any Droplet or Kubernetes node with that tag applied to it will have access. The firewall is limited to 100 rules (or trusted sources). When possible, we recommend [placing your databases into a VPC network](https://docs.digitalocean.com/products/networking/vpc/) to limit access to them instead of using a firewall.A successful + * To update a database cluster's firewall rules (known as "trusted sources" in the control panel), send a PUT request to `/v2/databases/$DATABASE_ID/firewall` specifying which resources should be able to open connections to the database. You may limit connections to specific Droplets, Kubernetes clusters, or IP addresses. When a tag is provided, any Droplet or Kubernetes node with that tag applied to it will have access. The firewall is limited to 100 rules (or trusted sources). You cannot add IPv6 addresses as trusted sources. For additional limits, see your database engine's limits page. When possible, we recommend [placing your databases into a VPC network](https://docs.digitalocean.com/products/networking/vpc/) to limit access to them instead of using a firewall.A successful request returns a 204 status code with no content. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws {ErrorEscaped} error when the service returns a 401 status code @@ -91,7 +91,7 @@ export interface FirewallRequestBuilder extends BaseRequestBuilder | undefined) : RequestInformation; /** - * To update a database cluster's firewall rules (known as "trusted sources" in the control panel), send a PUT request to `/v2/databases/$DATABASE_ID/firewall` specifying which resources should be able to open connections to the database. You may limit connections to specific Droplets, Kubernetes clusters, or IP addresses. When a tag is provided, any Droplet or Kubernetes node with that tag applied to it will have access. The firewall is limited to 100 rules (or trusted sources). When possible, we recommend [placing your databases into a VPC network](https://docs.digitalocean.com/products/networking/vpc/) to limit access to them instead of using a firewall.A successful + * To update a database cluster's firewall rules (known as "trusted sources" in the control panel), send a PUT request to `/v2/databases/$DATABASE_ID/firewall` specifying which resources should be able to open connections to the database. You may limit connections to specific Droplets, Kubernetes clusters, or IP addresses. When a tag is provided, any Droplet or Kubernetes node with that tag applied to it will have access. The firewall is limited to 100 rules (or trusted sources). You cannot add IPv6 addresses as trusted sources. For additional limits, see your database engine's limits page. When possible, we recommend [placing your databases into a VPC network](https://docs.digitalocean.com/products/networking/vpc/) to limit access to them instead of using a firewall.A successful request returns a 204 status code with no content. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} diff --git a/src/dots/v2/databases/item/users/index.ts b/src/dots/v2/databases/item/users/index.ts index 566e573fd3..cac8799d68 100644 --- a/src/dots/v2/databases/item/users/index.ts +++ b/src/dots/v2/databases/item/users/index.ts @@ -134,7 +134,7 @@ export interface UsersRequestBuilder extends BaseRequestBuilder} * @throws {ErrorEscaped} error when the service returns a 401 status code @@ -145,7 +145,7 @@ export interface UsersRequestBuilder extends BaseRequestBuilder | undefined) : Promise; /** - * To add a new database user, send a POST request to `/v2/databases/$DATABASE_ID/users`with the desired username.Note: User management is not supported for Caching or Valkey clusters.When adding a user to a MySQL cluster, additional options can be configured in the`mysql_settings` object.When adding a user to a Kafka cluster, additional options can be configured inthe `settings` object. When adding a user to a MongoDB cluster, additional options can be configured inthe `settings.mongo_user_settings` object.The response will be a JSON object with a key called `user`. The value of this will be anobject that contains the standard attributes associated with a database user includingits randomly generated password. + * To add a new database user, send a POST request to `/v2/databases/$DATABASE_ID/users`with the desired username.Note: User management is not supported for Caching or Valkey clusters.When adding a user to a MySQL cluster, additional options can be configured in the`mysql_settings` object.When adding a user to a PostgreSQL cluster, additional options can be configured inthe `settings` object (for example, `pg_allow_replication`). When`pg_allow_replication` is omitted, it defaults to `false`.When adding a user to a Kafka cluster, additional options can be configured inthe `settings` object.When adding a user to a MongoDB cluster, additional options can be configured inthe `settings.mongo_user_settings` object.The response will be a JSON object with a key called `user`. The value of this will be anobject that contains the standard attributes associated with a database user includingits randomly generated password. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} @@ -157,13 +157,13 @@ export interface UsersRequestBuilder extends BaseRequestBuilder | undefined) : Promise; /** - * To list all of the users for your database cluster, send a GET request to`/v2/databases/$DATABASE_ID/users`.Note: User management is not supported for Caching or Valkey clusters.The result will be a JSON object with a `users` key. This will be set to an arrayof database user objects, each of which will contain the standard database user attributes.User passwords will not show without the `database:view_credentials` scope.For MySQL clusters, additional options will be contained in the mysql_settings object.For MongoDB clusters, additional information will be contained in the mongo_user_settings object + * To list all of the users for your database cluster, send a GET request to`/v2/databases/$DATABASE_ID/users`.Note: User management is not supported for Caching or Valkey clusters.The result will be a JSON object with a `users` key. This will be set to an arrayof database user objects, each of which will contain the standard database user attributes.User passwords will not show without the `database:view_credentials` scope.For MySQL clusters, additional options will be contained in the mysql_settings object.For PostgreSQL clusters, additional options will be contained in the `settings`object (for example, `pg_allow_replication`).For Kafka clusters, additional options will be contained in the `settings` object.For MongoDB clusters, additional information will be contained in the mongo_user_settings object * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation; /** - * To add a new database user, send a POST request to `/v2/databases/$DATABASE_ID/users`with the desired username.Note: User management is not supported for Caching or Valkey clusters.When adding a user to a MySQL cluster, additional options can be configured in the`mysql_settings` object.When adding a user to a Kafka cluster, additional options can be configured inthe `settings` object. When adding a user to a MongoDB cluster, additional options can be configured inthe `settings.mongo_user_settings` object.The response will be a JSON object with a key called `user`. The value of this will be anobject that contains the standard attributes associated with a database user includingits randomly generated password. + * To add a new database user, send a POST request to `/v2/databases/$DATABASE_ID/users`with the desired username.Note: User management is not supported for Caching or Valkey clusters.When adding a user to a MySQL cluster, additional options can be configured in the`mysql_settings` object.When adding a user to a PostgreSQL cluster, additional options can be configured inthe `settings` object (for example, `pg_allow_replication`). When`pg_allow_replication` is omitted, it defaults to `false`.When adding a user to a Kafka cluster, additional options can be configured inthe `settings` object.When adding a user to a MongoDB cluster, additional options can be configured inthe `settings.mongo_user_settings` object.The response will be a JSON object with a key called `user`. The value of this will be anobject that contains the standard attributes associated with a database user includingits randomly generated password. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} diff --git a/src/dots/v2/databases/item/users/item/index.ts b/src/dots/v2/databases/item/users/item/index.ts index 6a2fe1827d..95178682ee 100644 --- a/src/dots/v2/databases/item/users/item/index.ts +++ b/src/dots/v2/databases/item/users/item/index.ts @@ -129,7 +129,7 @@ export interface WithUsernameItemRequestBuilder extends BaseRequestBuilder | undefined) : Promise; /** - * To show information about an existing database user, send a GET request to`/v2/databases/$DATABASE_ID/users/$USERNAME`.Note: User management is not supported for Caching or Valkey clusters.The response will be a JSON object with a `user` key. This will be set to an objectcontaining the standard database user attributes. The user's password will not showup unless the `database:view_credentials` scope is present.For MySQL clusters, additional options will be contained in the `mysql_settings`object.For Kafka clusters, additional options will be contained in the `settings` object.For MongoDB clusters, additional information will be contained in the mongo_user_settings object + * To show information about an existing database user, send a GET request to`/v2/databases/$DATABASE_ID/users/$USERNAME`.Note: User management is not supported for Caching or Valkey clusters.The response will be a JSON object with a `user` key. This will be set to an objectcontaining the standard database user attributes. The user's password will not showup unless the `database:view_credentials` scope is present.For MySQL clusters, additional options will be contained in the `mysql_settings`object.For PostgreSQL clusters, additional options will be contained in the `settings`object (for example, `pg_allow_replication`).For Kafka clusters, additional options will be contained in the `settings` object.For MongoDB clusters, additional information will be contained in the mongo_user_settings object * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ErrorEscaped} error when the service returns a 401 status code @@ -140,7 +140,7 @@ export interface WithUsernameItemRequestBuilder extends BaseRequestBuilder | undefined) : Promise; /** - * To update an existing database user, send a PUT request to `/v2/databases/$DATABASE_ID/users/$USERNAME`with the desired settings.**Note**: only `settings` can be updated via this type of request. If you wish to change the name of a user,you must recreate a new user.The response will be a JSON object with a key called `user`. The value of this will be anobject that contains the name of the update database user, along with the `settings` object thathas been updated. + * To update an existing database user, send a PUT request to `/v2/databases/$DATABASE_ID/users/$USERNAME`with the desired settings.**Note**: only `settings` can be updated via this type of request. If you wish to change the name of a user,you must recreate a new user.For PostgreSQL clusters, you can update `settings.pg_allow_replication` to enable ordisable replication privileges for the user. When omitted, the value defaults to `false`.For Kafka and OpenSearch clusters, additional options can be configured in the`settings` object (for example, topic or index ACLs).The response will be a JSON object with a key called `user`. The value of this will be anobject that contains the name of the updated database user, along with the `settings` object thathas been updated. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} @@ -158,13 +158,13 @@ export interface WithUsernameItemRequestBuilder extends BaseRequestBuilder | undefined) : RequestInformation; /** - * To show information about an existing database user, send a GET request to`/v2/databases/$DATABASE_ID/users/$USERNAME`.Note: User management is not supported for Caching or Valkey clusters.The response will be a JSON object with a `user` key. This will be set to an objectcontaining the standard database user attributes. The user's password will not showup unless the `database:view_credentials` scope is present.For MySQL clusters, additional options will be contained in the `mysql_settings`object.For Kafka clusters, additional options will be contained in the `settings` object.For MongoDB clusters, additional information will be contained in the mongo_user_settings object + * To show information about an existing database user, send a GET request to`/v2/databases/$DATABASE_ID/users/$USERNAME`.Note: User management is not supported for Caching or Valkey clusters.The response will be a JSON object with a `user` key. This will be set to an objectcontaining the standard database user attributes. The user's password will not showup unless the `database:view_credentials` scope is present.For MySQL clusters, additional options will be contained in the `mysql_settings`object.For PostgreSQL clusters, additional options will be contained in the `settings`object (for example, `pg_allow_replication`).For Kafka clusters, additional options will be contained in the `settings` object.For MongoDB clusters, additional information will be contained in the mongo_user_settings object * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined) : RequestInformation; /** - * To update an existing database user, send a PUT request to `/v2/databases/$DATABASE_ID/users/$USERNAME`with the desired settings.**Note**: only `settings` can be updated via this type of request. If you wish to change the name of a user,you must recreate a new user.The response will be a JSON object with a key called `user`. The value of this will be anobject that contains the name of the update database user, along with the `settings` object thathas been updated. + * To update an existing database user, send a PUT request to `/v2/databases/$DATABASE_ID/users/$USERNAME`with the desired settings.**Note**: only `settings` can be updated via this type of request. If you wish to change the name of a user,you must recreate a new user.For PostgreSQL clusters, you can update `settings.pg_allow_replication` to enable ordisable replication privileges for the user. When omitted, the value defaults to `false`.For Kafka and OpenSearch clusters, additional options can be configured in the`settings` object (for example, topic or index ACLs).The response will be a JSON object with a key called `user`. The value of this will be anobject that contains the name of the updated database user, along with the `settings` object thathas been updated. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} diff --git a/src/dots/v2/projects/defaultEscaped/resources/index.ts b/src/dots/v2/projects/defaultEscaped/resources/index.ts index 9328ab4d84..c16232065c 100644 --- a/src/dots/v2/projects/defaultEscaped/resources/index.ts +++ b/src/dots/v2/projects/defaultEscaped/resources/index.ts @@ -84,7 +84,7 @@ export interface ResourcesRequestBuilder extends BaseRequestBuilder | undefined) : Promise; /** - * To assign resources to your default project, send a POST request to `/v2/projects/default/resources`.You must have both project:update and :read scopes to assign new resources. For example, to assign a Droplet to the default project, include both the `project:update` and `droplet:read` scopes. + * To assign resources to your default project, send a POST request to `/v2/projects/default/resources`.You must have both `project:assign_resource` and `:read` scopes to assign new resources. For example, to assign a Droplet to the default project, include both the `project:assign_resource` and `droplet:read` scopes. The `project:update` scope also grants `project:assign_resource`. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} @@ -102,7 +102,7 @@ export interface ResourcesRequestBuilder extends BaseRequestBuilder | undefined) : RequestInformation; /** - * To assign resources to your default project, send a POST request to `/v2/projects/default/resources`.You must have both project:update and :read scopes to assign new resources. For example, to assign a Droplet to the default project, include both the `project:update` and `droplet:read` scopes. + * To assign resources to your default project, send a POST request to `/v2/projects/default/resources`.You must have both `project:assign_resource` and `:read` scopes to assign new resources. For example, to assign a Droplet to the default project, include both the `project:assign_resource` and `droplet:read` scopes. The `project:update` scope also grants `project:assign_resource`. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} diff --git a/src/dots/v2/projects/item/resources/index.ts b/src/dots/v2/projects/item/resources/index.ts index 46b31f6bb8..4330a546c8 100644 --- a/src/dots/v2/projects/item/resources/index.ts +++ b/src/dots/v2/projects/item/resources/index.ts @@ -84,7 +84,7 @@ export interface ResourcesRequestBuilder extends BaseRequestBuilder | undefined) : Promise; /** - * To assign resources to a project, send a POST request to `/v2/projects/$PROJECT_ID/resources`.You must have both `project:update` and `:read` scopes to assign new resources. For example, to assign a Droplet to a project, include both the `project:update` and `droplet:read` scopes. + * To assign resources to a project, send a POST request to `/v2/projects/$PROJECT_ID/resources`.You must have both `project:assign_resource` and `:read` scopes to assign new resources. For example, to assign a Droplet to a project, include both the `project:assign_resource` and `droplet:read` scopes. The `project:update` scope also grants `project:assign_resource`. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} @@ -102,7 +102,7 @@ export interface ResourcesRequestBuilder extends BaseRequestBuilder | undefined) : RequestInformation; /** - * To assign resources to a project, send a POST request to `/v2/projects/$PROJECT_ID/resources`.You must have both `project:update` and `:read` scopes to assign new resources. For example, to assign a Droplet to a project, include both the `project:update` and `droplet:read` scopes. + * To assign resources to a project, send a POST request to `/v2/projects/$PROJECT_ID/resources`.You must have both `project:assign_resource` and `:read` scopes to assign new resources. For example, to assign a Droplet to a project, include both the `project:assign_resource` and `droplet:read` scopes. The `project:update` scope also grants `project:assign_resource`. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation}