chore: import upstream snapshot with attribution
CF: Deploy Dev Docs / deploy (push) Has been cancelled
Sync Labels / build (push) Has been cancelled
tests / unit tests (macos-latest) (push) Has been cancelled
tests / unit tests (windows-latest) (push) Has been cancelled
tests / unit tests (ubuntu-latest) (push) Has been cancelled
CF: Deploy Dev Docs / deploy (push) Has been cancelled
Sync Labels / build (push) Has been cancelled
tests / unit tests (macos-latest) (push) Has been cancelled
tests / unit tests (windows-latest) (push) Has been cancelled
tests / unit tests (ubuntu-latest) (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
---
|
||||
title: cloud-sql-mysql-create-instance
|
||||
type: docs
|
||||
weight: 2
|
||||
description: "Create a Cloud SQL for MySQL instance."
|
||||
---
|
||||
|
||||
## About
|
||||
|
||||
The `cloud-sql-mysql-create-instance` tool creates a new Cloud SQL for MySQL
|
||||
instance in a specified Google Cloud project.
|
||||
|
||||
## Compatible Sources
|
||||
|
||||
{{< compatible-sources >}}
|
||||
|
||||
|
||||
## Parameters
|
||||
|
||||
The `cloud-sql-mysql-create-instance` tool has the following parameters:
|
||||
|
||||
| **field** | **type** | **required** | **description** |
|
||||
| --------------- | :------: | :----------: | --------------------------------------------------------------------------------------------------------------- |
|
||||
| project | string | true | The Google Cloud project ID. |
|
||||
| name | string | true | The name of the instance to create. |
|
||||
| databaseVersion | string | false | The database version for MySQL. If not specified, defaults to the latest available version (e.g., `MYSQL_8_4`). |
|
||||
| rootPassword | string | true | The root password for the instance. |
|
||||
| editionPreset | string | false | The edition of the instance. Can be `Production` or `Development`. Defaults to `Development`. |
|
||||
|
||||
|
||||
## Example
|
||||
|
||||
Here is an example of how to configure the `cloud-sql-mysql-create-instance`
|
||||
tool in your `tools.yaml` file:
|
||||
|
||||
```yaml
|
||||
kind: source
|
||||
name: my-cloud-sql-admin-source
|
||||
type: cloud-sql-admin
|
||||
---
|
||||
kind: tool
|
||||
name: create_my_mysql_instance
|
||||
type: cloud-sql-mysql-create-instance
|
||||
source: my-cloud-sql-admin-source
|
||||
description: "Creates a MySQL instance using `Production` and `Development` presets. For the `Development` template, it chooses a 2 vCPU, 16 GiB RAM, 100 GiB SSD configuration with Non-HA/zonal availability. For the `Production` template, it chooses an 8 vCPU, 64 GiB RAM, 250 GiB SSD configuration with HA/regional availability. The Enterprise Plus edition is used in both cases. The default database version is `MYSQL_8_4`. The agent should ask the user if they want to use a different version."
|
||||
```
|
||||
|
||||
## Reference
|
||||
|
||||
| **field** | **type** | **required** | **description** |
|
||||
| ----------- | :------: | :----------: | -------------------------------------------------------------- |
|
||||
| type | string | true | Must be `cloud-sql-mysql-create-instance`. |
|
||||
| source | string | true | The name of the `cloud-sql-admin` source to use for this tool. |
|
||||
| description | string | false | A description of the tool that is passed to the agent. |
|
||||
Reference in New Issue
Block a user