{
  "name": "turso",
  "version": "0.2.3",
  "description": "A Pulumi provider dynamically bridged from turso.",
  "attribution": "This Pulumi package is based on the [`turso` Terraform Provider](https://github.com/celest-dev/terraform-provider-turso).",
  "repository": "https://github.com/celest-dev/terraform-provider-turso",
  "publisher": "celest-dev",
  "meta": {
    "moduleFormat": "(.*)(?:/[^/]*)"
  },
  "language": {
    "csharp": {
      "compatibility": "tfbridge20",
      "liftSingleValueMethodReturns": true,
      "respectSchemaVersion": true
    },
    "go": {
      "importBasePath": "github.com/pulumi/pulumi-terraform-provider/sdks/go/turso/turso",
      "rootPackageName": "turso",
      "liftSingleValueMethodReturns": true,
      "generateExtraInputTypes": true,
      "respectSchemaVersion": true
    },
    "java": {
      "basePackage": "",
      "buildFiles": "",
      "gradleNexusPublishPluginVersion": "",
      "gradleTest": ""
    },
    "nodejs": {
      "packageDescription": "A Pulumi provider dynamically bridged from turso.",
      "readme": "> This provider is a derived work of the [Terraform Provider](https://github.com/celest-dev/terraform-provider-turso)\n> distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n> please consult the source [`terraform-provider-turso` repo](https://github.com/celest-dev/terraform-provider-turso/issues).",
      "compatibility": "tfbridge20",
      "disableUnionOutputTypes": true,
      "liftSingleValueMethodReturns": true,
      "respectSchemaVersion": true
    },
    "python": {
      "readme": "> This provider is a derived work of the [Terraform Provider](https://github.com/celest-dev/terraform-provider-turso)\n> distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n> please consult the source [`terraform-provider-turso` repo](https://github.com/celest-dev/terraform-provider-turso/issues).",
      "compatibility": "tfbridge20",
      "respectSchemaVersion": true,
      "pyproject": {
        "enabled": true
      }
    }
  },
  "config": {
    "variables": {
      "apiToken": {
        "type": "string",
        "description": "The API token to authenticate with Turso API. If not provided, the TURSO_API_TOKEN environment variable will be used.\nFinally, `turso auth token` is used to get the token.\n",
        "secret": true
      },
      "organization": {
        "type": "string",
        "description": "The name of the Turso organization\n"
      }
    },
    "defaults": [
      "organization"
    ]
  },
  "types": {
    "turso:index/DatabaseDatabase:DatabaseDatabase": {
      "properties": {
        "allowAttach": {
          "type": "boolean",
          "description": "The current status for allowing the database to be attached to another.\n"
        },
        "archived": {
          "type": "boolean",
          "description": "The current status of the database. If `true`, the database is archived and requires a manual unarchive step.\n"
        },
        "blockReads": {
          "type": "boolean",
          "description": "The current status for blocked reads.\n"
        },
        "blockWrites": {
          "type": "boolean",
          "description": "The current status for blocked writes.\n"
        },
        "dbId": {
          "type": "string",
          "description": "The database universal unique identifier (UUID).\n"
        },
        "group": {
          "type": "string",
          "description": "The name of the group the database belongs to.\n"
        },
        "hostname": {
          "type": "string",
          "description": "The DNS hostname used for client libSQL and HTTP connections.\n"
        },
        "isSchema": {
          "type": "boolean",
          "description": "If this database controls other child databases then this will be `true`. See [Multi-DB Schemas](https://www.terraform.io/features/multi-db-schemas).\n"
        },
        "name": {
          "type": "string",
          "description": "The database name, **unique** across your organization.\n"
        },
        "primaryRegion": {
          "type": "string",
          "description": "The primary region location code the group the database belongs to.\n"
        },
        "regions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of regions for the group the database belongs to.\n"
        },
        "schema": {
          "type": "string",
          "description": "The name of the parent database that owns the schema for this database. See [Multi-DB Schemas](https://www.terraform.io/features/multi-db-schemas).\n"
        },
        "type": {
          "type": "string",
          "description": "The string representing the object type.\n"
        },
        "version": {
          "type": "string",
          "description": "The current libSQL version the database is running.\n"
        }
      },
      "type": "object",
      "language": {
        "nodejs": {
          "requiredOutputs": [
            "allowAttach",
            "archived",
            "blockReads",
            "blockWrites",
            "dbId",
            "group",
            "hostname",
            "isSchema",
            "name",
            "primaryRegion",
            "regions",
            "schema",
            "type",
            "version"
          ]
        }
      }
    },
    "turso:index/DatabaseSeed:DatabaseSeed": {
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the existing database when `database` is used as a seed type.\n"
        },
        "timestamp": {
          "type": "string",
          "description": "A formatted [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) recovery point to create a database from. This must be within the last 24 hours, or 30 days on the scaler plan.\n"
        },
        "type": {
          "type": "string",
          "description": "The type of seed to be used to create a new database.\n"
        },
        "url": {
          "type": "string",
          "description": "The URL returned by [upload dump](https://www.terraform.io/api-reference/databases/upload-dump) can be used with the `dump` seed type.\n"
        }
      },
      "type": "object",
      "language": {
        "nodejs": {
          "requiredOutputs": [
            "name",
            "timestamp",
            "type",
            "url"
          ]
        }
      }
    },
    "turso:index/GroupGroup:GroupGroup": {
      "properties": {
        "archived": {
          "type": "boolean",
          "description": "Groups on the free tier get archived after some inactivity.\n"
        },
        "locations": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of location keys the group is located.\n"
        },
        "name": {
          "type": "string",
          "description": "The group name, unique across your organization.\n"
        },
        "primary": {
          "type": "string",
          "description": "The primary location key.\n"
        },
        "uuid": {
          "type": "string",
          "description": "The group universal unique identifier (UUID).\n"
        },
        "version": {
          "type": "string",
          "description": "The current libSQL server version the databases in that group are running.\n"
        }
      },
      "type": "object",
      "language": {
        "nodejs": {
          "requiredOutputs": [
            "archived",
            "locations",
            "name",
            "primary",
            "uuid",
            "version"
          ]
        }
      }
    },
    "turso:index/getDatabaseDatabase:getDatabaseDatabase": {
      "properties": {
        "allowAttach": {
          "type": "boolean",
          "description": "The current status for allowing the database to be attached to another.\n"
        },
        "archived": {
          "type": "boolean",
          "description": "The current status of the database. If `true`, the database is archived and requires a manual unarchive step.\n"
        },
        "blockReads": {
          "type": "boolean",
          "description": "The current status for blocked reads.\n"
        },
        "blockWrites": {
          "type": "boolean",
          "description": "The current status for blocked writes.\n"
        },
        "dbId": {
          "type": "string",
          "description": "The database universal unique identifier (UUID).\n"
        },
        "group": {
          "type": "string",
          "description": "The name of the group the database belongs to.\n"
        },
        "hostname": {
          "type": "string",
          "description": "The DNS hostname used for client libSQL and HTTP connections.\n"
        },
        "isSchema": {
          "type": "boolean",
          "description": "If this database controls other child databases then this will be `true`. See [Multi-DB Schemas](https://www.terraform.io/features/multi-db-schemas).\n"
        },
        "name": {
          "type": "string",
          "description": "The database name, **unique** across your organization.\n"
        },
        "primaryRegion": {
          "type": "string",
          "description": "The primary region location code the group the database belongs to.\n"
        },
        "regions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of regions for the group the database belongs to.\n"
        },
        "schema": {
          "type": "string",
          "description": "The name of the parent database that owns the schema for this database. See [Multi-DB Schemas](https://www.terraform.io/features/multi-db-schemas).\n"
        },
        "type": {
          "type": "string",
          "description": "The string representing the object type.\n"
        },
        "version": {
          "type": "string",
          "description": "The current libSQL version the database is running.\n"
        }
      },
      "type": "object",
      "required": [
        "allowAttach",
        "archived",
        "blockReads",
        "blockWrites",
        "dbId",
        "group",
        "hostname",
        "isSchema",
        "name",
        "primaryRegion",
        "regions",
        "schema",
        "type",
        "version"
      ],
      "language": {
        "nodejs": {
          "requiredInputs": []
        }
      }
    },
    "turso:index/getDatabaseInstancesInstance:getDatabaseInstancesInstance": {
      "properties": {
        "hostname": {
          "type": "string",
          "description": "The DNS hostname used for client libSQL and HTTP connections (specific to this instance only).\n"
        },
        "name": {
          "type": "string",
          "description": "The name of the instance (location code).\n"
        },
        "region": {
          "type": "string",
          "description": "The location code for the region this instance is located.\n"
        },
        "type": {
          "type": "string",
          "description": "The type of database instance this, will be `primary` or `replica`.\n"
        },
        "uuid": {
          "type": "string",
          "description": "The instance universal unique identifier (UUID).\n"
        }
      },
      "type": "object",
      "required": [
        "hostname",
        "name",
        "region",
        "type",
        "uuid"
      ],
      "language": {
        "nodejs": {
          "requiredInputs": []
        }
      }
    },
    "turso:index/getDatabasesDatabase:getDatabasesDatabase": {
      "properties": {
        "allowAttach": {
          "type": "boolean",
          "description": "The current status for allowing the database to be attached to another.\n"
        },
        "archived": {
          "type": "boolean",
          "description": "The current status of the database. If `true`, the database is archived and requires a manual unarchive step.\n"
        },
        "blockReads": {
          "type": "boolean",
          "description": "The current status for blocked reads.\n"
        },
        "blockWrites": {
          "type": "boolean",
          "description": "The current status for blocked writes.\n"
        },
        "dbId": {
          "type": "string",
          "description": "The database universal unique identifier (UUID).\n"
        },
        "group": {
          "type": "string",
          "description": "The name of the group the database belongs to.\n"
        },
        "hostname": {
          "type": "string",
          "description": "The DNS hostname used for client libSQL and HTTP connections.\n"
        },
        "isSchema": {
          "type": "boolean",
          "description": "If this database controls other child databases then this will be `true`. See [Multi-DB Schemas](https://www.terraform.io/features/multi-db-schemas).\n"
        },
        "name": {
          "type": "string",
          "description": "The database name, **unique** across your organization.\n"
        },
        "primaryRegion": {
          "type": "string",
          "description": "The primary region location code the group the database belongs to.\n"
        },
        "regions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of regions for the group the database belongs to.\n"
        },
        "schema": {
          "type": "string",
          "description": "The name of the parent database that owns the schema for this database. See [Multi-DB Schemas](https://www.terraform.io/features/multi-db-schemas).\n"
        },
        "type": {
          "type": "string",
          "description": "The string representing the object type.\n"
        },
        "version": {
          "type": "string",
          "description": "The current libSQL version the database is running.\n"
        }
      },
      "type": "object",
      "required": [
        "allowAttach",
        "archived",
        "blockReads",
        "blockWrites",
        "dbId",
        "group",
        "hostname",
        "isSchema",
        "name",
        "primaryRegion",
        "regions",
        "schema",
        "type",
        "version"
      ],
      "language": {
        "nodejs": {
          "requiredInputs": []
        }
      }
    },
    "turso:index/getGroupGroup:getGroupGroup": {
      "properties": {
        "archived": {
          "type": "boolean",
          "description": "Groups on the free tier get archived after some inactivity.\n"
        },
        "locations": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of location keys the group is located.\n"
        },
        "name": {
          "type": "string",
          "description": "The group name, unique across your organization.\n"
        },
        "primary": {
          "type": "string",
          "description": "The primary location key.\n"
        },
        "uuid": {
          "type": "string",
          "description": "The group universal unique identifier (UUID).\n"
        },
        "version": {
          "type": "string",
          "description": "The current libSQL server version the databases in that group are running.\n"
        }
      },
      "type": "object",
      "required": [
        "archived",
        "locations",
        "name",
        "primary",
        "uuid",
        "version"
      ],
      "language": {
        "nodejs": {
          "requiredInputs": []
        }
      }
    },
    "turso:index/getGroupsGroup:getGroupsGroup": {
      "properties": {
        "archived": {
          "type": "boolean",
          "description": "Groups on the free tier get archived after some inactivity.\n"
        },
        "locations": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of location keys the group is located.\n"
        },
        "name": {
          "type": "string",
          "description": "The group name, unique across your organization.\n"
        },
        "primary": {
          "type": "string",
          "description": "The primary location key.\n"
        },
        "uuid": {
          "type": "string",
          "description": "The group universal unique identifier (UUID).\n"
        },
        "version": {
          "type": "string",
          "description": "The current libSQL server version the databases in that group are running.\n"
        }
      },
      "type": "object",
      "required": [
        "archived",
        "locations",
        "name",
        "primary",
        "uuid",
        "version"
      ],
      "language": {
        "nodejs": {
          "requiredInputs": []
        }
      }
    }
  },
  "provider": {
    "description": "The provider type for the turso package. By default, resources use package-wide configuration\nsettings, however an explicit `Provider` instance may be created and passed during resource\nconstruction to achieve fine-grained programmatic control over provider settings. See the\n[documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.\n",
    "properties": {
      "apiToken": {
        "type": "string",
        "description": "The API token to authenticate with Turso API. If not provided, the TURSO_API_TOKEN environment variable will be used.\nFinally, `turso auth token` is used to get the token.\n",
        "secret": true
      },
      "organization": {
        "type": "string",
        "description": "The name of the Turso organization\n"
      }
    },
    "type": "object",
    "required": [
      "organization"
    ],
    "inputProperties": {
      "apiToken": {
        "type": "string",
        "description": "The API token to authenticate with Turso API. If not provided, the TURSO_API_TOKEN environment variable will be used.\nFinally, `turso auth token` is used to get the token.\n",
        "secret": true
      },
      "organization": {
        "type": "string",
        "description": "The name of the Turso organization\n"
      }
    },
    "requiredInputs": [
      "organization"
    ]
  },
  "resources": {
    "turso:index/database:Database": {
      "description": "## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as turso from \"@pulumi/turso\";\n\nconst example = new turso.Database(\"example\", {group: \"a-group\"});\n```\n```python\nimport pulumi\nimport pulumi_turso as turso\n\nexample = turso.Database(\"example\", group=\"a-group\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Turso = Pulumi.Turso;\n\nreturn await Deployment.RunAsync(() => \n{\n    var example = new Turso.Database(\"example\", new()\n    {\n        Group = \"a-group\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/turso/turso\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := turso.NewDatabase(ctx, \"example\", &turso.DatabaseArgs{\n\t\t\tGroup: pulumi.String(\"a-group\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.turso.Database;\nimport com.pulumi.turso.DatabaseArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var example = new Database(\"example\", DatabaseArgs.builder()\n            .group(\"a-group\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  example:\n    type: turso:Database\n    properties:\n      group: a-group\n```\n<!--End PulumiCodeChooser -->\n\n## Import\n\n```sh\n$ pulumi import turso:index/database:Database example_database database_name\n```\n\n",
      "properties": {
        "allowAttach": {
          "type": "boolean",
          "description": "Allow or disallow attaching databases to the current database.\n"
        },
        "blockReads": {
          "type": "boolean",
          "description": "Block all database reads.\n"
        },
        "blockWrites": {
          "type": "boolean",
          "description": "Block all database writes.\n"
        },
        "database": {
          "$ref": "#/types/turso:index%2FDatabaseDatabase:DatabaseDatabase"
        },
        "databaseId": {
          "type": "string",
          "description": "The name of the database.\n"
        },
        "group": {
          "type": "string",
          "description": "The name of the group where the database should be created. **The group must already exist.**\n"
        },
        "isSchema": {
          "type": "boolean",
          "description": "Mark this database as the parent schema database that updates child databases with any schema changes. See [Multi-DB Schemas](https://www.terraform.io/features/multi-db-schemas).\n"
        },
        "name": {
          "type": "string",
          "description": "The name of the new database. Must contain only lowercase letters, numbers, dashes. No longer than 64 characters.\n"
        },
        "schema": {
          "type": "string",
          "description": "The name of the parent database to use as the schema. See [Multi-DB Schemas](https://www.terraform.io/features/multi-db-schemas).\n"
        },
        "seed": {
          "$ref": "#/types/turso:index%2FDatabaseSeed:DatabaseSeed"
        },
        "sizeLimit": {
          "type": "string",
          "description": "The maximum size of the database in bytes. Values with units are also accepted, e.g. 1mb, 256mb, 1gb.\n"
        }
      },
      "type": "object",
      "required": [
        "allowAttach",
        "blockReads",
        "blockWrites",
        "database",
        "databaseId",
        "group",
        "isSchema",
        "name",
        "schema",
        "seed",
        "sizeLimit"
      ],
      "inputProperties": {
        "allowAttach": {
          "type": "boolean",
          "description": "Allow or disallow attaching databases to the current database.\n"
        },
        "blockReads": {
          "type": "boolean",
          "description": "Block all database reads.\n"
        },
        "blockWrites": {
          "type": "boolean",
          "description": "Block all database writes.\n"
        },
        "databaseId": {
          "type": "string",
          "description": "The name of the database.\n"
        },
        "group": {
          "type": "string",
          "description": "The name of the group where the database should be created. **The group must already exist.**\n"
        },
        "isSchema": {
          "type": "boolean",
          "description": "Mark this database as the parent schema database that updates child databases with any schema changes. See [Multi-DB Schemas](https://www.terraform.io/features/multi-db-schemas).\n"
        },
        "name": {
          "type": "string",
          "description": "The name of the new database. Must contain only lowercase letters, numbers, dashes. No longer than 64 characters.\n"
        },
        "schema": {
          "type": "string",
          "description": "The name of the parent database to use as the schema. See [Multi-DB Schemas](https://www.terraform.io/features/multi-db-schemas).\n"
        },
        "seed": {
          "$ref": "#/types/turso:index%2FDatabaseSeed:DatabaseSeed"
        },
        "sizeLimit": {
          "type": "string",
          "description": "The maximum size of the database in bytes. Values with units are also accepted, e.g. 1mb, 256mb, 1gb.\n"
        }
      },
      "requiredInputs": [
        "group"
      ],
      "stateInputs": {
        "description": "Input properties used for looking up and filtering Database resources.\n",
        "properties": {
          "allowAttach": {
            "type": "boolean",
            "description": "Allow or disallow attaching databases to the current database.\n"
          },
          "blockReads": {
            "type": "boolean",
            "description": "Block all database reads.\n"
          },
          "blockWrites": {
            "type": "boolean",
            "description": "Block all database writes.\n"
          },
          "database": {
            "$ref": "#/types/turso:index%2FDatabaseDatabase:DatabaseDatabase"
          },
          "databaseId": {
            "type": "string",
            "description": "The name of the database.\n"
          },
          "group": {
            "type": "string",
            "description": "The name of the group where the database should be created. **The group must already exist.**\n"
          },
          "isSchema": {
            "type": "boolean",
            "description": "Mark this database as the parent schema database that updates child databases with any schema changes. See [Multi-DB Schemas](https://www.terraform.io/features/multi-db-schemas).\n"
          },
          "name": {
            "type": "string",
            "description": "The name of the new database. Must contain only lowercase letters, numbers, dashes. No longer than 64 characters.\n"
          },
          "schema": {
            "type": "string",
            "description": "The name of the parent database to use as the schema. See [Multi-DB Schemas](https://www.terraform.io/features/multi-db-schemas).\n"
          },
          "seed": {
            "$ref": "#/types/turso:index%2FDatabaseSeed:DatabaseSeed"
          },
          "sizeLimit": {
            "type": "string",
            "description": "The maximum size of the database in bytes. Values with units are also accepted, e.g. 1mb, 256mb, 1gb.\n"
          }
        },
        "type": "object"
      }
    },
    "turso:index/group:Group": {
      "properties": {
        "extensions": {
          "type": "string",
          "description": "Set to `all` to enable all extensions.\n"
        },
        "group": {
          "$ref": "#/types/turso:index%2FGroupGroup:GroupGroup"
        },
        "groupId": {
          "type": "string",
          "description": "The name of the group.\n"
        },
        "locations": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "All locations for the new group.\n"
        },
        "name": {
          "type": "string",
          "description": "The name of the new group.\n"
        },
        "primary": {
          "type": "string",
          "description": "The primary location key for the new group.\n"
        }
      },
      "type": "object",
      "required": [
        "extensions",
        "group",
        "groupId",
        "locations",
        "name",
        "primary"
      ],
      "inputProperties": {
        "extensions": {
          "type": "string",
          "description": "Set to `all` to enable all extensions.\n"
        },
        "groupId": {
          "type": "string",
          "description": "The name of the group.\n"
        },
        "locations": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "All locations for the new group.\n"
        },
        "name": {
          "type": "string",
          "description": "The name of the new group.\n"
        },
        "primary": {
          "type": "string",
          "description": "The primary location key for the new group.\n"
        }
      },
      "requiredInputs": [
        "locations",
        "primary"
      ],
      "stateInputs": {
        "description": "Input properties used for looking up and filtering Group resources.\n",
        "properties": {
          "extensions": {
            "type": "string",
            "description": "Set to `all` to enable all extensions.\n"
          },
          "group": {
            "$ref": "#/types/turso:index%2FGroupGroup:GroupGroup"
          },
          "groupId": {
            "type": "string",
            "description": "The name of the group.\n"
          },
          "locations": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "All locations for the new group.\n"
          },
          "name": {
            "type": "string",
            "description": "The name of the new group.\n"
          },
          "primary": {
            "type": "string",
            "description": "The primary location key for the new group.\n"
          }
        },
        "type": "object"
      }
    }
  },
  "functions": {
    "turso:index/getDatabase:getDatabase": {
      "inputs": {
        "description": "A collection of arguments for invoking getDatabase.\n",
        "properties": {
          "id": {
            "type": "string",
            "description": "The name of the database.\n"
          }
        },
        "type": "object",
        "required": [
          "id"
        ]
      },
      "outputs": {
        "description": "A collection of values returned by getDatabase.\n",
        "properties": {
          "database": {
            "$ref": "#/types/turso:index%2FgetDatabaseDatabase:getDatabaseDatabase"
          },
          "id": {
            "description": "The name of the database.\n",
            "type": "string"
          }
        },
        "required": [
          "database",
          "id"
        ],
        "type": "object"
      }
    },
    "turso:index/getDatabaseInstances:getDatabaseInstances": {
      "inputs": {
        "description": "A collection of arguments for invoking getDatabaseInstances.\n",
        "properties": {
          "id": {
            "type": "string",
            "description": "The name of the database.\n"
          }
        },
        "type": "object",
        "required": [
          "id"
        ]
      },
      "outputs": {
        "description": "A collection of values returned by getDatabaseInstances.\n",
        "properties": {
          "id": {
            "description": "The name of the database.\n",
            "type": "string"
          },
          "instances": {
            "items": {
              "$ref": "#/types/turso:index%2FgetDatabaseInstancesInstance:getDatabaseInstancesInstance"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "instances"
        ],
        "type": "object"
      }
    },
    "turso:index/getDatabaseToken:getDatabaseToken": {
      "inputs": {
        "description": "A collection of arguments for invoking getDatabaseToken.\n",
        "properties": {
          "authorization": {
            "type": "string",
            "description": "Authorization level for the token (full-access or read-only).\n"
          },
          "expiration": {
            "type": "string",
            "description": "Expiration time for the token (e.g., 2w1d30m).\n"
          },
          "id": {
            "type": "string",
            "description": "The name of the database.\n"
          }
        },
        "type": "object",
        "required": [
          "id"
        ]
      },
      "outputs": {
        "description": "A collection of values returned by getDatabaseToken.\n",
        "properties": {
          "authorization": {
            "description": "Authorization level for the token (full-access or read-only).\n",
            "type": "string"
          },
          "expiration": {
            "description": "Expiration time for the token (e.g., 2w1d30m).\n",
            "type": "string"
          },
          "id": {
            "description": "The name of the database.\n",
            "type": "string"
          },
          "jwt": {
            "description": "The generated authorization token (JWT).\n",
            "secret": true,
            "type": "string"
          }
        },
        "required": [
          "authorization",
          "expiration",
          "id",
          "jwt"
        ],
        "type": "object"
      }
    },
    "turso:index/getDatabases:getDatabases": {
      "inputs": {
        "description": "A collection of arguments for invoking getDatabases.\n",
        "properties": {
          "group": {
            "type": "string",
            "description": "Filter databases by group name.\n"
          },
          "schema": {
            "type": "string",
            "description": "The schema database name that can be used to get databases that belong to that parent schema.\n"
          }
        },
        "type": "object"
      },
      "outputs": {
        "description": "A collection of values returned by getDatabases.\n",
        "properties": {
          "databases": {
            "items": {
              "$ref": "#/types/turso:index%2FgetDatabasesDatabase:getDatabasesDatabase"
            },
            "type": "array"
          },
          "group": {
            "description": "Filter databases by group name.\n",
            "type": "string"
          },
          "id": {
            "description": "The provider-assigned unique ID for this managed resource.\n",
            "type": "string"
          },
          "schema": {
            "description": "The schema database name that can be used to get databases that belong to that parent schema.\n",
            "type": "string"
          }
        },
        "required": [
          "databases",
          "group",
          "id",
          "schema"
        ],
        "type": "object"
      }
    },
    "turso:index/getGroup:getGroup": {
      "inputs": {
        "description": "A collection of arguments for invoking getGroup.\n",
        "properties": {
          "id": {
            "type": "string",
            "description": "The name of the group.\n"
          }
        },
        "type": "object",
        "required": [
          "id"
        ]
      },
      "outputs": {
        "description": "A collection of values returned by getGroup.\n",
        "properties": {
          "group": {
            "$ref": "#/types/turso:index%2FgetGroupGroup:getGroupGroup"
          },
          "id": {
            "description": "The name of the group.\n",
            "type": "string"
          }
        },
        "required": [
          "group",
          "id"
        ],
        "type": "object"
      }
    },
    "turso:index/getGroupToken:getGroupToken": {
      "inputs": {
        "description": "A collection of arguments for invoking getGroupToken.\n",
        "properties": {
          "authorization": {
            "type": "string",
            "description": "Authorization level for the token (full-access or read-only).\n"
          },
          "expiration": {
            "type": "string",
            "description": "Expiration time for the token (e.g., 2w1d30m).\n"
          },
          "id": {
            "type": "string",
            "description": "The name of the group.\n"
          }
        },
        "type": "object",
        "required": [
          "id"
        ]
      },
      "outputs": {
        "description": "A collection of values returned by getGroupToken.\n",
        "properties": {
          "authorization": {
            "description": "Authorization level for the token (full-access or read-only).\n",
            "type": "string"
          },
          "expiration": {
            "description": "Expiration time for the token (e.g., 2w1d30m).\n",
            "type": "string"
          },
          "id": {
            "description": "The name of the group.\n",
            "type": "string"
          },
          "jwt": {
            "description": "The generated authorization token (JWT).\n",
            "secret": true,
            "type": "string"
          }
        },
        "required": [
          "authorization",
          "expiration",
          "id",
          "jwt"
        ],
        "type": "object"
      }
    },
    "turso:index/getGroups:getGroups": {
      "outputs": {
        "description": "A collection of values returned by getGroups.\n",
        "properties": {
          "groups": {
            "items": {
              "$ref": "#/types/turso:index%2FgetGroupsGroup:getGroupsGroup"
            },
            "type": "array"
          },
          "id": {
            "description": "The provider-assigned unique ID for this managed resource.\n",
            "type": "string"
          }
        },
        "required": [
          "groups",
          "id"
        ],
        "type": "object"
      }
    }
  },
  "parameterization": {
    "baseProvider": {
      "name": "terraform-provider",
      "version": "0.8.0"
    },
    "parameter": "eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkub3BlbnRvZnUub3JnL2NlbGVzdC1kZXYvdHVyc28iLCJ2ZXJzaW9uIjoiMC4yLjMifX0="
  }
}
