Documentation ¶
Index ¶
- type AllowDbPrivilegeRequest
- type AllowDbPrivilegeResponse
- type AllowDbUserPrivilegeRequest
- type AllowDbUserPrivilegeResponse
- type AllowSqlserverDbUserPrivilegeRequest
- type AllowSqlserverDbUserPrivilegeResponse
- type ApplyConfigurationRequest
- type ApplyConfigurationResponseApplyResults
- type AttachEipRequest
- type AttachEipRequestXLanguage
- type AttachEipRequestXLanguageEnum
- type AttachEipResponse
- type Auditlog
- type BackupDatabase
- type BackupDatastore
- type BackupDatastoreType
- type BackupDatastoreTypeEnum
- type BackupForList
- type BackupForListStatus
- type BackupForListStatusEnum
- type BackupForListType
- type BackupForListTypeEnum
- type BackupInfo
- type BackupInfoStatus
- type BackupInfoStatusEnum
- type BackupInfoType
- type BackupInfoTypeEnum
- type BackupPolicy
- type BackupStrategy
- type BackupStrategyForResponse
- type BatchTagActionAddRequestBody
- type BatchTagActionDelRequestBody
- type BatchTagAddActionRequest
- type BatchTagAddActionResponse
- type BatchTagDelActionRequest
- type BatchTagDelActionResponse
- type BindEipRequest
- type BinlogClearPolicyRequestBody
- type ChangeFailoverModeRequest
- type ChangeFailoverModeRequestXLanguage
- type ChangeFailoverModeRequestXLanguageEnum
- type ChangeFailoverModeResponse
- type ChangeFailoverStrategyRequest
- type ChangeFailoverStrategyRequestXLanguage
- type ChangeFailoverStrategyRequestXLanguageEnum
- type ChangeFailoverStrategyResponse
- type ChangeOpsWindowRequest
- type ChangeOpsWindowRequestXLanguage
- type ChangeOpsWindowRequestXLanguageEnum
- type ChangeOpsWindowResponse
- type ChargeInfo
- type ChargeInfoChargeMode
- type ChargeInfoChargeModeEnum
- type ChargeInfoPeriodType
- type ChargeInfoPeriodTypeEnum
- type ChargeInfoResponse
- type ChargeInfoResponseChargeMode
- type ChargeInfoResponseChargeModeEnum
- type ConfigurationForCreation
- type ConfigurationForUpdate
- type ConfigurationParameter
- type ConfigurationParameterType
- type ConfigurationParameterTypeEnum
- type ConfigurationSummary
- type ConfigurationSummaryDatastoreName
- type ConfigurationSummaryDatastoreNameEnum
- type ConfigurationSummaryForCreate
- type ConfigurationSummaryForCreateDatastoreName
- type ConfigurationSummaryForCreateDatastoreNameEnum
- type CreateConfigurationRequest
- type CreateConfigurationRequestXLanguage
- type CreateConfigurationRequestXLanguageEnum
- type CreateConfigurationResponse
- type CreateDatabaseRequest
- type CreateDatabaseResponse
- type CreateDbUserRequest
- type CreateDbUserResponse
- type CreateDnsNameRequest
- type CreateDnsNameRequestBody
- type CreateDnsNameRequestXLanguage
- type CreateDnsNameRequestXLanguageEnum
- type CreateDnsNameResponse
- type CreateInstanceRequest
- type CreateInstanceRequestXLanguage
- type CreateInstanceRequestXLanguageEnum
- type CreateInstanceRespItem
- type CreateInstanceResponse
- type CreateManualBackupRequest
- type CreateManualBackupRequestBody
- type CreateManualBackupResponse
- type CreatePostgresqlDatabaseRequest
- type CreatePostgresqlDatabaseResponse
- type CreatePostgresqlDatabaseSchemaRequest
- type CreatePostgresqlDatabaseSchemaResponse
- type CreatePostgresqlDbUserRequest
- type CreatePostgresqlDbUserResponse
- type CreateRestoreInstanceRequest
- type CreateRestoreInstanceRequestXLanguage
- type CreateRestoreInstanceRequestXLanguageEnum
- type CreateRestoreInstanceResponse
- type CreateSqlserverDatabaseRequest
- type CreateSqlserverDatabaseResponse
- type CreateSqlserverDbUserRequest
- type CreateSqlserverDbUserResponse
- type DataIpRequest
- type DatabaseForCreation
- type DatabaseWithPrivilege
- type Datastore
- type DatastoreType
- type DatastoreTypeEnum
- type DbUserPwdRequest
- type DeleteConfigurationRequest
- type DeleteConfigurationResponse
- type DeleteDatabaseRequest
- type DeleteDatabaseResponse
- type DeleteDbUserRequest
- type DeleteDbUserResponse
- type DeleteInstanceRequest
- type DeleteInstanceRequestXLanguage
- type DeleteInstanceRequestXLanguageEnum
- type DeleteInstanceResponse
- type DeleteManualBackupRequest
- type DeleteManualBackupResponse
- type DeleteSqlserverDatabaseRequest
- type DeleteSqlserverDatabaseResponse
- type DeleteSqlserverDbUserRequest
- type DeleteSqlserverDbUserResponse
- type DownloadSlowlogRequest
- type DownloadSlowlogRequestXLanguage
- type DownloadSlowlogRequestXLanguageEnum
- type DownloadSlowlogResponse
- type DropDatabaseV3Req
- type DssPoolInfo
- type EnableConfigurationRequest
- type EnableConfigurationResponse
- type EnlargeVolume
- type EnlargeVolumeObject
- type ErrorLog
- type ErrorResponse
- type FailoverModeRequest
- type FailoverStrategyRequest
- type Flavor
- type FollowerMigrateRequest
- type GenerateAuditlogDownloadLinkRequest
- type GetBackupDownloadLinkFiles
- type GetJobInfoResponseBodyJob
- type GetJobInfoResponseBodyJobStatus
- type GetJobInfoResponseBodyJobStatusEnum
- type GetOffSiteBackupPolicy
- type GetRestoreTimeResponseRestoreTime
- type GetTaskDetailListRspJobs
- type GetTaskDetailListRspJobsInstance
- type GetTaskDetailListRspJobsStatus
- type GetTaskDetailListRspJobsStatusEnum
- type GrantRequest
- type Ha
- type HaMode
- type HaModeEnum
- type HaReplicationMode
- type HaReplicationModeEnum
- type HaResponse
- type HaResponseReplicationMode
- type HaResponseReplicationModeEnum
- type InstanceRequest
- type InstanceResponse
- type InstanceRestartRequsetBody
- type LDatastore
- type ListAuditlogsRequest
- type ListAuditlogsResponse
- type ListAuthorizedDatabasesRequest
- type ListAuthorizedDatabasesResponse
- type ListAuthorizedDbUsersRequest
- type ListAuthorizedDbUsersResponse
- type ListAuthorizedSqlserverDbUsersRequest
- type ListAuthorizedSqlserverDbUsersResponse
- type ListBackupsRequest
- type ListBackupsRequestBackupType
- type ListBackupsRequestBackupTypeEnum
- type ListBackupsResponse
- type ListCollationsRequest
- type ListCollationsRequestXLanguage
- type ListCollationsRequestXLanguageEnum
- type ListCollationsResponse
- type ListConfigurationsRequest
- type ListConfigurationsRequestXLanguage
- type ListConfigurationsRequestXLanguageEnum
- type ListConfigurationsResponse
- type ListDatabasesRequest
- type ListDatabasesResponse
- type ListDatastoresRequest
- type ListDatastoresRequestDatabaseName
- type ListDatastoresRequestDatabaseNameEnum
- type ListDatastoresResponse
- type ListDbUsersRequest
- type ListDbUsersResponse
- type ListErrorLogsRequest
- type ListErrorLogsRequestLevel
- type ListErrorLogsRequestLevelEnum
- type ListErrorLogsResponse
- type ListFlavorsRequest
- type ListFlavorsRequestDatabaseName
- type ListFlavorsRequestDatabaseNameEnum
- type ListFlavorsResponse
- type ListInstancesRequest
- type ListInstancesRequestDatastoreType
- type ListInstancesRequestDatastoreTypeEnum
- type ListInstancesRequestType
- type ListInstancesRequestTypeEnum
- type ListInstancesRequestXLanguage
- type ListInstancesRequestXLanguageEnum
- type ListInstancesResponse
- type ListJobInfoDetailRequest
- type ListJobInfoDetailResponse
- type ListJobInfoRequest
- type ListJobInfoResponse
- type ListOffSiteBackupsRequest
- type ListOffSiteBackupsRequestBackupType
- type ListOffSiteBackupsRequestBackupTypeEnum
- type ListOffSiteBackupsResponse
- type ListOffSiteInstancesRequest
- type ListOffSiteInstancesRequestXLanguage
- type ListOffSiteInstancesRequestXLanguageEnum
- type ListOffSiteInstancesResponse
- type ListOffSiteRestoreTimesRequest
- type ListOffSiteRestoreTimesResponse
- type ListPostgresqlDatabaseSchemasRequest
- type ListPostgresqlDatabaseSchemasResponse
- type ListPostgresqlDatabasesRequest
- type ListPostgresqlDatabasesResponse
- type ListPostgresqlDbUserPaginatedRequest
- type ListPostgresqlDbUserPaginatedResponse
- type ListProjectTagsRequest
- type ListProjectTagsResponse
- type ListRestoreTimesRequest
- type ListRestoreTimesResponse
- type ListSlowLogsRequest
- type ListSlowLogsRequestType
- type ListSlowLogsRequestTypeEnum
- type ListSlowLogsResponse
- type ListSlowlogStatisticsRequest
- type ListSlowlogStatisticsRequestType
- type ListSlowlogStatisticsRequestTypeEnum
- type ListSlowlogStatisticsRequestXLanguage
- type ListSlowlogStatisticsRequestXLanguageEnum
- type ListSlowlogStatisticsResponse
- type ListSqlserverDatabasesRequest
- type ListSqlserverDatabasesResponse
- type ListSqlserverDbUsersRequest
- type ListSqlserverDbUsersResponse
- type ListStorageTypesRequest
- type ListStorageTypesRequestDatabaseName
- type ListStorageTypesRequestDatabaseNameEnum
- type ListStorageTypesRequestHaMode
- type ListStorageTypesRequestHaModeEnum
- type ListStorageTypesResponse
- type MigrateFollowerRequest
- type MigrateFollowerRequestXLanguage
- type MigrateFollowerRequestXLanguageEnum
- type MigrateFollowerResponse
- type ModifiyInstanceNameRequest
- type ModifyDnsNameRequestBody
- type NodeResponse
- type OffSiteBackupForList
- type OffSiteBackupForListStatus
- type OffSiteBackupForListStatusEnum
- type OffSiteBackupForListType
- type OffSiteBackupForListTypeEnum
- type OffSiteBackupPolicy
- type OffsiteBackupInstance
- type OpsWindowRequest
- type ParaGroupDatastore
- type ParaGroupDatastoreType
- type ParaGroupDatastoreTypeEnum
- type PostgresqlCreateSchemaReq
- type PostgresqlDatabaseForCreation
- type PostgresqlDatabaseForListSchema
- type PostgresqlDatabaseSchemaReq
- type PostgresqlGrantRequest
- type PostgresqlListDatabase
- type PostgresqlUserForCreation
- type PostgresqlUserForList
- type PostgresqlUserWithPrivilege
- type ProjectTagInfoResponse
- type PwdResetRequest
- type Quotas
- type RecyclePolicyRequestBody
- type RelatedInstance
- type ResetPwdRequest
- type ResetPwdRequestXLanguage
- type ResetPwdRequestXLanguageEnum
- type ResetPwdResponse
- type ResizeFlavorObject
- type ResizeFlavorRequest
- type Resources
- type RestoreDatabasesInfo
- type RestorePoint
- type RestoreTableInfo
- type RestoreTablesRequest
- type RestoreTablesRequestBody
- type RestoreTablesResponse
- type RestoreToExistingInstanceRequest
- type RestoreToExistingInstanceRequestBody
- type RestoreToExistingInstanceRequestBodySource
- type RestoreToExistingInstanceRequestBodySourceType
- type RestoreToExistingInstanceRequestBodySourceTypeEnum
- type RestoreToExistingInstanceRequestBodyTarget
- type RestoreToExistingInstanceResponse
- type RevokeRequest
- type RevokeRequestBody
- type RevokeRequestBodyUsers
- type RevokeResponse
- type RevokeSqlserverDbUserPrivilegeRequest
- type RevokeSqlserverDbUserPrivilegeResponse
- type SecurityGroupRequest
- type SetAuditlogPolicyRequest
- type SetAuditlogPolicyRequestBody
- type SetAuditlogPolicyResponse
- type SetBackupPolicyRequest
- type SetBackupPolicyRequestBody
- type SetBackupPolicyResponse
- type SetBinlogClearPolicyRequest
- type SetBinlogClearPolicyResponse
- type SetDbUserPwdRequest
- type SetDbUserPwdRequestXLanguage
- type SetDbUserPwdRequestXLanguageEnum
- type SetDbUserPwdResponse
- type SetOffSiteBackupPolicyRequest
- type SetOffSiteBackupPolicyRequestBody
- type SetOffSiteBackupPolicyResponse
- type SetPostgresqlDbUserPwdRequest
- type SetPostgresqlDbUserPwdRequestXLanguage
- type SetPostgresqlDbUserPwdRequestXLanguageEnum
- type SetPostgresqlDbUserPwdResponse
- type SetSecurityGroupRequest
- type SetSecurityGroupRequestXLanguage
- type SetSecurityGroupRequestXLanguageEnum
- type SetSecurityGroupResponse
- type ShowAuditlogDownloadLinkRequest
- type ShowAuditlogDownloadLinkResponse
- type ShowAuditlogPolicyRequest
- type ShowAuditlogPolicyResponse
- type ShowBackupDownloadLinkRequest
- type ShowBackupDownloadLinkResponse
- type ShowBackupPolicyRequest
- type ShowBackupPolicyResponse
- type ShowBinlogClearPolicyRequest
- type ShowBinlogClearPolicyResponse
- type ShowConfigurationRequest
- type ShowConfigurationResponse
- type ShowConfigurationResponseDatastoreName
- type ShowConfigurationResponseDatastoreNameEnum
- type ShowInstanceConfigurationRequest
- type ShowInstanceConfigurationResponse
- type ShowInstanceConfigurationResponseDatastoreName
- type ShowInstanceConfigurationResponseDatastoreNameEnum
- type ShowOffSiteBackupPolicyRequest
- type ShowOffSiteBackupPolicyResponse
- type ShowQuotasRequest
- type ShowQuotasRequestXLanguage
- type ShowQuotasRequestXLanguageEnum
- type ShowQuotasResponse
- type Single2Ha
- type Single2HaObject
- type SlowLog
- type SlowLogStatistics
- type SlowlogDownloadInfo
- type SlowlogDownloadRequest
- type SqlserverDatabaseForCreation
- type SqlserverDatabaseForDetail
- type SqlserverGrantRequest
- type SqlserverRevokeRequest
- type SqlserverUserForCreation
- type SqlserverUserWithPrivilege
- type SslOptionRequest
- type StartFailoverRequest
- type StartFailoverRequestXLanguage
- type StartFailoverRequestXLanguageEnum
- type StartFailoverResponse
- type StartInstanceEnlargeVolumeActionRequest
- type StartInstanceEnlargeVolumeActionRequestXLanguage
- type StartInstanceEnlargeVolumeActionRequestXLanguageEnum
- type StartInstanceEnlargeVolumeActionResponse
- type StartInstanceRestartActionRequest
- type StartInstanceRestartActionRequestXLanguage
- type StartInstanceRestartActionRequestXLanguageEnum
- type StartInstanceRestartActionResponse
- type StartInstanceSingleToHaActionRequest
- type StartInstanceSingleToHaActionRequestXLanguage
- type StartInstanceSingleToHaActionRequestXLanguageEnum
- type StartInstanceSingleToHaActionResponse
- type StartRecyclePolicyRequest
- type StartRecyclePolicyResponse
- type StartResizeFlavorActionRequest
- type StartResizeFlavorActionRequestXLanguage
- type StartResizeFlavorActionRequestXLanguageEnum
- type StartResizeFlavorActionResponse
- type Storage
- type SwitchSslRequest
- type SwitchSslRequestXLanguage
- type SwitchSslRequestXLanguageEnum
- type SwitchSslResponse
- type TagDelWithKeyValue
- type TagResponse
- type TagWithKeyValue
- type UpdateConfigurationRequest
- type UpdateConfigurationResponse
- type UpdateDataIpRequest
- type UpdateDataIpRequestXLanguage
- type UpdateDataIpRequestXLanguageEnum
- type UpdateDataIpResponse
- type UpdateDatabaseReq
- type UpdateDatabaseRequest
- type UpdateDatabaseRequestXLanguage
- type UpdateDatabaseRequestXLanguageEnum
- type UpdateDatabaseResponse
- type UpdateDbPortRequest
- type UpdateDnsNameRequest
- type UpdateDnsNameRequestXLanguage
- type UpdateDnsNameRequestXLanguageEnum
- type UpdateDnsNameResponse
- type UpdateInstanceConfigurationRequest
- type UpdateInstanceConfigurationRequestBody
- type UpdateInstanceConfigurationResponse
- type UpdateInstanceNameRequest
- type UpdateInstanceNameRequestXLanguage
- type UpdateInstanceNameRequestXLanguageEnum
- type UpdateInstanceNameResponse
- type UpdatePortRequest
- type UpdatePortRequestXLanguage
- type UpdatePortRequestXLanguageEnum
- type UpdatePortResponse
- type UpdatePostgresqlInstanceAliasRequest
- type UpdatePostgresqlInstanceAliasResponse
- type UpdateRdsInstanceAliasRequest
- type UserForCreation
- type UserForList
- type UserWithPrivilege
- type Volume
- type VolumeType
- type VolumeTypeEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowDbPrivilegeRequest ¶
type AllowDbPrivilegeRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *PostgresqlGrantRequest `json:"body,omitempty"` }
Request Object
func (AllowDbPrivilegeRequest) String ¶
func (o AllowDbPrivilegeRequest) String() string
type AllowDbPrivilegeResponse ¶
type AllowDbPrivilegeResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AllowDbPrivilegeResponse) String ¶
func (o AllowDbPrivilegeResponse) String() string
type AllowDbUserPrivilegeRequest ¶
type AllowDbUserPrivilegeRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *GrantRequest `json:"body,omitempty"` }
Request Object
func (AllowDbUserPrivilegeRequest) String ¶
func (o AllowDbUserPrivilegeRequest) String() string
type AllowDbUserPrivilegeResponse ¶
type AllowDbUserPrivilegeResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AllowDbUserPrivilegeResponse) String ¶
func (o AllowDbUserPrivilegeResponse) String() string
type AllowSqlserverDbUserPrivilegeRequest ¶
type AllowSqlserverDbUserPrivilegeRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *SqlserverGrantRequest `json:"body,omitempty"` }
Request Object
func (AllowSqlserverDbUserPrivilegeRequest) String ¶
func (o AllowSqlserverDbUserPrivilegeRequest) String() string
type AllowSqlserverDbUserPrivilegeResponse ¶
type AllowSqlserverDbUserPrivilegeResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AllowSqlserverDbUserPrivilegeResponse) String ¶
func (o AllowSqlserverDbUserPrivilegeResponse) String() string
type ApplyConfigurationRequest ¶
type ApplyConfigurationRequest struct {
InstanceIds []string `json:"instance_ids"`
}
func (ApplyConfigurationRequest) String ¶
func (o ApplyConfigurationRequest) String() string
type ApplyConfigurationResponseApplyResults ¶
type ApplyConfigurationResponseApplyResults struct { InstanceId string `json:"instance_id"` InstanceName string `json:"instance_name"` RestartRequired bool `json:"restart_required"` Success bool `json:"success"` }
func (ApplyConfigurationResponseApplyResults) String ¶
func (o ApplyConfigurationResponseApplyResults) String() string
type AttachEipRequest ¶
type AttachEipRequest struct { XLanguage *AttachEipRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *BindEipRequest `json:"body,omitempty"` }
Request Object
func (AttachEipRequest) String ¶
func (o AttachEipRequest) String() string
type AttachEipRequestXLanguage ¶
type AttachEipRequestXLanguage struct {
// contains filtered or unexported fields
}
func (AttachEipRequestXLanguage) MarshalJSON ¶
func (c AttachEipRequestXLanguage) MarshalJSON() ([]byte, error)
func (*AttachEipRequestXLanguage) UnmarshalJSON ¶
func (c *AttachEipRequestXLanguage) UnmarshalJSON(b []byte) error
type AttachEipRequestXLanguageEnum ¶
type AttachEipRequestXLanguageEnum struct { ZH_CN AttachEipRequestXLanguage EN_US AttachEipRequestXLanguage }
func GetAttachEipRequestXLanguageEnum ¶
func GetAttachEipRequestXLanguageEnum() AttachEipRequestXLanguageEnum
type AttachEipResponse ¶
type AttachEipResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (AttachEipResponse) String ¶
func (o AttachEipResponse) String() string
type Auditlog ¶
type Auditlog struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Size *int64 `json:"size,omitempty"` BeginTime *string `json:"begin_time,omitempty"` EndTime *string `json:"end_time,omitempty"` }
审计日志信息。
type BackupDatabase ¶
type BackupDatabase struct {
Name string `json:"name"`
}
func (BackupDatabase) String ¶
func (o BackupDatabase) String() string
type BackupDatastore ¶ added in v0.0.47
type BackupDatastore struct { Type BackupDatastoreType `json:"type"` Version string `json:"version"` }
func (BackupDatastore) String ¶ added in v0.0.47
func (o BackupDatastore) String() string
type BackupDatastoreType ¶ added in v0.0.47
type BackupDatastoreType struct {
// contains filtered or unexported fields
}
func (BackupDatastoreType) MarshalJSON ¶ added in v0.0.47
func (c BackupDatastoreType) MarshalJSON() ([]byte, error)
func (*BackupDatastoreType) UnmarshalJSON ¶ added in v0.0.47
func (c *BackupDatastoreType) UnmarshalJSON(b []byte) error
type BackupDatastoreTypeEnum ¶ added in v0.0.47
type BackupDatastoreTypeEnum struct { MY_SQL BackupDatastoreType POSTGRE_SQL BackupDatastoreType SQL_SERVER BackupDatastoreType }
func GetBackupDatastoreTypeEnum ¶ added in v0.0.47
func GetBackupDatastoreTypeEnum() BackupDatastoreTypeEnum
type BackupForList ¶
type BackupForList struct { Id string `json:"id"` InstanceId string `json:"instance_id"` Name string `json:"name"` Databases *[]BackupDatabase `json:"databases,omitempty"` BeginTime string `json:"begin_time"` EndTime string `json:"end_time"` Status BackupForListStatus `json:"status"` Type BackupForListType `json:"type"` Size int64 `json:"size"` Datastore *BackupDatastore `json:"datastore"` AssociatedWithDdm *bool `json:"associated_with_ddm,omitempty"` }
备份信息。
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
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
type BackupForListTypeEnum ¶
type BackupForListTypeEnum struct { AUTO BackupForListType MANUAL BackupForListType FRAGMENT BackupForListType INCREMENTAL BackupForListType }
func GetBackupForListTypeEnum ¶
func GetBackupForListTypeEnum() BackupForListTypeEnum
type BackupInfo ¶
type BackupInfo struct { Id string `json:"id"` InstanceId string `json:"instance_id"` Name string `json:"name"` Description *string `json:"description,omitempty"` Databases *[]BackupDatabase `json:"databases,omitempty"` BeginTime string `json:"begin_time"` Status BackupInfoStatus `json:"status"` Type BackupInfoType `json:"type"` }
备份信息。
func (BackupInfo) String ¶
func (o BackupInfo) String() string
type BackupInfoStatus ¶
type BackupInfoStatus struct {
// contains filtered or unexported fields
}
func (BackupInfoStatus) MarshalJSON ¶
func (c BackupInfoStatus) MarshalJSON() ([]byte, error)
func (*BackupInfoStatus) UnmarshalJSON ¶
func (c *BackupInfoStatus) UnmarshalJSON(b []byte) error
type BackupInfoStatusEnum ¶
type BackupInfoStatusEnum struct { BUILDING BackupInfoStatus COMPLETED BackupInfoStatus FAILED BackupInfoStatus DELETING BackupInfoStatus }
func GetBackupInfoStatusEnum ¶
func GetBackupInfoStatusEnum() BackupInfoStatusEnum
type BackupInfoType ¶
type BackupInfoType struct {
// contains filtered or unexported fields
}
func (BackupInfoType) MarshalJSON ¶
func (c BackupInfoType) MarshalJSON() ([]byte, error)
func (*BackupInfoType) UnmarshalJSON ¶
func (c *BackupInfoType) UnmarshalJSON(b []byte) error
type BackupInfoTypeEnum ¶
type BackupInfoTypeEnum struct { AUTO BackupInfoType MANUAL BackupInfoType FRAGMENT BackupInfoType INCREMENTAL BackupInfoType }
func GetBackupInfoTypeEnum ¶
func GetBackupInfoTypeEnum() BackupInfoTypeEnum
type BackupPolicy ¶
type BackupPolicy struct { KeepDays int32 `json:"keep_days"` StartTime *string `json:"start_time,omitempty"` Period *string `json:"period,omitempty"` }
备份策略信息。
func (BackupPolicy) String ¶
func (o BackupPolicy) String() string
type BackupStrategy ¶
type BackupStrategy struct { StartTime string `json:"start_time"` KeepDays *int32 `json:"keep_days,omitempty"` }
自动备份策略。
func (BackupStrategy) String ¶
func (o BackupStrategy) String() string
type BackupStrategyForResponse ¶
type BackupStrategyForResponse struct { StartTime string `json:"start_time"` KeepDays int32 `json:"keep_days"` }
自动备份策略。
func (BackupStrategyForResponse) String ¶
func (o BackupStrategyForResponse) String() string
type BatchTagActionAddRequestBody ¶
type BatchTagActionAddRequestBody struct { Action string `json:"action"` Tags []TagWithKeyValue `json:"tags"` }
func (BatchTagActionAddRequestBody) String ¶
func (o BatchTagActionAddRequestBody) String() string
type BatchTagActionDelRequestBody ¶
type BatchTagActionDelRequestBody struct { Action string `json:"action"` Tags []TagDelWithKeyValue `json:"tags"` }
func (BatchTagActionDelRequestBody) String ¶
func (o BatchTagActionDelRequestBody) String() string
type BatchTagAddActionRequest ¶
type BatchTagAddActionRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *BatchTagActionAddRequestBody `json:"body,omitempty"` }
Request Object
func (BatchTagAddActionRequest) String ¶
func (o BatchTagAddActionRequest) String() string
type BatchTagAddActionResponse ¶
type BatchTagAddActionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchTagAddActionResponse) String ¶
func (o BatchTagAddActionResponse) String() string
type BatchTagDelActionRequest ¶
type BatchTagDelActionRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *BatchTagActionDelRequestBody `json:"body,omitempty"` }
Request Object
func (BatchTagDelActionRequest) String ¶
func (o BatchTagDelActionRequest) String() string
type BatchTagDelActionResponse ¶
type BatchTagDelActionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchTagDelActionResponse) String ¶
func (o BatchTagDelActionResponse) String() string
type BindEipRequest ¶
type BindEipRequest struct { PublicIp *string `json:"public_ip,omitempty"` PublicIpId *string `json:"public_ip_id,omitempty"` IsBind bool `json:"is_bind"` }
func (BindEipRequest) String ¶
func (o BindEipRequest) String() string
type BinlogClearPolicyRequestBody ¶ added in v0.0.47
type BinlogClearPolicyRequestBody struct {
BinlogRetentionHours int64 `json:"binlog_retention_hours"`
}
func (BinlogClearPolicyRequestBody) String ¶ added in v0.0.47
func (o BinlogClearPolicyRequestBody) String() string
type ChangeFailoverModeRequest ¶
type ChangeFailoverModeRequest struct { XLanguage *ChangeFailoverModeRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *FailoverModeRequest `json:"body,omitempty"` }
Request Object
func (ChangeFailoverModeRequest) String ¶
func (o ChangeFailoverModeRequest) String() string
type ChangeFailoverModeRequestXLanguage ¶
type ChangeFailoverModeRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ChangeFailoverModeRequestXLanguage) MarshalJSON ¶
func (c ChangeFailoverModeRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ChangeFailoverModeRequestXLanguage) UnmarshalJSON ¶
func (c *ChangeFailoverModeRequestXLanguage) UnmarshalJSON(b []byte) error
type ChangeFailoverModeRequestXLanguageEnum ¶
type ChangeFailoverModeRequestXLanguageEnum struct { ZH_CN ChangeFailoverModeRequestXLanguage EN_US ChangeFailoverModeRequestXLanguage }
func GetChangeFailoverModeRequestXLanguageEnum ¶
func GetChangeFailoverModeRequestXLanguageEnum() ChangeFailoverModeRequestXLanguageEnum
type ChangeFailoverModeResponse ¶
type ChangeFailoverModeResponse struct { InstanceId *string `json:"instanceId,omitempty"` ReplicationMode *string `json:"replicationMode,omitempty"` WorkflowId *string `json:"workflowId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ChangeFailoverModeResponse) String ¶
func (o ChangeFailoverModeResponse) String() string
type ChangeFailoverStrategyRequest ¶
type ChangeFailoverStrategyRequest struct { XLanguage *ChangeFailoverStrategyRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *FailoverStrategyRequest `json:"body,omitempty"` }
Request Object
func (ChangeFailoverStrategyRequest) String ¶
func (o ChangeFailoverStrategyRequest) String() string
type ChangeFailoverStrategyRequestXLanguage ¶
type ChangeFailoverStrategyRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ChangeFailoverStrategyRequestXLanguage) MarshalJSON ¶
func (c ChangeFailoverStrategyRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ChangeFailoverStrategyRequestXLanguage) UnmarshalJSON ¶
func (c *ChangeFailoverStrategyRequestXLanguage) UnmarshalJSON(b []byte) error
type ChangeFailoverStrategyRequestXLanguageEnum ¶
type ChangeFailoverStrategyRequestXLanguageEnum struct { ZH_CN ChangeFailoverStrategyRequestXLanguage EN_US ChangeFailoverStrategyRequestXLanguage }
func GetChangeFailoverStrategyRequestXLanguageEnum ¶
func GetChangeFailoverStrategyRequestXLanguageEnum() ChangeFailoverStrategyRequestXLanguageEnum
type ChangeFailoverStrategyResponse ¶
type ChangeFailoverStrategyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ChangeFailoverStrategyResponse) String ¶
func (o ChangeFailoverStrategyResponse) String() string
type ChangeOpsWindowRequest ¶
type ChangeOpsWindowRequest struct { XLanguage *ChangeOpsWindowRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *OpsWindowRequest `json:"body,omitempty"` }
Request Object
func (ChangeOpsWindowRequest) String ¶
func (o ChangeOpsWindowRequest) String() string
type ChangeOpsWindowRequestXLanguage ¶
type ChangeOpsWindowRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ChangeOpsWindowRequestXLanguage) MarshalJSON ¶
func (c ChangeOpsWindowRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ChangeOpsWindowRequestXLanguage) UnmarshalJSON ¶
func (c *ChangeOpsWindowRequestXLanguage) UnmarshalJSON(b []byte) error
type ChangeOpsWindowRequestXLanguageEnum ¶
type ChangeOpsWindowRequestXLanguageEnum struct { ZH_CN ChangeOpsWindowRequestXLanguage EN_US ChangeOpsWindowRequestXLanguage }
func GetChangeOpsWindowRequestXLanguageEnum ¶
func GetChangeOpsWindowRequestXLanguageEnum() ChangeOpsWindowRequestXLanguageEnum
type ChangeOpsWindowResponse ¶
type ChangeOpsWindowResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ChangeOpsWindowResponse) String ¶
func (o ChangeOpsWindowResponse) String() string
type ChargeInfo ¶
type ChargeInfo struct { ChargeMode ChargeInfoChargeMode `json:"charge_mode"` PeriodType *ChargeInfoPeriodType `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 (ChargeInfo) String ¶
func (o ChargeInfo) String() string
type ChargeInfoChargeMode ¶
type ChargeInfoChargeMode struct {
// contains filtered or unexported fields
}
func (ChargeInfoChargeMode) MarshalJSON ¶
func (c ChargeInfoChargeMode) MarshalJSON() ([]byte, error)
func (*ChargeInfoChargeMode) UnmarshalJSON ¶
func (c *ChargeInfoChargeMode) UnmarshalJSON(b []byte) error
type ChargeInfoChargeModeEnum ¶
type ChargeInfoChargeModeEnum struct { PRE_PAID ChargeInfoChargeMode POST_PAID ChargeInfoChargeMode }
func GetChargeInfoChargeModeEnum ¶
func GetChargeInfoChargeModeEnum() ChargeInfoChargeModeEnum
type ChargeInfoPeriodType ¶
type ChargeInfoPeriodType struct {
// contains filtered or unexported fields
}
func (ChargeInfoPeriodType) MarshalJSON ¶
func (c ChargeInfoPeriodType) MarshalJSON() ([]byte, error)
func (*ChargeInfoPeriodType) UnmarshalJSON ¶
func (c *ChargeInfoPeriodType) UnmarshalJSON(b []byte) error
type ChargeInfoPeriodTypeEnum ¶
type ChargeInfoPeriodTypeEnum struct { MONTH ChargeInfoPeriodType YEAR ChargeInfoPeriodType }
func GetChargeInfoPeriodTypeEnum ¶
func GetChargeInfoPeriodTypeEnum() ChargeInfoPeriodTypeEnum
type ChargeInfoResponse ¶
type ChargeInfoResponse struct {
ChargeMode ChargeInfoResponseChargeMode `json:"charge_mode"`
}
计费类型信息,支持包年包月和按需,默认为按需。
func (ChargeInfoResponse) String ¶
func (o ChargeInfoResponse) String() string
type ChargeInfoResponseChargeMode ¶
type ChargeInfoResponseChargeMode struct {
// contains filtered or unexported fields
}
func (ChargeInfoResponseChargeMode) MarshalJSON ¶
func (c ChargeInfoResponseChargeMode) MarshalJSON() ([]byte, error)
func (*ChargeInfoResponseChargeMode) UnmarshalJSON ¶
func (c *ChargeInfoResponseChargeMode) UnmarshalJSON(b []byte) error
type ChargeInfoResponseChargeModeEnum ¶
type ChargeInfoResponseChargeModeEnum struct { PRE_PAID ChargeInfoResponseChargeMode POST_PAID ChargeInfoResponseChargeMode }
func GetChargeInfoResponseChargeModeEnum ¶
func GetChargeInfoResponseChargeModeEnum() ChargeInfoResponseChargeModeEnum
type ConfigurationForCreation ¶
type ConfigurationForCreation struct { Name string `json:"name"` Description *string `json:"description,omitempty"` Datastore *ParaGroupDatastore `json:"datastore"` Values map[string]string `json:"values,omitempty"` }
func (ConfigurationForCreation) String ¶
func (o ConfigurationForCreation) String() string
type ConfigurationForUpdate ¶
type ConfigurationForUpdate struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Values map[string]string `json:"values,omitempty"` }
func (ConfigurationForUpdate) String ¶
func (o ConfigurationForUpdate) String() string
type ConfigurationParameter ¶
type ConfigurationParameter struct { Name string `json:"name"` Value string `json:"value"` RestartRequired bool `json:"restart_required"` Readonly bool `json:"readonly"` ValueRange string `json:"value_range"` Type ConfigurationParameterType `json:"type"` Description string `json:"description"` }
func (ConfigurationParameter) String ¶
func (o ConfigurationParameter) String() string
type ConfigurationParameterType ¶
type ConfigurationParameterType struct {
// contains filtered or unexported fields
}
func (ConfigurationParameterType) MarshalJSON ¶
func (c ConfigurationParameterType) MarshalJSON() ([]byte, error)
func (*ConfigurationParameterType) UnmarshalJSON ¶
func (c *ConfigurationParameterType) UnmarshalJSON(b []byte) error
type ConfigurationParameterTypeEnum ¶
type ConfigurationParameterTypeEnum struct { STRING ConfigurationParameterType INTEGER ConfigurationParameterType BOOLEAN ConfigurationParameterType LIST ConfigurationParameterType FLOAT ConfigurationParameterType }
func GetConfigurationParameterTypeEnum ¶
func GetConfigurationParameterTypeEnum() ConfigurationParameterTypeEnum
type ConfigurationSummary ¶
type ConfigurationSummary struct { Id string `json:"id"` Name string `json:"name"` Description *string `json:"description,omitempty"` DatastoreVersionName string `json:"datastore_version_name"` DatastoreName ConfigurationSummaryDatastoreName `json:"datastore_name"` Created string `json:"created"` Updated string `json:"updated"` UserDefined bool `json:"user_defined"` }
参数模板信息。
func (ConfigurationSummary) String ¶
func (o ConfigurationSummary) String() string
type ConfigurationSummaryDatastoreName ¶
type ConfigurationSummaryDatastoreName struct {
// contains filtered or unexported fields
}
func (ConfigurationSummaryDatastoreName) MarshalJSON ¶
func (c ConfigurationSummaryDatastoreName) MarshalJSON() ([]byte, error)
func (*ConfigurationSummaryDatastoreName) UnmarshalJSON ¶
func (c *ConfigurationSummaryDatastoreName) UnmarshalJSON(b []byte) error
type ConfigurationSummaryDatastoreNameEnum ¶
type ConfigurationSummaryDatastoreNameEnum struct { MYSQL ConfigurationSummaryDatastoreName POSTGRESQL ConfigurationSummaryDatastoreName SQLSERVER ConfigurationSummaryDatastoreName }
func GetConfigurationSummaryDatastoreNameEnum ¶
func GetConfigurationSummaryDatastoreNameEnum() ConfigurationSummaryDatastoreNameEnum
type ConfigurationSummaryForCreate ¶
type ConfigurationSummaryForCreate struct { Id string `json:"id"` Name string `json:"name"` Description *string `json:"description,omitempty"` DatastoreVersionName string `json:"datastore_version_name"` DatastoreName ConfigurationSummaryForCreateDatastoreName `json:"datastore_name"` Created string `json:"created"` Updated string `json:"updated"` }
参数模板信息。
func (ConfigurationSummaryForCreate) String ¶
func (o ConfigurationSummaryForCreate) String() string
type ConfigurationSummaryForCreateDatastoreName ¶
type ConfigurationSummaryForCreateDatastoreName struct {
// contains filtered or unexported fields
}
func (ConfigurationSummaryForCreateDatastoreName) MarshalJSON ¶
func (c ConfigurationSummaryForCreateDatastoreName) MarshalJSON() ([]byte, error)
func (*ConfigurationSummaryForCreateDatastoreName) UnmarshalJSON ¶
func (c *ConfigurationSummaryForCreateDatastoreName) UnmarshalJSON(b []byte) error
type ConfigurationSummaryForCreateDatastoreNameEnum ¶
type ConfigurationSummaryForCreateDatastoreNameEnum struct { MYSQL ConfigurationSummaryForCreateDatastoreName POSTGRESQL ConfigurationSummaryForCreateDatastoreName SQLSERVER ConfigurationSummaryForCreateDatastoreName }
func GetConfigurationSummaryForCreateDatastoreNameEnum ¶
func GetConfigurationSummaryForCreateDatastoreNameEnum() ConfigurationSummaryForCreateDatastoreNameEnum
type CreateConfigurationRequest ¶
type CreateConfigurationRequest struct { XLanguage *CreateConfigurationRequestXLanguage `json:"X-Language,omitempty"` Body *ConfigurationForCreation `json:"body,omitempty"` }
Request Object
func (CreateConfigurationRequest) String ¶
func (o CreateConfigurationRequest) String() string
type CreateConfigurationRequestXLanguage ¶
type CreateConfigurationRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreateConfigurationRequestXLanguage) MarshalJSON ¶
func (c CreateConfigurationRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreateConfigurationRequestXLanguage) UnmarshalJSON ¶
func (c *CreateConfigurationRequestXLanguage) UnmarshalJSON(b []byte) error
type CreateConfigurationRequestXLanguageEnum ¶
type CreateConfigurationRequestXLanguageEnum struct { ZH_CN CreateConfigurationRequestXLanguage EN_US CreateConfigurationRequestXLanguage }
func GetCreateConfigurationRequestXLanguageEnum ¶
func GetCreateConfigurationRequestXLanguageEnum() CreateConfigurationRequestXLanguageEnum
type CreateConfigurationResponse ¶
type CreateConfigurationResponse struct { Configuration *ConfigurationSummaryForCreate `json:"configuration,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateConfigurationResponse) String ¶
func (o CreateConfigurationResponse) String() string
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *DatabaseForCreation `json:"body,omitempty"` }
Request Object
func (CreateDatabaseRequest) String ¶
func (o CreateDatabaseRequest) String() string
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDatabaseResponse) String ¶
func (o CreateDatabaseResponse) String() string
type CreateDbUserRequest ¶
type CreateDbUserRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *UserForCreation `json:"body,omitempty"` }
Request Object
func (CreateDbUserRequest) String ¶
func (o CreateDbUserRequest) String() string
type CreateDbUserResponse ¶
type CreateDbUserResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDbUserResponse) String ¶
func (o CreateDbUserResponse) String() string
type CreateDnsNameRequest ¶
type CreateDnsNameRequest struct { XLanguage *CreateDnsNameRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *CreateDnsNameRequestBody `json:"body,omitempty"` }
Request Object
func (CreateDnsNameRequest) String ¶
func (o CreateDnsNameRequest) String() string
type CreateDnsNameRequestBody ¶
type CreateDnsNameRequestBody struct {
DnsType string `json:"dns_type"`
}
func (CreateDnsNameRequestBody) String ¶
func (o CreateDnsNameRequestBody) String() string
type CreateDnsNameRequestXLanguage ¶
type CreateDnsNameRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreateDnsNameRequestXLanguage) MarshalJSON ¶
func (c CreateDnsNameRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreateDnsNameRequestXLanguage) UnmarshalJSON ¶
func (c *CreateDnsNameRequestXLanguage) UnmarshalJSON(b []byte) error
type CreateDnsNameRequestXLanguageEnum ¶
type CreateDnsNameRequestXLanguageEnum struct { ZH_CN CreateDnsNameRequestXLanguage EN_US CreateDnsNameRequestXLanguage }
func GetCreateDnsNameRequestXLanguageEnum ¶
func GetCreateDnsNameRequestXLanguageEnum() CreateDnsNameRequestXLanguageEnum
type CreateDnsNameResponse ¶
type CreateDnsNameResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDnsNameResponse) String ¶
func (o CreateDnsNameResponse) String() string
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { XLanguage *CreateInstanceRequestXLanguage `json:"X-Language,omitempty"` Body *InstanceRequest `json:"body,omitempty"` }
Request Object
func (CreateInstanceRequest) String ¶
func (o CreateInstanceRequest) String() string
type CreateInstanceRequestXLanguage ¶
type CreateInstanceRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreateInstanceRequestXLanguage) MarshalJSON ¶
func (c CreateInstanceRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreateInstanceRequestXLanguage) UnmarshalJSON ¶
func (c *CreateInstanceRequestXLanguage) UnmarshalJSON(b []byte) error
type CreateInstanceRequestXLanguageEnum ¶
type CreateInstanceRequestXLanguageEnum struct { ZH_CN CreateInstanceRequestXLanguage EN_US CreateInstanceRequestXLanguage }
func GetCreateInstanceRequestXLanguageEnum ¶
func GetCreateInstanceRequestXLanguageEnum() CreateInstanceRequestXLanguageEnum
type CreateInstanceRespItem ¶
type CreateInstanceRespItem struct { Id *string `json:"id,omitempty"` Name string `json:"name"` Status *string `json:"status,omitempty"` Datastore *Datastore `json:"datastore"` Ha *Ha `json:"ha,omitempty"` ConfigurationId *string `json:"configuration_id,omitempty"` Port *string `json:"port,omitempty"` BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` DiskEncryptionId *string `json:"disk_encryption_id,omitempty"` FlavorRef string `json:"flavor_ref"` Volume *Volume `json:"volume"` Region string `json:"region"` AvailabilityZone string `json:"availability_zone"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SecurityGroupId string `json:"security_group_id"` ChargeInfo *ChargeInfo `json:"charge_info,omitempty"` Collation *string `json:"collation,omitempty"` RestorePoint *RestorePoint `json:"restore_point,omitempty"` }
实例信息。
func (CreateInstanceRespItem) String ¶
func (o CreateInstanceRespItem) String() string
type CreateInstanceResponse ¶
type CreateInstanceResponse struct { Instance *CreateInstanceRespItem `json:"instance,omitempty"` JobId *string `json:"job_id,omitempty"` OrderId *string `json:"order_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateInstanceResponse) String ¶
func (o CreateInstanceResponse) String() string
type CreateManualBackupRequest ¶
type CreateManualBackupRequest struct { XLanguage *string `json:"X-Language,omitempty"` Body *CreateManualBackupRequestBody `json:"body,omitempty"` }
Request Object
func (CreateManualBackupRequest) String ¶
func (o CreateManualBackupRequest) String() string
type CreateManualBackupRequestBody ¶
type CreateManualBackupRequestBody struct { InstanceId string `json:"instance_id"` Name string `json:"name"` Description *string `json:"description,omitempty"` Databases *[]BackupDatabase `json:"databases,omitempty"` }
func (CreateManualBackupRequestBody) String ¶
func (o CreateManualBackupRequestBody) String() string
type CreateManualBackupResponse ¶
type CreateManualBackupResponse struct { Backup *BackupInfo `json:"backup,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateManualBackupResponse) String ¶
func (o CreateManualBackupResponse) String() string
type CreatePostgresqlDatabaseRequest ¶
type CreatePostgresqlDatabaseRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *PostgresqlDatabaseForCreation `json:"body,omitempty"` }
Request Object
func (CreatePostgresqlDatabaseRequest) String ¶
func (o CreatePostgresqlDatabaseRequest) String() string
type CreatePostgresqlDatabaseResponse ¶
type CreatePostgresqlDatabaseResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePostgresqlDatabaseResponse) String ¶
func (o CreatePostgresqlDatabaseResponse) String() string
type CreatePostgresqlDatabaseSchemaRequest ¶
type CreatePostgresqlDatabaseSchemaRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *PostgresqlDatabaseSchemaReq `json:"body,omitempty"` }
Request Object
func (CreatePostgresqlDatabaseSchemaRequest) String ¶
func (o CreatePostgresqlDatabaseSchemaRequest) String() string
type CreatePostgresqlDatabaseSchemaResponse ¶
type CreatePostgresqlDatabaseSchemaResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePostgresqlDatabaseSchemaResponse) String ¶
func (o CreatePostgresqlDatabaseSchemaResponse) String() string
type CreatePostgresqlDbUserRequest ¶
type CreatePostgresqlDbUserRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *PostgresqlUserForCreation `json:"body,omitempty"` }
Request Object
func (CreatePostgresqlDbUserRequest) String ¶
func (o CreatePostgresqlDbUserRequest) String() string
type CreatePostgresqlDbUserResponse ¶
type CreatePostgresqlDbUserResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePostgresqlDbUserResponse) String ¶
func (o CreatePostgresqlDbUserResponse) String() string
type CreateRestoreInstanceRequest ¶
type CreateRestoreInstanceRequest struct { XLanguage *CreateRestoreInstanceRequestXLanguage `json:"X-Language,omitempty"` Body *InstanceRequest `json:"body,omitempty"` }
Request Object
func (CreateRestoreInstanceRequest) String ¶
func (o CreateRestoreInstanceRequest) String() string
type CreateRestoreInstanceRequestXLanguage ¶
type CreateRestoreInstanceRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreateRestoreInstanceRequestXLanguage) MarshalJSON ¶
func (c CreateRestoreInstanceRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreateRestoreInstanceRequestXLanguage) UnmarshalJSON ¶
func (c *CreateRestoreInstanceRequestXLanguage) UnmarshalJSON(b []byte) error
type CreateRestoreInstanceRequestXLanguageEnum ¶
type CreateRestoreInstanceRequestXLanguageEnum struct { ZH_CN CreateRestoreInstanceRequestXLanguage EN_US CreateRestoreInstanceRequestXLanguage }
func GetCreateRestoreInstanceRequestXLanguageEnum ¶
func GetCreateRestoreInstanceRequestXLanguageEnum() CreateRestoreInstanceRequestXLanguageEnum
type CreateRestoreInstanceResponse ¶
type CreateRestoreInstanceResponse struct { Instance *CreateInstanceRespItem `json:"instance,omitempty"` JobId *string `json:"job_id,omitempty"` OrderId *string `json:"order_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateRestoreInstanceResponse) String ¶
func (o CreateRestoreInstanceResponse) String() string
type CreateSqlserverDatabaseRequest ¶
type CreateSqlserverDatabaseRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *SqlserverDatabaseForCreation `json:"body,omitempty"` }
Request Object
func (CreateSqlserverDatabaseRequest) String ¶
func (o CreateSqlserverDatabaseRequest) String() string
type CreateSqlserverDatabaseResponse ¶
type CreateSqlserverDatabaseResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSqlserverDatabaseResponse) String ¶
func (o CreateSqlserverDatabaseResponse) String() string
type CreateSqlserverDbUserRequest ¶
type CreateSqlserverDbUserRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *SqlserverUserForCreation `json:"body,omitempty"` }
Request Object
func (CreateSqlserverDbUserRequest) String ¶
func (o CreateSqlserverDbUserRequest) String() string
type CreateSqlserverDbUserResponse ¶
type CreateSqlserverDbUserResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSqlserverDbUserResponse) String ¶
func (o CreateSqlserverDbUserResponse) String() string
type DataIpRequest ¶
type DataIpRequest struct {
NewIp string `json:"new_ip"`
}
func (DataIpRequest) String ¶
func (o DataIpRequest) String() string
type DatabaseForCreation ¶
type DatabaseForCreation struct { Name string `json:"name"` CharacterSet string `json:"character_set"` Comment *string `json:"comment,omitempty"` }
数据库信息。
func (DatabaseForCreation) String ¶
func (o DatabaseForCreation) String() string
type DatabaseWithPrivilege ¶
数据库及其权限。
func (DatabaseWithPrivilege) String ¶
func (o DatabaseWithPrivilege) String() string
type Datastore ¶
type Datastore struct { Type DatastoreType `json:"type"` Version string `json:"version"` CompleteVersion *string `json:"complete_version,omitempty"` }
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
type DatastoreTypeEnum ¶
type DatastoreTypeEnum struct { MY_SQL DatastoreType POSTGRE_SQL DatastoreType SQL_SERVER DatastoreType }
func GetDatastoreTypeEnum ¶
func GetDatastoreTypeEnum() DatastoreTypeEnum
type DbUserPwdRequest ¶
func (DbUserPwdRequest) String ¶
func (o DbUserPwdRequest) String() string
type DeleteConfigurationRequest ¶
type DeleteConfigurationRequest struct { XLanguage *string `json:"X-Language,omitempty"` ConfigId string `json:"config_id"` }
Request Object
func (DeleteConfigurationRequest) String ¶
func (o DeleteConfigurationRequest) String() string
type DeleteConfigurationResponse ¶
type DeleteConfigurationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteConfigurationResponse) String ¶
func (o DeleteConfigurationResponse) String() string
type DeleteDatabaseRequest ¶
type DeleteDatabaseRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` DbName string `json:"db_name"` }
Request Object
func (DeleteDatabaseRequest) String ¶
func (o DeleteDatabaseRequest) String() string
type DeleteDatabaseResponse ¶
type DeleteDatabaseResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteDatabaseResponse) String ¶
func (o DeleteDatabaseResponse) String() string
type DeleteDbUserRequest ¶
type DeleteDbUserRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` UserName string `json:"user_name"` }
Request Object
func (DeleteDbUserRequest) String ¶
func (o DeleteDbUserRequest) String() string
type DeleteDbUserResponse ¶
type DeleteDbUserResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteDbUserResponse) String ¶
func (o DeleteDbUserResponse) String() string
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { XLanguage *DeleteInstanceRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` }
Request Object
func (DeleteInstanceRequest) String ¶
func (o DeleteInstanceRequest) String() string
type DeleteInstanceRequestXLanguage ¶
type DeleteInstanceRequestXLanguage struct {
// contains filtered or unexported fields
}
func (DeleteInstanceRequestXLanguage) MarshalJSON ¶
func (c DeleteInstanceRequestXLanguage) MarshalJSON() ([]byte, error)
func (*DeleteInstanceRequestXLanguage) UnmarshalJSON ¶
func (c *DeleteInstanceRequestXLanguage) UnmarshalJSON(b []byte) error
type DeleteInstanceRequestXLanguageEnum ¶
type DeleteInstanceRequestXLanguageEnum struct { ZH_CN DeleteInstanceRequestXLanguage EN_US DeleteInstanceRequestXLanguage }
func GetDeleteInstanceRequestXLanguageEnum ¶
func GetDeleteInstanceRequestXLanguageEnum() DeleteInstanceRequestXLanguageEnum
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteInstanceResponse) String ¶
func (o DeleteInstanceResponse) String() string
type DeleteManualBackupRequest ¶
type DeleteManualBackupRequest struct { XLanguage *string `json:"X-Language,omitempty"` BackupId string `json:"backup_id"` }
Request Object
func (DeleteManualBackupRequest) String ¶
func (o DeleteManualBackupRequest) String() string
type DeleteManualBackupResponse ¶
type DeleteManualBackupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteManualBackupResponse) String ¶
func (o DeleteManualBackupResponse) String() string
type DeleteSqlserverDatabaseRequest ¶
type DeleteSqlserverDatabaseRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` DbName string `json:"db_name"` Body *DropDatabaseV3Req `json:"body,omitempty"` }
Request Object
func (DeleteSqlserverDatabaseRequest) String ¶
func (o DeleteSqlserverDatabaseRequest) String() string
type DeleteSqlserverDatabaseResponse ¶
type DeleteSqlserverDatabaseResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteSqlserverDatabaseResponse) String ¶
func (o DeleteSqlserverDatabaseResponse) String() string
type DeleteSqlserverDbUserRequest ¶
type DeleteSqlserverDbUserRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` UserName string `json:"user_name"` }
Request Object
func (DeleteSqlserverDbUserRequest) String ¶
func (o DeleteSqlserverDbUserRequest) String() string
type DeleteSqlserverDbUserResponse ¶
type DeleteSqlserverDbUserResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteSqlserverDbUserResponse) String ¶
func (o DeleteSqlserverDbUserResponse) String() string
type DownloadSlowlogRequest ¶
type DownloadSlowlogRequest struct { XLanguage *DownloadSlowlogRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *SlowlogDownloadRequest `json:"body,omitempty"` }
Request Object
func (DownloadSlowlogRequest) String ¶
func (o DownloadSlowlogRequest) String() string
type DownloadSlowlogRequestXLanguage ¶
type DownloadSlowlogRequestXLanguage struct {
// contains filtered or unexported fields
}
func (DownloadSlowlogRequestXLanguage) MarshalJSON ¶
func (c DownloadSlowlogRequestXLanguage) MarshalJSON() ([]byte, error)
func (*DownloadSlowlogRequestXLanguage) UnmarshalJSON ¶
func (c *DownloadSlowlogRequestXLanguage) UnmarshalJSON(b []byte) error
type DownloadSlowlogRequestXLanguageEnum ¶
type DownloadSlowlogRequestXLanguageEnum struct { ZH_CN DownloadSlowlogRequestXLanguage EN_US DownloadSlowlogRequestXLanguage }
func GetDownloadSlowlogRequestXLanguageEnum ¶
func GetDownloadSlowlogRequestXLanguageEnum() DownloadSlowlogRequestXLanguageEnum
type DownloadSlowlogResponse ¶
type DownloadSlowlogResponse struct { List *[]SlowlogDownloadInfo `json:"list,omitempty"` Status *string `json:"status,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DownloadSlowlogResponse) String ¶
func (o DownloadSlowlogResponse) String() string
type DropDatabaseV3Req ¶ added in v0.0.47
type DropDatabaseV3Req struct {
IsForceDelete *bool `json:"is_force_delete,omitempty"`
}
func (DropDatabaseV3Req) String ¶ added in v0.0.47
func (o DropDatabaseV3Req) String() string
type DssPoolInfo ¶
type DssPoolInfo struct { AzName string `json:"az_name"` FreeCapacityGb string `json:"free_capacity_gb"` DsspoolVolumeType string `json:"dsspool_volume_type"` DsspoolId string `json:"dsspool_id"` DsspoolStatus string `json:"dsspool_status"` }
实例专属存储信息。
func (DssPoolInfo) String ¶
func (o DssPoolInfo) String() string
type EnableConfigurationRequest ¶
type EnableConfigurationRequest struct { XLanguage *string `json:"X-Language,omitempty"` ConfigId string `json:"config_id"` Body *ApplyConfigurationRequest `json:"body,omitempty"` }
Request Object
func (EnableConfigurationRequest) String ¶
func (o EnableConfigurationRequest) String() string
type EnableConfigurationResponse ¶
type EnableConfigurationResponse struct { ConfigurationId *string `json:"configuration_id,omitempty"` ConfigurationName *string `json:"configuration_name,omitempty"` Success *bool `json:"success,omitempty"` ApplyResults *[]ApplyConfigurationResponseApplyResults `json:"apply_results,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (EnableConfigurationResponse) String ¶
func (o EnableConfigurationResponse) String() string
type EnlargeVolume ¶
type EnlargeVolume struct {
EnlargeVolume *EnlargeVolumeObject `json:"enlarge_volume"`
}
func (EnlargeVolume) String ¶
func (o EnlargeVolume) String() string
type EnlargeVolumeObject ¶ added in v0.0.46
type EnlargeVolumeObject struct { Size int32 `json:"size"` IsAutoPay *bool `json:"is_auto_pay,omitempty"` }
扩容实例磁盘时必填。
func (EnlargeVolumeObject) String ¶ added in v0.0.46
func (o EnlargeVolumeObject) String() string
type ErrorLog ¶
type ErrorLog struct { Time string `json:"time"` Level string `json:"level"` Content string `json:"content"` }
错误日志信息。
type ErrorResponse ¶
type ErrorResponse struct { ErrorCode string `json:"error_code"` ErrorMsg string `json:"error_msg"` }
func (ErrorResponse) String ¶
func (o ErrorResponse) String() string
type FailoverModeRequest ¶
type FailoverModeRequest struct {
Mode string `json:"mode"`
}
func (FailoverModeRequest) String ¶
func (o FailoverModeRequest) String() string
type FailoverStrategyRequest ¶
type FailoverStrategyRequest struct {
RepairStrategy string `json:"repairStrategy"`
}
func (FailoverStrategyRequest) String ¶
func (o FailoverStrategyRequest) String() string
type Flavor ¶
type Flavor struct { Id string `json:"id"` Vcpus string `json:"vcpus"` Ram int32 `json:"ram"` SpecCode string `json:"spec_code"` InstanceMode string `json:"instance_mode"` AzStatus map[string]string `json:"az_status"` VersionName []string `json:"version_name"` GroupType string `json:"group_type"` }
规格信息。
type FollowerMigrateRequest ¶
func (FollowerMigrateRequest) String ¶
func (o FollowerMigrateRequest) String() string
type GenerateAuditlogDownloadLinkRequest ¶
type GenerateAuditlogDownloadLinkRequest struct {
Ids []string `json:"ids"`
}
func (GenerateAuditlogDownloadLinkRequest) String ¶
func (o GenerateAuditlogDownloadLinkRequest) String() string
type GetBackupDownloadLinkFiles ¶
type GetBackupDownloadLinkFiles struct { Name string `json:"name"` Size int64 `json:"size"` DownloadLink string `json:"download_link"` LinkExpiredTime string `json:"link_expired_time"` }
func (GetBackupDownloadLinkFiles) String ¶
func (o GetBackupDownloadLinkFiles) String() string
type GetJobInfoResponseBodyJob ¶
type GetJobInfoResponseBodyJob struct { Id string `json:"id"` Name string `json:"name"` Status GetJobInfoResponseBodyJobStatus `json:"status"` Created string `json:"created"` Ended *string `json:"ended,omitempty"` Process *string `json:"process,omitempty"` Instance *GetTaskDetailListRspJobsInstance `json:"instance"` Entities *interface{} `json:"entities,omitempty"` FailReason *string `json:"fail_reason,omitempty"` }
任务信息。
func (GetJobInfoResponseBodyJob) String ¶
func (o GetJobInfoResponseBodyJob) String() string
type GetJobInfoResponseBodyJobStatus ¶
type GetJobInfoResponseBodyJobStatus struct {
// contains filtered or unexported fields
}
func (GetJobInfoResponseBodyJobStatus) MarshalJSON ¶
func (c GetJobInfoResponseBodyJobStatus) MarshalJSON() ([]byte, error)
func (*GetJobInfoResponseBodyJobStatus) UnmarshalJSON ¶
func (c *GetJobInfoResponseBodyJobStatus) UnmarshalJSON(b []byte) error
type GetJobInfoResponseBodyJobStatusEnum ¶
type GetJobInfoResponseBodyJobStatusEnum struct { RUNNING GetJobInfoResponseBodyJobStatus COMPLETED GetJobInfoResponseBodyJobStatus FAILED GetJobInfoResponseBodyJobStatus }
func GetGetJobInfoResponseBodyJobStatusEnum ¶
func GetGetJobInfoResponseBodyJobStatusEnum() GetJobInfoResponseBodyJobStatusEnum
type GetOffSiteBackupPolicy ¶
type GetOffSiteBackupPolicy struct { BackupType *string `json:"backup_type,omitempty"` KeepDays *int32 `json:"keep_days,omitempty"` DestinationRegion *string `json:"destination_region,omitempty"` DestinationProjectId *string `json:"destination_project_id,omitempty"` }
备份策略对象,包括备份类型、备份保留天数、目标区域ID和目标project ID。
func (GetOffSiteBackupPolicy) String ¶
func (o GetOffSiteBackupPolicy) String() string
type GetRestoreTimeResponseRestoreTime ¶
type GetRestoreTimeResponseRestoreTime struct { StartTime int32 `json:"start_time"` EndTime int32 `json:"end_time"` }
func (GetRestoreTimeResponseRestoreTime) String ¶
func (o GetRestoreTimeResponseRestoreTime) String() string
type GetTaskDetailListRspJobs ¶
type GetTaskDetailListRspJobs struct { Id string `json:"id"` Name string `json:"name"` Status GetTaskDetailListRspJobsStatus `json:"status"` Created string `json:"created"` Ended *string `json:"ended,omitempty"` Process *string `json:"process,omitempty"` TaskDetail *string `json:"task_detail,omitempty"` Instance *GetTaskDetailListRspJobsInstance `json:"instance"` Entities *interface{} `json:"entities,omitempty"` FailReason *string `json:"fail_reason,omitempty"` }
任务信息。
func (GetTaskDetailListRspJobs) String ¶
func (o GetTaskDetailListRspJobs) String() string
type GetTaskDetailListRspJobsInstance ¶ added in v0.0.47
执行任务的实例信息。
func (GetTaskDetailListRspJobsInstance) String ¶ added in v0.0.47
func (o GetTaskDetailListRspJobsInstance) String() string
type GetTaskDetailListRspJobsStatus ¶
type GetTaskDetailListRspJobsStatus struct {
// contains filtered or unexported fields
}
func (GetTaskDetailListRspJobsStatus) MarshalJSON ¶
func (c GetTaskDetailListRspJobsStatus) MarshalJSON() ([]byte, error)
func (*GetTaskDetailListRspJobsStatus) UnmarshalJSON ¶
func (c *GetTaskDetailListRspJobsStatus) UnmarshalJSON(b []byte) error
type GetTaskDetailListRspJobsStatusEnum ¶
type GetTaskDetailListRspJobsStatusEnum struct { RUNNING GetTaskDetailListRspJobsStatus COMPLETED GetTaskDetailListRspJobsStatus FAILED GetTaskDetailListRspJobsStatus }
func GetGetTaskDetailListRspJobsStatusEnum ¶
func GetGetTaskDetailListRspJobsStatusEnum() GetTaskDetailListRspJobsStatusEnum
type GrantRequest ¶
type GrantRequest struct { DbName string `json:"db_name"` Users []UserWithPrivilege `json:"users"` }
func (GrantRequest) String ¶
func (o GrantRequest) String() string
type Ha ¶
type Ha struct { Mode HaMode `json:"mode"` ReplicationMode HaReplicationMode `json:"replication_mode"` }
HA配置参数,创建HA实例时使用。
type HaMode ¶
type HaMode struct {
// contains filtered or unexported fields
}
func (HaMode) MarshalJSON ¶
func (*HaMode) UnmarshalJSON ¶
type HaModeEnum ¶
func GetHaModeEnum ¶
func GetHaModeEnum() HaModeEnum
type HaReplicationMode ¶
type HaReplicationMode struct {
// contains filtered or unexported fields
}
func (HaReplicationMode) MarshalJSON ¶
func (c HaReplicationMode) MarshalJSON() ([]byte, error)
func (*HaReplicationMode) UnmarshalJSON ¶
func (c *HaReplicationMode) UnmarshalJSON(b []byte) error
type HaReplicationModeEnum ¶
type HaReplicationModeEnum struct { ASYNC HaReplicationMode SEMISYNC HaReplicationMode SYNC HaReplicationMode }
func GetHaReplicationModeEnum ¶
func GetHaReplicationModeEnum() HaReplicationModeEnum
type HaResponse ¶
type HaResponse struct {
ReplicationMode HaResponseReplicationMode `json:"replication_mode"`
}
HA配置参数,创建HA实例时使用。
func (HaResponse) String ¶
func (o HaResponse) String() string
type HaResponseReplicationMode ¶
type HaResponseReplicationMode struct {
// contains filtered or unexported fields
}
func (HaResponseReplicationMode) MarshalJSON ¶
func (c HaResponseReplicationMode) MarshalJSON() ([]byte, error)
func (*HaResponseReplicationMode) UnmarshalJSON ¶
func (c *HaResponseReplicationMode) UnmarshalJSON(b []byte) error
type HaResponseReplicationModeEnum ¶
type HaResponseReplicationModeEnum struct { ASYNC HaResponseReplicationMode SEMISYNC HaResponseReplicationMode SYNC HaResponseReplicationMode }
func GetHaResponseReplicationModeEnum ¶
func GetHaResponseReplicationModeEnum() HaResponseReplicationModeEnum
type InstanceRequest ¶
type InstanceRequest struct { Name string `json:"name"` Datastore *Datastore `json:"datastore"` Ha *Ha `json:"ha,omitempty"` ConfigurationId *string `json:"configuration_id,omitempty"` Port *string `json:"port,omitempty"` Password *string `json:"password,omitempty"` BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` DiskEncryptionId *string `json:"disk_encryption_id,omitempty"` FlavorRef string `json:"flavor_ref"` Volume *Volume `json:"volume"` Region string `json:"region"` AvailabilityZone string `json:"availability_zone"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` DataVip *string `json:"data_vip,omitempty"` SecurityGroupId string `json:"security_group_id"` ChargeInfo *ChargeInfo `json:"charge_info,omitempty"` TimeZone *string `json:"time_zone,omitempty"` DsspoolId *string `json:"dsspool_id,omitempty"` ReplicaOfId *string `json:"replica_of_id,omitempty"` RestorePoint *RestorePoint `json:"restore_point,omitempty"` Collation *string `json:"collation,omitempty"` Tags *[]TagWithKeyValue `json:"tags,omitempty"` }
实例信息。
func (InstanceRequest) String ¶
func (o InstanceRequest) String() string
type InstanceResponse ¶
type InstanceResponse struct { Id string `json:"id"` Status string `json:"status"` PrivateIps []string `json:"private_ips"` PrivateDnsNames *[]string `json:"private_dns_names,omitempty"` PublicIps []string `json:"public_ips"` Type string `json:"type"` Created string `json:"created"` Updated string `json:"updated"` DbUserName string `json:"db_user_name"` SwitchStrategy string `json:"switch_strategy"` MaintenanceWindow string `json:"maintenance_window"` Nodes []NodeResponse `json:"nodes"` RelatedInstance []RelatedInstance `json:"related_instance"` Name string `json:"name"` Datastore *Datastore `json:"datastore"` Ha *HaResponse `json:"ha,omitempty"` Port int32 `json:"port"` BackupStrategy *BackupStrategyForResponse `json:"backup_strategy"` EnterpriseProjectId string `json:"enterprise_project_id"` DiskEncryptionId string `json:"disk_encryption_id"` FlavorRef string `json:"flavor_ref"` Cpu *string `json:"cpu,omitempty"` Mem *string `json:"mem,omitempty"` Volume *Volume `json:"volume"` Region string `json:"region"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SecurityGroupId string `json:"security_group_id"` ChargeInfo *ChargeInfoResponse `json:"charge_info"` TimeZone string `json:"time_zone"` Tags []TagResponse `json:"tags"` BackupUsedSpace *float64 `json:"backup_used_space,omitempty"` StorageUsedSpace *float64 `json:"storage_used_space,omitempty"` OrderId *string `json:"order_id,omitempty"` AssociatedWithDdm *bool `json:"associated_with_ddm,omitempty"` Alias *string `json:"alias,omitempty"` }
实例信息。
func (InstanceResponse) String ¶
func (o InstanceResponse) String() string
type InstanceRestartRequsetBody ¶
type InstanceRestartRequsetBody struct {
Restart *interface{} `json:"restart,omitempty"`
}
func (InstanceRestartRequsetBody) String ¶
func (o InstanceRestartRequsetBody) String() string
type ListAuditlogsRequest ¶
type ListAuditlogsRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` Offset int32 `json:"offset"` Limit int32 `json:"limit"` }
Request Object
func (ListAuditlogsRequest) String ¶
func (o ListAuditlogsRequest) String() string
type ListAuditlogsResponse ¶
type ListAuditlogsResponse struct { Auditlogs *[]Auditlog `json:"auditlogs,omitempty"` TotalRecord *int32 `json:"total_record,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAuditlogsResponse) String ¶
func (o ListAuditlogsResponse) String() string
type ListAuthorizedDatabasesRequest ¶
type ListAuthorizedDatabasesRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` UserName string `json:"user-name"` Page int32 `json:"page"` Limit int32 `json:"limit"` }
Request Object
func (ListAuthorizedDatabasesRequest) String ¶
func (o ListAuthorizedDatabasesRequest) String() string
type ListAuthorizedDatabasesResponse ¶
type ListAuthorizedDatabasesResponse struct { Databases *[]DatabaseWithPrivilege `json:"databases,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAuthorizedDatabasesResponse) String ¶
func (o ListAuthorizedDatabasesResponse) String() string
type ListAuthorizedDbUsersRequest ¶
type ListAuthorizedDbUsersRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` DbName string `json:"db-name"` Page int32 `json:"page"` Limit int32 `json:"limit"` }
Request Object
func (ListAuthorizedDbUsersRequest) String ¶
func (o ListAuthorizedDbUsersRequest) String() string
type ListAuthorizedDbUsersResponse ¶
type ListAuthorizedDbUsersResponse struct { Users *[]UserWithPrivilege `json:"users,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAuthorizedDbUsersResponse) String ¶
func (o ListAuthorizedDbUsersResponse) String() string
type ListAuthorizedSqlserverDbUsersRequest ¶
type ListAuthorizedSqlserverDbUsersRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` DbName string `json:"db-name"` Page int32 `json:"page"` Limit int32 `json:"limit"` }
Request Object
func (ListAuthorizedSqlserverDbUsersRequest) String ¶
func (o ListAuthorizedSqlserverDbUsersRequest) String() string
type ListAuthorizedSqlserverDbUsersResponse ¶
type ListAuthorizedSqlserverDbUsersResponse struct { Users *[]UserWithPrivilege `json:"users,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAuthorizedSqlserverDbUsersResponse) String ¶
func (o ListAuthorizedSqlserverDbUsersResponse) String() string
type ListBackupsRequest ¶
type ListBackupsRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` 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"` }
Request Object
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
type ListBackupsRequestBackupTypeEnum ¶
type ListBackupsRequestBackupTypeEnum struct { AUTO ListBackupsRequestBackupType MANUAL ListBackupsRequestBackupType FRAGMENT ListBackupsRequestBackupType INCREMENTAL ListBackupsRequestBackupType }
func GetListBackupsRequestBackupTypeEnum ¶
func GetListBackupsRequestBackupTypeEnum() ListBackupsRequestBackupTypeEnum
type ListBackupsResponse ¶
type ListBackupsResponse struct { Backups *[]BackupForList `json:"backups,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListBackupsResponse) String ¶
func (o ListBackupsResponse) String() string
type ListCollationsRequest ¶
type ListCollationsRequest struct {
XLanguage *ListCollationsRequestXLanguage `json:"X-Language,omitempty"`
}
Request Object
func (ListCollationsRequest) String ¶
func (o ListCollationsRequest) String() string
type ListCollationsRequestXLanguage ¶
type ListCollationsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListCollationsRequestXLanguage) MarshalJSON ¶
func (c ListCollationsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListCollationsRequestXLanguage) UnmarshalJSON ¶
func (c *ListCollationsRequestXLanguage) UnmarshalJSON(b []byte) error
type ListCollationsRequestXLanguageEnum ¶
type ListCollationsRequestXLanguageEnum struct { ZH_CN ListCollationsRequestXLanguage EN_US ListCollationsRequestXLanguage }
func GetListCollationsRequestXLanguageEnum ¶
func GetListCollationsRequestXLanguageEnum() ListCollationsRequestXLanguageEnum
type ListCollationsResponse ¶
type ListCollationsResponse struct { CharSets *[]string `json:"charSets,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCollationsResponse) String ¶
func (o ListCollationsResponse) String() string
type ListConfigurationsRequest ¶
type ListConfigurationsRequest struct {
XLanguage *ListConfigurationsRequestXLanguage `json:"X-Language,omitempty"`
}
Request Object
func (ListConfigurationsRequest) String ¶
func (o ListConfigurationsRequest) String() string
type ListConfigurationsRequestXLanguage ¶
type ListConfigurationsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListConfigurationsRequestXLanguage) MarshalJSON ¶
func (c ListConfigurationsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListConfigurationsRequestXLanguage) UnmarshalJSON ¶
func (c *ListConfigurationsRequestXLanguage) UnmarshalJSON(b []byte) error
type ListConfigurationsRequestXLanguageEnum ¶
type ListConfigurationsRequestXLanguageEnum struct { ZH_CN ListConfigurationsRequestXLanguage EN_US ListConfigurationsRequestXLanguage }
func GetListConfigurationsRequestXLanguageEnum ¶
func GetListConfigurationsRequestXLanguageEnum() ListConfigurationsRequestXLanguageEnum
type ListConfigurationsResponse ¶
type ListConfigurationsResponse struct { Configurations *[]ConfigurationSummary `json:"configurations,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListConfigurationsResponse) String ¶
func (o ListConfigurationsResponse) String() string
type ListDatabasesRequest ¶
type ListDatabasesRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Page int32 `json:"page"` Limit int32 `json:"limit"` }
Request Object
func (ListDatabasesRequest) String ¶
func (o ListDatabasesRequest) String() string
type ListDatabasesResponse ¶
type ListDatabasesResponse struct { Databases *[]DatabaseForCreation `json:"databases,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDatabasesResponse) String ¶
func (o ListDatabasesResponse) String() string
type ListDatastoresRequest ¶
type ListDatastoresRequest struct { XLanguage *string `json:"X-Language,omitempty"` DatabaseName ListDatastoresRequestDatabaseName `json:"database_name"` }
Request Object
func (ListDatastoresRequest) String ¶
func (o ListDatastoresRequest) String() string
type ListDatastoresRequestDatabaseName ¶
type ListDatastoresRequestDatabaseName struct {
// contains filtered or unexported fields
}
func (ListDatastoresRequestDatabaseName) MarshalJSON ¶
func (c ListDatastoresRequestDatabaseName) MarshalJSON() ([]byte, error)
func (*ListDatastoresRequestDatabaseName) UnmarshalJSON ¶
func (c *ListDatastoresRequestDatabaseName) UnmarshalJSON(b []byte) error
type ListDatastoresRequestDatabaseNameEnum ¶
type ListDatastoresRequestDatabaseNameEnum struct { MY_SQL ListDatastoresRequestDatabaseName POSTGRE_SQL ListDatastoresRequestDatabaseName SQL_SERVER ListDatastoresRequestDatabaseName }
func GetListDatastoresRequestDatabaseNameEnum ¶
func GetListDatastoresRequestDatabaseNameEnum() ListDatastoresRequestDatabaseNameEnum
type ListDatastoresResponse ¶
type ListDatastoresResponse struct { DataStores *[]LDatastore `json:"dataStores,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDatastoresResponse) String ¶
func (o ListDatastoresResponse) String() string
type ListDbUsersRequest ¶
type ListDbUsersRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Page int32 `json:"page"` Limit int32 `json:"limit"` }
Request Object
func (ListDbUsersRequest) String ¶
func (o ListDbUsersRequest) String() string
type ListDbUsersResponse ¶
type ListDbUsersResponse struct { Users *[]UserForList `json:"users,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDbUsersResponse) String ¶
func (o ListDbUsersResponse) String() string
type ListErrorLogsRequest ¶
type ListErrorLogsRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` StartDate string `json:"start_date"` EndDate string `json:"end_date"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Level *ListErrorLogsRequestLevel `json:"level,omitempty"` }
Request Object
func (ListErrorLogsRequest) String ¶
func (o ListErrorLogsRequest) String() string
type ListErrorLogsRequestLevel ¶
type ListErrorLogsRequestLevel struct {
// contains filtered or unexported fields
}
func (ListErrorLogsRequestLevel) MarshalJSON ¶
func (c ListErrorLogsRequestLevel) MarshalJSON() ([]byte, error)
func (*ListErrorLogsRequestLevel) UnmarshalJSON ¶
func (c *ListErrorLogsRequestLevel) UnmarshalJSON(b []byte) error
type ListErrorLogsRequestLevelEnum ¶
type ListErrorLogsRequestLevelEnum struct { ALL ListErrorLogsRequestLevel INFO ListErrorLogsRequestLevel LOG ListErrorLogsRequestLevel WARNING ListErrorLogsRequestLevel ERROR ListErrorLogsRequestLevel FATAL ListErrorLogsRequestLevel PANIC ListErrorLogsRequestLevel NOTE ListErrorLogsRequestLevel }
func GetListErrorLogsRequestLevelEnum ¶
func GetListErrorLogsRequestLevelEnum() ListErrorLogsRequestLevelEnum
type ListErrorLogsResponse ¶
type ListErrorLogsResponse struct { ErrorLogList *[]ErrorLog `json:"error_log_list,omitempty"` TotalRecord *int32 `json:"total_record,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListErrorLogsResponse) String ¶
func (o ListErrorLogsResponse) String() string
type ListFlavorsRequest ¶
type ListFlavorsRequest struct { XLanguage *string `json:"X-Language,omitempty"` DatabaseName ListFlavorsRequestDatabaseName `json:"database_name"` VersionName *string `json:"version_name,omitempty"` SpecCode *string `json:"spec_code,omitempty"` }
Request Object
func (ListFlavorsRequest) String ¶
func (o ListFlavorsRequest) String() string
type ListFlavorsRequestDatabaseName ¶
type ListFlavorsRequestDatabaseName struct {
// contains filtered or unexported fields
}
func (ListFlavorsRequestDatabaseName) MarshalJSON ¶
func (c ListFlavorsRequestDatabaseName) MarshalJSON() ([]byte, error)
func (*ListFlavorsRequestDatabaseName) UnmarshalJSON ¶
func (c *ListFlavorsRequestDatabaseName) UnmarshalJSON(b []byte) error
type ListFlavorsRequestDatabaseNameEnum ¶
type ListFlavorsRequestDatabaseNameEnum struct { MY_SQL ListFlavorsRequestDatabaseName POSTGRE_SQL ListFlavorsRequestDatabaseName SQL_SERVER ListFlavorsRequestDatabaseName }
func GetListFlavorsRequestDatabaseNameEnum ¶
func GetListFlavorsRequestDatabaseNameEnum() ListFlavorsRequestDatabaseNameEnum
type ListFlavorsResponse ¶
type ListFlavorsResponse struct { Flavors *[]Flavor `json:"flavors,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFlavorsResponse) String ¶
func (o ListFlavorsResponse) String() string
type ListInstancesRequest ¶
type ListInstancesRequest struct { ContentType *string `json:"Content-Type,omitempty"` XLanguage *ListInstancesRequestXLanguage `json:"X-Language,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *ListInstancesRequestType `json:"type,omitempty"` DatastoreType *ListInstancesRequestDatastoreType `json:"datastore_type,omitempty"` VpcId *string `json:"vpc_id,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Tags *string `json:"tags,omitempty"` }
Request Object
func (ListInstancesRequest) String ¶
func (o ListInstancesRequest) String() string
type ListInstancesRequestDatastoreType ¶
type ListInstancesRequestDatastoreType struct {
// contains filtered or unexported fields
}
func (ListInstancesRequestDatastoreType) MarshalJSON ¶
func (c ListInstancesRequestDatastoreType) MarshalJSON() ([]byte, error)
func (*ListInstancesRequestDatastoreType) UnmarshalJSON ¶
func (c *ListInstancesRequestDatastoreType) UnmarshalJSON(b []byte) error
type ListInstancesRequestDatastoreTypeEnum ¶
type ListInstancesRequestDatastoreTypeEnum struct { MY_SQL ListInstancesRequestDatastoreType POSTGRE_SQL ListInstancesRequestDatastoreType SQL_SERVER ListInstancesRequestDatastoreType }
func GetListInstancesRequestDatastoreTypeEnum ¶
func GetListInstancesRequestDatastoreTypeEnum() ListInstancesRequestDatastoreTypeEnum
type ListInstancesRequestType ¶
type ListInstancesRequestType struct {
// contains filtered or unexported fields
}
func (ListInstancesRequestType) MarshalJSON ¶
func (c ListInstancesRequestType) MarshalJSON() ([]byte, error)
func (*ListInstancesRequestType) UnmarshalJSON ¶
func (c *ListInstancesRequestType) UnmarshalJSON(b []byte) error
type ListInstancesRequestTypeEnum ¶
type ListInstancesRequestTypeEnum struct { SINGLE ListInstancesRequestType HA ListInstancesRequestType REPLICA ListInstancesRequestType }
func GetListInstancesRequestTypeEnum ¶
func GetListInstancesRequestTypeEnum() ListInstancesRequestTypeEnum
type ListInstancesRequestXLanguage ¶
type ListInstancesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListInstancesRequestXLanguage) MarshalJSON ¶
func (c ListInstancesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListInstancesRequestXLanguage) UnmarshalJSON ¶
func (c *ListInstancesRequestXLanguage) UnmarshalJSON(b []byte) error
type ListInstancesRequestXLanguageEnum ¶
type ListInstancesRequestXLanguageEnum struct { ZH_CN ListInstancesRequestXLanguage EN_US ListInstancesRequestXLanguage }
func GetListInstancesRequestXLanguageEnum ¶
func GetListInstancesRequestXLanguageEnum() ListInstancesRequestXLanguageEnum
type ListInstancesResponse ¶
type ListInstancesResponse struct { Instances *[]InstanceResponse `json:"instances,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstancesResponse) String ¶
func (o ListInstancesResponse) String() string
type ListJobInfoDetailRequest ¶
type ListJobInfoDetailRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` StartTime string `json:"start_time"` EndTime *string `json:"end_time,omitempty"` }
Request Object
func (ListJobInfoDetailRequest) String ¶
func (o ListJobInfoDetailRequest) String() string
type ListJobInfoDetailResponse ¶
type ListJobInfoDetailResponse struct { Jobs *GetTaskDetailListRspJobs `json:"jobs,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListJobInfoDetailResponse) String ¶
func (o ListJobInfoDetailResponse) String() string
type ListJobInfoRequest ¶
type ListJobInfoRequest struct { XLanguage *string `json:"X-Language,omitempty"` Id string `json:"id"` }
Request Object
func (ListJobInfoRequest) String ¶
func (o ListJobInfoRequest) String() string
type ListJobInfoResponse ¶
type ListJobInfoResponse struct { Job *GetJobInfoResponseBodyJob `json:"job,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListJobInfoResponse) String ¶
func (o ListJobInfoResponse) String() string
type ListOffSiteBackupsRequest ¶
type ListOffSiteBackupsRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` BackupId *string `json:"backup_id,omitempty"` BackupType *ListOffSiteBackupsRequestBackupType `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"` }
Request Object
func (ListOffSiteBackupsRequest) String ¶
func (o ListOffSiteBackupsRequest) String() string
type ListOffSiteBackupsRequestBackupType ¶
type ListOffSiteBackupsRequestBackupType struct {
// contains filtered or unexported fields
}
func (ListOffSiteBackupsRequestBackupType) MarshalJSON ¶
func (c ListOffSiteBackupsRequestBackupType) MarshalJSON() ([]byte, error)
func (*ListOffSiteBackupsRequestBackupType) UnmarshalJSON ¶
func (c *ListOffSiteBackupsRequestBackupType) UnmarshalJSON(b []byte) error
type ListOffSiteBackupsRequestBackupTypeEnum ¶
type ListOffSiteBackupsRequestBackupTypeEnum struct { AUTO ListOffSiteBackupsRequestBackupType INCREMENTAL ListOffSiteBackupsRequestBackupType }
func GetListOffSiteBackupsRequestBackupTypeEnum ¶
func GetListOffSiteBackupsRequestBackupTypeEnum() ListOffSiteBackupsRequestBackupTypeEnum
type ListOffSiteBackupsResponse ¶
type ListOffSiteBackupsResponse struct { Backups *[]OffSiteBackupForList `json:"backups,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListOffSiteBackupsResponse) String ¶
func (o ListOffSiteBackupsResponse) String() string
type ListOffSiteInstancesRequest ¶
type ListOffSiteInstancesRequest struct { ContentType *string `json:"Content-Type,omitempty"` XLanguage *ListOffSiteInstancesRequestXLanguage `json:"X-Language,omitempty"` Offset *interface{} `json:"offset,omitempty"` Limit *interface{} `json:"limit,omitempty"` }
Request Object
func (ListOffSiteInstancesRequest) String ¶
func (o ListOffSiteInstancesRequest) String() string
type ListOffSiteInstancesRequestXLanguage ¶
type ListOffSiteInstancesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListOffSiteInstancesRequestXLanguage) MarshalJSON ¶
func (c ListOffSiteInstancesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListOffSiteInstancesRequestXLanguage) UnmarshalJSON ¶
func (c *ListOffSiteInstancesRequestXLanguage) UnmarshalJSON(b []byte) error
type ListOffSiteInstancesRequestXLanguageEnum ¶
type ListOffSiteInstancesRequestXLanguageEnum struct { ZH_CN ListOffSiteInstancesRequestXLanguage EN_US ListOffSiteInstancesRequestXLanguage }
func GetListOffSiteInstancesRequestXLanguageEnum ¶
func GetListOffSiteInstancesRequestXLanguageEnum() ListOffSiteInstancesRequestXLanguageEnum
type ListOffSiteInstancesResponse ¶
type ListOffSiteInstancesResponse struct { OffsiteBackupInstances *[]OffsiteBackupInstance `json:"offsite_backup_instances,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListOffSiteInstancesResponse) String ¶
func (o ListOffSiteInstancesResponse) String() string
type ListOffSiteRestoreTimesRequest ¶
type ListOffSiteRestoreTimesRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Date *string `json:"date,omitempty"` }
Request Object
func (ListOffSiteRestoreTimesRequest) String ¶
func (o ListOffSiteRestoreTimesRequest) String() string
type ListOffSiteRestoreTimesResponse ¶
type ListOffSiteRestoreTimesResponse struct { RestoreTime *[]GetRestoreTimeResponseRestoreTime `json:"restore_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListOffSiteRestoreTimesResponse) String ¶
func (o ListOffSiteRestoreTimesResponse) String() string
type ListPostgresqlDatabaseSchemasRequest ¶
type ListPostgresqlDatabaseSchemasRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` DbName string `json:"db_name"` Page int32 `json:"page"` Limit int32 `json:"limit"` }
Request Object
func (ListPostgresqlDatabaseSchemasRequest) String ¶
func (o ListPostgresqlDatabaseSchemasRequest) String() string
type ListPostgresqlDatabaseSchemasResponse ¶
type ListPostgresqlDatabaseSchemasResponse struct { DatabaseSchemas *[]PostgresqlDatabaseForListSchema `json:"database_schemas,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPostgresqlDatabaseSchemasResponse) String ¶
func (o ListPostgresqlDatabaseSchemasResponse) String() string
type ListPostgresqlDatabasesRequest ¶
type ListPostgresqlDatabasesRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Page int32 `json:"page"` Limit int32 `json:"limit"` }
Request Object
func (ListPostgresqlDatabasesRequest) String ¶
func (o ListPostgresqlDatabasesRequest) String() string
type ListPostgresqlDatabasesResponse ¶
type ListPostgresqlDatabasesResponse struct { Databases *[]PostgresqlListDatabase `json:"databases,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPostgresqlDatabasesResponse) String ¶
func (o ListPostgresqlDatabasesResponse) String() string
type ListPostgresqlDbUserPaginatedRequest ¶
type ListPostgresqlDbUserPaginatedRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Page int32 `json:"page"` Limit int32 `json:"limit"` }
Request Object
func (ListPostgresqlDbUserPaginatedRequest) String ¶
func (o ListPostgresqlDbUserPaginatedRequest) String() string
type ListPostgresqlDbUserPaginatedResponse ¶
type ListPostgresqlDbUserPaginatedResponse struct { Users *[]PostgresqlUserForList `json:"users,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPostgresqlDbUserPaginatedResponse) String ¶
func (o ListPostgresqlDbUserPaginatedResponse) String() string
type ListProjectTagsRequest ¶
type ListProjectTagsRequest struct {
XLanguage *string `json:"X-Language,omitempty"`
}
Request Object
func (ListProjectTagsRequest) String ¶
func (o ListProjectTagsRequest) String() string
type ListProjectTagsResponse ¶
type ListProjectTagsResponse struct { Tags *[]ProjectTagInfoResponse `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectTagsResponse) String ¶
func (o ListProjectTagsResponse) String() string
type ListRestoreTimesRequest ¶
type ListRestoreTimesRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Date *string `json:"date,omitempty"` }
Request Object
func (ListRestoreTimesRequest) String ¶
func (o ListRestoreTimesRequest) String() string
type ListRestoreTimesResponse ¶
type ListRestoreTimesResponse struct { RestoreTime *[]GetRestoreTimeResponseRestoreTime `json:"restore_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRestoreTimesResponse) String ¶
func (o ListRestoreTimesResponse) String() string
type ListSlowLogsRequest ¶
type ListSlowLogsRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` StartDate string `json:"start_date"` EndDate string `json:"end_date"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Type *ListSlowLogsRequestType `json:"type,omitempty"` }
Request Object
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
type ListSlowLogsRequestTypeEnum ¶
type ListSlowLogsRequestTypeEnum struct { INSERT ListSlowLogsRequestType UPDATE ListSlowLogsRequestType SELECT ListSlowLogsRequestType DELETE ListSlowLogsRequestType CREATE ListSlowLogsRequestType }
func GetListSlowLogsRequestTypeEnum ¶
func GetListSlowLogsRequestTypeEnum() ListSlowLogsRequestTypeEnum
type ListSlowLogsResponse ¶
type ListSlowLogsResponse struct { SlowLogList *[]SlowLog `json:"slow_log_list,omitempty"` TotalRecord *int32 `json:"total_record,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSlowLogsResponse) String ¶
func (o ListSlowLogsResponse) String() string
type ListSlowlogStatisticsRequest ¶
type ListSlowlogStatisticsRequest struct { XLanguage *ListSlowlogStatisticsRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` CurPage int32 `json:"cur_page"` PerPage int32 `json:"per_page"` StartDate string `json:"start_date"` EndDate string `json:"end_date"` Type ListSlowlogStatisticsRequestType `json:"type"` }
Request Object
func (ListSlowlogStatisticsRequest) String ¶
func (o ListSlowlogStatisticsRequest) String() string
type ListSlowlogStatisticsRequestType ¶
type ListSlowlogStatisticsRequestType struct {
// contains filtered or unexported fields
}
func (ListSlowlogStatisticsRequestType) MarshalJSON ¶
func (c ListSlowlogStatisticsRequestType) MarshalJSON() ([]byte, error)
func (*ListSlowlogStatisticsRequestType) UnmarshalJSON ¶
func (c *ListSlowlogStatisticsRequestType) UnmarshalJSON(b []byte) error
type ListSlowlogStatisticsRequestTypeEnum ¶
type ListSlowlogStatisticsRequestTypeEnum struct { INSERT ListSlowlogStatisticsRequestType UPDATE ListSlowlogStatisticsRequestType SELECT ListSlowlogStatisticsRequestType DELETE ListSlowlogStatisticsRequestType CREATE ListSlowlogStatisticsRequestType ALL ListSlowlogStatisticsRequestType }
func GetListSlowlogStatisticsRequestTypeEnum ¶
func GetListSlowlogStatisticsRequestTypeEnum() ListSlowlogStatisticsRequestTypeEnum
type ListSlowlogStatisticsRequestXLanguage ¶
type ListSlowlogStatisticsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListSlowlogStatisticsRequestXLanguage) MarshalJSON ¶
func (c ListSlowlogStatisticsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListSlowlogStatisticsRequestXLanguage) UnmarshalJSON ¶
func (c *ListSlowlogStatisticsRequestXLanguage) UnmarshalJSON(b []byte) error
type ListSlowlogStatisticsRequestXLanguageEnum ¶
type ListSlowlogStatisticsRequestXLanguageEnum struct { ZH_CN ListSlowlogStatisticsRequestXLanguage EN_US ListSlowlogStatisticsRequestXLanguage }
func GetListSlowlogStatisticsRequestXLanguageEnum ¶
func GetListSlowlogStatisticsRequestXLanguageEnum() ListSlowlogStatisticsRequestXLanguageEnum
type ListSlowlogStatisticsResponse ¶
type ListSlowlogStatisticsResponse struct { PageNumber *int32 `json:"pageNumber,omitempty"` PageRecord *int32 `json:"pageRecord,omitempty"` SlowLogList *[]SlowLogStatistics `json:"slowLogList,omitempty"` TotalRecord *int32 `json:"totalRecord,omitempty"` StartTime *int64 `json:"startTime,omitempty"` EndTime *int64 `json:"endTime,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSlowlogStatisticsResponse) String ¶
func (o ListSlowlogStatisticsResponse) String() string
type ListSqlserverDatabasesRequest ¶
type ListSqlserverDatabasesRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Page int32 `json:"page"` Limit int32 `json:"limit"` DbName *string `json:"db-name,omitempty"` }
Request Object
func (ListSqlserverDatabasesRequest) String ¶
func (o ListSqlserverDatabasesRequest) String() string
type ListSqlserverDatabasesResponse ¶
type ListSqlserverDatabasesResponse struct { Databases *[]SqlserverDatabaseForDetail `json:"databases,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSqlserverDatabasesResponse) String ¶
func (o ListSqlserverDatabasesResponse) String() string
type ListSqlserverDbUsersRequest ¶
type ListSqlserverDbUsersRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Page int32 `json:"page"` Limit int32 `json:"limit"` }
Request Object
func (ListSqlserverDbUsersRequest) String ¶
func (o ListSqlserverDbUsersRequest) String() string
type ListSqlserverDbUsersResponse ¶
type ListSqlserverDbUsersResponse struct { Users *[]UserForList `json:"users,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSqlserverDbUsersResponse) String ¶
func (o ListSqlserverDbUsersResponse) String() string
type ListStorageTypesRequest ¶
type ListStorageTypesRequest struct { XLanguage *string `json:"X-Language,omitempty"` DatabaseName ListStorageTypesRequestDatabaseName `json:"database_name"` VersionName string `json:"version_name"` HaMode *ListStorageTypesRequestHaMode `json:"ha_mode,omitempty"` }
Request Object
func (ListStorageTypesRequest) String ¶
func (o ListStorageTypesRequest) String() string
type ListStorageTypesRequestDatabaseName ¶
type ListStorageTypesRequestDatabaseName struct {
// contains filtered or unexported fields
}
func (ListStorageTypesRequestDatabaseName) MarshalJSON ¶
func (c ListStorageTypesRequestDatabaseName) MarshalJSON() ([]byte, error)
func (*ListStorageTypesRequestDatabaseName) UnmarshalJSON ¶
func (c *ListStorageTypesRequestDatabaseName) UnmarshalJSON(b []byte) error
type ListStorageTypesRequestDatabaseNameEnum ¶
type ListStorageTypesRequestDatabaseNameEnum struct { MY_SQL ListStorageTypesRequestDatabaseName POSTGRE_SQL ListStorageTypesRequestDatabaseName SQL_SERVER ListStorageTypesRequestDatabaseName }
func GetListStorageTypesRequestDatabaseNameEnum ¶
func GetListStorageTypesRequestDatabaseNameEnum() ListStorageTypesRequestDatabaseNameEnum
type ListStorageTypesRequestHaMode ¶
type ListStorageTypesRequestHaMode struct {
// contains filtered or unexported fields
}
func (ListStorageTypesRequestHaMode) MarshalJSON ¶
func (c ListStorageTypesRequestHaMode) MarshalJSON() ([]byte, error)
func (*ListStorageTypesRequestHaMode) UnmarshalJSON ¶
func (c *ListStorageTypesRequestHaMode) UnmarshalJSON(b []byte) error
type ListStorageTypesRequestHaModeEnum ¶
type ListStorageTypesRequestHaModeEnum struct { HA ListStorageTypesRequestHaMode SINGLE ListStorageTypesRequestHaMode REPLICA ListStorageTypesRequestHaMode }
func GetListStorageTypesRequestHaModeEnum ¶
func GetListStorageTypesRequestHaModeEnum() ListStorageTypesRequestHaModeEnum
type ListStorageTypesResponse ¶
type ListStorageTypesResponse struct { StorageType *[]Storage `json:"storage_type,omitempty"` DsspoolInfo *[]DssPoolInfo `json:"dsspool_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListStorageTypesResponse) String ¶
func (o ListStorageTypesResponse) String() string
type MigrateFollowerRequest ¶
type MigrateFollowerRequest struct { XLanguage *MigrateFollowerRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *FollowerMigrateRequest `json:"body,omitempty"` }
Request Object
func (MigrateFollowerRequest) String ¶
func (o MigrateFollowerRequest) String() string
type MigrateFollowerRequestXLanguage ¶
type MigrateFollowerRequestXLanguage struct {
// contains filtered or unexported fields
}
func (MigrateFollowerRequestXLanguage) MarshalJSON ¶
func (c MigrateFollowerRequestXLanguage) MarshalJSON() ([]byte, error)
func (*MigrateFollowerRequestXLanguage) UnmarshalJSON ¶
func (c *MigrateFollowerRequestXLanguage) UnmarshalJSON(b []byte) error
type MigrateFollowerRequestXLanguageEnum ¶
type MigrateFollowerRequestXLanguageEnum struct { ZH_CN MigrateFollowerRequestXLanguage EN_US MigrateFollowerRequestXLanguage }
func GetMigrateFollowerRequestXLanguageEnum ¶
func GetMigrateFollowerRequestXLanguageEnum() MigrateFollowerRequestXLanguageEnum
type MigrateFollowerResponse ¶
type MigrateFollowerResponse struct { WorkflowId *string `json:"workflowId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (MigrateFollowerResponse) String ¶
func (o MigrateFollowerResponse) String() string
type ModifiyInstanceNameRequest ¶
type ModifiyInstanceNameRequest struct {
Name string `json:"name"`
}
修改实例名称必填。
func (ModifiyInstanceNameRequest) String ¶
func (o ModifiyInstanceNameRequest) String() string
type ModifyDnsNameRequestBody ¶
type ModifyDnsNameRequestBody struct {
DnsName string `json:"dns_name"`
}
func (ModifyDnsNameRequestBody) String ¶
func (o ModifyDnsNameRequestBody) String() string
type NodeResponse ¶
type NodeResponse struct { Id string `json:"id"` Name string `json:"name"` Role string `json:"role"` Status string `json:"status"` AvailabilityZone string `json:"availability_zone"` }
实例节点信息。
func (NodeResponse) String ¶
func (o NodeResponse) String() string
type OffSiteBackupForList ¶
type OffSiteBackupForList struct { Id string `json:"id"` InstanceId string `json:"instance_id"` Name string `json:"name"` Databases *[]BackupDatabase `json:"databases,omitempty"` BeginTime string `json:"begin_time"` EndTime string `json:"end_time"` Status OffSiteBackupForListStatus `json:"status"` Type OffSiteBackupForListType `json:"type"` Size int64 `json:"size"` Datastore *ParaGroupDatastore `json:"datastore"` AssociatedWithDdm *bool `json:"associated_with_ddm,omitempty"` }
跨区域备份信息。
func (OffSiteBackupForList) String ¶
func (o OffSiteBackupForList) String() string
type OffSiteBackupForListStatus ¶
type OffSiteBackupForListStatus struct {
// contains filtered or unexported fields
}
func (OffSiteBackupForListStatus) MarshalJSON ¶
func (c OffSiteBackupForListStatus) MarshalJSON() ([]byte, error)
func (*OffSiteBackupForListStatus) UnmarshalJSON ¶
func (c *OffSiteBackupForListStatus) UnmarshalJSON(b []byte) error
type OffSiteBackupForListStatusEnum ¶
type OffSiteBackupForListStatusEnum struct { BUILDING OffSiteBackupForListStatus COMPLETED OffSiteBackupForListStatus FAILED OffSiteBackupForListStatus DELETING OffSiteBackupForListStatus }
func GetOffSiteBackupForListStatusEnum ¶
func GetOffSiteBackupForListStatusEnum() OffSiteBackupForListStatusEnum
type OffSiteBackupForListType ¶
type OffSiteBackupForListType struct {
// contains filtered or unexported fields
}
func (OffSiteBackupForListType) MarshalJSON ¶
func (c OffSiteBackupForListType) MarshalJSON() ([]byte, error)
func (*OffSiteBackupForListType) UnmarshalJSON ¶
func (c *OffSiteBackupForListType) UnmarshalJSON(b []byte) error
type OffSiteBackupForListTypeEnum ¶
type OffSiteBackupForListTypeEnum struct { AUTO OffSiteBackupForListType INCREMENTAL OffSiteBackupForListType }
func GetOffSiteBackupForListTypeEnum ¶
func GetOffSiteBackupForListTypeEnum() OffSiteBackupForListTypeEnum
type OffSiteBackupPolicy ¶
type OffSiteBackupPolicy struct { BackupType string `json:"backup_type"` KeepDays int32 `json:"keep_days"` DestinationRegion string `json:"destination_region"` DestinationProjectId string `json:"destination_project_id"` }
备份策略对象,包括备份类型、备份保留天数、目标区域ID和目标project ID。
func (OffSiteBackupPolicy) String ¶
func (o OffSiteBackupPolicy) String() string
type OffsiteBackupInstance ¶
type OffsiteBackupInstance struct { Id string `json:"id"` Name *string `json:"name,omitempty"` SourceRegion *string `json:"source_region,omitempty"` SourceProjectId *string `json:"source_project_id,omitempty"` Datastore *ParaGroupDatastore `json:"datastore,omitempty"` DestinationRegion *string `json:"destination_region,omitempty"` DestinationProjectId *string `json:"destination_project_id,omitempty"` KeepDays *int64 `json:"keep_days,omitempty"` }
跨区域备份实例信息。
func (OffsiteBackupInstance) String ¶
func (o OffsiteBackupInstance) String() string
type OpsWindowRequest ¶
type OpsWindowRequest struct { StartTime string `json:"start_time"` EndTime string `json:"end_time"` }
func (OpsWindowRequest) String ¶
func (o OpsWindowRequest) String() string
type ParaGroupDatastore ¶ added in v0.0.47
type ParaGroupDatastore struct { Type ParaGroupDatastoreType `json:"type"` Version string `json:"version"` }
func (ParaGroupDatastore) String ¶ added in v0.0.47
func (o ParaGroupDatastore) String() string
type ParaGroupDatastoreType ¶ added in v0.0.47
type ParaGroupDatastoreType struct {
// contains filtered or unexported fields
}
func (ParaGroupDatastoreType) MarshalJSON ¶ added in v0.0.47
func (c ParaGroupDatastoreType) MarshalJSON() ([]byte, error)
func (*ParaGroupDatastoreType) UnmarshalJSON ¶ added in v0.0.47
func (c *ParaGroupDatastoreType) UnmarshalJSON(b []byte) error
type ParaGroupDatastoreTypeEnum ¶ added in v0.0.47
type ParaGroupDatastoreTypeEnum struct { MY_SQL ParaGroupDatastoreType POSTGRE_SQL ParaGroupDatastoreType SQL_SERVER ParaGroupDatastoreType }
func GetParaGroupDatastoreTypeEnum ¶ added in v0.0.47
func GetParaGroupDatastoreTypeEnum() ParaGroupDatastoreTypeEnum
type PostgresqlCreateSchemaReq ¶
type PostgresqlCreateSchemaReq struct { SchemaName string `json:"schema_name"` Owner string `json:"owner"` }
func (PostgresqlCreateSchemaReq) String ¶
func (o PostgresqlCreateSchemaReq) String() string
type PostgresqlDatabaseForCreation ¶
type PostgresqlDatabaseForCreation struct { Name string `json:"name"` CharacterSet *string `json:"character_set,omitempty"` Owner *string `json:"owner,omitempty"` Template *string `json:"template,omitempty"` LcCollate *string `json:"lc_collate,omitempty"` LcCtype *string `json:"lc_ctype,omitempty"` }
数据库信息。
func (PostgresqlDatabaseForCreation) String ¶
func (o PostgresqlDatabaseForCreation) String() string
type PostgresqlDatabaseForListSchema ¶
type PostgresqlDatabaseForListSchema struct { SchemaName string `json:"schema_name"` Owner string `json:"owner"` }
数据库schema信息。
func (PostgresqlDatabaseForListSchema) String ¶
func (o PostgresqlDatabaseForListSchema) String() string
type PostgresqlDatabaseSchemaReq ¶
type PostgresqlDatabaseSchemaReq struct { DbName string `json:"db_name"` Schemas []PostgresqlCreateSchemaReq `json:"schemas"` }
创建数据库schema信息。
func (PostgresqlDatabaseSchemaReq) String ¶
func (o PostgresqlDatabaseSchemaReq) String() string
type PostgresqlGrantRequest ¶
type PostgresqlGrantRequest struct { DbName string `json:"db_name"` Users []PostgresqlUserWithPrivilege `json:"users"` }
func (PostgresqlGrantRequest) String ¶
func (o PostgresqlGrantRequest) String() string
type PostgresqlListDatabase ¶
type PostgresqlListDatabase struct { Name *string `json:"name,omitempty"` Owner *string `json:"owner,omitempty"` CharacterSet *string `json:"character_set,omitempty"` CollateSet *string `json:"collate_set,omitempty"` Size *int32 `json:"size,omitempty"` }
数据库信息。
func (PostgresqlListDatabase) String ¶
func (o PostgresqlListDatabase) String() string
type PostgresqlUserForCreation ¶
type PostgresqlUserForCreation struct { Name string `json:"name"` Password string `json:"password"` }
func (PostgresqlUserForCreation) String ¶
func (o PostgresqlUserForCreation) String() string
type PostgresqlUserForList ¶
type PostgresqlUserForList struct { Name string `json:"name"` Attributes *interface{} `json:"attributes,omitempty"` Memberof *[]string `json:"memberof,omitempty"` }
数据库用户信息。
func (PostgresqlUserForList) String ¶
func (o PostgresqlUserForList) String() string
type PostgresqlUserWithPrivilege ¶
type PostgresqlUserWithPrivilege struct { Name string `json:"name"` Readonly bool `json:"readonly"` SchemaName string `json:"schema_name"` }
用户及其权限。
func (PostgresqlUserWithPrivilege) String ¶
func (o PostgresqlUserWithPrivilege) String() string
type ProjectTagInfoResponse ¶
项目标签信息。
func (ProjectTagInfoResponse) String ¶
func (o ProjectTagInfoResponse) String() string
type PwdResetRequest ¶
type PwdResetRequest struct {
DbUserPwd string `json:"db_user_pwd"`
}
func (PwdResetRequest) String ¶
func (o PwdResetRequest) String() string
type Quotas ¶ added in v0.0.46
type Quotas struct {
Resources *[]Resources `json:"resources,omitempty"`
}
type RecyclePolicyRequestBody ¶
type RecyclePolicyRequestBody struct {
RecyclePolicy *interface{} `json:"recycle_policy"`
}
func (RecyclePolicyRequestBody) String ¶
func (o RecyclePolicyRequestBody) String() string
type RelatedInstance ¶
实例节点信息。
func (RelatedInstance) String ¶
func (o RelatedInstance) String() string
type ResetPwdRequest ¶
type ResetPwdRequest struct { XLanguage *ResetPwdRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *PwdResetRequest `json:"body,omitempty"` }
Request Object
func (ResetPwdRequest) String ¶
func (o ResetPwdRequest) String() string
type ResetPwdRequestXLanguage ¶
type ResetPwdRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ResetPwdRequestXLanguage) MarshalJSON ¶
func (c ResetPwdRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ResetPwdRequestXLanguage) UnmarshalJSON ¶
func (c *ResetPwdRequestXLanguage) UnmarshalJSON(b []byte) error
type ResetPwdRequestXLanguageEnum ¶
type ResetPwdRequestXLanguageEnum struct { ZH_CN ResetPwdRequestXLanguage EN_US ResetPwdRequestXLanguage }
func GetResetPwdRequestXLanguageEnum ¶
func GetResetPwdRequestXLanguageEnum() ResetPwdRequestXLanguageEnum
type ResetPwdResponse ¶
type ResetPwdResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ResetPwdResponse) String ¶
func (o ResetPwdResponse) String() string
type ResizeFlavorObject ¶ added in v0.0.46
type ResizeFlavorObject struct { SpecCode string `json:"spec_code"` IsAutoPay *bool `json:"is_auto_pay,omitempty"` }
func (ResizeFlavorObject) String ¶ added in v0.0.46
func (o ResizeFlavorObject) String() string
type ResizeFlavorRequest ¶
type ResizeFlavorRequest struct {
ResizeFlavor *ResizeFlavorObject `json:"resize_flavor"`
}
变更实例规格时必填。
func (ResizeFlavorRequest) String ¶
func (o ResizeFlavorRequest) String() string
type Resources ¶ added in v0.0.46
type RestoreDatabasesInfo ¶
type RestoreDatabasesInfo struct { Database string `json:"database"` Tables []RestoreTableInfo `json:"tables"` }
func (RestoreDatabasesInfo) String ¶
func (o RestoreDatabasesInfo) String() string
type RestorePoint ¶
type RestorePoint struct { InstanceId string `json:"instance_id"` Type string `json:"type"` BackupId *string `json:"backup_id,omitempty"` RestoreTime *int32 `json:"restore_time,omitempty"` DatabaseName map[string]string `json:"database_name,omitempty"` }
func (RestorePoint) String ¶
func (o RestorePoint) String() string
type RestoreTableInfo ¶
func (RestoreTableInfo) String ¶
func (o RestoreTableInfo) String() string
type RestoreTablesRequest ¶
type RestoreTablesRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *RestoreTablesRequestBody `json:"body,omitempty"` }
Request Object
func (RestoreTablesRequest) String ¶
func (o RestoreTablesRequest) String() string
type RestoreTablesRequestBody ¶
type RestoreTablesRequestBody struct { RestoreTime int64 `json:"restoreTime"` RestoreTables []RestoreDatabasesInfo `json:"restoreTables"` }
func (RestoreTablesRequestBody) String ¶
func (o RestoreTablesRequestBody) String() string
type RestoreTablesResponse ¶
type RestoreTablesResponse struct { JobId *string `json:"jobId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RestoreTablesResponse) String ¶
func (o RestoreTablesResponse) String() string
type RestoreToExistingInstanceRequest ¶
type RestoreToExistingInstanceRequest struct { XLanguage *string `json:"X-Language,omitempty"` Body *RestoreToExistingInstanceRequestBody `json:"body,omitempty"` }
Request Object
func (RestoreToExistingInstanceRequest) String ¶
func (o RestoreToExistingInstanceRequest) String() string
type RestoreToExistingInstanceRequestBody ¶
type RestoreToExistingInstanceRequestBody struct { Source *RestoreToExistingInstanceRequestBodySource `json:"source"` Target *RestoreToExistingInstanceRequestBodyTarget `json:"target"` }
func (RestoreToExistingInstanceRequestBody) String ¶
func (o RestoreToExistingInstanceRequestBody) String() string
type RestoreToExistingInstanceRequestBodySource ¶
type RestoreToExistingInstanceRequestBodySource struct { InstanceId string `json:"instance_id"` Type *RestoreToExistingInstanceRequestBodySourceType `json:"type,omitempty"` BackupId *string `json:"backup_id,omitempty"` RestoreTime *int32 `json:"restore_time,omitempty"` DatabaseName map[string]string `json:"database_name,omitempty"` }
恢复数据源对象。
func (RestoreToExistingInstanceRequestBodySource) String ¶
func (o RestoreToExistingInstanceRequestBodySource) String() string
type RestoreToExistingInstanceRequestBodySourceType ¶
type RestoreToExistingInstanceRequestBodySourceType struct {
// contains filtered or unexported fields
}
func (RestoreToExistingInstanceRequestBodySourceType) MarshalJSON ¶
func (c RestoreToExistingInstanceRequestBodySourceType) MarshalJSON() ([]byte, error)
func (*RestoreToExistingInstanceRequestBodySourceType) UnmarshalJSON ¶
func (c *RestoreToExistingInstanceRequestBodySourceType) UnmarshalJSON(b []byte) error
type RestoreToExistingInstanceRequestBodySourceTypeEnum ¶
type RestoreToExistingInstanceRequestBodySourceTypeEnum struct { BACKUP RestoreToExistingInstanceRequestBodySourceType TIMESTAMP RestoreToExistingInstanceRequestBodySourceType }
func GetRestoreToExistingInstanceRequestBodySourceTypeEnum ¶
func GetRestoreToExistingInstanceRequestBodySourceTypeEnum() RestoreToExistingInstanceRequestBodySourceTypeEnum
type RestoreToExistingInstanceRequestBodyTarget ¶
type RestoreToExistingInstanceRequestBodyTarget struct {
InstanceId string `json:"instance_id"`
}
恢复目标对象。
func (RestoreToExistingInstanceRequestBodyTarget) String ¶
func (o RestoreToExistingInstanceRequestBodyTarget) String() string
type RestoreToExistingInstanceResponse ¶
type RestoreToExistingInstanceResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RestoreToExistingInstanceResponse) String ¶
func (o RestoreToExistingInstanceResponse) String() string
type RevokeRequest ¶
type RevokeRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *RevokeRequestBody `json:"body,omitempty"` }
Request Object
func (RevokeRequest) String ¶
func (o RevokeRequest) String() string
type RevokeRequestBody ¶
type RevokeRequestBody struct { DbName string `json:"db_name"` Users []RevokeRequestBodyUsers `json:"users"` }
func (RevokeRequestBody) String ¶
func (o RevokeRequestBody) String() string
type RevokeRequestBodyUsers ¶
type RevokeRequestBodyUsers struct {
Name string `json:"name"`
}
func (RevokeRequestBodyUsers) String ¶
func (o RevokeRequestBodyUsers) String() string
type RevokeResponse ¶
Response Object
func (RevokeResponse) String ¶
func (o RevokeResponse) String() string
type RevokeSqlserverDbUserPrivilegeRequest ¶
type RevokeSqlserverDbUserPrivilegeRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *SqlserverRevokeRequest `json:"body,omitempty"` }
Request Object
func (RevokeSqlserverDbUserPrivilegeRequest) String ¶
func (o RevokeSqlserverDbUserPrivilegeRequest) String() string
type RevokeSqlserverDbUserPrivilegeResponse ¶
type RevokeSqlserverDbUserPrivilegeResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RevokeSqlserverDbUserPrivilegeResponse) String ¶
func (o RevokeSqlserverDbUserPrivilegeResponse) String() string
type SecurityGroupRequest ¶
type SecurityGroupRequest struct {
SecurityGroupId string `json:"security_group_id"`
}
func (SecurityGroupRequest) String ¶
func (o SecurityGroupRequest) String() string
type SetAuditlogPolicyRequest ¶
type SetAuditlogPolicyRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *SetAuditlogPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (SetAuditlogPolicyRequest) String ¶
func (o SetAuditlogPolicyRequest) String() string
type SetAuditlogPolicyRequestBody ¶
type SetAuditlogPolicyRequestBody struct { KeepDays int32 `json:"keep_days"` ReserveAuditlogs *bool `json:"reserve_auditlogs,omitempty"` }
func (SetAuditlogPolicyRequestBody) String ¶
func (o SetAuditlogPolicyRequestBody) String() string
type SetAuditlogPolicyResponse ¶
type SetAuditlogPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (SetAuditlogPolicyResponse) String ¶
func (o SetAuditlogPolicyResponse) String() string
type SetBackupPolicyRequest ¶
type SetBackupPolicyRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *SetBackupPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (SetBackupPolicyRequest) String ¶
func (o SetBackupPolicyRequest) String() string
type SetBackupPolicyRequestBody ¶
type SetBackupPolicyRequestBody struct { BackupPolicy *BackupPolicy `json:"backup_policy"` ReserveBackups *bool `json:"reserve_backups,omitempty"` }
func (SetBackupPolicyRequestBody) String ¶
func (o SetBackupPolicyRequestBody) String() string
type SetBackupPolicyResponse ¶
type SetBackupPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (SetBackupPolicyResponse) String ¶
func (o SetBackupPolicyResponse) String() string
type SetBinlogClearPolicyRequest ¶ added in v0.0.47
type SetBinlogClearPolicyRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *BinlogClearPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (SetBinlogClearPolicyRequest) String ¶ added in v0.0.47
func (o SetBinlogClearPolicyRequest) String() string
type SetBinlogClearPolicyResponse ¶ added in v0.0.47
type SetBinlogClearPolicyResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (SetBinlogClearPolicyResponse) String ¶ added in v0.0.47
func (o SetBinlogClearPolicyResponse) String() string
type SetDbUserPwdRequest ¶
type SetDbUserPwdRequest struct { XLanguage *SetDbUserPwdRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *DbUserPwdRequest `json:"body,omitempty"` }
Request Object
func (SetDbUserPwdRequest) String ¶
func (o SetDbUserPwdRequest) String() string
type SetDbUserPwdRequestXLanguage ¶
type SetDbUserPwdRequestXLanguage struct {
// contains filtered or unexported fields
}
func (SetDbUserPwdRequestXLanguage) MarshalJSON ¶
func (c SetDbUserPwdRequestXLanguage) MarshalJSON() ([]byte, error)
func (*SetDbUserPwdRequestXLanguage) UnmarshalJSON ¶
func (c *SetDbUserPwdRequestXLanguage) UnmarshalJSON(b []byte) error
type SetDbUserPwdRequestXLanguageEnum ¶
type SetDbUserPwdRequestXLanguageEnum struct { ZH_CN SetDbUserPwdRequestXLanguage EN_US SetDbUserPwdRequestXLanguage }
func GetSetDbUserPwdRequestXLanguageEnum ¶
func GetSetDbUserPwdRequestXLanguageEnum() SetDbUserPwdRequestXLanguageEnum
type SetDbUserPwdResponse ¶
type SetDbUserPwdResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (SetDbUserPwdResponse) String ¶
func (o SetDbUserPwdResponse) String() string
type SetOffSiteBackupPolicyRequest ¶
type SetOffSiteBackupPolicyRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *SetOffSiteBackupPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (SetOffSiteBackupPolicyRequest) String ¶
func (o SetOffSiteBackupPolicyRequest) String() string
type SetOffSiteBackupPolicyRequestBody ¶
type SetOffSiteBackupPolicyRequestBody struct {
PolicyPara []OffSiteBackupPolicy `json:"policy_para"`
}
func (SetOffSiteBackupPolicyRequestBody) String ¶
func (o SetOffSiteBackupPolicyRequestBody) String() string
type SetOffSiteBackupPolicyResponse ¶
type SetOffSiteBackupPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (SetOffSiteBackupPolicyResponse) String ¶
func (o SetOffSiteBackupPolicyResponse) String() string
type SetPostgresqlDbUserPwdRequest ¶
type SetPostgresqlDbUserPwdRequest struct { XLanguage *SetPostgresqlDbUserPwdRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *DbUserPwdRequest `json:"body,omitempty"` }
Request Object
func (SetPostgresqlDbUserPwdRequest) String ¶
func (o SetPostgresqlDbUserPwdRequest) String() string
type SetPostgresqlDbUserPwdRequestXLanguage ¶
type SetPostgresqlDbUserPwdRequestXLanguage struct {
// contains filtered or unexported fields
}
func (SetPostgresqlDbUserPwdRequestXLanguage) MarshalJSON ¶
func (c SetPostgresqlDbUserPwdRequestXLanguage) MarshalJSON() ([]byte, error)
func (*SetPostgresqlDbUserPwdRequestXLanguage) UnmarshalJSON ¶
func (c *SetPostgresqlDbUserPwdRequestXLanguage) UnmarshalJSON(b []byte) error
type SetPostgresqlDbUserPwdRequestXLanguageEnum ¶
type SetPostgresqlDbUserPwdRequestXLanguageEnum struct { ZH_CN SetPostgresqlDbUserPwdRequestXLanguage EN_US SetPostgresqlDbUserPwdRequestXLanguage }
func GetSetPostgresqlDbUserPwdRequestXLanguageEnum ¶
func GetSetPostgresqlDbUserPwdRequestXLanguageEnum() SetPostgresqlDbUserPwdRequestXLanguageEnum
type SetPostgresqlDbUserPwdResponse ¶
type SetPostgresqlDbUserPwdResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (SetPostgresqlDbUserPwdResponse) String ¶
func (o SetPostgresqlDbUserPwdResponse) String() string
type SetSecurityGroupRequest ¶
type SetSecurityGroupRequest struct { XLanguage *SetSecurityGroupRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *SecurityGroupRequest `json:"body,omitempty"` }
Request Object
func (SetSecurityGroupRequest) String ¶
func (o SetSecurityGroupRequest) String() string
type SetSecurityGroupRequestXLanguage ¶
type SetSecurityGroupRequestXLanguage struct {
// contains filtered or unexported fields
}
func (SetSecurityGroupRequestXLanguage) MarshalJSON ¶
func (c SetSecurityGroupRequestXLanguage) MarshalJSON() ([]byte, error)
func (*SetSecurityGroupRequestXLanguage) UnmarshalJSON ¶
func (c *SetSecurityGroupRequestXLanguage) UnmarshalJSON(b []byte) error
type SetSecurityGroupRequestXLanguageEnum ¶
type SetSecurityGroupRequestXLanguageEnum struct { ZH_CN SetSecurityGroupRequestXLanguage EN_US SetSecurityGroupRequestXLanguage }
func GetSetSecurityGroupRequestXLanguageEnum ¶
func GetSetSecurityGroupRequestXLanguageEnum() SetSecurityGroupRequestXLanguageEnum
type SetSecurityGroupResponse ¶
type SetSecurityGroupResponse struct { WorkflowId *string `json:"workflowId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (SetSecurityGroupResponse) String ¶
func (o SetSecurityGroupResponse) String() string
type ShowAuditlogDownloadLinkRequest ¶
type ShowAuditlogDownloadLinkRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *GenerateAuditlogDownloadLinkRequest `json:"body,omitempty"` }
Request Object
func (ShowAuditlogDownloadLinkRequest) String ¶
func (o ShowAuditlogDownloadLinkRequest) String() string
type ShowAuditlogDownloadLinkResponse ¶
type ShowAuditlogDownloadLinkResponse struct { Links *[]string `json:"links,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAuditlogDownloadLinkResponse) String ¶
func (o ShowAuditlogDownloadLinkResponse) String() string
type ShowAuditlogPolicyRequest ¶
type ShowAuditlogPolicyRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` }
Request Object
func (ShowAuditlogPolicyRequest) String ¶
func (o ShowAuditlogPolicyRequest) String() string
type ShowAuditlogPolicyResponse ¶
type ShowAuditlogPolicyResponse struct { KeepDays *int32 `json:"keep_days,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAuditlogPolicyResponse) String ¶
func (o ShowAuditlogPolicyResponse) String() string
type ShowBackupDownloadLinkRequest ¶
type ShowBackupDownloadLinkRequest struct { XLanguage *string `json:"X-Language,omitempty"` BackupId string `json:"backup_id"` }
Request Object
func (ShowBackupDownloadLinkRequest) String ¶
func (o ShowBackupDownloadLinkRequest) String() string
type ShowBackupDownloadLinkResponse ¶
type ShowBackupDownloadLinkResponse struct { Files *[]GetBackupDownloadLinkFiles `json:"files,omitempty"` Bucket *string `json:"bucket,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBackupDownloadLinkResponse) String ¶
func (o ShowBackupDownloadLinkResponse) String() string
type ShowBackupPolicyRequest ¶
type ShowBackupPolicyRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` }
Request Object
func (ShowBackupPolicyRequest) String ¶
func (o ShowBackupPolicyRequest) String() string
type ShowBackupPolicyResponse ¶
type ShowBackupPolicyResponse struct { BackupPolicy *BackupPolicy `json:"backup_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBackupPolicyResponse) String ¶
func (o ShowBackupPolicyResponse) String() string
type ShowBinlogClearPolicyRequest ¶ added in v0.0.47
type ShowBinlogClearPolicyRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` }
Request Object
func (ShowBinlogClearPolicyRequest) String ¶ added in v0.0.47
func (o ShowBinlogClearPolicyRequest) String() string
type ShowBinlogClearPolicyResponse ¶ added in v0.0.47
type ShowBinlogClearPolicyResponse struct { BinlogRetentionHours *int32 `json:"binlog_retention_hours,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBinlogClearPolicyResponse) String ¶ added in v0.0.47
func (o ShowBinlogClearPolicyResponse) String() string
type ShowConfigurationRequest ¶
type ShowConfigurationRequest struct { XLanguage *string `json:"X-Language,omitempty"` ConfigId string `json:"config_id"` }
Request Object
func (ShowConfigurationRequest) String ¶
func (o ShowConfigurationRequest) String() string
type ShowConfigurationResponse ¶
type ShowConfigurationResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` DatastoreVersionName *string `json:"datastore_version_name,omitempty"` DatastoreName *ShowConfigurationResponseDatastoreName `json:"datastore_name,omitempty"` Created *string `json:"created,omitempty"` Updated *string `json:"updated,omitempty"` ConfigurationParameters *[]ConfigurationParameter `json:"configuration_parameters,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowConfigurationResponse) String ¶
func (o ShowConfigurationResponse) String() string
type ShowConfigurationResponseDatastoreName ¶
type ShowConfigurationResponseDatastoreName struct {
// contains filtered or unexported fields
}
func (ShowConfigurationResponseDatastoreName) MarshalJSON ¶
func (c ShowConfigurationResponseDatastoreName) MarshalJSON() ([]byte, error)
func (*ShowConfigurationResponseDatastoreName) UnmarshalJSON ¶
func (c *ShowConfigurationResponseDatastoreName) UnmarshalJSON(b []byte) error
type ShowConfigurationResponseDatastoreNameEnum ¶
type ShowConfigurationResponseDatastoreNameEnum struct { MYSQL ShowConfigurationResponseDatastoreName POSTGRESQL ShowConfigurationResponseDatastoreName SQLSERVER ShowConfigurationResponseDatastoreName }
func GetShowConfigurationResponseDatastoreNameEnum ¶
func GetShowConfigurationResponseDatastoreNameEnum() ShowConfigurationResponseDatastoreNameEnum
type ShowInstanceConfigurationRequest ¶
type ShowInstanceConfigurationRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` }
Request Object
func (ShowInstanceConfigurationRequest) String ¶
func (o ShowInstanceConfigurationRequest) String() string
type ShowInstanceConfigurationResponse ¶
type ShowInstanceConfigurationResponse struct { DatastoreVersionName *string `json:"datastore_version_name,omitempty"` DatastoreName *ShowInstanceConfigurationResponseDatastoreName `json:"datastore_name,omitempty"` Created *string `json:"created,omitempty"` Updated *string `json:"updated,omitempty"` ConfigurationParameters *[]ConfigurationParameter `json:"configuration_parameters,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowInstanceConfigurationResponse) String ¶
func (o ShowInstanceConfigurationResponse) String() string
type ShowInstanceConfigurationResponseDatastoreName ¶
type ShowInstanceConfigurationResponseDatastoreName struct {
// contains filtered or unexported fields
}
func (ShowInstanceConfigurationResponseDatastoreName) MarshalJSON ¶
func (c ShowInstanceConfigurationResponseDatastoreName) MarshalJSON() ([]byte, error)
func (*ShowInstanceConfigurationResponseDatastoreName) UnmarshalJSON ¶
func (c *ShowInstanceConfigurationResponseDatastoreName) UnmarshalJSON(b []byte) error
type ShowInstanceConfigurationResponseDatastoreNameEnum ¶
type ShowInstanceConfigurationResponseDatastoreNameEnum struct { MYSQL ShowInstanceConfigurationResponseDatastoreName POSTGRESQL ShowInstanceConfigurationResponseDatastoreName SQLSERVER ShowInstanceConfigurationResponseDatastoreName }
func GetShowInstanceConfigurationResponseDatastoreNameEnum ¶
func GetShowInstanceConfigurationResponseDatastoreNameEnum() ShowInstanceConfigurationResponseDatastoreNameEnum
type ShowOffSiteBackupPolicyRequest ¶
type ShowOffSiteBackupPolicyRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` }
Request Object
func (ShowOffSiteBackupPolicyRequest) String ¶
func (o ShowOffSiteBackupPolicyRequest) String() string
type ShowOffSiteBackupPolicyResponse ¶
type ShowOffSiteBackupPolicyResponse struct { PolicyPara *[]GetOffSiteBackupPolicy `json:"policy_para,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowOffSiteBackupPolicyResponse) String ¶
func (o ShowOffSiteBackupPolicyResponse) String() string
type ShowQuotasRequest ¶ added in v0.0.46
type ShowQuotasRequest struct {
XLanguage *ShowQuotasRequestXLanguage `json:"X-Language,omitempty"`
}
Request Object
func (ShowQuotasRequest) String ¶ added in v0.0.46
func (o ShowQuotasRequest) String() string
type ShowQuotasRequestXLanguage ¶ added in v0.0.46
type ShowQuotasRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowQuotasRequestXLanguage) MarshalJSON ¶ added in v0.0.46
func (c ShowQuotasRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowQuotasRequestXLanguage) UnmarshalJSON ¶ added in v0.0.46
func (c *ShowQuotasRequestXLanguage) UnmarshalJSON(b []byte) error
type ShowQuotasRequestXLanguageEnum ¶ added in v0.0.46
type ShowQuotasRequestXLanguageEnum struct { ZH_CN ShowQuotasRequestXLanguage EN_US ShowQuotasRequestXLanguage }
func GetShowQuotasRequestXLanguageEnum ¶ added in v0.0.46
func GetShowQuotasRequestXLanguageEnum() ShowQuotasRequestXLanguageEnum
type ShowQuotasResponse ¶ added in v0.0.46
type ShowQuotasResponse struct { Quotas *Quotas `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowQuotasResponse) String ¶ added in v0.0.46
func (o ShowQuotasResponse) String() string
type Single2Ha ¶
type Single2Ha struct {
SingleToHa *Single2HaObject `json:"single_to_ha"`
}
type Single2HaObject ¶ added in v0.0.46
type Single2HaObject struct { AzCodeNewNode string `json:"az_code_new_node"` Password *string `json:"password,omitempty"` DsspoolId *string `json:"dsspool_id,omitempty"` IsAutoPay *bool `json:"is_auto_pay,omitempty"` }
单机转主备时必填。
func (Single2HaObject) String ¶ added in v0.0.46
func (o Single2HaObject) String() string
type SlowLog ¶
type SlowLog struct { Count string `json:"count"` Time string `json:"time"` LockTime string `json:"lock_time"` RowsSent string `json:"rows_sent"` RowsExamined string `json:"rows_examined"` Database string `json:"database"` Users string `json:"users"` QuerySample string `json:"query_sample"` Type string `json:"type"` StartTime string `json:"start_time"` ClientIp string `json:"client_ip"` }
慢日志信息。
type SlowLogStatistics ¶
type SlowLogStatistics struct { Count string `json:"count"` Time string `json:"time"` LockTime string `json:"lockTime"` RowsSent int64 `json:"rowsSent"` RowsExamined int64 `json:"rowsExamined"` Database string `json:"database"` Users string `json:"users"` QuerySample string `json:"querySample"` Type string `json:"type"` ClientIP string `json:"clientIP"` }
慢日志信息。
func (SlowLogStatistics) String ¶
func (o SlowLogStatistics) String() string
type SlowlogDownloadInfo ¶
type SlowlogDownloadInfo struct { WorkflowId string `json:"workflow_id"` FileName string `json:"file_name"` Status string `json:"status"` FileSize string `json:"file_size"` FileLink string `json:"file_link"` CreateAt int64 `json:"create_at"` UpdateAt int64 `json:"update_at"` }
func (SlowlogDownloadInfo) String ¶
func (o SlowlogDownloadInfo) String() string
type SlowlogDownloadRequest ¶
type SlowlogDownloadRequest struct { RequestId string `json:"request_id"` FileName *string `json:"file_name,omitempty"` }
func (SlowlogDownloadRequest) String ¶
func (o SlowlogDownloadRequest) String() string
type SqlserverDatabaseForCreation ¶
type SqlserverDatabaseForCreation struct {
Name string `json:"name"`
}
数据库信息。
func (SqlserverDatabaseForCreation) String ¶
func (o SqlserverDatabaseForCreation) String() string
type SqlserverDatabaseForDetail ¶
type SqlserverDatabaseForDetail struct { Name string `json:"name"` CharacterSet string `json:"character_set"` State string `json:"state"` }
数据库信息。
func (SqlserverDatabaseForDetail) String ¶
func (o SqlserverDatabaseForDetail) String() string
type SqlserverGrantRequest ¶
type SqlserverGrantRequest struct { DbName string `json:"db_name"` Users []SqlserverUserWithPrivilege `json:"users"` }
func (SqlserverGrantRequest) String ¶
func (o SqlserverGrantRequest) String() string
type SqlserverRevokeRequest ¶
type SqlserverRevokeRequest struct { DbName string `json:"db_name"` Users []SqlserverUserWithPrivilege `json:"users"` }
func (SqlserverRevokeRequest) String ¶
func (o SqlserverRevokeRequest) String() string
type SqlserverUserForCreation ¶
type SqlserverUserForCreation struct { Name string `json:"name"` Password string `json:"password"` }
func (SqlserverUserForCreation) String ¶
func (o SqlserverUserForCreation) String() string
type SqlserverUserWithPrivilege ¶
type SqlserverUserWithPrivilege struct { Name string `json:"name"` Readonly *bool `json:"readonly,omitempty"` }
数据库帐号名称。 数据库帐号名称在1到128个字符之间,不能和系统用户名称相同。 系统用户包括:rdsadmin, rdsuser, rdsbackup, rdsmirror。
func (SqlserverUserWithPrivilege) String ¶
func (o SqlserverUserWithPrivilege) String() string
type SslOptionRequest ¶
type SslOptionRequest struct {
SslOption bool `json:"ssl_option"`
}
func (SslOptionRequest) String ¶
func (o SslOptionRequest) String() string
type StartFailoverRequest ¶
type StartFailoverRequest struct { XLanguage *StartFailoverRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` }
Request Object
func (StartFailoverRequest) String ¶
func (o StartFailoverRequest) String() string
type StartFailoverRequestXLanguage ¶
type StartFailoverRequestXLanguage struct {
// contains filtered or unexported fields
}
func (StartFailoverRequestXLanguage) MarshalJSON ¶
func (c StartFailoverRequestXLanguage) MarshalJSON() ([]byte, error)
func (*StartFailoverRequestXLanguage) UnmarshalJSON ¶
func (c *StartFailoverRequestXLanguage) UnmarshalJSON(b []byte) error
type StartFailoverRequestXLanguageEnum ¶
type StartFailoverRequestXLanguageEnum struct { ZH_CN StartFailoverRequestXLanguage EN_US StartFailoverRequestXLanguage }
func GetStartFailoverRequestXLanguageEnum ¶
func GetStartFailoverRequestXLanguageEnum() StartFailoverRequestXLanguageEnum
type StartFailoverResponse ¶
type StartFailoverResponse struct { InstanceId *string `json:"instanceId,omitempty"` NodeId *string `json:"nodeId,omitempty"` WorkflowId *string `json:"workflowId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StartFailoverResponse) String ¶
func (o StartFailoverResponse) String() string
type StartInstanceEnlargeVolumeActionRequest ¶
type StartInstanceEnlargeVolumeActionRequest struct { XLanguage *StartInstanceEnlargeVolumeActionRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *EnlargeVolume `json:"body,omitempty"` }
Request Object
func (StartInstanceEnlargeVolumeActionRequest) String ¶
func (o StartInstanceEnlargeVolumeActionRequest) String() string
type StartInstanceEnlargeVolumeActionRequestXLanguage ¶
type StartInstanceEnlargeVolumeActionRequestXLanguage struct {
// contains filtered or unexported fields
}
func (StartInstanceEnlargeVolumeActionRequestXLanguage) MarshalJSON ¶
func (c StartInstanceEnlargeVolumeActionRequestXLanguage) MarshalJSON() ([]byte, error)
func (*StartInstanceEnlargeVolumeActionRequestXLanguage) UnmarshalJSON ¶
func (c *StartInstanceEnlargeVolumeActionRequestXLanguage) UnmarshalJSON(b []byte) error
type StartInstanceEnlargeVolumeActionRequestXLanguageEnum ¶
type StartInstanceEnlargeVolumeActionRequestXLanguageEnum struct { ZH_CN StartInstanceEnlargeVolumeActionRequestXLanguage EN_US StartInstanceEnlargeVolumeActionRequestXLanguage }
func GetStartInstanceEnlargeVolumeActionRequestXLanguageEnum ¶
func GetStartInstanceEnlargeVolumeActionRequestXLanguageEnum() StartInstanceEnlargeVolumeActionRequestXLanguageEnum
type StartInstanceEnlargeVolumeActionResponse ¶
type StartInstanceEnlargeVolumeActionResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StartInstanceEnlargeVolumeActionResponse) String ¶
func (o StartInstanceEnlargeVolumeActionResponse) String() string
type StartInstanceRestartActionRequest ¶
type StartInstanceRestartActionRequest struct { XLanguage *StartInstanceRestartActionRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *InstanceRestartRequsetBody `json:"body,omitempty"` }
Request Object
func (StartInstanceRestartActionRequest) String ¶
func (o StartInstanceRestartActionRequest) String() string
type StartInstanceRestartActionRequestXLanguage ¶
type StartInstanceRestartActionRequestXLanguage struct {
// contains filtered or unexported fields
}
func (StartInstanceRestartActionRequestXLanguage) MarshalJSON ¶
func (c StartInstanceRestartActionRequestXLanguage) MarshalJSON() ([]byte, error)
func (*StartInstanceRestartActionRequestXLanguage) UnmarshalJSON ¶
func (c *StartInstanceRestartActionRequestXLanguage) UnmarshalJSON(b []byte) error
type StartInstanceRestartActionRequestXLanguageEnum ¶
type StartInstanceRestartActionRequestXLanguageEnum struct { ZH_CN StartInstanceRestartActionRequestXLanguage EN_US StartInstanceRestartActionRequestXLanguage }
func GetStartInstanceRestartActionRequestXLanguageEnum ¶
func GetStartInstanceRestartActionRequestXLanguageEnum() StartInstanceRestartActionRequestXLanguageEnum
type StartInstanceRestartActionResponse ¶
type StartInstanceRestartActionResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StartInstanceRestartActionResponse) String ¶
func (o StartInstanceRestartActionResponse) String() string
type StartInstanceSingleToHaActionRequest ¶
type StartInstanceSingleToHaActionRequest struct { XLanguage *StartInstanceSingleToHaActionRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *Single2Ha `json:"body,omitempty"` }
Request Object
func (StartInstanceSingleToHaActionRequest) String ¶
func (o StartInstanceSingleToHaActionRequest) String() string
type StartInstanceSingleToHaActionRequestXLanguage ¶
type StartInstanceSingleToHaActionRequestXLanguage struct {
// contains filtered or unexported fields
}
func (StartInstanceSingleToHaActionRequestXLanguage) MarshalJSON ¶
func (c StartInstanceSingleToHaActionRequestXLanguage) MarshalJSON() ([]byte, error)
func (*StartInstanceSingleToHaActionRequestXLanguage) UnmarshalJSON ¶
func (c *StartInstanceSingleToHaActionRequestXLanguage) UnmarshalJSON(b []byte) error
type StartInstanceSingleToHaActionRequestXLanguageEnum ¶
type StartInstanceSingleToHaActionRequestXLanguageEnum struct { ZH_CN StartInstanceSingleToHaActionRequestXLanguage EN_US StartInstanceSingleToHaActionRequestXLanguage }
func GetStartInstanceSingleToHaActionRequestXLanguageEnum ¶
func GetStartInstanceSingleToHaActionRequestXLanguageEnum() StartInstanceSingleToHaActionRequestXLanguageEnum
type StartInstanceSingleToHaActionResponse ¶
type StartInstanceSingleToHaActionResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StartInstanceSingleToHaActionResponse) String ¶
func (o StartInstanceSingleToHaActionResponse) String() string
type StartRecyclePolicyRequest ¶
type StartRecyclePolicyRequest struct { XLanguage *string `json:"X-Language,omitempty"` Body *RecyclePolicyRequestBody `json:"body,omitempty"` }
Request Object
func (StartRecyclePolicyRequest) String ¶
func (o StartRecyclePolicyRequest) String() string
type StartRecyclePolicyResponse ¶
type StartRecyclePolicyResponse struct { Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StartRecyclePolicyResponse) String ¶
func (o StartRecyclePolicyResponse) String() string
type StartResizeFlavorActionRequest ¶
type StartResizeFlavorActionRequest struct { XLanguage *StartResizeFlavorActionRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *ResizeFlavorRequest `json:"body,omitempty"` }
Request Object
func (StartResizeFlavorActionRequest) String ¶
func (o StartResizeFlavorActionRequest) String() string
type StartResizeFlavorActionRequestXLanguage ¶
type StartResizeFlavorActionRequestXLanguage struct {
// contains filtered or unexported fields
}
func (StartResizeFlavorActionRequestXLanguage) MarshalJSON ¶
func (c StartResizeFlavorActionRequestXLanguage) MarshalJSON() ([]byte, error)
func (*StartResizeFlavorActionRequestXLanguage) UnmarshalJSON ¶
func (c *StartResizeFlavorActionRequestXLanguage) UnmarshalJSON(b []byte) error
type StartResizeFlavorActionRequestXLanguageEnum ¶
type StartResizeFlavorActionRequestXLanguageEnum struct { ZH_CN StartResizeFlavorActionRequestXLanguage EN_US StartResizeFlavorActionRequestXLanguage }
func GetStartResizeFlavorActionRequestXLanguageEnum ¶
func GetStartResizeFlavorActionRequestXLanguageEnum() StartResizeFlavorActionRequestXLanguageEnum
type StartResizeFlavorActionResponse ¶
type StartResizeFlavorActionResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StartResizeFlavorActionResponse) String ¶
func (o StartResizeFlavorActionResponse) String() string
type Storage ¶
type Storage struct { Name string `json:"name"` AzStatus map[string]string `json:"az_status"` SupportComputeGroupType *[]string `json:"support_compute_group_type,omitempty"` }
实例磁盘类型信息。
type SwitchSslRequest ¶
type SwitchSslRequest struct { XLanguage *SwitchSslRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *SslOptionRequest `json:"body,omitempty"` }
Request Object
func (SwitchSslRequest) String ¶
func (o SwitchSslRequest) String() string
type SwitchSslRequestXLanguage ¶
type SwitchSslRequestXLanguage struct {
// contains filtered or unexported fields
}
func (SwitchSslRequestXLanguage) MarshalJSON ¶
func (c SwitchSslRequestXLanguage) MarshalJSON() ([]byte, error)
func (*SwitchSslRequestXLanguage) UnmarshalJSON ¶
func (c *SwitchSslRequestXLanguage) UnmarshalJSON(b []byte) error
type SwitchSslRequestXLanguageEnum ¶
type SwitchSslRequestXLanguageEnum struct { ZH_CN SwitchSslRequestXLanguage EN_US SwitchSslRequestXLanguage }
func GetSwitchSslRequestXLanguageEnum ¶
func GetSwitchSslRequestXLanguageEnum() SwitchSslRequestXLanguageEnum
type SwitchSslResponse ¶
type SwitchSslResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (SwitchSslResponse) String ¶
func (o SwitchSslResponse) String() string
type TagDelWithKeyValue ¶
键值对标签。
func (TagDelWithKeyValue) String ¶
func (o TagDelWithKeyValue) String() string
type TagWithKeyValue ¶
键值对标签。
func (TagWithKeyValue) String ¶
func (o TagWithKeyValue) String() string
type UpdateConfigurationRequest ¶
type UpdateConfigurationRequest struct { XLanguage *string `json:"X-Language,omitempty"` ConfigId string `json:"config_id"` Body *ConfigurationForUpdate `json:"body,omitempty"` }
Request Object
func (UpdateConfigurationRequest) String ¶
func (o UpdateConfigurationRequest) String() string
type UpdateConfigurationResponse ¶
type UpdateConfigurationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateConfigurationResponse) String ¶
func (o UpdateConfigurationResponse) String() string
type UpdateDataIpRequest ¶
type UpdateDataIpRequest struct { XLanguage *UpdateDataIpRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *DataIpRequest `json:"body,omitempty"` }
Request Object
func (UpdateDataIpRequest) String ¶
func (o UpdateDataIpRequest) String() string
type UpdateDataIpRequestXLanguage ¶
type UpdateDataIpRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateDataIpRequestXLanguage) MarshalJSON ¶
func (c UpdateDataIpRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateDataIpRequestXLanguage) UnmarshalJSON ¶
func (c *UpdateDataIpRequestXLanguage) UnmarshalJSON(b []byte) error
type UpdateDataIpRequestXLanguageEnum ¶
type UpdateDataIpRequestXLanguageEnum struct { ZH_CN UpdateDataIpRequestXLanguage EN_US UpdateDataIpRequestXLanguage }
func GetUpdateDataIpRequestXLanguageEnum ¶
func GetUpdateDataIpRequestXLanguageEnum() UpdateDataIpRequestXLanguageEnum
type UpdateDataIpResponse ¶
type UpdateDataIpResponse struct { WorkflowId *string `json:"workflowId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDataIpResponse) String ¶
func (o UpdateDataIpResponse) String() string
type UpdateDatabaseReq ¶ added in v0.0.59
func (UpdateDatabaseReq) String ¶ added in v0.0.59
func (o UpdateDatabaseReq) String() string
type UpdateDatabaseRequest ¶ added in v0.0.59
type UpdateDatabaseRequest struct { XLanguage *UpdateDatabaseRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *UpdateDatabaseReq `json:"body,omitempty"` }
Request Object
func (UpdateDatabaseRequest) String ¶ added in v0.0.59
func (o UpdateDatabaseRequest) String() string
type UpdateDatabaseRequestXLanguage ¶ added in v0.0.59
type UpdateDatabaseRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateDatabaseRequestXLanguage) MarshalJSON ¶ added in v0.0.59
func (c UpdateDatabaseRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateDatabaseRequestXLanguage) UnmarshalJSON ¶ added in v0.0.59
func (c *UpdateDatabaseRequestXLanguage) UnmarshalJSON(b []byte) error
type UpdateDatabaseRequestXLanguageEnum ¶ added in v0.0.59
type UpdateDatabaseRequestXLanguageEnum struct { ZH_CN UpdateDatabaseRequestXLanguage EN_US UpdateDatabaseRequestXLanguage }
func GetUpdateDatabaseRequestXLanguageEnum ¶ added in v0.0.59
func GetUpdateDatabaseRequestXLanguageEnum() UpdateDatabaseRequestXLanguageEnum
type UpdateDatabaseResponse ¶ added in v0.0.59
type UpdateDatabaseResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDatabaseResponse) String ¶ added in v0.0.59
func (o UpdateDatabaseResponse) String() string
type UpdateDbPortRequest ¶
type UpdateDbPortRequest struct {
Port int32 `json:"port"`
}
func (UpdateDbPortRequest) String ¶
func (o UpdateDbPortRequest) String() string
type UpdateDnsNameRequest ¶
type UpdateDnsNameRequest struct { XLanguage *UpdateDnsNameRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *ModifyDnsNameRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateDnsNameRequest) String ¶
func (o UpdateDnsNameRequest) String() string
type UpdateDnsNameRequestXLanguage ¶
type UpdateDnsNameRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateDnsNameRequestXLanguage) MarshalJSON ¶
func (c UpdateDnsNameRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateDnsNameRequestXLanguage) UnmarshalJSON ¶
func (c *UpdateDnsNameRequestXLanguage) UnmarshalJSON(b []byte) error
type UpdateDnsNameRequestXLanguageEnum ¶
type UpdateDnsNameRequestXLanguageEnum struct { ZH_CN UpdateDnsNameRequestXLanguage EN_US UpdateDnsNameRequestXLanguage }
func GetUpdateDnsNameRequestXLanguageEnum ¶
func GetUpdateDnsNameRequestXLanguageEnum() UpdateDnsNameRequestXLanguageEnum
type UpdateDnsNameResponse ¶
type UpdateDnsNameResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDnsNameResponse) String ¶
func (o UpdateDnsNameResponse) String() string
type UpdateInstanceConfigurationRequest ¶
type UpdateInstanceConfigurationRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *UpdateInstanceConfigurationRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateInstanceConfigurationRequest) String ¶
func (o UpdateInstanceConfigurationRequest) String() string
type UpdateInstanceConfigurationRequestBody ¶
func (UpdateInstanceConfigurationRequestBody) String ¶
func (o UpdateInstanceConfigurationRequestBody) String() string
type UpdateInstanceConfigurationResponse ¶
type UpdateInstanceConfigurationResponse struct { RestartRequired *bool `json:"restart_required,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceConfigurationResponse) String ¶
func (o UpdateInstanceConfigurationResponse) String() string
type UpdateInstanceNameRequest ¶
type UpdateInstanceNameRequest struct { XLanguage *UpdateInstanceNameRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *ModifiyInstanceNameRequest `json:"body,omitempty"` }
Request Object
func (UpdateInstanceNameRequest) String ¶
func (o UpdateInstanceNameRequest) String() string
type UpdateInstanceNameRequestXLanguage ¶
type UpdateInstanceNameRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdateInstanceNameRequestXLanguage) MarshalJSON ¶
func (c UpdateInstanceNameRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdateInstanceNameRequestXLanguage) UnmarshalJSON ¶
func (c *UpdateInstanceNameRequestXLanguage) UnmarshalJSON(b []byte) error
type UpdateInstanceNameRequestXLanguageEnum ¶
type UpdateInstanceNameRequestXLanguageEnum struct { ZH_CN UpdateInstanceNameRequestXLanguage EN_US UpdateInstanceNameRequestXLanguage }
func GetUpdateInstanceNameRequestXLanguageEnum ¶
func GetUpdateInstanceNameRequestXLanguageEnum() UpdateInstanceNameRequestXLanguageEnum
type UpdateInstanceNameResponse ¶
type UpdateInstanceNameResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateInstanceNameResponse) String ¶
func (o UpdateInstanceNameResponse) String() string
type UpdatePortRequest ¶
type UpdatePortRequest struct { XLanguage *UpdatePortRequestXLanguage `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *UpdateDbPortRequest `json:"body,omitempty"` }
Request Object
func (UpdatePortRequest) String ¶
func (o UpdatePortRequest) String() string
type UpdatePortRequestXLanguage ¶
type UpdatePortRequestXLanguage struct {
// contains filtered or unexported fields
}
func (UpdatePortRequestXLanguage) MarshalJSON ¶
func (c UpdatePortRequestXLanguage) MarshalJSON() ([]byte, error)
func (*UpdatePortRequestXLanguage) UnmarshalJSON ¶
func (c *UpdatePortRequestXLanguage) UnmarshalJSON(b []byte) error
type UpdatePortRequestXLanguageEnum ¶
type UpdatePortRequestXLanguageEnum struct { ZH_CN UpdatePortRequestXLanguage EN_US UpdatePortRequestXLanguage }
func GetUpdatePortRequestXLanguageEnum ¶
func GetUpdatePortRequestXLanguageEnum() UpdatePortRequestXLanguageEnum
type UpdatePortResponse ¶
type UpdatePortResponse struct { WorkflowId *string `json:"workflowId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdatePortResponse) String ¶
func (o UpdatePortResponse) String() string
type UpdatePostgresqlInstanceAliasRequest ¶
type UpdatePostgresqlInstanceAliasRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *UpdateRdsInstanceAliasRequest `json:"body,omitempty"` }
Request Object
func (UpdatePostgresqlInstanceAliasRequest) String ¶
func (o UpdatePostgresqlInstanceAliasRequest) String() string
type UpdatePostgresqlInstanceAliasResponse ¶
type UpdatePostgresqlInstanceAliasResponse struct { Resp *string `json:"resp,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdatePostgresqlInstanceAliasResponse) String ¶
func (o UpdatePostgresqlInstanceAliasResponse) String() string
type UpdateRdsInstanceAliasRequest ¶
type UpdateRdsInstanceAliasRequest struct {
Alias string `json:"alias"`
}
func (UpdateRdsInstanceAliasRequest) String ¶
func (o UpdateRdsInstanceAliasRequest) String() string
type UserForCreation ¶
func (UserForCreation) String ¶
func (o UserForCreation) String() string
type UserForList ¶
type UserForList struct {
Name string `json:"name"`
}
数据库用户信息。
func (UserForList) String ¶
func (o UserForList) String() string
type UserWithPrivilege ¶
用户及其权限。
func (UserWithPrivilege) String ¶
func (o UserWithPrivilege) String() string
type Volume ¶
type Volume struct { Type VolumeType `json:"type"` Size int32 `json:"size"` }
type VolumeType ¶
type VolumeType struct {
// contains filtered or unexported fields
}
func (VolumeType) MarshalJSON ¶
func (c VolumeType) MarshalJSON() ([]byte, error)
func (*VolumeType) UnmarshalJSON ¶
func (c *VolumeType) UnmarshalJSON(b []byte) error
type VolumeTypeEnum ¶
type VolumeTypeEnum struct { ULTRAHIGH VolumeType HIGH VolumeType COMMON VolumeType NVMESSD VolumeType ULTRAHIGHPRO VolumeType CLOUDSSD VolumeType LOCALSSD VolumeType }
func GetVolumeTypeEnum ¶
func GetVolumeTypeEnum() VolumeTypeEnum
Source Files ¶
- model_allow_db_privilege_request.go
- model_allow_db_privilege_response.go
- model_allow_db_user_privilege_request.go
- model_allow_db_user_privilege_response.go
- model_allow_sqlserver_db_user_privilege_request.go
- model_allow_sqlserver_db_user_privilege_response.go
- model_apply_configuration_request.go
- model_apply_configuration_response_apply_results.go
- model_attach_eip_request.go
- model_attach_eip_response.go
- model_auditlog.go
- model_backup_database.go
- model_backup_datastore.go
- model_backup_for_list.go
- model_backup_info.go
- model_backup_policy.go
- model_backup_strategy.go
- model_backup_strategy_for_response.go
- model_batch_tag_action_add_request_body.go
- model_batch_tag_action_del_request_body.go
- model_batch_tag_add_action_request.go
- model_batch_tag_add_action_response.go
- model_batch_tag_del_action_request.go
- model_batch_tag_del_action_response.go
- model_bind_eip_request.go
- model_binlog_clear_policy_request_body.go
- model_change_failover_mode_request.go
- model_change_failover_mode_response.go
- model_change_failover_strategy_request.go
- model_change_failover_strategy_response.go
- model_change_ops_window_request.go
- model_change_ops_window_response.go
- model_charge_info.go
- model_charge_info_response.go
- model_configuration_for_creation.go
- model_configuration_for_update.go
- model_configuration_parameter.go
- model_configuration_summary.go
- model_configuration_summary_for_create.go
- model_create_configuration_request.go
- model_create_configuration_response.go
- model_create_database_request.go
- model_create_database_response.go
- model_create_db_user_request.go
- model_create_db_user_response.go
- model_create_dns_name_request.go
- model_create_dns_name_request_body.go
- model_create_dns_name_response.go
- model_create_instance_request.go
- model_create_instance_resp_item.go
- model_create_instance_response.go
- model_create_manual_backup_request.go
- model_create_manual_backup_request_body.go
- model_create_manual_backup_response.go
- model_create_postgresql_database_request.go
- model_create_postgresql_database_response.go
- model_create_postgresql_database_schema_request.go
- model_create_postgresql_database_schema_response.go
- model_create_postgresql_db_user_request.go
- model_create_postgresql_db_user_response.go
- model_create_restore_instance_request.go
- model_create_restore_instance_response.go
- model_create_sqlserver_database_request.go
- model_create_sqlserver_database_response.go
- model_create_sqlserver_db_user_request.go
- model_create_sqlserver_db_user_response.go
- model_data_ip_request.go
- model_database_for_creation.go
- model_database_with_privilege.go
- model_datastore.go
- model_db_user_pwd_request.go
- model_delete_configuration_request.go
- model_delete_configuration_response.go
- model_delete_database_request.go
- model_delete_database_response.go
- model_delete_db_user_request.go
- model_delete_db_user_response.go
- model_delete_instance_request.go
- model_delete_instance_response.go
- model_delete_manual_backup_request.go
- model_delete_manual_backup_response.go
- model_delete_sqlserver_database_request.go
- model_delete_sqlserver_database_response.go
- model_delete_sqlserver_db_user_request.go
- model_delete_sqlserver_db_user_response.go
- model_download_slowlog_request.go
- model_download_slowlog_response.go
- model_drop_database_v3_req.go
- model_dss_pool_info.go
- model_enable_configuration_request.go
- model_enable_configuration_response.go
- model_enlarge_volume.go
- model_enlarge_volume_object.go
- model_error_log.go
- model_error_response.go
- model_failover_mode_request.go
- model_failover_strategy_request.go
- model_flavor.go
- model_follower_migrate_request.go
- model_generate_auditlog_download_link_request.go
- model_get_backup_download_link_files.go
- model_get_job_info_response_body_job.go
- model_get_off_site_backup_policy.go
- model_get_restore_time_response_restore_time.go
- model_get_task_detail_list_rsp_jobs.go
- model_get_task_detail_list_rsp_jobs_instance.go
- model_grant_request.go
- model_ha.go
- model_ha_response.go
- model_instance_request.go
- model_instance_response.go
- model_instance_restart_requset_body.go
- model_l_datastore.go
- model_list_auditlogs_request.go
- model_list_auditlogs_response.go
- model_list_authorized_databases_request.go
- model_list_authorized_databases_response.go
- model_list_authorized_db_users_request.go
- model_list_authorized_db_users_response.go
- model_list_authorized_sqlserver_db_users_request.go
- model_list_authorized_sqlserver_db_users_response.go
- model_list_backups_request.go
- model_list_backups_response.go
- model_list_collations_request.go
- model_list_collations_response.go
- model_list_configurations_request.go
- model_list_configurations_response.go
- model_list_databases_request.go
- model_list_databases_response.go
- model_list_datastores_request.go
- model_list_datastores_response.go
- model_list_db_users_request.go
- model_list_db_users_response.go
- model_list_error_logs_request.go
- model_list_error_logs_response.go
- model_list_flavors_request.go
- model_list_flavors_response.go
- model_list_instances_request.go
- model_list_instances_response.go
- model_list_job_info_detail_request.go
- model_list_job_info_detail_response.go
- model_list_job_info_request.go
- model_list_job_info_response.go
- model_list_off_site_backups_request.go
- model_list_off_site_backups_response.go
- model_list_off_site_instances_request.go
- model_list_off_site_instances_response.go
- model_list_off_site_restore_times_request.go
- model_list_off_site_restore_times_response.go
- model_list_postgresql_database_schemas_request.go
- model_list_postgresql_database_schemas_response.go
- model_list_postgresql_databases_request.go
- model_list_postgresql_databases_response.go
- model_list_postgresql_db_user_paginated_request.go
- model_list_postgresql_db_user_paginated_response.go
- model_list_project_tags_request.go
- model_list_project_tags_response.go
- model_list_restore_times_request.go
- model_list_restore_times_response.go
- model_list_slow_logs_request.go
- model_list_slow_logs_response.go
- model_list_slowlog_statistics_request.go
- model_list_slowlog_statistics_response.go
- model_list_sqlserver_databases_request.go
- model_list_sqlserver_databases_response.go
- model_list_sqlserver_db_users_request.go
- model_list_sqlserver_db_users_response.go
- model_list_storage_types_request.go
- model_list_storage_types_response.go
- model_migrate_follower_request.go
- model_migrate_follower_response.go
- model_modifiy_instance_name_request.go
- model_modify_dns_name_request_body.go
- model_node_response.go
- model_off_site_backup_for_list.go
- model_off_site_backup_policy.go
- model_offsite_backup_instance.go
- model_ops_window_request.go
- model_para_group_datastore.go
- model_postgresql_create_schema_req.go
- model_postgresql_database_for_creation.go
- model_postgresql_database_for_list_schema.go
- model_postgresql_database_schema_req.go
- model_postgresql_grant_request.go
- model_postgresql_list_database.go
- model_postgresql_user_for_creation.go
- model_postgresql_user_for_list.go
- model_postgresql_user_with_privilege.go
- model_project_tag_info_response.go
- model_pwd_reset_request.go
- model_quotas.go
- model_recycle_policy_request_body.go
- model_related_instance.go
- model_reset_pwd_request.go
- model_reset_pwd_response.go
- model_resize_flavor_object.go
- model_resize_flavor_request.go
- model_resources.go
- model_restore_databases_info.go
- model_restore_point.go
- model_restore_table_info.go
- model_restore_tables_request.go
- model_restore_tables_request_body.go
- model_restore_tables_response.go
- model_restore_to_existing_instance_request.go
- model_restore_to_existing_instance_request_body.go
- model_restore_to_existing_instance_request_body_source.go
- model_restore_to_existing_instance_request_body_target.go
- model_restore_to_existing_instance_response.go
- model_revoke_request.go
- model_revoke_request_body.go
- model_revoke_request_body_users.go
- model_revoke_response.go
- model_revoke_sqlserver_db_user_privilege_request.go
- model_revoke_sqlserver_db_user_privilege_response.go
- model_security_group_request.go
- model_set_auditlog_policy_request.go
- model_set_auditlog_policy_request_body.go
- model_set_auditlog_policy_response.go
- model_set_backup_policy_request.go
- model_set_backup_policy_request_body.go
- model_set_backup_policy_response.go
- model_set_binlog_clear_policy_request.go
- model_set_binlog_clear_policy_response.go
- model_set_db_user_pwd_request.go
- model_set_db_user_pwd_response.go
- model_set_off_site_backup_policy_request.go
- model_set_off_site_backup_policy_request_body.go
- model_set_off_site_backup_policy_response.go
- model_set_postgresql_db_user_pwd_request.go
- model_set_postgresql_db_user_pwd_response.go
- model_set_security_group_request.go
- model_set_security_group_response.go
- model_show_auditlog_download_link_request.go
- model_show_auditlog_download_link_response.go
- model_show_auditlog_policy_request.go
- model_show_auditlog_policy_response.go
- model_show_backup_download_link_request.go
- model_show_backup_download_link_response.go
- model_show_backup_policy_request.go
- model_show_backup_policy_response.go
- model_show_binlog_clear_policy_request.go
- model_show_binlog_clear_policy_response.go
- model_show_configuration_request.go
- model_show_configuration_response.go
- model_show_instance_configuration_request.go
- model_show_instance_configuration_response.go
- model_show_off_site_backup_policy_request.go
- model_show_off_site_backup_policy_response.go
- model_show_quotas_request.go
- model_show_quotas_response.go
- model_single2_ha.go
- model_single2_ha_object.go
- model_slow_log.go
- model_slow_log_statistics.go
- model_slowlog_download_info.go
- model_slowlog_download_request.go
- model_sqlserver_database_for_creation.go
- model_sqlserver_database_for_detail.go
- model_sqlserver_grant_request.go
- model_sqlserver_revoke_request.go
- model_sqlserver_user_for_creation.go
- model_sqlserver_user_with_privilege.go
- model_ssl_option_request.go
- model_start_failover_request.go
- model_start_failover_response.go
- model_start_instance_enlarge_volume_action_request.go
- model_start_instance_enlarge_volume_action_response.go
- model_start_instance_restart_action_request.go
- model_start_instance_restart_action_response.go
- model_start_instance_single_to_ha_action_request.go
- model_start_instance_single_to_ha_action_response.go
- model_start_recycle_policy_request.go
- model_start_recycle_policy_response.go
- model_start_resize_flavor_action_request.go
- model_start_resize_flavor_action_response.go
- model_storage.go
- model_switch_ssl_request.go
- model_switch_ssl_response.go
- model_tag_del_with_key_value.go
- model_tag_response.go
- model_tag_with_key_value.go
- model_update_configuration_request.go
- model_update_configuration_response.go
- model_update_data_ip_request.go
- model_update_data_ip_response.go
- model_update_database_req.go
- model_update_database_request.go
- model_update_database_response.go
- model_update_db_port_request.go
- model_update_dns_name_request.go
- model_update_dns_name_response.go
- model_update_instance_configuration_request.go
- model_update_instance_configuration_request_body.go
- model_update_instance_configuration_response.go
- model_update_instance_name_request.go
- model_update_instance_name_response.go
- model_update_port_request.go
- model_update_port_response.go
- model_update_postgresql_instance_alias_request.go
- model_update_postgresql_instance_alias_response.go
- model_update_rds_instance_alias_request.go
- model_user_for_creation.go
- model_user_for_list.go
- model_user_with_privilege.go
- model_volume.go