model

package
v0.0.61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

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 ListDatastore

type ListDatastore struct {
	Type string `json:"type"`

	Version string `json:"version"`
}

数据库信息。

func (ListDatastore) String

func (o ListDatastore) String() string

type ListFlavorInfo

type ListFlavorInfo struct {
	Vcpu int32 `json:"vcpu"`

	Mem int32 `json:"mem"`
}

规格信息。

func (ListFlavorInfo) String

func (o ListFlavorInfo) String() string

type ListHa

type ListHa struct {
	Consistency ListHaConsistency `json:"consistency"`

	ReplicationMode string `json:"replication_mode"`
}

获取分布式实例时返回。

func (ListHa) String

func (o ListHa) String() string

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 ListVolume

type ListVolume struct {
	Type string `json:"type"`

	Size int32 `json:"size"`
}

Volume信息。

func (ListVolume) String

func (o ListVolume) 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

type OpenGaussBackupStrategyForResponse

type OpenGaussBackupStrategyForResponse struct {
	StartTime string `json:"start_time"`

	KeepDays int32 `json:"keep_days"`
}

自动备份策略。

func (OpenGaussBackupStrategyForResponse) 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

type OpenGaussChargeInfoListResponseChargeMode

type OpenGaussChargeInfoListResponseChargeMode struct {
	// contains filtered or unexported fields
}

func (OpenGaussChargeInfoListResponseChargeMode) MarshalJSON

func (*OpenGaussChargeInfoListResponseChargeMode) UnmarshalJSON

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

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

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

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

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

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

type UpdateInstanceConfigurationResponse

type UpdateInstanceConfigurationResponse struct {
	RestartRequired *bool `json:"restart_required,omitempty"`
	HttpStatusCode  int   `json:"-"`
}

Response Object

func (UpdateInstanceConfigurationResponse) 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

type UpdateNameRequestBody

type UpdateNameRequestBody struct {
	Name string `json:"name"`
}

func (UpdateNameRequestBody) String

func (o UpdateNameRequestBody) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL