model

package
v0.0.4-beta Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AddReadonlyNodeRequest ¶

type AddReadonlyNodeRequest struct {
	InstanceId string `json:"instance_id"`

	Body *AddReadonlyNodeRequestBody `json:"body,omitempty"`
}

func (AddReadonlyNodeRequest) String ¶

func (o AddReadonlyNodeRequest) String() string

type AddReadonlyNodeRequestBody ¶

type AddReadonlyNodeRequestBody struct {
	SpecCode string `json:"spec_code"`

	Num int32 `json:"num"`

	Delay *int32 `json:"delay,omitempty"`

	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

func (AddReadonlyNodeRequestBody) String ¶

type AddReadonlyNodeResponse ¶

type AddReadonlyNodeResponse struct {
	JobId *string `json:"job_id,omitempty"`

	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (AddReadonlyNodeResponse) String ¶

func (o AddReadonlyNodeResponse) String() string

type AddShardingNodeRequest ¶

type AddShardingNodeRequest struct {
	InstanceId string `json:"instance_id"`

	Body *EnlargeInstanceRequestBody `json:"body,omitempty"`
}

func (AddShardingNodeRequest) String ¶

func (o AddShardingNodeRequest) String() string

type AddShardingNodeResponse ¶

type AddShardingNodeResponse struct {
	JobId *string `json:"job_id,omitempty"`

	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (AddShardingNodeResponse) String ¶

func (o AddShardingNodeResponse) String() string

type AddShardingNodeVolumeOption ¶

type AddShardingNodeVolumeOption struct {
	Size string `json:"size"`
}

func (AddShardingNodeVolumeOption) String ¶

type ApiVersion ¶

type ApiVersion struct {
	Id string `json:"id"`

	Links []Links `json:"links"`

	Status string `json:"status"`

	Version string `json:"version"`

	MinVersion string `json:"min_version"`

	Updated string `json:"updated"`
}

func (ApiVersion) String ¶

func (o ApiVersion) String() string

type ApplicableInstancesInfo ¶

type ApplicableInstancesInfo struct {
	InstanceId string `json:"instance_id"`

	InstanceName string `json:"instance_name"`

	Entities []EntityInfo `json:"entities"`
}

func (ApplicableInstancesInfo) String ¶

func (o ApplicableInstancesInfo) String() string

type ApplyConfigurationRequestBody ¶

type ApplyConfigurationRequestBody struct {
	EntityIds []string `json:"entity_ids"`
}

func (ApplyConfigurationRequestBody) String ¶

type ApplyHistoryInfo ¶

type ApplyHistoryInfo struct {
	InstanceId string `json:"instance_id"`

	InstanceName string `json:"instance_name"`

	AppliedAt string `json:"applied_at"`

	ApplyResult string `json:"apply_result"`

	FailureReason *string `json:"failure_reason,omitempty"`
}

func (ApplyHistoryInfo) String ¶

func (o ApplyHistoryInfo) String() string

type AttachEipRequest ¶

type AttachEipRequest struct {
	NodeId string `json:"node_id"`

	Body *AttachEipRequestBody `json:"body,omitempty"`
}

func (AttachEipRequest) String ¶

func (o AttachEipRequest) String() string

type AttachEipRequestBody ¶

type AttachEipRequestBody struct {
	PublicIpId string `json:"public_ip_id"`

	PublicIp string `json:"public_ip"`
}

func (AttachEipRequestBody) String ¶

func (o AttachEipRequestBody) String() string

type AttachEipResponse ¶

type AttachEipResponse struct {
	JobId *string `json:"job_id,omitempty"`

	NodeId *string `json:"node_id,omitempty"`

	NodeName *string `json:"node_name,omitempty"`

	PublicIpId *string `json:"public_ip_id,omitempty"`

	PublicIp       *string `json:"public_ip,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (AttachEipResponse) String ¶

func (o AttachEipResponse) String() string

type AttachInternalIpRequest ¶

type AttachInternalIpRequest struct {
	InstanceId string `json:"instance_id"`

	Body *AttachInternalIpRequestBody `json:"body,omitempty"`
}

func (AttachInternalIpRequest) String ¶

func (o AttachInternalIpRequest) String() string

type AttachInternalIpRequestBody ¶

type AttachInternalIpRequestBody struct {
	NodeId string `json:"node_id"`

	NewIp string `json:"new_ip"`
}

func (AttachInternalIpRequestBody) String ¶

type AttachInternalIpResponse ¶

type AttachInternalIpResponse struct {
	JobId *string `json:"job_id,omitempty"`

	NodeId *string `json:"node_id,omitempty"`

	NewIp          *string `json:"new_ip,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (AttachInternalIpResponse) String ¶

func (o AttachInternalIpResponse) String() string

type Az2Migrate ¶

type Az2Migrate struct {
	Code string `json:"code"`

	Description string `json:"description"`

	Status string `json:"status"`
}

func (Az2Migrate) String ¶

func (o Az2Migrate) String() string

type BackupDatabase ¶

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

	Version string `json:"version"`
}

func (BackupDatabase) String ¶

func (o BackupDatabase) String() string

type BackupForList ¶

type BackupForList struct {
	Id string `json:"id"`

	Name string `json:"name"`

	InstanceId string `json:"instance_id"`

	InstanceName string `json:"instance_name"`

	Datastore *BackupDatabase `json:"datastore"`

	Type BackupForListType `json:"type"`

	BeginTime string `json:"begin_time"`

	EndTime string `json:"end_time"`

	Status BackupForListStatus `json:"status"`

	Size int64 `json:"size"`

	Description string `json:"description"`
}

func (BackupForList) String ¶

func (o BackupForList) String() string

type BackupForListStatus ¶

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

func (BackupForListStatus) MarshalJSON ¶

func (c BackupForListStatus) MarshalJSON() ([]byte, error)

func (*BackupForListStatus) UnmarshalJSON ¶

func (c *BackupForListStatus) UnmarshalJSON(b []byte) error

func (BackupForListStatus) Value ¶

func (c BackupForListStatus) Value() string

type BackupForListStatusEnum ¶

type BackupForListStatusEnum struct {
	BUILDING  BackupForListStatus
	COMPLETED BackupForListStatus
	FAILED    BackupForListStatus
	DELETING  BackupForListStatus
}

func GetBackupForListStatusEnum ¶

func GetBackupForListStatusEnum() BackupForListStatusEnum

type BackupForListType ¶

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

func (BackupForListType) MarshalJSON ¶

func (c BackupForListType) MarshalJSON() ([]byte, error)

func (*BackupForListType) UnmarshalJSON ¶

func (c *BackupForListType) UnmarshalJSON(b []byte) error

func (BackupForListType) Value ¶

func (c BackupForListType) Value() string

type BackupForListTypeEnum ¶

type BackupForListTypeEnum struct {
	AUTO        BackupForListType
	MANUAL      BackupForListType
	FRAGMENT    BackupForListType
	INCREMENTAL BackupForListType
}

func GetBackupForListTypeEnum ¶

func GetBackupForListTypeEnum() BackupForListTypeEnum

type BackupPolicy ¶

type BackupPolicy struct {
	KeepDays string `json:"keep_days"`

	StartTime *string `json:"start_time,omitempty"`

	Period *string `json:"period,omitempty"`
}

func (BackupPolicy) String ¶

func (o BackupPolicy) String() string

type BackupPolicyItem ¶

type BackupPolicyItem struct {
	KeepDays int32 `json:"keep_days"`

	StartTime *string `json:"start_time,omitempty"`

	Period *string `json:"period,omitempty"`
}

func (BackupPolicyItem) String ¶

func (o BackupPolicyItem) String() string

type BackupStrategy ¶

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

	KeepDays *string `json:"keep_days,omitempty"`
}

func (BackupStrategy) String ¶

func (o BackupStrategy) String() string

type BackupStrategyForItemResponse ¶

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

	KeepDays int32 `json:"keep_days"`
}

func (BackupStrategyForItemResponse) String ¶

type BalancerActiveWindow ¶

type BalancerActiveWindow struct {
	StartTime *string `json:"start_time,omitempty"`

	StopTime *string `json:"stop_time,omitempty"`
}

func (BalancerActiveWindow) String ¶

func (o BalancerActiveWindow) String() string

type BatchOperateInstanceTagRequestBody ¶

type BatchOperateInstanceTagRequestBody struct {
	Action BatchOperateInstanceTagRequestBodyAction `json:"action"`

	Tags []TagItem `json:"tags"`
}

func (BatchOperateInstanceTagRequestBody) String ¶

type BatchOperateInstanceTagRequestBodyAction ¶

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

func (BatchOperateInstanceTagRequestBodyAction) MarshalJSON ¶

func (*BatchOperateInstanceTagRequestBodyAction) UnmarshalJSON ¶

func (c *BatchOperateInstanceTagRequestBodyAction) UnmarshalJSON(b []byte) error

func (BatchOperateInstanceTagRequestBodyAction) Value ¶

type BatchTagActionRequest ¶

type BatchTagActionRequest struct {
	InstanceId string `json:"instance_id"`

	Body *BatchOperateInstanceTagRequestBody `json:"body,omitempty"`
}

func (BatchTagActionRequest) String ¶

func (o BatchTagActionRequest) String() string

type BatchTagActionResponse ¶

type BatchTagActionResponse struct {
	HttpStatusCode int `json:"-"`
}

func (BatchTagActionResponse) String ¶

func (o BatchTagActionResponse) String() string

type CancelEipRequest ¶

type CancelEipRequest struct {
	NodeId string `json:"node_id"`
}

func (CancelEipRequest) String ¶

func (o CancelEipRequest) String() string

type CancelEipResponse ¶

type CancelEipResponse struct {
	JobId *string `json:"job_id,omitempty"`

	NodeId *string `json:"node_id,omitempty"`

	NodeName       *string `json:"node_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CancelEipResponse) String ¶

func (o CancelEipResponse) String() string

type CertInfo ¶

type CertInfo struct {
	Category CertInfoCategory `json:"category"`

	DownloadLink string `json:"download_link"`
}

func (CertInfo) String ¶

func (o CertInfo) String() string

type CertInfoCategory ¶

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

func (CertInfoCategory) MarshalJSON ¶

func (c CertInfoCategory) MarshalJSON() ([]byte, error)

func (*CertInfoCategory) UnmarshalJSON ¶

func (c *CertInfoCategory) UnmarshalJSON(b []byte) error

func (CertInfoCategory) Value ¶

func (c CertInfoCategory) Value() string

type CertInfoCategoryEnum ¶

type CertInfoCategoryEnum struct {
	INTERNATIONAL CertInfoCategory
	NATIONAL      CertInfoCategory
}

func GetCertInfoCategoryEnum ¶

func GetCertInfoCategoryEnum() CertInfoCategoryEnum

type ChangeOpsWindowRequest ¶

type ChangeOpsWindowRequest struct {
	InstanceId string `json:"instance_id"`

	Body *OpsWindowRequestBody `json:"body,omitempty"`
}

func (ChangeOpsWindowRequest) String ¶

func (o ChangeOpsWindowRequest) String() string

type ChangeOpsWindowResponse ¶

type ChangeOpsWindowResponse struct {
	HttpStatusCode int `json:"-"`
}

func (ChangeOpsWindowResponse) String ¶

func (o ChangeOpsWindowResponse) String() string

type ChargeInfoOption ¶

type ChargeInfoOption struct {
	ChargeMode string `json:"charge_mode"`

	PeriodType *string `json:"period_type,omitempty"`

	PeriodNum *int32 `json:"period_num,omitempty"`

	IsAutoRenew *bool `json:"is_auto_renew,omitempty"`

	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

func (ChargeInfoOption) String ¶

func (o ChargeInfoOption) String() string

type ChargeInfoResult ¶

type ChargeInfoResult struct {
	ChargeMode *string `json:"charge_mode,omitempty"`

	PeriodType *string `json:"period_type,omitempty"`

	PeriodNum *int32 `json:"period_num,omitempty"`

	IsAutoRenew *bool `json:"is_auto_renew,omitempty"`

	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

func (ChargeInfoResult) String ¶

func (o ChargeInfoResult) String() string

type CheckPasswordRequest ¶

type CheckPasswordRequest struct {
	InstanceId string `json:"instance_id"`

	Body *CheckPasswordRequestBody `json:"body,omitempty"`
}

func (CheckPasswordRequest) String ¶

func (o CheckPasswordRequest) String() string

type CheckPasswordRequestBody ¶

type CheckPasswordRequestBody struct {
	UserPwd string `json:"user_pwd"`

	UserName *string `json:"user_name,omitempty"`

	DbName *string `json:"db_name,omitempty"`
}

func (CheckPasswordRequestBody) String ¶

func (o CheckPasswordRequestBody) String() string

type CheckPasswordResponse ¶

type CheckPasswordResponse struct {
	HttpStatusCode int `json:"-"`
}

func (CheckPasswordResponse) String ¶

func (o CheckPasswordResponse) String() string

type CheckWeakPasswordRequest ¶

type CheckWeakPasswordRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	Body *WeakPasswordCheckRequestBody `json:"body,omitempty"`
}

func (CheckWeakPasswordRequest) String ¶

func (o CheckWeakPasswordRequest) String() string

type CheckWeakPasswordResponse ¶

type CheckWeakPasswordResponse struct {
	Weak           *bool `json:"weak,omitempty"`
	HttpStatusCode int   `json:"-"`
}

func (CheckWeakPasswordResponse) String ¶

func (o CheckWeakPasswordResponse) String() string

type ClientNetworkRequestBody ¶

type ClientNetworkRequestBody struct {
	ClientNetworkRanges []string `json:"client_network_ranges"`
}

func (ClientNetworkRequestBody) String ¶

func (o ClientNetworkRequestBody) String() string

type CompareConfigurationRequest ¶

type CompareConfigurationRequest struct {
	Body *DiffConfigurationRequest `json:"body,omitempty"`
}

func (CompareConfigurationRequest) String ¶

type CompareConfigurationResponse ¶

type CompareConfigurationResponse struct {
	Differences    *[]DiffDetails `json:"differences,omitempty"`
	HttpStatusCode int            `json:"-"`
}

func (CompareConfigurationResponse) String ¶

type ConfigurationParametersResult ¶

type ConfigurationParametersResult struct {
	Name string `json:"name"`

	Value string `json:"value"`

	Description string `json:"description"`

	Type string `json:"type"`

	ValueRange string `json:"value_range"`

	RestartRequired bool `json:"restart_required"`

	Readonly bool `json:"readonly"`
}

func (ConfigurationParametersResult) String ¶

type CopyConfigurationRequest ¶

type CopyConfigurationRequest struct {
	ConfigId string `json:"config_id"`

	Body *CopyConfigurationRequestBody `json:"body,omitempty"`
}

func (CopyConfigurationRequest) String ¶

func (o CopyConfigurationRequest) String() string

type CopyConfigurationRequestBody ¶

type CopyConfigurationRequestBody struct {
	Name string `json:"name"`

	Description *string `json:"description,omitempty"`
}

func (CopyConfigurationRequestBody) String ¶

type CopyConfigurationResponse ¶

type CopyConfigurationResponse struct {
	ConfigurationId *string `json:"configuration_id,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

func (CopyConfigurationResponse) String ¶

func (o CopyConfigurationResponse) String() string

type CreateConfigurationRequest ¶

type CreateConfigurationRequest struct {
	Body *CreateConfigurationRequestBody `json:"body,omitempty"`
}

func (CreateConfigurationRequest) String ¶

type CreateConfigurationRequestBody ¶

type CreateConfigurationRequestBody struct {
	Name string `json:"name"`

	Description string `json:"description"`

	ParameterValues map[string]string `json:"parameter_values"`

	Datastore *DatastoreResult `json:"datastore"`
}

func (CreateConfigurationRequestBody) String ¶

type CreateConfigurationResponse ¶

type CreateConfigurationResponse struct {
	Configuration  *ParamGroupInfoResult `json:"configuration,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

func (CreateConfigurationResponse) String ¶

type CreateDatabaseRoleRequest ¶

type CreateDatabaseRoleRequest struct {
	InstanceId string `json:"instance_id"`

	Body *CreateDatabaseRoleRequestBody `json:"body,omitempty"`
}

func (CreateDatabaseRoleRequest) String ¶

func (o CreateDatabaseRoleRequest) String() string

type CreateDatabaseRoleRequestBody ¶

type CreateDatabaseRoleRequestBody struct {
	RoleName string `json:"role_name"`

	DbName *string `json:"db_name,omitempty"`

	Roles *[]RolesOption `json:"roles,omitempty"`
}

func (CreateDatabaseRoleRequestBody) String ¶

type CreateDatabaseRoleResponse ¶

type CreateDatabaseRoleResponse struct {
	HttpStatusCode int `json:"-"`
}

func (CreateDatabaseRoleResponse) String ¶

type CreateDatabaseUserRequest ¶

type CreateDatabaseUserRequest struct {
	InstanceId string `json:"instance_id"`

	Body *CreateDatabaseUserRequestBody `json:"body,omitempty"`
}

func (CreateDatabaseUserRequest) String ¶

func (o CreateDatabaseUserRequest) String() string

type CreateDatabaseUserRequestBody ¶

type CreateDatabaseUserRequestBody struct {
	UserName string `json:"user_name"`

	UserPwd string `json:"user_pwd"`

	DbName *string `json:"db_name,omitempty"`

	Roles []RolesOption `json:"roles"`
}

func (CreateDatabaseUserRequestBody) String ¶

type CreateDatabaseUserResponse ¶

type CreateDatabaseUserResponse struct {
	HttpStatusCode int `json:"-"`
}

func (CreateDatabaseUserResponse) String ¶

type CreateInstanceConfigurationsOption ¶

type CreateInstanceConfigurationsOption struct {
	Type CreateInstanceConfigurationsOptionType `json:"type"`

	ConfigurationId string `json:"configuration_id"`
}

func (CreateInstanceConfigurationsOption) String ¶

type CreateInstanceConfigurationsOptionType ¶

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

func (CreateInstanceConfigurationsOptionType) MarshalJSON ¶

func (c CreateInstanceConfigurationsOptionType) MarshalJSON() ([]byte, error)

func (*CreateInstanceConfigurationsOptionType) UnmarshalJSON ¶

func (c *CreateInstanceConfigurationsOptionType) UnmarshalJSON(b []byte) error

func (CreateInstanceConfigurationsOptionType) Value ¶

type CreateInstanceFlavorOption ¶

type CreateInstanceFlavorOption struct {
	Type CreateInstanceFlavorOptionType `json:"type"`

	Num string `json:"num"`

	Storage *string `json:"storage,omitempty"`

	Size *string `json:"size,omitempty"`

	SpecCode string `json:"spec_code"`
}

func (CreateInstanceFlavorOption) String ¶

type CreateInstanceFlavorOptionType ¶

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

func (CreateInstanceFlavorOptionType) MarshalJSON ¶

func (c CreateInstanceFlavorOptionType) MarshalJSON() ([]byte, error)

func (*CreateInstanceFlavorOptionType) UnmarshalJSON ¶

func (c *CreateInstanceFlavorOptionType) UnmarshalJSON(b []byte) error

func (CreateInstanceFlavorOptionType) Value ¶

type CreateInstanceRequest ¶

type CreateInstanceRequest struct {
	Body *CreateInstanceRequestBody `json:"body,omitempty"`
}

func (CreateInstanceRequest) String ¶

func (o CreateInstanceRequest) String() string

type CreateInstanceRequestBody ¶

type CreateInstanceRequestBody struct {
	Name string `json:"name"`

	Datastore *Datastore `json:"datastore"`

	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"`

	Port *string `json:"port,omitempty"`

	Password *string `json:"password,omitempty"`

	DiskEncryptionId *string `json:"disk_encryption_id,omitempty"`

	Mode string `json:"mode"`

	Configurations *[]CreateInstanceConfigurationsOption `json:"configurations,omitempty"`

	Flavor []CreateInstanceFlavorOption `json:"flavor"`

	BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	SslOption *string `json:"ssl_option,omitempty"`

	DssPoolId *string `json:"dss_pool_id,omitempty"`

	ServerGroupPolicies *[]string `json:"server_group_policies,omitempty"`

	Tags *[]TagWithKeyValue `json:"tags,omitempty"`

	ChargeInfo *ChargeInfoOption `json:"charge_info,omitempty"`
}

func (CreateInstanceRequestBody) String ¶

func (o CreateInstanceRequestBody) String() string

type CreateInstanceResponse ¶

type CreateInstanceResponse struct {
	Id *string `json:"id,omitempty"`

	Datastore *Datastore `json:"datastore,omitempty"`

	Name *string `json:"name,omitempty"`

	Created *string `json:"created,omitempty"`

	Status *string `json:"status,omitempty"`

	Region *string `json:"region,omitempty"`

	AvailabilityZone *string `json:"availability_zone,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`

	Port *int64 `json:"port,omitempty"`

	DiskEncryptionId *string `json:"disk_encryption_id,omitempty"`

	Mode *string `json:"mode,omitempty"`

	Configurations *[]CreateInstanceConfigurationsOption `json:"configurations,omitempty"`

	Flavor *[]CreateInstanceFlavorOption `json:"flavor,omitempty"`

	BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	SslOption *string `json:"ssl_option,omitempty"`

	DssPoolId *string `json:"dss_pool_id,omitempty"`

	JobId *string `json:"job_id,omitempty"`

	Tags *[]TagWithKeyValue `json:"tags,omitempty"`

	OrderId *string `json:"order_id,omitempty"`

	ChargeInfo     *ChargeInfoResult `json:"charge_info,omitempty"`
	HttpStatusCode int               `json:"-"`
}

func (CreateInstanceResponse) String ¶

func (o CreateInstanceResponse) String() string

type CreateIpRequest ¶

type CreateIpRequest struct {
	InstanceId string `json:"instance_id"`

	Body *CreateIpRequestBody `json:"body,omitempty"`
}

func (CreateIpRequest) String ¶

func (o CreateIpRequest) String() string

type CreateIpRequestBody ¶

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

	TargetId *string `json:"target_id,omitempty"`

	Password string `json:"password"`
}

func (CreateIpRequestBody) String ¶

func (o CreateIpRequestBody) String() string

type CreateIpResponse ¶

type CreateIpResponse struct {
	HttpStatusCode int `json:"-"`
}

func (CreateIpResponse) String ¶

func (o CreateIpResponse) String() string

type CreateManualBackupOption ¶

type CreateManualBackupOption struct {
	InstanceId string `json:"instance_id"`

	Name string `json:"name"`

	Description *string `json:"description,omitempty"`
}

func (CreateManualBackupOption) String ¶

func (o CreateManualBackupOption) String() string

type CreateManualBackupRequest ¶

type CreateManualBackupRequest struct {
	Body *CreateManualBackupRequestBody `json:"body,omitempty"`
}

func (CreateManualBackupRequest) String ¶

func (o CreateManualBackupRequest) String() string

type CreateManualBackupRequestBody ¶

type CreateManualBackupRequestBody struct {
	Backup *CreateManualBackupOption `json:"backup"`
}

func (CreateManualBackupRequestBody) String ¶

type CreateManualBackupResponse ¶

type CreateManualBackupResponse struct {
	JobId *string `json:"job_id,omitempty"`

	BackupId       *string `json:"backup_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (CreateManualBackupResponse) String ¶

type Datastore ¶

type Datastore struct {
	Type DatastoreType `json:"type"`

	Version string `json:"version"`

	StorageEngine DatastoreStorageEngine `json:"storage_engine"`
}

func (Datastore) String ¶

func (o Datastore) String() string

type DatastoreItem ¶

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

	Version string `json:"version"`

	PatchAvailable bool `json:"patch_available"`
}

func (DatastoreItem) String ¶

func (o DatastoreItem) String() string

type DatastoreResult ¶

type DatastoreResult struct {
	NodeType string `json:"node_type"`

	Version string `json:"version"`
}

func (DatastoreResult) String ¶

func (o DatastoreResult) String() string

type DatastoreStorageEngine ¶

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

func (DatastoreStorageEngine) MarshalJSON ¶

func (c DatastoreStorageEngine) MarshalJSON() ([]byte, error)

func (*DatastoreStorageEngine) UnmarshalJSON ¶

func (c *DatastoreStorageEngine) UnmarshalJSON(b []byte) error

func (DatastoreStorageEngine) Value ¶

func (c DatastoreStorageEngine) Value() string

type DatastoreStorageEngineEnum ¶

type DatastoreStorageEngineEnum struct {
	WIRED_TIGER DatastoreStorageEngine
	ROCKS_DB    DatastoreStorageEngine
}

func GetDatastoreStorageEngineEnum ¶

func GetDatastoreStorageEngineEnum() DatastoreStorageEngineEnum

type DatastoreType ¶

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

func (DatastoreType) MarshalJSON ¶

func (c DatastoreType) MarshalJSON() ([]byte, error)

func (*DatastoreType) UnmarshalJSON ¶

func (c *DatastoreType) UnmarshalJSON(b []byte) error

func (DatastoreType) Value ¶

func (c DatastoreType) Value() string

type DatastoreTypeEnum ¶

type DatastoreTypeEnum struct {
	DDS_COMMUNITY DatastoreType
}

func GetDatastoreTypeEnum ¶

func GetDatastoreTypeEnum() DatastoreTypeEnum

type DeleteAuditLogRequest ¶

type DeleteAuditLogRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	Body *DeleteAuditLogRequestBody `json:"body,omitempty"`
}

func (DeleteAuditLogRequest) String ¶

func (o DeleteAuditLogRequest) String() string

type DeleteAuditLogRequestBody ¶

type DeleteAuditLogRequestBody struct {
	FileNames []string `json:"file_names"`
}

func (DeleteAuditLogRequestBody) String ¶

func (o DeleteAuditLogRequestBody) String() string

type DeleteAuditLogResponse ¶

type DeleteAuditLogResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (DeleteAuditLogResponse) String ¶

func (o DeleteAuditLogResponse) String() string

type DeleteConfigurationRequest ¶

type DeleteConfigurationRequest struct {
	ConfigId string `json:"config_id"`
}

func (DeleteConfigurationRequest) String ¶

type DeleteConfigurationResponse ¶

type DeleteConfigurationResponse struct {
	HttpStatusCode int `json:"-"`
}

func (DeleteConfigurationResponse) String ¶

type DeleteDatabaseRoleRequest ¶

type DeleteDatabaseRoleRequest struct {
	InstanceId string `json:"instance_id"`

	Body *DeleteDatabaseRoleRequestBody `json:"body,omitempty"`
}

func (DeleteDatabaseRoleRequest) String ¶

func (o DeleteDatabaseRoleRequest) String() string

type DeleteDatabaseRoleRequestBody ¶

type DeleteDatabaseRoleRequestBody struct {
	RoleName string `json:"role_name"`

	DbName string `json:"db_name"`
}

func (DeleteDatabaseRoleRequestBody) String ¶

type DeleteDatabaseRoleResponse ¶

type DeleteDatabaseRoleResponse struct {
	HttpStatusCode int `json:"-"`
}

func (DeleteDatabaseRoleResponse) String ¶

type DeleteDatabaseUserRequest ¶

type DeleteDatabaseUserRequest struct {
	InstanceId string `json:"instance_id"`

	Body *DeleteDatabaseUserRequestBody `json:"body,omitempty"`
}

func (DeleteDatabaseUserRequest) String ¶

func (o DeleteDatabaseUserRequest) String() string

type DeleteDatabaseUserRequestBody ¶

type DeleteDatabaseUserRequestBody struct {
	UserName string `json:"user_name"`

	DbName string `json:"db_name"`
}

func (DeleteDatabaseUserRequestBody) String ¶

type DeleteDatabaseUserResponse ¶

type DeleteDatabaseUserResponse struct {
	HttpStatusCode int `json:"-"`
}

func (DeleteDatabaseUserResponse) String ¶

type DeleteInstanceRequest ¶

type DeleteInstanceRequest struct {
	InstanceId string `json:"instance_id"`
}

func (DeleteInstanceRequest) String ¶

func (o DeleteInstanceRequest) String() string

type DeleteInstanceResponse ¶

type DeleteInstanceResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (DeleteInstanceResponse) String ¶

func (o DeleteInstanceResponse) String() string

type DeleteManualBackupRequest ¶

type DeleteManualBackupRequest struct {
	BackupId string `json:"backup_id"`
}

func (DeleteManualBackupRequest) String ¶

func (o DeleteManualBackupRequest) String() string

type DeleteManualBackupResponse ¶

type DeleteManualBackupResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (DeleteManualBackupResponse) String ¶

type DeleteSessionRequest ¶

type DeleteSessionRequest struct {
	NodeId string `json:"node_id"`

	Body *DeleteSessionRequestBody `json:"body,omitempty"`
}

func (DeleteSessionRequest) String ¶

func (o DeleteSessionRequest) String() string

type DeleteSessionRequestBody ¶

type DeleteSessionRequestBody struct {
	Sessions []string `json:"sessions"`
}

func (DeleteSessionRequestBody) String ¶

func (o DeleteSessionRequestBody) String() string

type DeleteSessionResponse ¶

type DeleteSessionResponse struct {
	HttpStatusCode int `json:"-"`
}

func (DeleteSessionResponse) String ¶

func (o DeleteSessionResponse) String() string

type DiffConfigurationRequest ¶

type DiffConfigurationRequest struct {
	SourceConfigurationId string `json:"source_configuration_id"`

	TargetConfigurationId string `json:"target_configuration_id"`
}

func (DiffConfigurationRequest) String ¶

func (o DiffConfigurationRequest) String() string

type DiffDetails ¶

type DiffDetails struct {
	ParameterName string `json:"parameter_name"`

	SourceValue string `json:"source_value"`

	TargetValue string `json:"target_value"`
}

func (DiffDetails) String ¶

func (o DiffDetails) String() string

type DiskVolumes ¶

type DiskVolumes struct {
	EntityId string `json:"entity_id"`

	EntityName string `json:"entity_name"`

	GroupType string `json:"group_type"`

	Used string `json:"used"`

	Size string `json:"size"`
}

func (DiskVolumes) String ¶

func (o DiskVolumes) String() string

type DownloadErrorlogRequest ¶

type DownloadErrorlogRequest struct {
	InstanceId string `json:"instance_id"`

	Body *DownloadErrorlogRequestBody `json:"body,omitempty"`
}

func (DownloadErrorlogRequest) String ¶

func (o DownloadErrorlogRequest) String() string

type DownloadErrorlogRequestBody ¶

type DownloadErrorlogRequestBody struct {
	FileNameList *[]string `json:"file_name_list,omitempty"`

	NodeIdList *[]string `json:"node_id_list,omitempty"`
}

func (DownloadErrorlogRequestBody) String ¶

type DownloadErrorlogResponse ¶

type DownloadErrorlogResponse struct {
	List *[]DownloadSlowlogResult `json:"list,omitempty"`

	Status *string `json:"status,omitempty"`

	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (DownloadErrorlogResponse) String ¶

func (o DownloadErrorlogResponse) String() string

type DownloadSlowlogRequest ¶

type DownloadSlowlogRequest struct {
	InstanceId string `json:"instance_id"`

	Body *DownloadSlowlogRequestBody `json:"body,omitempty"`
}

func (DownloadSlowlogRequest) String ¶

func (o DownloadSlowlogRequest) String() string

type DownloadSlowlogRequestBody ¶

type DownloadSlowlogRequestBody struct {
	FileNameList *[]string `json:"file_name_list,omitempty"`

	NodeIdList *[]string `json:"node_id_list,omitempty"`
}

func (DownloadSlowlogRequestBody) String ¶

type DownloadSlowlogResponse ¶

type DownloadSlowlogResponse struct {
	List *[]DownloadSlowlogResult `json:"list,omitempty"`

	Status *string `json:"status,omitempty"`

	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (DownloadSlowlogResponse) String ¶

func (o DownloadSlowlogResponse) String() string

type DownloadSlowlogResult ¶

type DownloadSlowlogResult struct {
	NodeName string `json:"node_name"`

	FileName string `json:"file_name"`

	Status string `json:"status"`

	FileSize string `json:"file_size"`

	FileLink string `json:"file_link"`

	UpdateAt int64 `json:"update_at"`
}

func (DownloadSlowlogResult) String ¶

func (o DownloadSlowlogResult) String() string

type DssPoolInfo ¶

type DssPoolInfo struct {
	AzName string `json:"az_name"`

	FreeCapacityGb string `json:"free_capacity_gb"`

	DssPoolVolumeType string `json:"dss_pool_volume_type"`

	DssPoolId string `json:"dss_pool_id"`

	DssPoolStatus string `json:"dss_pool_status"`
}

func (DssPoolInfo) String ¶

func (o DssPoolInfo) String() string

type DurationStrategies ¶

type DurationStrategies struct {
	Strategy string `json:"strategy"`

	EstimatedUpgradeDuration int32 `json:"estimated_upgrade_duration"`
}

func (DurationStrategies) String ¶

func (o DurationStrategies) String() string

type EnlargeInstanceRequestBody ¶

type EnlargeInstanceRequestBody struct {
	Type EnlargeInstanceRequestBodyType `json:"type"`

	SpecCode string `json:"spec_code"`

	Num string `json:"num"`

	Volume *AddShardingNodeVolumeOption `json:"volume,omitempty"`

	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

func (EnlargeInstanceRequestBody) String ¶

type EnlargeInstanceRequestBodyType ¶

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

func (EnlargeInstanceRequestBodyType) MarshalJSON ¶

func (c EnlargeInstanceRequestBodyType) MarshalJSON() ([]byte, error)

func (*EnlargeInstanceRequestBodyType) UnmarshalJSON ¶

func (c *EnlargeInstanceRequestBodyType) UnmarshalJSON(b []byte) error

func (EnlargeInstanceRequestBodyType) Value ¶

type EnlargeInstanceRequestBodyTypeEnum ¶

type EnlargeInstanceRequestBodyTypeEnum struct {
	MONGOS EnlargeInstanceRequestBodyType
	SHARD  EnlargeInstanceRequestBodyType
}

func GetEnlargeInstanceRequestBodyTypeEnum ¶

func GetEnlargeInstanceRequestBodyTypeEnum() EnlargeInstanceRequestBodyTypeEnum

type EnlargeReplicasetNodeRequestBody ¶

type EnlargeReplicasetNodeRequestBody struct {
	Num int32 `json:"num"`

	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

func (EnlargeReplicasetNodeRequestBody) String ¶

type EntityConfigurationParametersResult ¶

type EntityConfigurationParametersResult struct {
	Name string `json:"name"`

	Value string `json:"value"`

	ValueRange string `json:"value_range"`

	RestartRequired bool `json:"restart_required"`

	Readonly bool `json:"readonly"`

	Type string `json:"type"`

	Description string `json:"description"`
}

func (EntityConfigurationParametersResult) String ¶

type EntityInfo ¶

type EntityInfo struct {
	EntityId string `json:"entity_id"`

	EntityName string `json:"entity_name"`
}

func (EntityInfo) String ¶

func (o EntityInfo) String() string

type ErrorResponse ¶

type ErrorResponse struct {
	ErrorCode string `json:"error_code"`

	ErrorMsg string `json:"error_msg"`
}

func (ErrorResponse) String ¶

func (o ErrorResponse) String() string

type ErrorlogResult ¶

type ErrorlogResult struct {
	NodeName string `json:"node_name"`

	Level string `json:"level"`

	Time string `json:"time"`

	Content string `json:"content"`
}

func (ErrorlogResult) String ¶

func (o ErrorlogResult) String() string

type ExpandReplicasetNodeRequest ¶

type ExpandReplicasetNodeRequest struct {
	InstanceId string `json:"instance_id"`

	Body *EnlargeReplicasetNodeRequestBody `json:"body,omitempty"`
}

func (ExpandReplicasetNodeRequest) String ¶

type ExpandReplicasetNodeResponse ¶

type ExpandReplicasetNodeResponse struct {
	JobId *string `json:"job_id,omitempty"`

	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ExpandReplicasetNodeResponse) String ¶

type Flavor ¶

type Flavor struct {
	EngineName string `json:"engine_name"`

	Type string `json:"type"`

	Vcpus string `json:"vcpus"`

	Ram string `json:"ram"`

	SpecCode string `json:"spec_code"`

	AzStatus *interface{} `json:"az_status"`
}

func (Flavor) String ¶

func (o Flavor) String() string

type FlavorInfo ¶

type FlavorInfo struct {
	EngineName string `json:"engine_name"`

	Type string `json:"type"`

	Vcpus string `json:"vcpus"`

	Ram string `json:"ram"`

	SpecCode string `json:"spec_code"`

	AzStatus *interface{} `json:"az_status"`

	EngineVersions []string `json:"engine_versions"`
}

func (FlavorInfo) String ¶

func (o FlavorInfo) String() string

type GetBackupDownloadLinkResponseBodyFiles ¶

type GetBackupDownloadLinkResponseBodyFiles struct {
	Name string `json:"name"`

	Size int64 `json:"size"`

	DownloadLink string `json:"download_link"`

	LinkExpiredTime string `json:"link_expired_time"`
}

func (GetBackupDownloadLinkResponseBodyFiles) String ¶

type GroupResponseItem ¶

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

	Id string `json:"id"`

	Name string `json:"name"`

	Status string `json:"status"`

	Volume *Volume `json:"volume"`

	Nodes []NodeItem `json:"nodes"`
}

func (GroupResponseItem) String ¶

func (o GroupResponseItem) String() string

type HistoryInfo ¶

type HistoryInfo struct {
	ParameterName string `json:"parameter_name"`

	OldValue string `json:"old_value"`

	NewValue string `json:"new_value"`

	UpdatedAt string `json:"updated_at"`
}

func (HistoryInfo) String ¶

func (o HistoryInfo) String() string

type InstanceItem ¶

type InstanceItem struct {
	InstanceId string `json:"instance_id"`

	InstanceName string `json:"instance_name"`

	Tags []InstanceItemTagItem `json:"tags"`
}

func (InstanceItem) String ¶

func (o InstanceItem) String() string

type InstanceItemTagItem ¶

type InstanceItemTagItem struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

func (InstanceItemTagItem) String ¶

func (o InstanceItemTagItem) String() string

type JobDetail ¶

type JobDetail struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Status string `json:"status"`

	Created string `json:"created"`

	Ended string `json:"ended"`

	Progress string `json:"progress"`

	Instance *JobInstanceInfo `json:"instance"`

	FailReason string `json:"fail_reason"`
}

func (JobDetail) String ¶

func (o JobDetail) String() string

type JobInfo ¶

type JobInfo struct {
	Id string `json:"id"`

	Name string `json:"name"`

	InstanceId string `json:"instance_id"`

	InstanceName string `json:"instance_name"`

	Status string `json:"status"`

	Progress string `json:"progress"`

	FailReason string `json:"fail_reason"`

	CreatedAt string `json:"created_at"`

	EndedAt string `json:"ended_at"`
}

func (JobInfo) String ¶

func (o JobInfo) String() string

type JobInstanceInfo ¶

type JobInstanceInfo struct {
	Id string `json:"id"`

	Name string `json:"name"`
}

func (JobInstanceInfo) String ¶

func (o JobInstanceInfo) String() string
type Links struct {
	Href *string `json:"href,omitempty"`

	Rel *string `json:"rel,omitempty"`
}

func (Links) String ¶

func (o Links) String() string

type ListApiVersionRequest ¶

type ListApiVersionRequest struct {
}

func (ListApiVersionRequest) String ¶

func (o ListApiVersionRequest) String() string

type ListApiVersionResponse ¶

type ListApiVersionResponse struct {
	Versions       *[]ApiVersion `json:"versions,omitempty"`
	HttpStatusCode int           `json:"-"`
}

func (ListApiVersionResponse) String ¶

func (o ListApiVersionResponse) String() string

type ListAppliedInstancesRequest ¶

type ListAppliedInstancesRequest struct {
	ConfigId string `json:"config_id"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ListAppliedInstancesRequest) String ¶

type ListAppliedInstancesResponse ¶

type ListAppliedInstancesResponse struct {
	Instances      *[]ApplicableInstancesInfo `json:"instances,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

func (ListAppliedInstancesResponse) String ¶

type ListAuditlogLinksRequest ¶

type ListAuditlogLinksRequest struct {
	InstanceId string `json:"instance_id"`

	Body *ProduceAuditlogLinksRequestBody `json:"body,omitempty"`
}

func (ListAuditlogLinksRequest) String ¶

func (o ListAuditlogLinksRequest) String() string

type ListAuditlogLinksResponse ¶

type ListAuditlogLinksResponse struct {
	Links          *[]string `json:"links,omitempty"`
	HttpStatusCode int       `json:"-"`
}

func (ListAuditlogLinksResponse) String ¶

func (o ListAuditlogLinksResponse) String() string

type ListAuditlogsRequest ¶

type ListAuditlogsRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	NodeId *string `json:"node_id,omitempty"`

	StartTime string `json:"start_time"`

	EndTime string `json:"end_time"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ListAuditlogsRequest) String ¶

func (o ListAuditlogsRequest) String() string

type ListAuditlogsResponse ¶

type ListAuditlogsResponse struct {
	TotalRecord *int32 `json:"total_record,omitempty"`

	AuditLogs      *[]ListAuditlogsResult `json:"audit_logs,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

func (ListAuditlogsResponse) String ¶

func (o ListAuditlogsResponse) String() string

type ListAuditlogsResult ¶

type ListAuditlogsResult struct {
	NodeId string `json:"node_id"`

	Id string `json:"id"`

	Name string `json:"name"`

	Size int64 `json:"size"`

	StartTime string `json:"start_time"`

	EndTime string `json:"end_time"`
}

func (ListAuditlogsResult) String ¶

func (o ListAuditlogsResult) String() string

type ListAz2MigrateRequest ¶

type ListAz2MigrateRequest struct {
	InstanceId string `json:"instance_id"`
}

func (ListAz2MigrateRequest) String ¶

func (o ListAz2MigrateRequest) String() string

type ListAz2MigrateResponse ¶

type ListAz2MigrateResponse struct {
	AzList         *[]Az2Migrate `json:"az_list,omitempty"`
	HttpStatusCode int           `json:"-"`
}

func (ListAz2MigrateResponse) String ¶

func (o ListAz2MigrateResponse) String() string

type ListBackupsRequest ¶

type ListBackupsRequest struct {
	InstanceId *string `json:"instance_id,omitempty"`

	BackupId *string `json:"backup_id,omitempty"`

	BackupType *ListBackupsRequestBackupType `json:"backup_type,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	Mode *ListBackupsRequestMode `json:"mode,omitempty"`
}

func (ListBackupsRequest) String ¶

func (o ListBackupsRequest) String() string

type ListBackupsRequestBackupType ¶

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

func (ListBackupsRequestBackupType) MarshalJSON ¶

func (c ListBackupsRequestBackupType) MarshalJSON() ([]byte, error)

func (*ListBackupsRequestBackupType) UnmarshalJSON ¶

func (c *ListBackupsRequestBackupType) UnmarshalJSON(b []byte) error

func (ListBackupsRequestBackupType) Value ¶

type ListBackupsRequestBackupTypeEnum ¶

type ListBackupsRequestBackupTypeEnum struct {
	AUTO        ListBackupsRequestBackupType
	MANUAL      ListBackupsRequestBackupType
	INCREMENTAL ListBackupsRequestBackupType
}

func GetListBackupsRequestBackupTypeEnum ¶

func GetListBackupsRequestBackupTypeEnum() ListBackupsRequestBackupTypeEnum

type ListBackupsRequestMode ¶

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

func (ListBackupsRequestMode) MarshalJSON ¶

func (c ListBackupsRequestMode) MarshalJSON() ([]byte, error)

func (*ListBackupsRequestMode) UnmarshalJSON ¶

func (c *ListBackupsRequestMode) UnmarshalJSON(b []byte) error

func (ListBackupsRequestMode) Value ¶

func (c ListBackupsRequestMode) Value() string

type ListBackupsRequestModeEnum ¶

type ListBackupsRequestModeEnum struct {
	SHARDING    ListBackupsRequestMode
	REPLICA_SET ListBackupsRequestMode
	SINGLE      ListBackupsRequestMode
}

func GetListBackupsRequestModeEnum ¶

func GetListBackupsRequestModeEnum() ListBackupsRequestModeEnum

type ListBackupsResponse ¶

type ListBackupsResponse struct {
	Backups *[]BackupForList `json:"backups,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (ListBackupsResponse) String ¶

func (o ListBackupsResponse) String() string

type ListConfigurationsRequest ¶

type ListConfigurationsRequest struct {
	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ListConfigurationsRequest) String ¶

func (o ListConfigurationsRequest) String() string

type ListConfigurationsResponse ¶

type ListConfigurationsResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	Configurations *[]ListConfigurationsResult `json:"configurations,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

func (ListConfigurationsResponse) String ¶

type ListConfigurationsResult ¶

type ListConfigurationsResult struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Description string `json:"description"`

	DatastoreVersion string `json:"datastore_version"`

	DatastoreName string `json:"datastore_name"`

	NodeType string `json:"node_type"`

	Created string `json:"created"`

	Updated string `json:"updated"`

	UserDefined bool `json:"user_defined"`
}

func (ListConfigurationsResult) String ¶

func (o ListConfigurationsResult) String() string

type ListDatabaseRolesRequest ¶

type ListDatabaseRolesRequest struct {
	InstanceId string `json:"instance_id"`

	RoleName *string `json:"role_name,omitempty"`

	DbName *string `json:"db_name,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ListDatabaseRolesRequest) String ¶

func (o ListDatabaseRolesRequest) String() string

type ListDatabaseRolesResponse ¶

type ListDatabaseRolesResponse struct {
	Roles *string `json:"roles,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (ListDatabaseRolesResponse) String ¶

func (o ListDatabaseRolesResponse) String() string

type ListDatabaseUsersRequest ¶

type ListDatabaseUsersRequest struct {
	InstanceId string `json:"instance_id"`

	UserName *string `json:"user_name,omitempty"`

	DbName *string `json:"db_name,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ListDatabaseUsersRequest) String ¶

func (o ListDatabaseUsersRequest) String() string

type ListDatabaseUsersResponse ¶

type ListDatabaseUsersResponse struct {
	Users *string `json:"users,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (ListDatabaseUsersResponse) String ¶

func (o ListDatabaseUsersResponse) String() string

type ListDatastoreVersionsRequest ¶

type ListDatastoreVersionsRequest struct {
	DatastoreName ListDatastoreVersionsRequestDatastoreName `json:"datastore_name"`
}

func (ListDatastoreVersionsRequest) String ¶

type ListDatastoreVersionsRequestDatastoreName ¶

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

func (ListDatastoreVersionsRequestDatastoreName) MarshalJSON ¶

func (*ListDatastoreVersionsRequestDatastoreName) UnmarshalJSON ¶

func (ListDatastoreVersionsRequestDatastoreName) Value ¶

type ListDatastoreVersionsRequestDatastoreNameEnum ¶

type ListDatastoreVersionsRequestDatastoreNameEnum struct {
	DDS_COMMUNITY ListDatastoreVersionsRequestDatastoreName
	DDS_ENHANCED  ListDatastoreVersionsRequestDatastoreName
}

func GetListDatastoreVersionsRequestDatastoreNameEnum ¶

func GetListDatastoreVersionsRequestDatastoreNameEnum() ListDatastoreVersionsRequestDatastoreNameEnum

type ListDatastoreVersionsResponse ¶

type ListDatastoreVersionsResponse struct {
	Versions       *[]string `json:"versions,omitempty"`
	HttpStatusCode int       `json:"-"`
}

func (ListDatastoreVersionsResponse) String ¶

type ListErrorLogsRequest ¶

type ListErrorLogsRequest struct {
	InstanceId string `json:"instance_id"`

	StartDate string `json:"start_date"`

	EndDate string `json:"end_date"`

	NodeId *string `json:"node_id,omitempty"`

	Type *ListErrorLogsRequestType `json:"type,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ListErrorLogsRequest) String ¶

func (o ListErrorLogsRequest) String() string

type ListErrorLogsRequestType ¶

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

func (ListErrorLogsRequestType) MarshalJSON ¶

func (c ListErrorLogsRequestType) MarshalJSON() ([]byte, error)

func (*ListErrorLogsRequestType) UnmarshalJSON ¶

func (c *ListErrorLogsRequestType) UnmarshalJSON(b []byte) error

func (ListErrorLogsRequestType) Value ¶

func (c ListErrorLogsRequestType) Value() string

type ListErrorLogsRequestTypeEnum ¶

type ListErrorLogsRequestTypeEnum struct {
	WARNING ListErrorLogsRequestType
	ERROR   ListErrorLogsRequestType
}

func GetListErrorLogsRequestTypeEnum ¶

func GetListErrorLogsRequestTypeEnum() ListErrorLogsRequestTypeEnum

type ListErrorLogsResponse ¶

type ListErrorLogsResponse struct {
	ErrorLogList *[]ErrorlogResult `json:"error_log_list,omitempty"`

	TotalRecord    *int32 `json:"total_record,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (ListErrorLogsResponse) String ¶

func (o ListErrorLogsResponse) String() string

type ListFlavorInfosRequest ¶

type ListFlavorInfosRequest struct {
	EngineName *ListFlavorInfosRequestEngineName `json:"engine_name,omitempty"`

	EngineVersion *string `json:"engine_version,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ListFlavorInfosRequest) String ¶

func (o ListFlavorInfosRequest) String() string

type ListFlavorInfosRequestEngineName ¶

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

func (ListFlavorInfosRequestEngineName) MarshalJSON ¶

func (c ListFlavorInfosRequestEngineName) MarshalJSON() ([]byte, error)

func (*ListFlavorInfosRequestEngineName) UnmarshalJSON ¶

func (c *ListFlavorInfosRequestEngineName) UnmarshalJSON(b []byte) error

func (ListFlavorInfosRequestEngineName) Value ¶

type ListFlavorInfosRequestEngineNameEnum ¶

type ListFlavorInfosRequestEngineNameEnum struct {
	DDS_COMMUNITY ListFlavorInfosRequestEngineName
	DDS_ENHANCED  ListFlavorInfosRequestEngineName
}

func GetListFlavorInfosRequestEngineNameEnum ¶

func GetListFlavorInfosRequestEngineNameEnum() ListFlavorInfosRequestEngineNameEnum

type ListFlavorInfosResponse ¶

type ListFlavorInfosResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	Flavors        *[]FlavorInfo `json:"flavors,omitempty"`
	HttpStatusCode int           `json:"-"`
}

func (ListFlavorInfosResponse) String ¶

func (o ListFlavorInfosResponse) String() string

type ListFlavorsRequest ¶

type ListFlavorsRequest struct {
	Region *string `json:"region,omitempty"`

	EngineName *ListFlavorsRequestEngineName `json:"engine_name,omitempty"`
}

func (ListFlavorsRequest) String ¶

func (o ListFlavorsRequest) String() string

type ListFlavorsRequestEngineName ¶

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

func (ListFlavorsRequestEngineName) MarshalJSON ¶

func (c ListFlavorsRequestEngineName) MarshalJSON() ([]byte, error)

func (*ListFlavorsRequestEngineName) UnmarshalJSON ¶

func (c *ListFlavorsRequestEngineName) UnmarshalJSON(b []byte) error

func (ListFlavorsRequestEngineName) Value ¶

type ListFlavorsRequestEngineNameEnum ¶

type ListFlavorsRequestEngineNameEnum struct {
	DDS_COMMUNITY ListFlavorsRequestEngineName
	DDS_ENHANCED  ListFlavorsRequestEngineName
}

func GetListFlavorsRequestEngineNameEnum ¶

func GetListFlavorsRequestEngineNameEnum() ListFlavorsRequestEngineNameEnum

type ListFlavorsResponse ¶

type ListFlavorsResponse struct {
	Flavors        *[]Flavor `json:"flavors,omitempty"`
	HttpStatusCode int       `json:"-"`
}

func (ListFlavorsResponse) String ¶

func (o ListFlavorsResponse) String() string

type ListInstanceTagsRequest ¶

type ListInstanceTagsRequest struct {
	InstanceId string `json:"instance_id"`
}

func (ListInstanceTagsRequest) String ¶

func (o ListInstanceTagsRequest) String() string

type ListInstanceTagsResponse ¶

type ListInstanceTagsResponse struct {
	Tags           *[]QueryResourceTagItem `json:"tags,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

func (ListInstanceTagsResponse) String ¶

func (o ListInstanceTagsResponse) String() string

type ListInstancesByTagsRequest ¶

type ListInstancesByTagsRequest struct {
	Body *ListInstancesByTagsRequestBody `json:"body,omitempty"`
}

func (ListInstancesByTagsRequest) String ¶

type ListInstancesByTagsRequestBody ¶

type ListInstancesByTagsRequestBody struct {
	Offset *string `json:"offset,omitempty"`

	Limit *string `json:"limit,omitempty"`

	Action ListInstancesByTagsRequestBodyAction `json:"action"`

	Matches *[]QueryMatchItem `json:"matches,omitempty"`

	Tags *[]QueryTagItem `json:"tags,omitempty"`
}

func (ListInstancesByTagsRequestBody) String ¶

type ListInstancesByTagsRequestBodyAction ¶

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

func (ListInstancesByTagsRequestBodyAction) MarshalJSON ¶

func (c ListInstancesByTagsRequestBodyAction) MarshalJSON() ([]byte, error)

func (*ListInstancesByTagsRequestBodyAction) UnmarshalJSON ¶

func (c *ListInstancesByTagsRequestBodyAction) UnmarshalJSON(b []byte) error

func (ListInstancesByTagsRequestBodyAction) Value ¶

type ListInstancesByTagsRequestBodyActionEnum ¶

type ListInstancesByTagsRequestBodyActionEnum struct {
	FILTER ListInstancesByTagsRequestBodyAction
	COUNT  ListInstancesByTagsRequestBodyAction
}

func GetListInstancesByTagsRequestBodyActionEnum ¶

func GetListInstancesByTagsRequestBodyActionEnum() ListInstancesByTagsRequestBodyActionEnum

type ListInstancesByTagsResponse ¶

type ListInstancesByTagsResponse struct {
	Instances *[]InstanceItem `json:"instances,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (ListInstancesByTagsResponse) String ¶

type ListInstancesRequest ¶

type ListInstancesRequest struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Mode *ListInstancesRequestMode `json:"mode,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"`
}

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

func (ListInstancesRequestDatastoreType) Value ¶

type ListInstancesRequestDatastoreTypeEnum ¶

type ListInstancesRequestDatastoreTypeEnum struct {
	DDS_COMMUNITY ListInstancesRequestDatastoreType
	DDS_ENHANCED  ListInstancesRequestDatastoreType
}

func GetListInstancesRequestDatastoreTypeEnum ¶

func GetListInstancesRequestDatastoreTypeEnum() ListInstancesRequestDatastoreTypeEnum

type ListInstancesRequestMode ¶

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

func (ListInstancesRequestMode) MarshalJSON ¶

func (c ListInstancesRequestMode) MarshalJSON() ([]byte, error)

func (*ListInstancesRequestMode) UnmarshalJSON ¶

func (c *ListInstancesRequestMode) UnmarshalJSON(b []byte) error

func (ListInstancesRequestMode) Value ¶

func (c ListInstancesRequestMode) Value() string

type ListInstancesRequestModeEnum ¶

type ListInstancesRequestModeEnum struct {
	SHARDING    ListInstancesRequestMode
	REPLICA_SET ListInstancesRequestMode
	SINGLE      ListInstancesRequestMode
}

func GetListInstancesRequestModeEnum ¶

func GetListInstancesRequestModeEnum() ListInstancesRequestModeEnum

type ListInstancesResponse ¶

type ListInstancesResponse struct {
	Instances *[]QueryInstanceResponse `json:"instances,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (ListInstancesResponse) String ¶

func (o ListInstancesResponse) String() string

type ListLtsSlowLogsRequest ¶

type ListLtsSlowLogsRequest struct {
	InstanceId string `json:"instance_id"`

	Body *ListLtsSlowLogsRequestBody `json:"body,omitempty"`
}

func (ListLtsSlowLogsRequest) String ¶

func (o ListLtsSlowLogsRequest) String() string

type ListLtsSlowLogsRequestBody ¶

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

	EndTime string `json:"end_time"`

	Limit int32 `json:"limit"`

	LineNum *string `json:"line_num,omitempty"`

	OperateType *ListLtsSlowLogsRequestBodyOperateType `json:"operate_type,omitempty"`

	NodeId *string `json:"node_id,omitempty"`

	Keywords *[]string `json:"keywords,omitempty"`

	DatabaseKeywords *[]string `json:"database_keywords,omitempty"`

	CollectionKeywords *[]string `json:"collection_keywords,omitempty"`

	MaxCostTime *int32 `json:"max_cost_time,omitempty"`

	MinCostTime *int32 `json:"min_cost_time,omitempty"`
}

func (ListLtsSlowLogsRequestBody) String ¶

type ListLtsSlowLogsRequestBodyOperateType ¶

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

func (ListLtsSlowLogsRequestBodyOperateType) MarshalJSON ¶

func (c ListLtsSlowLogsRequestBodyOperateType) MarshalJSON() ([]byte, error)

func (*ListLtsSlowLogsRequestBodyOperateType) UnmarshalJSON ¶

func (c *ListLtsSlowLogsRequestBodyOperateType) UnmarshalJSON(b []byte) error

func (ListLtsSlowLogsRequestBodyOperateType) Value ¶

type ListLtsSlowLogsResponse ¶

type ListLtsSlowLogsResponse struct {
	SlowLogs       *[]SlowLogDetail `json:"slow_logs,omitempty"`
	HttpStatusCode int              `json:"-"`
}

func (ListLtsSlowLogsResponse) String ¶

func (o ListLtsSlowLogsResponse) String() string

type ListProjectTagsRequest ¶

type ListProjectTagsRequest struct {
}

func (ListProjectTagsRequest) String ¶

func (o ListProjectTagsRequest) String() string

type ListProjectTagsResponse ¶

type ListProjectTagsResponse struct {
	Tags           *[]QueryProjectTagItem `json:"tags,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

func (ListProjectTagsResponse) String ¶

func (o ListProjectTagsResponse) String() string

type ListRecycleInstancesRequest ¶

type ListRecycleInstancesRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ListRecycleInstancesRequest) String ¶

type ListRecycleInstancesResponse ¶

type ListRecycleInstancesResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	Instances      *[]RecycleInstance `json:"instances,omitempty"`
	HttpStatusCode int                `json:"-"`
}

func (ListRecycleInstancesResponse) String ¶

type ListRestoreCollectionsRequest ¶

type ListRestoreCollectionsRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	DbName string `json:"db_name"`

	RestoreTime string `json:"restore_time"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ListRestoreCollectionsRequest) String ¶

type ListRestoreCollectionsResponse ¶

type ListRestoreCollectionsResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	Collections    *[]string `json:"collections,omitempty"`
	HttpStatusCode int       `json:"-"`
}

func (ListRestoreCollectionsResponse) String ¶

type ListRestoreDatabasesRequest ¶

type ListRestoreDatabasesRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	RestoreTime string `json:"restore_time"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ListRestoreDatabasesRequest) String ¶

type ListRestoreDatabasesResponse ¶

type ListRestoreDatabasesResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	Databases      *[]string `json:"databases,omitempty"`
	HttpStatusCode int       `json:"-"`
}

func (ListRestoreDatabasesResponse) String ¶

type ListRestoreTimesRequest ¶

type ListRestoreTimesRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	Date string `json:"date"`
}

func (ListRestoreTimesRequest) String ¶

func (o ListRestoreTimesRequest) String() string

type ListRestoreTimesResponse ¶

type ListRestoreTimesResponse struct {
	RestoreTime    *[]ListRestoreTimesResponseBodyRestoreTime `json:"restore_time,omitempty"`
	HttpStatusCode int                                        `json:"-"`
}

func (ListRestoreTimesResponse) String ¶

func (o ListRestoreTimesResponse) String() string

type ListRestoreTimesResponseBodyRestoreTime ¶

type ListRestoreTimesResponseBodyRestoreTime struct {
	StartTime int64 `json:"start_time"`

	EndTime int64 `json:"end_time"`
}

func (ListRestoreTimesResponseBodyRestoreTime) String ¶

type ListSessionsRequest ¶

type ListSessionsRequest struct {
	NodeId string `json:"node_id"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	PlanSummary *string `json:"plan_summary,omitempty"`

	Type *string `json:"type,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	CostTime *int32 `json:"cost_time,omitempty"`
}

func (ListSessionsRequest) String ¶

func (o ListSessionsRequest) String() string

type ListSessionsResponse ¶

type ListSessionsResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	Sessions       *[]QuerySessionResponse `json:"sessions,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

func (ListSessionsResponse) String ¶

func (o ListSessionsResponse) String() string

type ListSlowLogsRequest ¶

type ListSlowLogsRequest struct {
	InstanceId string `json:"instance_id"`

	StartDate string `json:"start_date"`

	EndDate string `json:"end_date"`

	NodeId *string `json:"node_id,omitempty"`

	Type *ListSlowLogsRequestType `json:"type,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ListSlowLogsRequest) String ¶

func (o ListSlowLogsRequest) String() string

type ListSlowLogsRequestType ¶

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

func (ListSlowLogsRequestType) MarshalJSON ¶

func (c ListSlowLogsRequestType) MarshalJSON() ([]byte, error)

func (*ListSlowLogsRequestType) UnmarshalJSON ¶

func (c *ListSlowLogsRequestType) UnmarshalJSON(b []byte) error

func (ListSlowLogsRequestType) Value ¶

func (c ListSlowLogsRequestType) Value() string

type ListSlowLogsResponse ¶

type ListSlowLogsResponse struct {
	SlowLogList *[]SlowlogResult `json:"slow_log_list,omitempty"`

	TotalRecord    *int32 `json:"total_record,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (ListSlowLogsResponse) String ¶

func (o ListSlowLogsResponse) String() string

type ListSslCertDownloadAddressRequest ¶

type ListSslCertDownloadAddressRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`
}

func (ListSslCertDownloadAddressRequest) String ¶

type ListSslCertDownloadAddressResponse ¶

type ListSslCertDownloadAddressResponse struct {
	Certs          *[]CertInfo `json:"certs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

func (ListSslCertDownloadAddressResponse) String ¶

type ListStorageTypeRequest ¶

type ListStorageTypeRequest struct {
	EngineName *ListStorageTypeRequestEngineName `json:"engine_name,omitempty"`
}

func (ListStorageTypeRequest) String ¶

func (o ListStorageTypeRequest) String() string

type ListStorageTypeRequestEngineName ¶

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

func (ListStorageTypeRequestEngineName) MarshalJSON ¶

func (c ListStorageTypeRequestEngineName) MarshalJSON() ([]byte, error)

func (*ListStorageTypeRequestEngineName) UnmarshalJSON ¶

func (c *ListStorageTypeRequestEngineName) UnmarshalJSON(b []byte) error

func (ListStorageTypeRequestEngineName) Value ¶

type ListStorageTypeRequestEngineNameEnum ¶

type ListStorageTypeRequestEngineNameEnum struct {
	DDS_COMMUNITY ListStorageTypeRequestEngineName
	DDS_ENHANCED  ListStorageTypeRequestEngineName
}

func GetListStorageTypeRequestEngineNameEnum ¶

func GetListStorageTypeRequestEngineNameEnum() ListStorageTypeRequestEngineNameEnum

type ListStorageTypeResponse ¶

type ListStorageTypeResponse struct {
	StorageType *[]Storage `json:"storage_type,omitempty"`

	DssPoolInfo    *[]DssPoolInfo `json:"dss_pool_info,omitempty"`
	HttpStatusCode int            `json:"-"`
}

func (ListStorageTypeResponse) String ¶

func (o ListStorageTypeResponse) String() string

type ListTasksRequest ¶

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

	EndTime string `json:"end_time"`

	Status *string `json:"status,omitempty"`

	Name *string `json:"name,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ListTasksRequest) String ¶

func (o ListTasksRequest) String() string

type ListTasksResponse ¶

type ListTasksResponse struct {
	Jobs *[]JobInfo `json:"jobs,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (ListTasksResponse) String ¶

func (o ListTasksResponse) String() string

type MigrateAzRequest ¶

type MigrateAzRequest struct {
	InstanceId string `json:"instance_id"`

	Body *MigrateAzRequestBody `json:"body,omitempty"`
}

func (MigrateAzRequest) String ¶

func (o MigrateAzRequest) String() string

type MigrateAzRequestBody ¶

type MigrateAzRequestBody struct {
	TargetAzs string `json:"target_azs"`
}

func (MigrateAzRequestBody) String ¶

func (o MigrateAzRequestBody) String() string

type MigrateAzResponse ¶

type MigrateAzResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (MigrateAzResponse) String ¶

func (o MigrateAzResponse) String() string

type MongoUpdateReplSetV3RequestBody ¶

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

func (MongoUpdateReplSetV3RequestBody) String ¶

type NodeItem ¶

type NodeItem struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Status string `json:"status"`

	Role string `json:"role"`

	PrivateIp string `json:"private_ip"`

	PublicIp string `json:"public_ip"`

	SpecCode string `json:"spec_code"`

	AvailabilityZone string `json:"availability_zone"`
}

func (NodeItem) String ¶

func (o NodeItem) String() string

type OpsWindowRequestBody ¶

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

	EndTime string `json:"end_time"`
}

func (OpsWindowRequestBody) String ¶

func (o OpsWindowRequestBody) String() string

type ParamGroupInfoResult ¶

type ParamGroupInfoResult struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Description string `json:"description"`

	DatastoreVersion string `json:"datastore_version"`

	DatastoreName string `json:"datastore_name"`

	Created string `json:"created"`

	Updated string `json:"updated"`
}

func (ParamGroupInfoResult) String ¶

func (o ParamGroupInfoResult) String() string

type ProduceAuditlogLinksRequestBody ¶

type ProduceAuditlogLinksRequestBody struct {
	Ids []string `json:"ids"`
}

func (ProduceAuditlogLinksRequestBody) String ¶

type QueryConnectionsResponse ¶

type QueryConnectionsResponse struct {
	ClientIp string `json:"client_ip"`

	Count int32 `json:"count"`
}

func (QueryConnectionsResponse) String ¶

func (o QueryConnectionsResponse) String() string

type QueryInstanceResponse ¶

type QueryInstanceResponse struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Remark string `json:"remark"`

	Status string `json:"status"`

	Port string `json:"port"`

	Mode string `json:"mode"`

	Region string `json:"region"`

	Datastore *DatastoreItem `json:"datastore"`

	Engine string `json:"engine"`

	Created string `json:"created"`

	Updated string `json:"updated"`

	DbUserName string `json:"db_user_name"`

	Ssl int32 `json:"ssl"`

	VpcId string `json:"vpc_id"`

	SubnetId string `json:"subnet_id"`

	SecurityGroupId string `json:"security_group_id"`

	BackupStrategy *BackupStrategyForItemResponse `json:"backup_strategy"`

	PayMode *string `json:"pay_mode,omitempty"`

	MaintenanceWindow string `json:"maintenance_window"`

	Groups []GroupResponseItem `json:"groups"`

	DiskEncryptionId string `json:"disk_encryption_id"`

	EnterpriseProjectId string `json:"enterprise_project_id"`

	TimeZone string `json:"time_zone"`

	DssPoolId *string `json:"dss_pool_id,omitempty"`

	Actions []string `json:"actions"`

	OrderId *string `json:"order_id,omitempty"`

	Tags []TagResponse `json:"tags"`
}

func (QueryInstanceResponse) String ¶

func (o QueryInstanceResponse) String() string

type QueryMatchItem ¶

type QueryMatchItem struct {
	Key QueryMatchItemKey `json:"key"`

	Value string `json:"value"`
}

func (QueryMatchItem) String ¶

func (o QueryMatchItem) String() string

type QueryMatchItemKey ¶

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

func (QueryMatchItemKey) MarshalJSON ¶

func (c QueryMatchItemKey) MarshalJSON() ([]byte, error)

func (*QueryMatchItemKey) UnmarshalJSON ¶

func (c *QueryMatchItemKey) UnmarshalJSON(b []byte) error

func (QueryMatchItemKey) Value ¶

func (c QueryMatchItemKey) Value() string

type QueryMatchItemKeyEnum ¶

type QueryMatchItemKeyEnum struct {
	INSTANCE_NAME QueryMatchItemKey
	INSTANCE_ID   QueryMatchItemKey
}

func GetQueryMatchItemKeyEnum ¶

func GetQueryMatchItemKeyEnum() QueryMatchItemKeyEnum

type QueryProjectTagItem ¶

type QueryProjectTagItem struct {
	Key *string `json:"key,omitempty"`

	Values *[]string `json:"values,omitempty"`
}

func (QueryProjectTagItem) String ¶

func (o QueryProjectTagItem) String() string

type QueryResourceTagItem ¶

type QueryResourceTagItem struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

func (QueryResourceTagItem) String ¶

func (o QueryResourceTagItem) String() string

type QuerySessionResponse ¶

type QuerySessionResponse struct {
	Id string `json:"id"`

	Active bool `json:"active"`

	Operation string `json:"operation"`

	Type string `json:"type"`

	CostTime string `json:"cost_time"`

	PlanSummary string `json:"plan_summary"`

	Host string `json:"host"`

	Client string `json:"client"`

	Description string `json:"description"`

	Namespace string `json:"namespace"`
}

func (QuerySessionResponse) String ¶

func (o QuerySessionResponse) String() string

type QueryTagItem ¶

type QueryTagItem struct {
	Key string `json:"key"`

	Values []string `json:"values"`
}

func (QueryTagItem) String ¶

func (o QueryTagItem) String() string

type RecycleDatastore ¶

type RecycleDatastore struct {
	Type RecycleDatastoreType `json:"type"`

	Version string `json:"version"`
}

func (RecycleDatastore) String ¶

func (o RecycleDatastore) String() string

type RecycleDatastoreType ¶

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

func (RecycleDatastoreType) MarshalJSON ¶

func (c RecycleDatastoreType) MarshalJSON() ([]byte, error)

func (*RecycleDatastoreType) UnmarshalJSON ¶

func (c *RecycleDatastoreType) UnmarshalJSON(b []byte) error

func (RecycleDatastoreType) Value ¶

func (c RecycleDatastoreType) Value() string

type RecycleDatastoreTypeEnum ¶

type RecycleDatastoreTypeEnum struct {
	DDS_COMMUNITY RecycleDatastoreType
}

func GetRecycleDatastoreTypeEnum ¶

func GetRecycleDatastoreTypeEnum() RecycleDatastoreTypeEnum

type RecycleInstance ¶

type RecycleInstance struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Mode *string `json:"mode,omitempty"`

	Datastore *RecycleDatastore `json:"datastore,omitempty"`

	PayMode *string `json:"pay_mode,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	BackupId *string `json:"backup_id,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	DeletedAt *string `json:"deleted_at,omitempty"`

	RetainedUntil *string `json:"retained_until,omitempty"`
}

func (RecycleInstance) String ¶

func (o RecycleInstance) String() string

type RecyclePolicy ¶

type RecyclePolicy struct {
	Enabled bool `json:"enabled"`

	RetentionPeriodInDays *int32 `json:"retention_period_in_days,omitempty"`
}

func (RecyclePolicy) String ¶

func (o RecyclePolicy) String() string

type RecyclePolicyRequestBody ¶

type RecyclePolicyRequestBody struct {
	RecyclePolicy *RecyclePolicy `json:"recycle_policy"`
}

func (RecyclePolicyRequestBody) String ¶

func (o RecyclePolicyRequestBody) String() string

type ReduceInstanceNodeRequestBody ¶

type ReduceInstanceNodeRequestBody struct {
	Num *int32 `json:"num,omitempty"`

	NodeList *[]string `json:"node_list,omitempty"`
}

func (ReduceInstanceNodeRequestBody) String ¶

type ResetConfigurationRequest ¶

type ResetConfigurationRequest struct {
	ConfigId string `json:"config_id"`
}

func (ResetConfigurationRequest) String ¶

func (o ResetConfigurationRequest) String() string

type ResetConfigurationResponse ¶

type ResetConfigurationResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ResetConfigurationResponse) String ¶

type ResetPasswordRequest ¶

type ResetPasswordRequest struct {
	InstanceId string `json:"instance_id"`

	Body *ResetPasswordRequestBody `json:"body,omitempty"`
}

func (ResetPasswordRequest) String ¶

func (o ResetPasswordRequest) String() string

type ResetPasswordRequestBody ¶

type ResetPasswordRequestBody struct {
	UserPwd string `json:"user_pwd"`

	UserName *string `json:"user_name,omitempty"`

	DbName *string `json:"db_name,omitempty"`
}

func (ResetPasswordRequestBody) String ¶

func (o ResetPasswordRequestBody) String() string

type ResetPasswordResponse ¶

type ResetPasswordResponse struct {
	HttpStatusCode int `json:"-"`
}

func (ResetPasswordResponse) String ¶

func (o ResetPasswordResponse) String() string

type ResizeInstanceOption ¶

type ResizeInstanceOption struct {
	TargetType *ResizeInstanceOptionTargetType `json:"target_type,omitempty"`

	TargetId string `json:"target_id"`

	TargetSpecCode string `json:"target_spec_code"`
}

func (ResizeInstanceOption) String ¶

func (o ResizeInstanceOption) String() string

type ResizeInstanceOptionTargetType ¶

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

func (ResizeInstanceOptionTargetType) MarshalJSON ¶

func (c ResizeInstanceOptionTargetType) MarshalJSON() ([]byte, error)

func (*ResizeInstanceOptionTargetType) UnmarshalJSON ¶

func (c *ResizeInstanceOptionTargetType) UnmarshalJSON(b []byte) error

func (ResizeInstanceOptionTargetType) Value ¶

type ResizeInstanceOptionTargetTypeEnum ¶

type ResizeInstanceOptionTargetTypeEnum struct {
	MONGOS ResizeInstanceOptionTargetType
	SHARD  ResizeInstanceOptionTargetType
}

func GetResizeInstanceOptionTargetTypeEnum ¶

func GetResizeInstanceOptionTargetTypeEnum() ResizeInstanceOptionTargetTypeEnum

type ResizeInstanceRequest ¶

type ResizeInstanceRequest struct {
	InstanceId string `json:"instance_id"`

	Body *ResizeInstanceRequestBody `json:"body,omitempty"`
}

func (ResizeInstanceRequest) String ¶

func (o ResizeInstanceRequest) String() string

type ResizeInstanceRequestBody ¶

type ResizeInstanceRequestBody struct {
	Resize *ResizeInstanceOption `json:"resize"`

	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

func (ResizeInstanceRequestBody) String ¶

func (o ResizeInstanceRequestBody) String() string

type ResizeInstanceResponse ¶

type ResizeInstanceResponse struct {
	JobId *string `json:"job_id,omitempty"`

	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ResizeInstanceResponse) String ¶

func (o ResizeInstanceResponse) String() string

type ResizeInstanceVolumeOption ¶

type ResizeInstanceVolumeOption struct {
	Size string `json:"size"`

	GroupId *string `json:"group_id,omitempty"`

	NodeIds *[]string `json:"node_ids,omitempty"`
}

func (ResizeInstanceVolumeOption) String ¶

type ResizeInstanceVolumeRequest ¶

type ResizeInstanceVolumeRequest struct {
	InstanceId string `json:"instance_id"`

	Body *ResizeInstanceVolumeRequestBody `json:"body,omitempty"`
}

func (ResizeInstanceVolumeRequest) String ¶

type ResizeInstanceVolumeRequestBody ¶

type ResizeInstanceVolumeRequestBody struct {
	Volume *ResizeInstanceVolumeOption `json:"volume"`

	IsAutoPay *bool `json:"is_auto_pay,omitempty"`
}

func (ResizeInstanceVolumeRequestBody) String ¶

type ResizeInstanceVolumeResponse ¶

type ResizeInstanceVolumeResponse struct {
	JobId *string `json:"job_id,omitempty"`

	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ResizeInstanceVolumeResponse) String ¶

type RestartInstanceRequest ¶

type RestartInstanceRequest struct {
	InstanceId string `json:"instance_id"`

	Body *RestartInstanceRequestBody `json:"body,omitempty"`
}

func (RestartInstanceRequest) String ¶

func (o RestartInstanceRequest) String() string

type RestartInstanceRequestBody ¶

type RestartInstanceRequestBody struct {
	TargetType *RestartInstanceRequestBodyTargetType `json:"target_type,omitempty"`

	TargetId string `json:"target_id"`
}

func (RestartInstanceRequestBody) String ¶

type RestartInstanceRequestBodyTargetType ¶

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

func (RestartInstanceRequestBodyTargetType) MarshalJSON ¶

func (c RestartInstanceRequestBodyTargetType) MarshalJSON() ([]byte, error)

func (*RestartInstanceRequestBodyTargetType) UnmarshalJSON ¶

func (c *RestartInstanceRequestBodyTargetType) UnmarshalJSON(b []byte) error

func (RestartInstanceRequestBodyTargetType) Value ¶

type RestartInstanceResponse ¶

type RestartInstanceResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (RestartInstanceResponse) String ¶

func (o RestartInstanceResponse) String() string

type RestoreInstanceFromCollectionRequest ¶

type RestoreInstanceFromCollectionRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	Body *RestoreInstanceFromCollectionRequestBody `json:"body,omitempty"`
}

func (RestoreInstanceFromCollectionRequest) String ¶

type RestoreInstanceFromCollectionRequestBody ¶

type RestoreInstanceFromCollectionRequestBody struct {
	RestoreCollections []RestoreInstanceFromCollectionRequestBodyRestoreCollections `json:"restore_collections"`
}

func (RestoreInstanceFromCollectionRequestBody) String ¶

type RestoreInstanceFromCollectionRequestBodyCollections ¶

type RestoreInstanceFromCollectionRequestBodyCollections struct {
	OldName string `json:"old_name"`

	NewName *string `json:"new_name,omitempty"`

	RestoreCollectionTime string `json:"restore_collection_time"`
}

func (RestoreInstanceFromCollectionRequestBodyCollections) String ¶

type RestoreInstanceFromCollectionRequestBodyRestoreCollections ¶

type RestoreInstanceFromCollectionRequestBodyRestoreCollections struct {
	Database string `json:"database"`

	RestoreDatabaseTime *string `json:"restore_database_time,omitempty"`

	Collections *[]RestoreInstanceFromCollectionRequestBodyCollections `json:"collections,omitempty"`
}

func (RestoreInstanceFromCollectionRequestBodyRestoreCollections) String ¶

type RestoreInstanceFromCollectionResponse ¶

type RestoreInstanceFromCollectionResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (RestoreInstanceFromCollectionResponse) String ¶

type RestoreInstanceRequest ¶

type RestoreInstanceRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	Body *RestoreInstanceRequestBody `json:"body,omitempty"`
}

func (RestoreInstanceRequest) String ¶

func (o RestoreInstanceRequest) String() string

type RestoreInstanceRequestBody ¶

type RestoreInstanceRequestBody struct {
	Source *Source `json:"source"`

	Target *Target `json:"target"`
}

func (RestoreInstanceRequestBody) String ¶

type RestoreInstanceResponse ¶

type RestoreInstanceResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (RestoreInstanceResponse) String ¶

func (o RestoreInstanceResponse) String() string

type RestoreNewInstanceConfigurationsOption ¶

type RestoreNewInstanceConfigurationsOption struct {
	Type RestoreNewInstanceConfigurationsOptionType `json:"type"`

	ConfigurationId string `json:"configuration_id"`
}

func (RestoreNewInstanceConfigurationsOption) String ¶

type RestoreNewInstanceConfigurationsOptionType ¶

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

func (RestoreNewInstanceConfigurationsOptionType) MarshalJSON ¶

func (*RestoreNewInstanceConfigurationsOptionType) UnmarshalJSON ¶

func (RestoreNewInstanceConfigurationsOptionType) Value ¶

type RestoreNewInstanceFlavorOption ¶

type RestoreNewInstanceFlavorOption struct {
	Type RestoreNewInstanceFlavorOptionType `json:"type"`

	Num string `json:"num"`

	Size *string `json:"size,omitempty"`

	SpecCode string `json:"spec_code"`
}

func (RestoreNewInstanceFlavorOption) String ¶

type RestoreNewInstanceFlavorOptionType ¶

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

func (RestoreNewInstanceFlavorOptionType) MarshalJSON ¶

func (c RestoreNewInstanceFlavorOptionType) MarshalJSON() ([]byte, error)

func (*RestoreNewInstanceFlavorOptionType) UnmarshalJSON ¶

func (c *RestoreNewInstanceFlavorOptionType) UnmarshalJSON(b []byte) error

func (RestoreNewInstanceFlavorOptionType) Value ¶

type RestoreNewInstanceRequest ¶

type RestoreNewInstanceRequest struct {
	Body *RestoreNewInstanceRequestBody `json:"body,omitempty"`
}

func (RestoreNewInstanceRequest) String ¶

func (o RestoreNewInstanceRequest) String() string

type RestoreNewInstanceRequestBody ¶

type RestoreNewInstanceRequestBody struct {
	Name string `json:"name"`

	AvailabilityZone string `json:"availability_zone"`

	VpcId string `json:"vpc_id"`

	SubnetId string `json:"subnet_id"`

	SecurityGroupId string `json:"security_group_id"`

	Password *string `json:"password,omitempty"`

	DiskEncryptionId *string `json:"disk_encryption_id,omitempty"`

	Configurations *[]RestoreNewInstanceConfigurationsOption `json:"configurations,omitempty"`

	Flavor []RestoreNewInstanceFlavorOption `json:"flavor"`

	BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	SslOption *string `json:"ssl_option,omitempty"`

	DssPoolId *string `json:"dss_pool_id,omitempty"`

	ServerGroupPolicies *[]string `json:"server_group_policies,omitempty"`

	RestorePoint *RestorePoint `json:"restore_point"`

	ChargeInfo *ChargeInfoOption `json:"charge_info,omitempty"`
}

func (RestoreNewInstanceRequestBody) String ¶

type RestoreNewInstanceResponse ¶

type RestoreNewInstanceResponse struct {
	Id *string `json:"id,omitempty"`

	Datastore *Datastore `json:"datastore,omitempty"`

	Name *string `json:"name,omitempty"`

	Created *string `json:"created,omitempty"`

	Status *string `json:"status,omitempty"`

	Region *string `json:"region,omitempty"`

	AvailabilityZone *string `json:"availability_zone,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`

	DiskEncryptionId *string `json:"disk_encryption_id,omitempty"`

	Mode *string `json:"mode,omitempty"`

	Configurations *[]RestoreNewInstanceConfigurationsOption `json:"configurations,omitempty"`

	Flavor *[]RestoreNewInstanceFlavorOption `json:"flavor,omitempty"`

	BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	SslOption *string `json:"ssl_option,omitempty"`

	DssPoolId *string `json:"dss_pool_id,omitempty"`

	JobId *string `json:"job_id,omitempty"`

	OrderId *string `json:"order_id,omitempty"`

	ChargeInfo     *ChargeInfoResult `json:"charge_info,omitempty"`
	HttpStatusCode int               `json:"-"`
}

func (RestoreNewInstanceResponse) String ¶

type RestorePoint ¶

type RestorePoint struct {
	InstanceId *string `json:"instance_id,omitempty"`

	Type *string `json:"type,omitempty"`

	BackupId *string `json:"backup_id,omitempty"`

	RestoreTime *string `json:"restore_time,omitempty"`
}

func (RestorePoint) String ¶

func (o RestorePoint) String() string

type RolesOption ¶

type RolesOption struct {
	RoleDbName string `json:"role_db_name"`

	RoleName string `json:"role_name"`
}

func (RolesOption) String ¶

func (o RolesOption) String() string

type SetAuditlogPolicyRequest ¶

type SetAuditlogPolicyRequest struct {
	InstanceId string `json:"instance_id"`

	Body *SetAuditlogPolicyRequestBody `json:"body,omitempty"`
}

func (SetAuditlogPolicyRequest) String ¶

func (o SetAuditlogPolicyRequest) String() string

type SetAuditlogPolicyRequestBody ¶

type SetAuditlogPolicyRequestBody struct {
	KeepDays int32 `json:"keep_days"`

	ReserveAuditlogs *string `json:"reserve_auditlogs,omitempty"`

	AuditScope *string `json:"audit_scope,omitempty"`

	AuditTypes *[]string `json:"audit_types,omitempty"`
}

func (SetAuditlogPolicyRequestBody) String ¶

type SetAuditlogPolicyResponse ¶

type SetAuditlogPolicyResponse struct {
	HttpStatusCode int `json:"-"`
}

func (SetAuditlogPolicyResponse) String ¶

func (o SetAuditlogPolicyResponse) String() string

type SetBackupPolicyRequest ¶

type SetBackupPolicyRequest struct {
	InstanceId string `json:"instance_id"`

	Body *SetBackupPolicyRequestBody `json:"body,omitempty"`
}

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:"-"`
}

func (SetBackupPolicyResponse) String ¶

func (o SetBackupPolicyResponse) String() string

type SetBalancerSwitchRequest ¶

type SetBalancerSwitchRequest struct {
	InstanceId string `json:"instance_id"`

	Action SetBalancerSwitchRequestAction `json:"action"`
}

func (SetBalancerSwitchRequest) String ¶

func (o SetBalancerSwitchRequest) String() string

type SetBalancerSwitchRequestAction ¶

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

func (SetBalancerSwitchRequestAction) MarshalJSON ¶

func (c SetBalancerSwitchRequestAction) MarshalJSON() ([]byte, error)

func (*SetBalancerSwitchRequestAction) UnmarshalJSON ¶

func (c *SetBalancerSwitchRequestAction) UnmarshalJSON(b []byte) error

func (SetBalancerSwitchRequestAction) Value ¶

type SetBalancerSwitchRequestActionEnum ¶

type SetBalancerSwitchRequestActionEnum struct {
	START SetBalancerSwitchRequestAction
	STOP  SetBalancerSwitchRequestAction
}

func GetSetBalancerSwitchRequestActionEnum ¶

func GetSetBalancerSwitchRequestActionEnum() SetBalancerSwitchRequestActionEnum

type SetBalancerSwitchResponse ¶

type SetBalancerSwitchResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (SetBalancerSwitchResponse) String ¶

func (o SetBalancerSwitchResponse) String() string

type SetBalancerWindowRequest ¶

type SetBalancerWindowRequest struct {
	InstanceId string `json:"instance_id"`

	Body *BalancerActiveWindow `json:"body,omitempty"`
}

func (SetBalancerWindowRequest) String ¶

func (o SetBalancerWindowRequest) String() string

type SetBalancerWindowResponse ¶

type SetBalancerWindowResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (SetBalancerWindowResponse) String ¶

func (o SetBalancerWindowResponse) String() string

type SetRecyclePolicyRequest ¶

type SetRecyclePolicyRequest struct {
	Body *RecyclePolicyRequestBody `json:"body,omitempty"`
}

func (SetRecyclePolicyRequest) String ¶

func (o SetRecyclePolicyRequest) String() string

type SetRecyclePolicyResponse ¶

type SetRecyclePolicyResponse struct {
	HttpStatusCode int `json:"-"`
}

func (SetRecyclePolicyResponse) String ¶

func (o SetRecyclePolicyResponse) String() string

type ShowApiVersionRequest ¶

type ShowApiVersionRequest struct {
	Version string `json:"version"`
}

func (ShowApiVersionRequest) String ¶

func (o ShowApiVersionRequest) String() string

type ShowApiVersionResponse ¶

type ShowApiVersionResponse struct {
	Version        *ApiVersion `json:"version,omitempty"`
	HttpStatusCode int         `json:"-"`
}

func (ShowApiVersionResponse) String ¶

func (o ShowApiVersionResponse) String() string

type ShowAuditlogPolicyRequest ¶

type ShowAuditlogPolicyRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`
}

func (ShowAuditlogPolicyRequest) String ¶

func (o ShowAuditlogPolicyRequest) String() string

type ShowAuditlogPolicyResponse ¶

type ShowAuditlogPolicyResponse struct {
	KeepDays *int32 `json:"keep_days,omitempty"`

	AuditScope *string `json:"audit_scope,omitempty"`

	AuditTypes     *[]string `json:"audit_types,omitempty"`
	HttpStatusCode int       `json:"-"`
}

func (ShowAuditlogPolicyResponse) String ¶

type ShowBackupDownloadLinkRequest ¶

type ShowBackupDownloadLinkRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	BackupId string `json:"backup_id"`
}

func (ShowBackupDownloadLinkRequest) String ¶

type ShowBackupDownloadLinkResponse ¶

type ShowBackupDownloadLinkResponse struct {
	Files *[]GetBackupDownloadLinkResponseBodyFiles `json:"files,omitempty"`

	Bucket         *string `json:"bucket,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ShowBackupDownloadLinkResponse) String ¶

type ShowBackupPolicyRequest ¶

type ShowBackupPolicyRequest struct {
	InstanceId string `json:"instance_id"`
}

func (ShowBackupPolicyRequest) String ¶

func (o ShowBackupPolicyRequest) String() string

type ShowBackupPolicyResponse ¶

type ShowBackupPolicyResponse struct {
	BackupPolicy   *BackupPolicyItem `json:"backup_policy,omitempty"`
	HttpStatusCode int               `json:"-"`
}

func (ShowBackupPolicyResponse) String ¶

func (o ShowBackupPolicyResponse) String() string

type ShowConfigurationAppliedHistoryRequest ¶

type ShowConfigurationAppliedHistoryRequest struct {
	ConfigId string `json:"config_id"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ShowConfigurationAppliedHistoryRequest) String ¶

type ShowConfigurationAppliedHistoryResponse ¶

type ShowConfigurationAppliedHistoryResponse struct {
	Histories      *[]ApplyHistoryInfo `json:"histories,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

func (ShowConfigurationAppliedHistoryResponse) String ¶

type ShowConfigurationModifyHistoryRequest ¶

type ShowConfigurationModifyHistoryRequest struct {
	ConfigId string `json:"config_id"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

func (ShowConfigurationModifyHistoryRequest) String ¶

type ShowConfigurationModifyHistoryResponse ¶

type ShowConfigurationModifyHistoryResponse struct {
	Histories      *[]HistoryInfo `json:"histories,omitempty"`
	HttpStatusCode int            `json:"-"`
}

func (ShowConfigurationModifyHistoryResponse) String ¶

type ShowConfigurationParameterRequest ¶

type ShowConfigurationParameterRequest struct {
	ConfigId string `json:"config_id"`
}

func (ShowConfigurationParameterRequest) String ¶

type ShowConfigurationParameterResponse ¶

type ShowConfigurationParameterResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	DatastoreVersion *string `json:"datastore_version,omitempty"`

	DatastoreName *string `json:"datastore_name,omitempty"`

	Description *string `json:"description,omitempty"`

	Created *string `json:"created,omitempty"`

	Updated *string `json:"updated,omitempty"`

	Parameters     *[]ConfigurationParametersResult `json:"parameters,omitempty"`
	HttpStatusCode int                              `json:"-"`
}

func (ShowConfigurationParameterResponse) String ¶

type ShowConnectionStatisticsRequest ¶

type ShowConnectionStatisticsRequest struct {
	InstanceId string `json:"instance_id"`

	NodeId *string `json:"node_id,omitempty"`
}

func (ShowConnectionStatisticsRequest) String ¶

type ShowConnectionStatisticsResponse ¶

type ShowConnectionStatisticsResponse struct {
	TotalConnections *int32 `json:"total_connections,omitempty"`

	TotalInnerConnections *int32 `json:"total_inner_connections,omitempty"`

	TotalOuterConnections *int32 `json:"total_outer_connections,omitempty"`

	InnerConnections *[]QueryConnectionsResponse `json:"inner_connections,omitempty"`

	OuterConnections *[]QueryConnectionsResponse `json:"outer_connections,omitempty"`
	HttpStatusCode   int                         `json:"-"`
}

func (ShowConnectionStatisticsResponse) String ¶

type ShowDiskUsageRequest ¶

type ShowDiskUsageRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`
}

func (ShowDiskUsageRequest) String ¶

func (o ShowDiskUsageRequest) String() string

type ShowDiskUsageResponse ¶

type ShowDiskUsageResponse struct {
	Volumes        *[]DiskVolumes `json:"volumes,omitempty"`
	HttpStatusCode int            `json:"-"`
}

func (ShowDiskUsageResponse) String ¶

func (o ShowDiskUsageResponse) String() string

type ShowEntityConfigurationRequest ¶

type ShowEntityConfigurationRequest struct {
	InstanceId string `json:"instance_id"`

	EntityId string `json:"entity_id"`
}

func (ShowEntityConfigurationRequest) String ¶

type ShowEntityConfigurationResponse ¶

type ShowEntityConfigurationResponse struct {
	DatastoreVersion *string `json:"datastore_version,omitempty"`

	DatastoreName *string `json:"datastore_name,omitempty"`

	Created *string `json:"created,omitempty"`

	Updated *string `json:"updated,omitempty"`

	Parameters     *[]EntityConfigurationParametersResult `json:"parameters,omitempty"`
	HttpStatusCode int                                    `json:"-"`
}

func (ShowEntityConfigurationResponse) String ¶

type ShowJobDetailRequest ¶

type ShowJobDetailRequest struct {
	Id string `json:"id"`
}

func (ShowJobDetailRequest) String ¶

func (o ShowJobDetailRequest) String() string

type ShowJobDetailResponse ¶

type ShowJobDetailResponse struct {
	Job            *JobDetail `json:"job,omitempty"`
	HttpStatusCode int        `json:"-"`
}

func (ShowJobDetailResponse) String ¶

func (o ShowJobDetailResponse) String() string

type ShowQuotasRequest ¶

type ShowQuotasRequest struct {
}

func (ShowQuotasRequest) String ¶

func (o ShowQuotasRequest) String() string

type ShowQuotasResponse ¶

type ShowQuotasResponse struct {
	Quotas         *ShowResourcesListResponseBody `json:"quotas,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

func (ShowQuotasResponse) String ¶

func (o ShowQuotasResponse) String() string

type ShowRecyclePolicyRequest ¶

type ShowRecyclePolicyRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`
}

func (ShowRecyclePolicyRequest) String ¶

func (o ShowRecyclePolicyRequest) String() string

type ShowRecyclePolicyResponse ¶

type ShowRecyclePolicyResponse struct {
	RecyclePolicy  *RecyclePolicy `json:"recycle_policy,omitempty"`
	HttpStatusCode int            `json:"-"`
}

func (ShowRecyclePolicyResponse) String ¶

func (o ShowRecyclePolicyResponse) String() string

type ShowReplSetNameRequest ¶

type ShowReplSetNameRequest struct {
	InstanceId string `json:"instance_id"`
}

func (ShowReplSetNameRequest) String ¶

func (o ShowReplSetNameRequest) String() string

type ShowReplSetNameResponse ¶

type ShowReplSetNameResponse struct {
	Name           *string `json:"name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ShowReplSetNameResponse) String ¶

func (o ShowReplSetNameResponse) String() string

type ShowResourcesDetailResponseBody ¶

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

	Mode string `json:"mode"`

	Quota int32 `json:"quota"`

	Used int32 `json:"used"`
}

func (ShowResourcesDetailResponseBody) String ¶

type ShowResourcesListResponseBody ¶

type ShowResourcesListResponseBody struct {
	Resources []ShowResourcesDetailResponseBody `json:"resources"`
}

func (ShowResourcesListResponseBody) String ¶

type ShowSecondLevelMonitoringStatusRequest ¶

type ShowSecondLevelMonitoringStatusRequest struct {
	InstanceId string `json:"instance_id"`
}

func (ShowSecondLevelMonitoringStatusRequest) String ¶

type ShowSecondLevelMonitoringStatusResponse ¶

type ShowSecondLevelMonitoringStatusResponse struct {
	Enabled        *bool `json:"enabled,omitempty"`
	HttpStatusCode int   `json:"-"`
}

func (ShowSecondLevelMonitoringStatusResponse) String ¶

type ShowShardingBalancerRequest ¶

type ShowShardingBalancerRequest struct {
	InstanceId string `json:"instance_id"`
}

func (ShowShardingBalancerRequest) String ¶

type ShowShardingBalancerResponse ¶

type ShowShardingBalancerResponse struct {
	IsOpen *bool `json:"is_open,omitempty"`

	ActiveWindow   *BalancerActiveWindow `json:"active_window,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

func (ShowShardingBalancerResponse) String ¶

type ShowSlowlogDesensitizationSwitchRequest ¶

type ShowSlowlogDesensitizationSwitchRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`
}

func (ShowSlowlogDesensitizationSwitchRequest) String ¶

type ShowSlowlogDesensitizationSwitchResponse ¶

type ShowSlowlogDesensitizationSwitchResponse struct {
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ShowSlowlogDesensitizationSwitchResponse) String ¶

type ShowUpgradeDurationRequest ¶

type ShowUpgradeDurationRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`
}

func (ShowUpgradeDurationRequest) String ¶

type ShowUpgradeDurationResponse ¶

type ShowUpgradeDurationResponse struct {
	Strategies     *[]DurationStrategies `json:"strategies,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

func (ShowUpgradeDurationResponse) String ¶

type ShrinkInstanceNodesRequest ¶

type ShrinkInstanceNodesRequest struct {
	InstanceId string `json:"instance_id"`

	Body *ReduceInstanceNodeRequestBody `json:"body,omitempty"`
}

func (ShrinkInstanceNodesRequest) String ¶

type ShrinkInstanceNodesResponse ¶

type ShrinkInstanceNodesResponse struct {
	JobId *string `json:"job_id,omitempty"`

	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ShrinkInstanceNodesResponse) String ¶

type SlowLogDetail ¶

type SlowLogDetail struct {
	NodeName string `json:"node_name"`

	NodeId string `json:"node_id"`

	WholeMessage string `json:"whole_message"`

	OperateType string `json:"operate_type"`

	CostTime int32 `json:"cost_time"`

	LockTime int32 `json:"lock_time"`

	DocsReturned int32 `json:"docs_returned"`

	DocsScanned int32 `json:"docs_scanned"`

	Database string `json:"database"`

	Collection string `json:"collection"`

	LogTime string `json:"log_time"`

	LineNum string `json:"line_num"`
}

func (SlowLogDetail) String ¶

func (o SlowLogDetail) String() string

type SlowlogResult ¶

type SlowlogResult struct {
	NodeName string `json:"node_name"`

	QuerySample string `json:"query_sample"`

	Type string `json:"type"`

	Time string `json:"time"`

	LockTime string `json:"lock_time"`

	RowsSent string `json:"rows_sent"`

	RowsExamined string `json:"rows_examined"`

	Database string `json:"database"`

	StartTime string `json:"start_time"`
}

func (SlowlogResult) String ¶

func (o SlowlogResult) String() string

type Source ¶

type Source struct {
	InstanceId string `json:"instance_id"`

	Type *string `json:"type,omitempty"`

	BackupId *string `json:"backup_id,omitempty"`

	RestoreTime *string `json:"restore_time,omitempty"`
}

func (Source) String ¶

func (o Source) String() string

type Storage ¶

type Storage struct {
	Name string `json:"name"`

	AzStatus map[string]string `json:"az_status"`
}

func (Storage) String ¶

func (o Storage) String() string

type SwitchConfigurationRequest ¶

type SwitchConfigurationRequest struct {
	ConfigId string `json:"config_id"`

	Body *ApplyConfigurationRequestBody `json:"body,omitempty"`
}

func (SwitchConfigurationRequest) String ¶

type SwitchConfigurationResponse ¶

type SwitchConfigurationResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (SwitchConfigurationResponse) String ¶

type SwitchSecondLevelMonitoringRequest ¶

type SwitchSecondLevelMonitoringRequest struct {
	InstanceId string `json:"instance_id"`

	Body *SwitchSecondLevelMonitoringRequestBody `json:"body,omitempty"`
}

func (SwitchSecondLevelMonitoringRequest) String ¶

type SwitchSecondLevelMonitoringRequestBody ¶

type SwitchSecondLevelMonitoringRequestBody struct {
	Enabled bool `json:"enabled"`
}

func (SwitchSecondLevelMonitoringRequestBody) String ¶

type SwitchSecondLevelMonitoringResponse ¶

type SwitchSecondLevelMonitoringResponse struct {
	HttpStatusCode int `json:"-"`
}

func (SwitchSecondLevelMonitoringResponse) String ¶

type SwitchSlowlogDesensitizationRequest ¶

type SwitchSlowlogDesensitizationRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`

	InstanceId string `json:"instance_id"`

	Status string `json:"status"`
}

func (SwitchSlowlogDesensitizationRequest) String ¶

type SwitchSlowlogDesensitizationResponse ¶

type SwitchSlowlogDesensitizationResponse struct {
	HttpStatusCode int `json:"-"`
}

func (SwitchSlowlogDesensitizationResponse) String ¶

type SwitchSslRequest ¶

type SwitchSslRequest struct {
	InstanceId string `json:"instance_id"`

	Body *SwitchSslRequestBody `json:"body,omitempty"`
}

func (SwitchSslRequest) String ¶

func (o SwitchSslRequest) String() string

type SwitchSslRequestBody ¶

type SwitchSslRequestBody struct {
	SslOption string `json:"ssl_option"`
}

func (SwitchSslRequestBody) String ¶

func (o SwitchSslRequestBody) String() string

type SwitchSslResponse ¶

type SwitchSslResponse struct {
	JobId *string `json:"job_id,omitempty"`

	SslOption      *string `json:"ssl_option,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (SwitchSslResponse) String ¶

func (o SwitchSslResponse) String() string

type SwitchoverReplicaSetRequest ¶

type SwitchoverReplicaSetRequest struct {
	InstanceId string `json:"instance_id"`
}

func (SwitchoverReplicaSetRequest) String ¶

type SwitchoverReplicaSetResponse ¶

type SwitchoverReplicaSetResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (SwitchoverReplicaSetResponse) String ¶

type TagItem ¶

type TagItem struct {
	Key string `json:"key"`

	Value *string `json:"value,omitempty"`
}

func (TagItem) String ¶

func (o TagItem) String() string

type TagResponse ¶

type TagResponse struct {
	Key string `json:"key"`

	Value string `json:"value"`
}

func (TagResponse) String ¶

func (o TagResponse) String() string

type TagWithKeyValue ¶

type TagWithKeyValue struct {
	Key string `json:"key"`

	Value string `json:"value"`
}

func (TagWithKeyValue) String ¶

func (o TagWithKeyValue) String() string

type Target ¶

type Target struct {
	InstanceId string `json:"instance_id"`
}

func (Target) String ¶

func (o Target) String() string

type UpdateClientNetworkRequest ¶

type UpdateClientNetworkRequest struct {
	InstanceId string `json:"instance_id"`

	Body *ClientNetworkRequestBody `json:"body,omitempty"`
}

func (UpdateClientNetworkRequest) String ¶

type UpdateClientNetworkResponse ¶

type UpdateClientNetworkResponse struct {
	HttpStatusCode int `json:"-"`
}

func (UpdateClientNetworkResponse) String ¶

type UpdateConfigurationParameterRequest ¶

type UpdateConfigurationParameterRequest struct {
	ConfigId string `json:"config_id"`

	Body *UpdateConfigurationParameterRequestBody `json:"body,omitempty"`
}

func (UpdateConfigurationParameterRequest) String ¶

type UpdateConfigurationParameterRequestBody ¶

type UpdateConfigurationParameterRequestBody struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	ParameterValues map[string]string `json:"parameter_values,omitempty"`
}

func (UpdateConfigurationParameterRequestBody) String ¶

type UpdateConfigurationParameterResponse ¶

type UpdateConfigurationParameterResponse struct {
	HttpStatusCode int `json:"-"`
}

func (UpdateConfigurationParameterResponse) String ¶

type UpdateConfigurationParameterResult ¶

type UpdateConfigurationParameterResult struct {
	EntityId string `json:"entity_id"`

	ParameterValues map[string]string `json:"parameter_values"`
}

func (UpdateConfigurationParameterResult) String ¶

type UpdateEntityConfigurationRequest ¶

type UpdateEntityConfigurationRequest struct {
	InstanceId string `json:"instance_id"`

	Body *UpdateConfigurationParameterResult `json:"body,omitempty"`
}

func (UpdateEntityConfigurationRequest) String ¶

type UpdateEntityConfigurationResponse ¶

type UpdateEntityConfigurationResponse struct {
	JobId *string `json:"job_id,omitempty"`

	RestartRequired *bool `json:"restart_required,omitempty"`
	HttpStatusCode  int   `json:"-"`
}

func (UpdateEntityConfigurationResponse) String ¶

type UpdateInstanceNameRequest ¶

type UpdateInstanceNameRequest struct {
	InstanceId string `json:"instance_id"`

	Body *UpdateNameRequestBody `json:"body,omitempty"`
}

func (UpdateInstanceNameRequest) String ¶

func (o UpdateInstanceNameRequest) String() string

type UpdateInstanceNameResponse ¶

type UpdateInstanceNameResponse struct {
	HttpStatusCode int `json:"-"`
}

func (UpdateInstanceNameResponse) String ¶

type UpdateInstancePortRequest ¶

type UpdateInstancePortRequest struct {
	InstanceId string `json:"instance_id"`

	Body *UpdatePortRequestBody `json:"body,omitempty"`
}

func (UpdateInstancePortRequest) String ¶

func (o UpdateInstancePortRequest) String() string

type UpdateInstancePortResponse ¶

type UpdateInstancePortResponse struct {
	JobId *string `json:"job_id,omitempty"`

	Port           *int32 `json:"port,omitempty"`
	HttpStatusCode int    `json:"-"`
}

func (UpdateInstancePortResponse) String ¶

type UpdateInstanceRemarkRequest ¶

type UpdateInstanceRemarkRequest struct {
	InstanceId string `json:"instance_id"`

	Body *UpdateInstanceRemarkRequestBody `json:"body,omitempty"`
}

func (UpdateInstanceRemarkRequest) String ¶

type UpdateInstanceRemarkRequestBody ¶

type UpdateInstanceRemarkRequestBody struct {
	Remark string `json:"remark"`
}

func (UpdateInstanceRemarkRequestBody) String ¶

type UpdateInstanceRemarkResponse ¶

type UpdateInstanceRemarkResponse struct {
	HttpStatusCode int `json:"-"`
}

func (UpdateInstanceRemarkResponse) String ¶

type UpdateNameRequestBody ¶

type UpdateNameRequestBody struct {
	NewInstanceName string `json:"new_instance_name"`
}

func (UpdateNameRequestBody) String ¶

func (o UpdateNameRequestBody) String() string

type UpdatePortRequestBody ¶

type UpdatePortRequestBody struct {
	Port int32 `json:"port"`
}

func (UpdatePortRequestBody) String ¶

func (o UpdatePortRequestBody) String() string

type UpdateReplSetNameRequest ¶

type UpdateReplSetNameRequest struct {
	InstanceId string `json:"instance_id"`

	Body *MongoUpdateReplSetV3RequestBody `json:"body,omitempty"`
}

func (UpdateReplSetNameRequest) String ¶

func (o UpdateReplSetNameRequest) String() string

type UpdateReplSetNameResponse ¶

type UpdateReplSetNameResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (UpdateReplSetNameResponse) String ¶

func (o UpdateReplSetNameResponse) String() string

type UpdateSecurityGroupRequest ¶

type UpdateSecurityGroupRequest struct {
	InstanceId string `json:"instance_id"`

	Body *UpdateSecurityGroupRequestBody `json:"body,omitempty"`
}

func (UpdateSecurityGroupRequest) String ¶

type UpdateSecurityGroupRequestBody ¶

type UpdateSecurityGroupRequestBody struct {
	SecurityGroupId string `json:"security_group_id"`
}

func (UpdateSecurityGroupRequestBody) String ¶

type UpdateSecurityGroupResponse ¶

type UpdateSecurityGroupResponse struct {
	JobId *string `json:"job_id,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

func (UpdateSecurityGroupResponse) String ¶

type UpgradeDatabaseVersionRequest ¶

type UpgradeDatabaseVersionRequest struct {
	InstanceId string `json:"instance_id"`

	Body *UpgradeDatabaseVersionRequestBody `json:"body,omitempty"`
}

func (UpgradeDatabaseVersionRequest) String ¶

type UpgradeDatabaseVersionRequestBody ¶

type UpgradeDatabaseVersionRequestBody struct {
	UpgradeMode *string `json:"upgrade_mode,omitempty"`
}

func (UpgradeDatabaseVersionRequestBody) String ¶

type UpgradeDatabaseVersionResponse ¶

type UpgradeDatabaseVersionResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (UpgradeDatabaseVersionResponse) String ¶

type Volume ¶

type Volume struct {
	Size string `json:"size"`

	Used string `json:"used"`
}

func (Volume) String ¶

func (o Volume) String() string

type WeakPasswordCheckRequestBody ¶

type WeakPasswordCheckRequestBody struct {
	Password string `json:"password"`
}

func (WeakPasswordCheckRequestBody) String ¶

Source Files ¶

Jump to

Keyboard shortcuts

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