A resource for creating a relational database (Relational Database Service) instances.
A relational database service is a reliable, scalable, and easy-to-manage web service in the cloud.
Name |
Description |
---|---|
name |
Instance name String value expected. Updates cause replacement. The instance name of the same type instances under the same tenant must be unique. Value range: The value is a string of 4 to 64 characters, case insensitive, which must start with a letter. An instance name can contain letters, digits, hyphens (-), or underscores (_). Other special characters cannot be included. |
datastore_type |
Database engine String value expected. Updates cause replacement. Allowed value: MySQL, PostgreSQL, or SQLServer |
datastore_version |
Instance version String value expected. Updates cause replacement. Value range: The value contains a maximum of 64 characters and cannot be fewer than four characters. |
flavor |
Flavor ID String value expected. Can be updated without replacement. Value range: The value cannot be empty. The length of the character string is verified and the regular UUID regular check is performed. NOTE:
For details, see How to Obtain the flavor Value of Resource OSE::RDS::Instance?. |
volume |
Disk information Map value expected. Map properties:
|
region |
Area ID String value expected. Updates cause replacement. Value range: The value cannot be empty. |
availability_zone |
ID of an available zone String value expected. Updates cause replacement. Value range: The value cannot be empty. |
nics |
Subnet information Map value expected. Map properties: |
vpc |
ID of a VPC String value expected. Updates cause replacement. Value range: The value cannot be empty. The length of the character string must be verified through the regular UUID check. |
security_group |
Security group to which an instance belongs String value expected. Updates cause replacement. Value range: The value cannot be empty. The length of the character string must be verified through the regular UUID check. |
password |
Password of the database root user String value expected. Updates cause replacement. Value range: The value is a string of 8 to 32 characters consisting of uppercase letters, lowercase letters, digits, and special characters ~!@#%^*-_=+?. The password must contain uppercase letters, lowercase letters, digits, and at least one special character. |
Name |
Description |
---|---|
name |
Database instance name |
flavor |
Specification information |
hostname |
Connection address of an instance. The value exists only after an ECS is created successfully. In other cases, the value is an empty string. |
type |
Instance type. The value can be master, slave, or readreplica. |
backupStrategy |
Advanced backup policy |
slaveId |
ID of the secondary instance. |
ha |
HA information. This parameter is returned when the HA instance is obtained. |
replicaOf |
This parameter is returned only when a read-only copy is obtained. |
heat_template_version: 2014-10-16 ... resources: the_resource: type: OSE::RDS::Instance properties: name: String region: String availability_zone: String nics: subnet: String volume: type: String size: Number security_group: String vpc: String datastore_type: String datastore_version: String flavor: String password: String