Documentation ¶
Index ¶
- type BackupPolicy
- type CreateInstanceRequest
- type CreateInstanceResponse
- type DeleteInstanceRequest
- type DeleteInstanceResponse
- type ListDatastore
- type ListFlavorInfo
- type ListHa
- type ListHaConsistency
- type ListHaConsistencyEnum
- type ListInstanceResponse
- type ListInstancesRequest
- type ListInstancesRequestDatastoreType
- type ListInstancesRequestDatastoreTypeEnum
- type ListInstancesRequestType
- type ListInstancesRequestTypeEnum
- type ListInstancesResponse
- type ListVolume
- type OpenGaussBackupStrategy
- type OpenGaussBackupStrategyForListResponse
- type OpenGaussBackupStrategyForResponse
- type OpenGaussChargeInfo
- type OpenGaussChargeInfoChargeMode
- type OpenGaussChargeInfoChargeModeEnum
- type OpenGaussChargeInfoListResponse
- type OpenGaussChargeInfoListResponseChargeMode
- type OpenGaussChargeInfoListResponseChargeModeEnum
- type OpenGaussChargeInfoResponse
- type OpenGaussChargeInfoResponseChargeMode
- type OpenGaussChargeInfoResponseChargeModeEnum
- type OpenGaussCoordinators
- type OpenGaussDatastore
- type OpenGaussDatastoreResponse
- type OpenGaussDatastoreResponseType
- type OpenGaussDatastoreResponseTypeEnum
- type OpenGaussDatastoreType
- type OpenGaussDatastoreTypeEnum
- type OpenGaussEnlargeVolume
- type OpenGaussErrorResponse
- type OpenGaussExpandCluster
- type OpenGaussHa
- type OpenGaussHaConsistency
- type OpenGaussHaConsistencyEnum
- type OpenGaussHaMode
- type OpenGaussHaModeEnum
- type OpenGaussHaReplicationMode
- type OpenGaussHaReplicationModeEnum
- type OpenGaussHaResponse
- type OpenGaussHaResponseConsistency
- type OpenGaussHaResponseConsistencyEnum
- type OpenGaussHaResponseMode
- type OpenGaussHaResponseModeEnum
- type OpenGaussHaResponseReplicationMode
- type OpenGaussHaResponseReplicationModeEnum
- type OpenGaussInstanceActionRequest
- type OpenGaussInstanceRequest
- type OpenGaussInstanceRequestReplicaNum
- type OpenGaussInstanceRequestReplicaNumEnum
- type OpenGaussInstanceResponse
- type OpenGaussModifyInstanceConfigurationRequest
- type OpenGaussShard
- type OpenGaussVolume
- type OpenGaussVolumeResponse
- type OpenGaussVolumeResponseType
- type OpenGaussVolumeResponseTypeEnum
- type OpenGaussVolumeType
- type OpenGaussVolumeTypeEnum
- type PwdResetRequest
- type ResetPwdRequest
- type ResetPwdResponse
- type RunInstanceActionRequest
- type RunInstanceActionResponse
- type SetBackupPolicyRequest
- type SetBackupPolicyRequestBody
- type SetBackupPolicyResponse
- type UpdateInstanceConfigurationRequest
- type UpdateInstanceConfigurationResponse
- type UpdateInstanceNameRequest
- type UpdateInstanceNameResponse
- type UpdateNameRequestBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupPolicy ¶
type BackupPolicy struct { KeepDays int32 `json:"keep_days"` StartTime string `json:"start_time"` Period string `json:"period"` DifferentialPeriod string `json:"differential_period"` }
备份策略信息。
func (BackupPolicy) String ¶
func (o BackupPolicy) String() string
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { XLanguage *string `json:"X-Language,omitempty"` Body *OpenGaussInstanceRequest `json:"body,omitempty"` }
Request Object
func (CreateInstanceRequest) String ¶
func (o CreateInstanceRequest) String() string
type CreateInstanceResponse ¶
type CreateInstanceResponse struct { Instance *OpenGaussInstanceResponse `json:"instance,omitempty"` JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateInstanceResponse) String ¶
func (o CreateInstanceResponse) String() string
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` }
Request Object
func (DeleteInstanceRequest) String ¶
func (o DeleteInstanceRequest) String() string
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteInstanceResponse) String ¶
func (o DeleteInstanceResponse) String() string
type ListHa ¶
type ListHa struct { Consistency ListHaConsistency `json:"consistency"` ReplicationMode string `json:"replication_mode"` }
获取分布式实例时返回。
type ListHaConsistency ¶
type ListHaConsistency struct {
// contains filtered or unexported fields
}
func (ListHaConsistency) MarshalJSON ¶
func (c ListHaConsistency) MarshalJSON() ([]byte, error)
func (*ListHaConsistency) UnmarshalJSON ¶
func (c *ListHaConsistency) UnmarshalJSON(b []byte) error
type ListHaConsistencyEnum ¶
type ListHaConsistencyEnum struct { STRONG ListHaConsistency EVENTUAL ListHaConsistency }
func GetListHaConsistencyEnum ¶
func GetListHaConsistencyEnum() ListHaConsistencyEnum
type ListInstanceResponse ¶
type ListInstanceResponse struct { Id string `json:"id"` Name string `json:"name"` Status string `json:"status"` PrivateIps []string `json:"private_ips"` PublicIps []string `json:"public_ips"` Port int32 `json:"port"` Type string `json:"type"` Ha *ListHa `json:"ha"` ReplicaNum *int32 `json:"replica_num,omitempty"` Region string `json:"region"` Datastore *ListDatastore `json:"datastore"` Created string `json:"created"` Updated string `json:"updated"` DbUserName string `json:"db_user_name"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SecurityGroupId string `json:"security_group_id"` FlavorRef string `json:"flavor_ref"` FlavorInfo *ListFlavorInfo `json:"flavor_info"` Volume *ListVolume `json:"volume"` SwitchStrategy string `json:"switch_strategy"` BackupStrategy *OpenGaussBackupStrategyForListResponse `json:"backup_strategy"` MaintenanceWindow string `json:"maintenance_window"` RelatedInstance []interface{} `json:"related_instance"` Nodes []interface{} `json:"nodes"` EnterpriseProjectId string `json:"enterprise_project_id"` DiskEncryptionId string `json:"disk_encryption_id"` ChargeInfo *OpenGaussChargeInfoListResponse `json:"charge_info"` TimeZone string `json:"time_zone"` Tags []interface{} `json:"tags"` }
实例信息。
func (ListInstanceResponse) String ¶
func (o ListInstanceResponse) String() string
type ListInstancesRequest ¶
type ListInstancesRequest struct { XLanguage *string `json:"X-Language,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *ListInstancesRequestType `json:"type,omitempty"` DatastoreType *ListInstancesRequestDatastoreType `json:"datastore_type,omitempty"` VpcId *string `json:"vpc_id,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Tags *[]string `json:"tags,omitempty"` }
Request Object
func (ListInstancesRequest) String ¶
func (o ListInstancesRequest) String() string
type ListInstancesRequestDatastoreType ¶
type ListInstancesRequestDatastoreType struct {
// contains filtered or unexported fields
}
func (ListInstancesRequestDatastoreType) MarshalJSON ¶
func (c ListInstancesRequestDatastoreType) MarshalJSON() ([]byte, error)
func (*ListInstancesRequestDatastoreType) UnmarshalJSON ¶
func (c *ListInstancesRequestDatastoreType) UnmarshalJSON(b []byte) error
type ListInstancesRequestDatastoreTypeEnum ¶
type ListInstancesRequestDatastoreTypeEnum struct {
GAUSS_DB_OPEN_GAUSS ListInstancesRequestDatastoreType
}
func GetListInstancesRequestDatastoreTypeEnum ¶
func GetListInstancesRequestDatastoreTypeEnum() ListInstancesRequestDatastoreTypeEnum
type ListInstancesRequestType ¶
type ListInstancesRequestType struct {
// contains filtered or unexported fields
}
func (ListInstancesRequestType) MarshalJSON ¶
func (c ListInstancesRequestType) MarshalJSON() ([]byte, error)
func (*ListInstancesRequestType) UnmarshalJSON ¶
func (c *ListInstancesRequestType) UnmarshalJSON(b []byte) error
type ListInstancesRequestTypeEnum ¶
type ListInstancesRequestTypeEnum struct {
ENTERPRISE ListInstancesRequestType
}
func GetListInstancesRequestTypeEnum ¶
func GetListInstancesRequestTypeEnum() ListInstancesRequestTypeEnum
type ListInstancesResponse ¶
type ListInstancesResponse struct { Instances *[]ListInstanceResponse `json:"instances,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstancesResponse) String ¶
func (o ListInstancesResponse) String() string
type OpenGaussBackupStrategy ¶
type OpenGaussBackupStrategy struct { StartTime string `json:"start_time"` KeepDays *int32 `json:"keep_days,omitempty"` }
备份策略。
func (OpenGaussBackupStrategy) String ¶
func (o OpenGaussBackupStrategy) String() string
type OpenGaussBackupStrategyForListResponse ¶
type OpenGaussBackupStrategyForListResponse struct { StartTime string `json:"start_time"` KeepDays int32 `json:"keep_days"` }
备份策略。
func (OpenGaussBackupStrategyForListResponse) String ¶
func (o OpenGaussBackupStrategyForListResponse) String() string
type OpenGaussBackupStrategyForResponse ¶
type OpenGaussBackupStrategyForResponse struct { StartTime string `json:"start_time"` KeepDays int32 `json:"keep_days"` }
自动备份策略。
func (OpenGaussBackupStrategyForResponse) String ¶
func (o OpenGaussBackupStrategyForResponse) String() string
type OpenGaussChargeInfo ¶
type OpenGaussChargeInfo struct {
ChargeMode OpenGaussChargeInfoChargeMode `json:"charge_mode"`
}
计费类型信息,仅支持按需。
func (OpenGaussChargeInfo) String ¶
func (o OpenGaussChargeInfo) String() string
type OpenGaussChargeInfoChargeMode ¶
type OpenGaussChargeInfoChargeMode struct {
// contains filtered or unexported fields
}
func (OpenGaussChargeInfoChargeMode) MarshalJSON ¶
func (c OpenGaussChargeInfoChargeMode) MarshalJSON() ([]byte, error)
func (*OpenGaussChargeInfoChargeMode) UnmarshalJSON ¶
func (c *OpenGaussChargeInfoChargeMode) UnmarshalJSON(b []byte) error
type OpenGaussChargeInfoChargeModeEnum ¶
type OpenGaussChargeInfoChargeModeEnum struct {
POST_PAID OpenGaussChargeInfoChargeMode
}
func GetOpenGaussChargeInfoChargeModeEnum ¶
func GetOpenGaussChargeInfoChargeModeEnum() OpenGaussChargeInfoChargeModeEnum
type OpenGaussChargeInfoListResponse ¶
type OpenGaussChargeInfoListResponse struct {
ChargeMode OpenGaussChargeInfoListResponseChargeMode `json:"charge_mode"`
}
计费类型信息,支持按需,默认为按需。
func (OpenGaussChargeInfoListResponse) String ¶
func (o OpenGaussChargeInfoListResponse) String() string
type OpenGaussChargeInfoListResponseChargeMode ¶
type OpenGaussChargeInfoListResponseChargeMode struct {
// contains filtered or unexported fields
}
func (OpenGaussChargeInfoListResponseChargeMode) MarshalJSON ¶
func (c OpenGaussChargeInfoListResponseChargeMode) MarshalJSON() ([]byte, error)
func (*OpenGaussChargeInfoListResponseChargeMode) UnmarshalJSON ¶
func (c *OpenGaussChargeInfoListResponseChargeMode) UnmarshalJSON(b []byte) error
type OpenGaussChargeInfoListResponseChargeModeEnum ¶
type OpenGaussChargeInfoListResponseChargeModeEnum struct {
POST_PAID OpenGaussChargeInfoListResponseChargeMode
}
func GetOpenGaussChargeInfoListResponseChargeModeEnum ¶
func GetOpenGaussChargeInfoListResponseChargeModeEnum() OpenGaussChargeInfoListResponseChargeModeEnum
type OpenGaussChargeInfoResponse ¶
type OpenGaussChargeInfoResponse struct {
ChargeMode OpenGaussChargeInfoResponseChargeMode `json:"charge_mode"`
}
付费方式信息,仅支持按需。
func (OpenGaussChargeInfoResponse) String ¶
func (o OpenGaussChargeInfoResponse) String() string
type OpenGaussChargeInfoResponseChargeMode ¶
type OpenGaussChargeInfoResponseChargeMode struct {
// contains filtered or unexported fields
}
func (OpenGaussChargeInfoResponseChargeMode) MarshalJSON ¶
func (c OpenGaussChargeInfoResponseChargeMode) MarshalJSON() ([]byte, error)
func (*OpenGaussChargeInfoResponseChargeMode) UnmarshalJSON ¶
func (c *OpenGaussChargeInfoResponseChargeMode) UnmarshalJSON(b []byte) error
type OpenGaussChargeInfoResponseChargeModeEnum ¶
type OpenGaussChargeInfoResponseChargeModeEnum struct {
POST_PAID OpenGaussChargeInfoResponseChargeMode
}
func GetOpenGaussChargeInfoResponseChargeModeEnum ¶
func GetOpenGaussChargeInfoResponseChargeModeEnum() OpenGaussChargeInfoResponseChargeModeEnum
type OpenGaussCoordinators ¶
type OpenGaussCoordinators struct {
AzCode string `json:"az_code"`
}
CN横向扩容时必填
func (OpenGaussCoordinators) String ¶
func (o OpenGaussCoordinators) String() string
type OpenGaussDatastore ¶
type OpenGaussDatastore struct { Type OpenGaussDatastoreType `json:"type"` Version *string `json:"version,omitempty"` }
数据库信息。
func (OpenGaussDatastore) String ¶
func (o OpenGaussDatastore) String() string
type OpenGaussDatastoreResponse ¶
type OpenGaussDatastoreResponse struct { Type OpenGaussDatastoreResponseType `json:"type"` Version string `json:"version"` }
数据库信息。
func (OpenGaussDatastoreResponse) String ¶
func (o OpenGaussDatastoreResponse) String() string
type OpenGaussDatastoreResponseType ¶
type OpenGaussDatastoreResponseType struct {
// contains filtered or unexported fields
}
func (OpenGaussDatastoreResponseType) MarshalJSON ¶
func (c OpenGaussDatastoreResponseType) MarshalJSON() ([]byte, error)
func (*OpenGaussDatastoreResponseType) UnmarshalJSON ¶
func (c *OpenGaussDatastoreResponseType) UnmarshalJSON(b []byte) error
type OpenGaussDatastoreResponseTypeEnum ¶
type OpenGaussDatastoreResponseTypeEnum struct {
GAUSS_DB_OPEN_GAUSS OpenGaussDatastoreResponseType
}
func GetOpenGaussDatastoreResponseTypeEnum ¶
func GetOpenGaussDatastoreResponseTypeEnum() OpenGaussDatastoreResponseTypeEnum
type OpenGaussDatastoreType ¶
type OpenGaussDatastoreType struct {
// contains filtered or unexported fields
}
func (OpenGaussDatastoreType) MarshalJSON ¶
func (c OpenGaussDatastoreType) MarshalJSON() ([]byte, error)
func (*OpenGaussDatastoreType) UnmarshalJSON ¶
func (c *OpenGaussDatastoreType) UnmarshalJSON(b []byte) error
type OpenGaussDatastoreTypeEnum ¶
type OpenGaussDatastoreTypeEnum struct {
GAUSS_DB_OPEN_GAUSS OpenGaussDatastoreType
}
func GetOpenGaussDatastoreTypeEnum ¶
func GetOpenGaussDatastoreTypeEnum() OpenGaussDatastoreTypeEnum
type OpenGaussEnlargeVolume ¶
type OpenGaussEnlargeVolume struct {
Size int32 `json:"size"`
}
扩容实例磁盘时必填。 所需扩容到的磁盘容量大小。
func (OpenGaussEnlargeVolume) String ¶
func (o OpenGaussEnlargeVolume) String() string
type OpenGaussErrorResponse ¶
type OpenGaussErrorResponse struct { ErrorCode string `json:"error_code"` ErrorMsg string `json:"error_msg"` }
func (OpenGaussErrorResponse) String ¶
func (o OpenGaussErrorResponse) String() string
type OpenGaussExpandCluster ¶
type OpenGaussExpandCluster struct { Coordinators *[]OpenGaussCoordinators `json:"coordinators,omitempty"` Shard *OpenGaussShard `json:"shard,omitempty"` }
CN横向扩容/DN分片扩容时必填
func (OpenGaussExpandCluster) String ¶
func (o OpenGaussExpandCluster) String() string
type OpenGaussHa ¶
type OpenGaussHa struct { Mode OpenGaussHaMode `json:"mode"` ReplicationMode OpenGaussHaReplicationMode `json:"replication_mode"` Consistency OpenGaussHaConsistency `json:"consistency"` }
创建分布式实例时使用。
func (OpenGaussHa) String ¶
func (o OpenGaussHa) String() string
type OpenGaussHaConsistency ¶
type OpenGaussHaConsistency struct {
// contains filtered or unexported fields
}
func (OpenGaussHaConsistency) MarshalJSON ¶
func (c OpenGaussHaConsistency) MarshalJSON() ([]byte, error)
func (*OpenGaussHaConsistency) UnmarshalJSON ¶
func (c *OpenGaussHaConsistency) UnmarshalJSON(b []byte) error
type OpenGaussHaConsistencyEnum ¶
type OpenGaussHaConsistencyEnum struct { STRONG OpenGaussHaConsistency EVENTUAL OpenGaussHaConsistency }
func GetOpenGaussHaConsistencyEnum ¶
func GetOpenGaussHaConsistencyEnum() OpenGaussHaConsistencyEnum
type OpenGaussHaMode ¶
type OpenGaussHaMode struct {
// contains filtered or unexported fields
}
func (OpenGaussHaMode) MarshalJSON ¶
func (c OpenGaussHaMode) MarshalJSON() ([]byte, error)
func (*OpenGaussHaMode) UnmarshalJSON ¶
func (c *OpenGaussHaMode) UnmarshalJSON(b []byte) error
type OpenGaussHaModeEnum ¶
type OpenGaussHaModeEnum struct {
ENTERPRISE OpenGaussHaMode
}
func GetOpenGaussHaModeEnum ¶
func GetOpenGaussHaModeEnum() OpenGaussHaModeEnum
type OpenGaussHaReplicationMode ¶
type OpenGaussHaReplicationMode struct {
// contains filtered or unexported fields
}
func (OpenGaussHaReplicationMode) MarshalJSON ¶
func (c OpenGaussHaReplicationMode) MarshalJSON() ([]byte, error)
func (*OpenGaussHaReplicationMode) UnmarshalJSON ¶
func (c *OpenGaussHaReplicationMode) UnmarshalJSON(b []byte) error
type OpenGaussHaReplicationModeEnum ¶
type OpenGaussHaReplicationModeEnum struct {
SYNC OpenGaussHaReplicationMode
}
func GetOpenGaussHaReplicationModeEnum ¶
func GetOpenGaussHaReplicationModeEnum() OpenGaussHaReplicationModeEnum
type OpenGaussHaResponse ¶
type OpenGaussHaResponse struct { Mode OpenGaussHaResponseMode `json:"mode"` ReplicationMode OpenGaussHaResponseReplicationMode `json:"replication_mode"` Consistency OpenGaussHaResponseConsistency `json:"consistency"` }
创建分布式实例时可见。
func (OpenGaussHaResponse) String ¶
func (o OpenGaussHaResponse) String() string
type OpenGaussHaResponseConsistency ¶
type OpenGaussHaResponseConsistency struct {
// contains filtered or unexported fields
}
func (OpenGaussHaResponseConsistency) MarshalJSON ¶
func (c OpenGaussHaResponseConsistency) MarshalJSON() ([]byte, error)
func (*OpenGaussHaResponseConsistency) UnmarshalJSON ¶
func (c *OpenGaussHaResponseConsistency) UnmarshalJSON(b []byte) error
type OpenGaussHaResponseConsistencyEnum ¶
type OpenGaussHaResponseConsistencyEnum struct { STRONG OpenGaussHaResponseConsistency EVENTUAL OpenGaussHaResponseConsistency }
func GetOpenGaussHaResponseConsistencyEnum ¶
func GetOpenGaussHaResponseConsistencyEnum() OpenGaussHaResponseConsistencyEnum
type OpenGaussHaResponseMode ¶
type OpenGaussHaResponseMode struct {
// contains filtered or unexported fields
}
func (OpenGaussHaResponseMode) MarshalJSON ¶
func (c OpenGaussHaResponseMode) MarshalJSON() ([]byte, error)
func (*OpenGaussHaResponseMode) UnmarshalJSON ¶
func (c *OpenGaussHaResponseMode) UnmarshalJSON(b []byte) error
type OpenGaussHaResponseModeEnum ¶
type OpenGaussHaResponseModeEnum struct {
ENTERPRISE OpenGaussHaResponseMode
}
func GetOpenGaussHaResponseModeEnum ¶
func GetOpenGaussHaResponseModeEnum() OpenGaussHaResponseModeEnum
type OpenGaussHaResponseReplicationMode ¶
type OpenGaussHaResponseReplicationMode struct {
// contains filtered or unexported fields
}
func (OpenGaussHaResponseReplicationMode) MarshalJSON ¶
func (c OpenGaussHaResponseReplicationMode) MarshalJSON() ([]byte, error)
func (*OpenGaussHaResponseReplicationMode) UnmarshalJSON ¶
func (c *OpenGaussHaResponseReplicationMode) UnmarshalJSON(b []byte) error
type OpenGaussHaResponseReplicationModeEnum ¶
type OpenGaussHaResponseReplicationModeEnum struct {
SYNC OpenGaussHaResponseReplicationMode
}
func GetOpenGaussHaResponseReplicationModeEnum ¶
func GetOpenGaussHaResponseReplicationModeEnum() OpenGaussHaResponseReplicationModeEnum
type OpenGaussInstanceActionRequest ¶
type OpenGaussInstanceActionRequest struct { ExpandCluster *OpenGaussExpandCluster `json:"expand_cluster,omitempty"` EnlargeVolume *OpenGaussEnlargeVolume `json:"enlarge_volume,omitempty"` }
func (OpenGaussInstanceActionRequest) String ¶
func (o OpenGaussInstanceActionRequest) String() string
type OpenGaussInstanceRequest ¶
type OpenGaussInstanceRequest struct { Name string `json:"name"` Datastore *OpenGaussDatastore `json:"datastore"` Ha *OpenGaussHa `json:"ha"` ConfigurationId *string `json:"configuration_id,omitempty"` Port *string `json:"port,omitempty"` Password string `json:"password"` BackupStrategy *OpenGaussBackupStrategy `json:"backup_strategy,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` DiskEncryptionId *string `json:"disk_encryption_id,omitempty"` FlavorRef string `json:"flavor_ref"` Volume *OpenGaussVolume `json:"volume"` Region string `json:"region"` AvailabilityZone string `json:"availability_zone"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SecurityGroupId string `json:"security_group_id"` ChargeInfo *OpenGaussChargeInfo `json:"charge_info,omitempty"` TimeZone *string `json:"time_zone,omitempty"` ShardingNum int32 `json:"sharding_num"` CoordinatorNum int32 `json:"coordinator_num"` ReplicaNum *OpenGaussInstanceRequestReplicaNum `json:"replica_num,omitempty"` }
实例信息
func (OpenGaussInstanceRequest) String ¶
func (o OpenGaussInstanceRequest) String() string
type OpenGaussInstanceRequestReplicaNum ¶
type OpenGaussInstanceRequestReplicaNum struct {
// contains filtered or unexported fields
}
func (OpenGaussInstanceRequestReplicaNum) MarshalJSON ¶
func (c OpenGaussInstanceRequestReplicaNum) MarshalJSON() ([]byte, error)
func (*OpenGaussInstanceRequestReplicaNum) UnmarshalJSON ¶
func (c *OpenGaussInstanceRequestReplicaNum) UnmarshalJSON(b []byte) error
type OpenGaussInstanceRequestReplicaNumEnum ¶
type OpenGaussInstanceRequestReplicaNumEnum struct { E_2 OpenGaussInstanceRequestReplicaNum E_3 OpenGaussInstanceRequestReplicaNum }
func GetOpenGaussInstanceRequestReplicaNumEnum ¶
func GetOpenGaussInstanceRequestReplicaNumEnum() OpenGaussInstanceRequestReplicaNumEnum
type OpenGaussInstanceResponse ¶
type OpenGaussInstanceResponse struct { Id string `json:"id"` Name string `json:"name"` Status string `json:"status"` Datastore *OpenGaussDatastoreResponse `json:"datastore"` Ha *OpenGaussHaResponse `json:"ha,omitempty"` ReplicaNum *int32 `json:"replica_num,omitempty"` BackupStrategy *OpenGaussBackupStrategyForResponse `json:"backup_strategy"` Port string `json:"port"` EnterpriseProjectId string `json:"enterprise_project_id"` FlavorRef string `json:"flavor_ref"` Volume *OpenGaussVolumeResponse `json:"volume"` Region string `json:"region"` AvailabilityZone string `json:"availability_zone"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SecurityGroupId string `json:"security_group_id"` ChargeInfo *OpenGaussChargeInfoResponse `json:"charge_info"` }
实例信息。
func (OpenGaussInstanceResponse) String ¶
func (o OpenGaussInstanceResponse) String() string
type OpenGaussModifyInstanceConfigurationRequest ¶
type OpenGaussModifyInstanceConfigurationRequest struct {
Values map[string]string `json:"values"`
}
func (OpenGaussModifyInstanceConfigurationRequest) String ¶
func (o OpenGaussModifyInstanceConfigurationRequest) String() string
type OpenGaussShard ¶
type OpenGaussShard struct {
Count int32 `json:"count"`
}
DN分片扩容时必填
func (OpenGaussShard) String ¶
func (o OpenGaussShard) String() string
type OpenGaussVolume ¶
type OpenGaussVolume struct { Type OpenGaussVolumeType `json:"type"` Size int32 `json:"size"` }
volume信息。
func (OpenGaussVolume) String ¶
func (o OpenGaussVolume) String() string
type OpenGaussVolumeResponse ¶
type OpenGaussVolumeResponse struct { Type OpenGaussVolumeResponseType `json:"type"` Size int32 `json:"size"` }
volume信息。
func (OpenGaussVolumeResponse) String ¶
func (o OpenGaussVolumeResponse) String() string
type OpenGaussVolumeResponseType ¶
type OpenGaussVolumeResponseType struct {
// contains filtered or unexported fields
}
func (OpenGaussVolumeResponseType) MarshalJSON ¶
func (c OpenGaussVolumeResponseType) MarshalJSON() ([]byte, error)
func (*OpenGaussVolumeResponseType) UnmarshalJSON ¶
func (c *OpenGaussVolumeResponseType) UnmarshalJSON(b []byte) error
type OpenGaussVolumeResponseTypeEnum ¶
type OpenGaussVolumeResponseTypeEnum struct {
ULTRAHIGH OpenGaussVolumeResponseType
}
func GetOpenGaussVolumeResponseTypeEnum ¶
func GetOpenGaussVolumeResponseTypeEnum() OpenGaussVolumeResponseTypeEnum
type OpenGaussVolumeType ¶
type OpenGaussVolumeType struct {
// contains filtered or unexported fields
}
func (OpenGaussVolumeType) MarshalJSON ¶
func (c OpenGaussVolumeType) MarshalJSON() ([]byte, error)
func (*OpenGaussVolumeType) UnmarshalJSON ¶
func (c *OpenGaussVolumeType) UnmarshalJSON(b []byte) error
type OpenGaussVolumeTypeEnum ¶
type OpenGaussVolumeTypeEnum struct {
ULTRAHIGH OpenGaussVolumeType
}
func GetOpenGaussVolumeTypeEnum ¶
func GetOpenGaussVolumeTypeEnum() OpenGaussVolumeTypeEnum
type PwdResetRequest ¶
type PwdResetRequest struct {
Password string `json:"password"`
}
数据库root用户密码。 8~32个字符。 至少包含以下字符中的三种: 大写字母、小写字母、数字和特殊字符~!@#%^*-_=+?, 弱密码校验。
func (PwdResetRequest) String ¶
func (o PwdResetRequest) String() string
type ResetPwdRequest ¶
type ResetPwdRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *PwdResetRequest `json:"body,omitempty"` }
Request Object
func (ResetPwdRequest) String ¶
func (o ResetPwdRequest) String() string
type ResetPwdResponse ¶
type ResetPwdResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ResetPwdResponse) String ¶
func (o ResetPwdResponse) String() string
type RunInstanceActionRequest ¶
type RunInstanceActionRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *OpenGaussInstanceActionRequest `json:"body,omitempty"` }
Request Object
func (RunInstanceActionRequest) String ¶
func (o RunInstanceActionRequest) String() string
type RunInstanceActionResponse ¶
type RunInstanceActionResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunInstanceActionResponse) String ¶
func (o RunInstanceActionResponse) String() string
type SetBackupPolicyRequest ¶
type SetBackupPolicyRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *SetBackupPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (SetBackupPolicyRequest) String ¶
func (o SetBackupPolicyRequest) String() string
type SetBackupPolicyRequestBody ¶
type SetBackupPolicyRequestBody struct {
BackupPolicy *BackupPolicy `json:"backup_policy"`
}
func (SetBackupPolicyRequestBody) String ¶
func (o SetBackupPolicyRequestBody) String() string
type SetBackupPolicyResponse ¶
type SetBackupPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (SetBackupPolicyResponse) String ¶
func (o SetBackupPolicyResponse) String() string
type UpdateInstanceConfigurationRequest ¶
type UpdateInstanceConfigurationRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *OpenGaussModifyInstanceConfigurationRequest `json:"body,omitempty"` }
Request Object
func (UpdateInstanceConfigurationRequest) String ¶
func (o UpdateInstanceConfigurationRequest) String() string
type UpdateInstanceConfigurationResponse ¶
type UpdateInstanceConfigurationResponse struct { RestartRequired *bool `json:"restart_required,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceConfigurationResponse) String ¶
func (o UpdateInstanceConfigurationResponse) String() string
type UpdateInstanceNameRequest ¶
type UpdateInstanceNameRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *UpdateNameRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateInstanceNameRequest) String ¶
func (o UpdateInstanceNameRequest) String() string
type UpdateInstanceNameResponse ¶
type UpdateInstanceNameResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceNameResponse) String ¶
func (o UpdateInstanceNameResponse) String() string
type UpdateNameRequestBody ¶
type UpdateNameRequestBody struct {
Name string `json:"name"`
}
func (UpdateNameRequestBody) String ¶
func (o UpdateNameRequestBody) String() string
Source Files ¶
- model_backup_policy.go
- model_create_instance_request.go
- model_create_instance_response.go
- model_delete_instance_request.go
- model_delete_instance_response.go
- model_list_datastore.go
- model_list_flavor_info.go
- model_list_ha.go
- model_list_instance_response.go
- model_list_instances_request.go
- model_list_instances_response.go
- model_list_volume.go
- model_open_gauss_backup_strategy.go
- model_open_gauss_backup_strategy_for_list_response.go
- model_open_gauss_backup_strategy_for_response.go
- model_open_gauss_charge_info.go
- model_open_gauss_charge_info_list_response.go
- model_open_gauss_charge_info_response.go
- model_open_gauss_coordinators.go
- model_open_gauss_datastore.go
- model_open_gauss_datastore_response.go
- model_open_gauss_enlarge_volume.go
- model_open_gauss_error_response.go
- model_open_gauss_expand_cluster.go
- model_open_gauss_ha.go
- model_open_gauss_ha_response.go
- model_open_gauss_instance_action_request.go
- model_open_gauss_instance_request.go
- model_open_gauss_instance_response.go
- model_open_gauss_modify_instance_configuration_request.go
- model_open_gauss_shard.go
- model_open_gauss_volume.go
- model_open_gauss_volume_response.go
- model_pwd_reset_request.go
- model_reset_pwd_request.go
- model_reset_pwd_response.go
- model_run_instance_action_request.go
- model_run_instance_action_response.go
- model_set_backup_policy_request.go
- model_set_backup_policy_request_body.go
- model_set_backup_policy_response.go
- model_update_instance_configuration_request.go
- model_update_instance_configuration_response.go
- model_update_instance_name_request.go
- model_update_instance_name_response.go
- model_update_name_request_body.go
Click to show internal directories.
Click to hide internal directories.