Files
cloudpods/vendor/github.com/jdcloud-api/jdcloud-sdk-go/services/rds/models/DBInstanceSpec.go
2021-06-22 16:01:00 +08:00

65 lines
3.2 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Copyright 2018 JDCLOUD.COM
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// NOTE: This class is auto generated by the jdcloud code generator program.
package models
import charge "github.com/jdcloud-api/jdcloud-sdk-go/services/charge/models"
type DBInstanceSpec struct {
/* 实例名,具体规则可参见帮助中心文档:[名称及密码限制](../../../documentation/Database-and-Cache-Service/RDS/Introduction/Restrictions/SQLServer-Restrictions.md) (Optional) */
InstanceName *string `json:"instanceName"`
/* 实例引擎类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) */
Engine string `json:"engine"`
/* 实例引擎版本,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) */
EngineVersion string `json:"engineVersion"`
/* 实例规格代码,可以查看文档[MySQL 实例规格](../Instance-Specifications/Instance-Specifications-MySQL.md)、[SQL Server实例规格](../Instance-Specifications/Instance-Specifications-SQLServer.md) */
InstanceClass string `json:"instanceClass"`
/* 磁盘大小单位GB可以查看文档[MySQL 实例规格](../Instance-Specifications/Instance-Specifications-MySQL.md)、[SQL Server实例规格](../Instance-Specifications/Instance-Specifications-SQLServer.md) */
InstanceStorageGB int `json:"instanceStorageGB"`
/* 可用区ID 第一个ID必须为主实例所在的可用区。如两个可用区一样也需输入两个azId */
AzId []string `json:"azId"`
/* VPC的ID */
VpcId string `json:"vpcId"`
/* 子网ID */
SubnetId string `json:"subnetId"`
/* 参数组ID, 缺省系统会创建一个默认参数组<br>- 仅支持MySQL (Optional) */
ParameterGroup *string `json:"parameterGroup"`
/* 计费规格,包括计费类型,计费周期等 */
ChargeSpec *charge.ChargeSpec `json:"chargeSpec"`
/* 存储类型,参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md), 缺省值为LOCAL_SSD<br>- 仅支持MySQL (Optional) */
InstanceStorageType *string `json:"instanceStorageType"`
/* 应用访问端口支持的端口范围11505999。MySQL、Percona、MariaDB的默认值为 3306SQL SQL Server的默认值为1433不支持5022PostgreSQL的默认端口号为5432 (Optional) */
InstancePort *string `json:"instancePort"`
/* 实例数据加密(存储类型为云硬盘才支持数据加密)。false不加密true加密缺省为false<br>- 仅支持MySQL (Optional) */
StorageEncrypted *bool `json:"storageEncrypted"`
/* 实例的高可用架构。standalone单机cluster主备双机架构缺省为cluster<br>- 仅支持SQL Server (Optional) */
InstanceType *string `json:"instanceType"`
}