Documentation ¶
Index ¶
- type BatchCreateOrDeleteRabbitMqTagRequest
- type BatchCreateOrDeleteRabbitMqTagResponse
- type BatchCreateOrDeleteTagReq
- type BatchCreateOrDeleteTagReqAction
- type BatchCreateOrDeleteTagReqActionEnum
- type BatchRestartOrDeleteInstanceReq
- type BatchRestartOrDeleteInstanceReqAction
- type BatchRestartOrDeleteInstanceReqActionEnum
- type BatchRestartOrDeleteInstanceReqAllFailure
- type BatchRestartOrDeleteInstanceReqAllFailureEnum
- type BatchRestartOrDeleteInstanceRespResults
- type BatchRestartOrDeleteInstancesRequest
- type BatchRestartOrDeleteInstancesResponse
- type CreateInstanceReq
- type CreateInstanceReqEngine
- type CreateInstanceReqEngineEnum
- type CreateInstanceReqEngineVersion
- type CreateInstanceReqEngineVersionEnum
- type CreateInstanceReqStorageSpecCode
- type CreateInstanceReqStorageSpecCodeEnum
- type CreateInstanceReqTags
- type CreatePostPaidInstanceRequest
- type CreatePostPaidInstanceResponse
- type DeleteBackgroundTaskRequest
- type DeleteBackgroundTaskResponse
- type DeleteInstanceRequest
- type DeleteInstanceResponse
- type ListAvailableZonesRequest
- type ListAvailableZonesRespAvailableZones
- type ListAvailableZonesResponse
- type ListBackgroundTasksRequest
- type ListBackgroundTasksRespTasks
- type ListBackgroundTasksResponse
- type ListInstancesDetailsRequest
- type ListInstancesDetailsRequestExactMatchName
- type ListInstancesDetailsRequestExactMatchNameEnum
- type ListInstancesDetailsRequestIncludeFailure
- type ListInstancesDetailsRequestIncludeFailureEnum
- type ListInstancesDetailsRequestStatus
- type ListInstancesDetailsRequestStatusEnum
- type ListInstancesDetailsResponse
- type ListInstancesRespInstances
- type ListInstancesRespInstancesType
- type ListInstancesRespInstancesTypeEnum
- type ListInstancesRespTags
- type ListPluginsRequest
- type ListPluginsRespPlugins
- type ListPluginsResponse
- type ListProductsRequest
- type ListProductsRespDetail
- type ListProductsRespHourly
- type ListProductsRespIo
- type ListProductsRespValues
- type ListProductsResponse
- type MaintainWindowsEntity
- type ResetPasswordReq
- type ResetPasswordRequest
- type ResetPasswordResponse
- type ResizeInstanceReq
- type ResizeInstanceReqNewSpecCode
- type ResizeInstanceReqNewSpecCodeEnum
- type ResizeInstanceRequest
- type ResizeInstanceResponse
- type ShowBackgroundTaskRequest
- type ShowBackgroundTaskResponse
- type ShowInstanceExtendProductInfoRequest
- type ShowInstanceExtendProductInfoRequestType
- type ShowInstanceExtendProductInfoRequestTypeEnum
- type ShowInstanceExtendProductInfoResponse
- type ShowInstanceRequest
- type ShowInstanceResponse
- type ShowInstanceResponseType
- type ShowInstanceResponseTypeEnum
- type ShowMaintainWindowsRequest
- type ShowMaintainWindowsResponse
- type ShowProjectTagsRespTags
- type ShowRabbitMqProjectTagsRequest
- type ShowRabbitMqProjectTagsResponse
- type ShowRabbitMqTagsRequest
- type ShowRabbitMqTagsResponse
- type UpdateInstanceReq
- type UpdateInstanceRequest
- type UpdateInstanceResponse
- type UpdatePluginsReq
- type UpdatePluginsRequest
- type UpdatePluginsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCreateOrDeleteRabbitMqTagRequest ¶
type BatchCreateOrDeleteRabbitMqTagRequest struct { InstanceId string `json:"instance_id"` Body *BatchCreateOrDeleteTagReq `json:"body,omitempty"` }
Request Object
func (BatchCreateOrDeleteRabbitMqTagRequest) String ¶
func (o BatchCreateOrDeleteRabbitMqTagRequest) String() string
type BatchCreateOrDeleteRabbitMqTagResponse ¶
type BatchCreateOrDeleteRabbitMqTagResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchCreateOrDeleteRabbitMqTagResponse) String ¶
func (o BatchCreateOrDeleteRabbitMqTagResponse) String() string
type BatchCreateOrDeleteTagReq ¶
type BatchCreateOrDeleteTagReq struct { Action *BatchCreateOrDeleteTagReqAction `json:"action,omitempty"` Tags *[]CreateInstanceReqTags `json:"tags,omitempty"` }
func (BatchCreateOrDeleteTagReq) String ¶
func (o BatchCreateOrDeleteTagReq) String() string
type BatchCreateOrDeleteTagReqAction ¶
type BatchCreateOrDeleteTagReqAction struct {
// contains filtered or unexported fields
}
func (BatchCreateOrDeleteTagReqAction) MarshalJSON ¶
func (c BatchCreateOrDeleteTagReqAction) MarshalJSON() ([]byte, error)
func (*BatchCreateOrDeleteTagReqAction) UnmarshalJSON ¶
func (c *BatchCreateOrDeleteTagReqAction) UnmarshalJSON(b []byte) error
type BatchCreateOrDeleteTagReqActionEnum ¶
type BatchCreateOrDeleteTagReqActionEnum struct { CREATE BatchCreateOrDeleteTagReqAction DELETE BatchCreateOrDeleteTagReqAction }
func GetBatchCreateOrDeleteTagReqActionEnum ¶
func GetBatchCreateOrDeleteTagReqActionEnum() BatchCreateOrDeleteTagReqActionEnum
type BatchRestartOrDeleteInstanceReq ¶
type BatchRestartOrDeleteInstanceReq struct { Instances *[]string `json:"instances,omitempty"` Action BatchRestartOrDeleteInstanceReqAction `json:"action"` AllFailure *BatchRestartOrDeleteInstanceReqAllFailure `json:"all_failure,omitempty"` }
func (BatchRestartOrDeleteInstanceReq) String ¶
func (o BatchRestartOrDeleteInstanceReq) String() string
type BatchRestartOrDeleteInstanceReqAction ¶
type BatchRestartOrDeleteInstanceReqAction struct {
// contains filtered or unexported fields
}
func (BatchRestartOrDeleteInstanceReqAction) MarshalJSON ¶
func (c BatchRestartOrDeleteInstanceReqAction) MarshalJSON() ([]byte, error)
func (*BatchRestartOrDeleteInstanceReqAction) UnmarshalJSON ¶
func (c *BatchRestartOrDeleteInstanceReqAction) UnmarshalJSON(b []byte) error
type BatchRestartOrDeleteInstanceReqActionEnum ¶
type BatchRestartOrDeleteInstanceReqActionEnum struct { RESTART BatchRestartOrDeleteInstanceReqAction DELETE BatchRestartOrDeleteInstanceReqAction }
func GetBatchRestartOrDeleteInstanceReqActionEnum ¶
func GetBatchRestartOrDeleteInstanceReqActionEnum() BatchRestartOrDeleteInstanceReqActionEnum
type BatchRestartOrDeleteInstanceReqAllFailure ¶
type BatchRestartOrDeleteInstanceReqAllFailure struct {
// contains filtered or unexported fields
}
func (BatchRestartOrDeleteInstanceReqAllFailure) MarshalJSON ¶
func (c BatchRestartOrDeleteInstanceReqAllFailure) MarshalJSON() ([]byte, error)
func (*BatchRestartOrDeleteInstanceReqAllFailure) UnmarshalJSON ¶
func (c *BatchRestartOrDeleteInstanceReqAllFailure) UnmarshalJSON(b []byte) error
type BatchRestartOrDeleteInstanceReqAllFailureEnum ¶
type BatchRestartOrDeleteInstanceReqAllFailureEnum struct { TRUE BatchRestartOrDeleteInstanceReqAllFailure FALSE BatchRestartOrDeleteInstanceReqAllFailure }
func GetBatchRestartOrDeleteInstanceReqAllFailureEnum ¶
func GetBatchRestartOrDeleteInstanceReqAllFailureEnum() BatchRestartOrDeleteInstanceReqAllFailureEnum
type BatchRestartOrDeleteInstanceRespResults ¶
type BatchRestartOrDeleteInstanceRespResults struct { Result *string `json:"result,omitempty"` Instance *string `json:"instance,omitempty"` }
func (BatchRestartOrDeleteInstanceRespResults) String ¶
func (o BatchRestartOrDeleteInstanceRespResults) String() string
type BatchRestartOrDeleteInstancesRequest ¶
type BatchRestartOrDeleteInstancesRequest struct {
Body *BatchRestartOrDeleteInstanceReq `json:"body,omitempty"`
}
Request Object
func (BatchRestartOrDeleteInstancesRequest) String ¶
func (o BatchRestartOrDeleteInstancesRequest) String() string
type BatchRestartOrDeleteInstancesResponse ¶
type BatchRestartOrDeleteInstancesResponse struct { Results *[]BatchRestartOrDeleteInstanceRespResults `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchRestartOrDeleteInstancesResponse) String ¶
func (o BatchRestartOrDeleteInstancesResponse) String() string
type CreateInstanceReq ¶
type CreateInstanceReq struct { Name string `json:"name"` Description *string `json:"description,omitempty"` Engine CreateInstanceReqEngine `json:"engine"` EngineVersion CreateInstanceReqEngineVersion `json:"engine_version"` StorageSpace int32 `json:"storage_space"` AccessUser string `json:"access_user"` Password string `json:"password"` VpcId string `json:"vpc_id"` SecurityGroupId string `json:"security_group_id"` SubnetId string `json:"subnet_id"` AvailableZones []string `json:"available_zones"` ProductId string `json:"product_id"` MaintainBegin *string `json:"maintain_begin,omitempty"` MaintainEnd *string `json:"maintain_end,omitempty"` EnablePublicip *bool `json:"enable_publicip,omitempty"` PublicipId *string `json:"publicip_id,omitempty"` SslEnable *bool `json:"ssl_enable,omitempty"` StorageSpecCode CreateInstanceReqStorageSpecCode `json:"storage_spec_code"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Tags *[]CreateInstanceReqTags `json:"tags,omitempty"` }
创建实例请求体。
func (CreateInstanceReq) String ¶
func (o CreateInstanceReq) String() string
type CreateInstanceReqEngine ¶
type CreateInstanceReqEngine struct {
// contains filtered or unexported fields
}
func (CreateInstanceReqEngine) MarshalJSON ¶
func (c CreateInstanceReqEngine) MarshalJSON() ([]byte, error)
func (*CreateInstanceReqEngine) UnmarshalJSON ¶
func (c *CreateInstanceReqEngine) UnmarshalJSON(b []byte) error
type CreateInstanceReqEngineEnum ¶
type CreateInstanceReqEngineEnum struct {
RABBITMQ CreateInstanceReqEngine
}
func GetCreateInstanceReqEngineEnum ¶
func GetCreateInstanceReqEngineEnum() CreateInstanceReqEngineEnum
type CreateInstanceReqEngineVersion ¶
type CreateInstanceReqEngineVersion struct {
// contains filtered or unexported fields
}
func (CreateInstanceReqEngineVersion) MarshalJSON ¶
func (c CreateInstanceReqEngineVersion) MarshalJSON() ([]byte, error)
func (*CreateInstanceReqEngineVersion) UnmarshalJSON ¶
func (c *CreateInstanceReqEngineVersion) UnmarshalJSON(b []byte) error
type CreateInstanceReqEngineVersionEnum ¶
type CreateInstanceReqEngineVersionEnum struct {
E_3_7_17 CreateInstanceReqEngineVersion
}
func GetCreateInstanceReqEngineVersionEnum ¶
func GetCreateInstanceReqEngineVersionEnum() CreateInstanceReqEngineVersionEnum
type CreateInstanceReqStorageSpecCode ¶
type CreateInstanceReqStorageSpecCode struct {
// contains filtered or unexported fields
}
func (CreateInstanceReqStorageSpecCode) MarshalJSON ¶
func (c CreateInstanceReqStorageSpecCode) MarshalJSON() ([]byte, error)
func (*CreateInstanceReqStorageSpecCode) UnmarshalJSON ¶
func (c *CreateInstanceReqStorageSpecCode) UnmarshalJSON(b []byte) error
type CreateInstanceReqStorageSpecCodeEnum ¶
type CreateInstanceReqStorageSpecCodeEnum struct { DMS_PHYSICAL_STORAGE_NORMAL CreateInstanceReqStorageSpecCode DMS_PHYSICAL_STORAGE_HIGH CreateInstanceReqStorageSpecCode DMS_PHYSICAL_STORAGE_ULTRA CreateInstanceReqStorageSpecCode }
func GetCreateInstanceReqStorageSpecCodeEnum ¶
func GetCreateInstanceReqStorageSpecCodeEnum() CreateInstanceReqStorageSpecCodeEnum
type CreateInstanceReqTags ¶
type CreateInstanceReqTags struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
func (CreateInstanceReqTags) String ¶
func (o CreateInstanceReqTags) String() string
type CreatePostPaidInstanceRequest ¶
type CreatePostPaidInstanceRequest struct {
Body *CreateInstanceReq `json:"body,omitempty"`
}
Request Object
func (CreatePostPaidInstanceRequest) String ¶
func (o CreatePostPaidInstanceRequest) String() string
type CreatePostPaidInstanceResponse ¶
type CreatePostPaidInstanceResponse struct { InstanceId *string `json:"instance_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePostPaidInstanceResponse) String ¶
func (o CreatePostPaidInstanceResponse) String() string
type DeleteBackgroundTaskRequest ¶
type DeleteBackgroundTaskRequest struct { InstanceId string `json:"instance_id"` TaskId string `json:"task_id"` }
Request Object
func (DeleteBackgroundTaskRequest) String ¶
func (o DeleteBackgroundTaskRequest) String() string
type DeleteBackgroundTaskResponse ¶
type DeleteBackgroundTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteBackgroundTaskResponse) String ¶
func (o DeleteBackgroundTaskResponse) String() string
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (DeleteInstanceRequest) String ¶
func (o DeleteInstanceRequest) String() string
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteInstanceResponse) String ¶
func (o DeleteInstanceResponse) String() string
type ListAvailableZonesRequest ¶
type ListAvailableZonesRequest struct { }
Request Object
func (ListAvailableZonesRequest) String ¶
func (o ListAvailableZonesRequest) String() string
type ListAvailableZonesRespAvailableZones ¶
type ListAvailableZonesRespAvailableZones struct { SoldOut *bool `json:"soldOut,omitempty"` Id *string `json:"id,omitempty"` Code *string `json:"code,omitempty"` Name *string `json:"name,omitempty"` Port *string `json:"port,omitempty"` ResourceAvailability *string `json:"resource_availability,omitempty"` DefaultAz *bool `json:"default_az,omitempty"` RemainTime *int64 `json:"remain_time,omitempty"` Ipv6Enable *bool `json:"ipv6_enable,omitempty"` }
func (ListAvailableZonesRespAvailableZones) String ¶
func (o ListAvailableZonesRespAvailableZones) String() string
type ListAvailableZonesResponse ¶
type ListAvailableZonesResponse struct { RegionId *string `json:"region_id,omitempty"` AvailableZones *[]ListAvailableZonesRespAvailableZones `json:"available_zones,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAvailableZonesResponse) String ¶
func (o ListAvailableZonesResponse) String() string
type ListBackgroundTasksRequest ¶
type ListBackgroundTasksRequest struct { InstanceId string `json:"instance_id"` Start *int32 `json:"start,omitempty"` Limit *int32 `json:"limit,omitempty"` BeginTime *string `json:"begin_time,omitempty"` EndTime *string `json:"end_time,omitempty"` }
Request Object
func (ListBackgroundTasksRequest) String ¶
func (o ListBackgroundTasksRequest) String() string
type ListBackgroundTasksRespTasks ¶
type ListBackgroundTasksRespTasks struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` UserName *string `json:"user_name,omitempty"` UserId *string `json:"user_id,omitempty"` Params *string `json:"params,omitempty"` Status *string `json:"status,omitempty"` CreatedAt *string `json:"created_at,omitempty"` UpdatedAt *string `json:"updated_at,omitempty"` }
func (ListBackgroundTasksRespTasks) String ¶
func (o ListBackgroundTasksRespTasks) String() string
type ListBackgroundTasksResponse ¶
type ListBackgroundTasksResponse struct { TaskCount *string `json:"task_count,omitempty"` Tasks *[]ListBackgroundTasksRespTasks `json:"tasks,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListBackgroundTasksResponse) String ¶
func (o ListBackgroundTasksResponse) String() string
type ListInstancesDetailsRequest ¶
type ListInstancesDetailsRequest struct { Engine *string `json:"engine,omitempty"` Name *string `json:"name,omitempty"` InstanceId *string `json:"instance_id,omitempty"` Status *ListInstancesDetailsRequestStatus `json:"status,omitempty"` IncludeFailure *ListInstancesDetailsRequestIncludeFailure `json:"include_failure,omitempty"` ExactMatchName *ListInstancesDetailsRequestExactMatchName `json:"exact_match_name,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Request Object
func (ListInstancesDetailsRequest) String ¶
func (o ListInstancesDetailsRequest) String() string
type ListInstancesDetailsRequestExactMatchName ¶
type ListInstancesDetailsRequestExactMatchName struct {
// contains filtered or unexported fields
}
func (ListInstancesDetailsRequestExactMatchName) MarshalJSON ¶
func (c ListInstancesDetailsRequestExactMatchName) MarshalJSON() ([]byte, error)
func (*ListInstancesDetailsRequestExactMatchName) UnmarshalJSON ¶
func (c *ListInstancesDetailsRequestExactMatchName) UnmarshalJSON(b []byte) error
type ListInstancesDetailsRequestExactMatchNameEnum ¶
type ListInstancesDetailsRequestExactMatchNameEnum struct { TRUE ListInstancesDetailsRequestExactMatchName FALSE ListInstancesDetailsRequestExactMatchName }
func GetListInstancesDetailsRequestExactMatchNameEnum ¶
func GetListInstancesDetailsRequestExactMatchNameEnum() ListInstancesDetailsRequestExactMatchNameEnum
type ListInstancesDetailsRequestIncludeFailure ¶
type ListInstancesDetailsRequestIncludeFailure struct {
// contains filtered or unexported fields
}
func (ListInstancesDetailsRequestIncludeFailure) MarshalJSON ¶
func (c ListInstancesDetailsRequestIncludeFailure) MarshalJSON() ([]byte, error)
func (*ListInstancesDetailsRequestIncludeFailure) UnmarshalJSON ¶
func (c *ListInstancesDetailsRequestIncludeFailure) UnmarshalJSON(b []byte) error
type ListInstancesDetailsRequestIncludeFailureEnum ¶
type ListInstancesDetailsRequestIncludeFailureEnum struct { TRUE ListInstancesDetailsRequestIncludeFailure FALSE ListInstancesDetailsRequestIncludeFailure }
func GetListInstancesDetailsRequestIncludeFailureEnum ¶
func GetListInstancesDetailsRequestIncludeFailureEnum() ListInstancesDetailsRequestIncludeFailureEnum
type ListInstancesDetailsRequestStatus ¶
type ListInstancesDetailsRequestStatus struct {
// contains filtered or unexported fields
}
func (ListInstancesDetailsRequestStatus) MarshalJSON ¶
func (c ListInstancesDetailsRequestStatus) MarshalJSON() ([]byte, error)
func (*ListInstancesDetailsRequestStatus) UnmarshalJSON ¶
func (c *ListInstancesDetailsRequestStatus) UnmarshalJSON(b []byte) error
type ListInstancesDetailsRequestStatusEnum ¶
type ListInstancesDetailsRequestStatusEnum struct { CREATING ListInstancesDetailsRequestStatus CREATEFAILED ListInstancesDetailsRequestStatus RUNNING ListInstancesDetailsRequestStatus ERROR ListInstancesDetailsRequestStatus STARTING ListInstancesDetailsRequestStatus RESTARTING ListInstancesDetailsRequestStatus CLOSING ListInstancesDetailsRequestStatus FROZEN ListInstancesDetailsRequestStatus }
func GetListInstancesDetailsRequestStatusEnum ¶
func GetListInstancesDetailsRequestStatusEnum() ListInstancesDetailsRequestStatusEnum
type ListInstancesDetailsResponse ¶
type ListInstancesDetailsResponse struct { Instances *[]ListInstancesRespInstances `json:"instances,omitempty"` InstanceNum *int32 `json:"instance_num,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstancesDetailsResponse) String ¶
func (o ListInstancesDetailsResponse) String() string
type ListInstancesRespInstances ¶
type ListInstancesRespInstances struct { Name *string `json:"name,omitempty"` Engine *string `json:"engine,omitempty"` EngineVersion *string `json:"engine_version,omitempty"` Specification *string `json:"specification,omitempty"` StorageSpace *int32 `json:"storage_space,omitempty"` UsedStorageSpace *int32 `json:"used_storage_space,omitempty"` ConnectAddress *string `json:"connect_address,omitempty"` Port *int32 `json:"port,omitempty"` Status *string `json:"status,omitempty"` Description *string `json:"description,omitempty"` InstanceId *string `json:"instance_id,omitempty"` ResourceSpecCode *string `json:"resource_spec_code,omitempty"` ChargingMode *int32 `json:"charging_mode,omitempty"` VpcId *string `json:"vpc_id,omitempty"` VpcName *string `json:"vpc_name,omitempty"` CreatedAt *string `json:"created_at,omitempty"` UserId *string `json:"user_id,omitempty"` UserName *string `json:"user_name,omitempty"` OrderId *string `json:"order_id,omitempty"` MaintainBegin *string `json:"maintain_begin,omitempty"` MaintainEnd *string `json:"maintain_end,omitempty"` EnablePublicip *bool `json:"enable_publicip,omitempty"` PublicipAddress *string `json:"publicip_address,omitempty"` PublicipId *string `json:"publicip_id,omitempty"` ManagementConnectAddress *string `json:"management_connect_address,omitempty"` SslEnable *bool `json:"ssl_enable,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` IsLogicalVolume *bool `json:"is_logical_volume,omitempty"` ExtendTimes *int32 `json:"extend_times,omitempty"` Type *ListInstancesRespInstancesType `json:"type,omitempty"` ProductId *string `json:"product_id,omitempty"` SecurityGroupId *string `json:"security_group_id,omitempty"` SecurityGroupName *string `json:"security_group_name,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` AvailableZones *[]string `json:"available_zones,omitempty"` TotalStorageSpace *int32 `json:"total_storage_space,omitempty"` StorageResourceId *string `json:"storage_resource_id,omitempty"` StorageSpecCode *string `json:"storage_spec_code,omitempty"` ServiceType *string `json:"service_type,omitempty"` StorageType *string `json:"storage_type,omitempty"` Ipv6Enable *bool `json:"ipv6_enable,omitempty"` Ipv6ConnectAddresses *[]string `json:"ipv6_connect_addresses,omitempty"` Tags *[]ListInstancesRespTags `json:"tags,omitempty"` }
func (ListInstancesRespInstances) String ¶
func (o ListInstancesRespInstances) String() string
type ListInstancesRespInstancesType ¶
type ListInstancesRespInstancesType struct {
// contains filtered or unexported fields
}
func (ListInstancesRespInstancesType) MarshalJSON ¶
func (c ListInstancesRespInstancesType) MarshalJSON() ([]byte, error)
func (*ListInstancesRespInstancesType) UnmarshalJSON ¶
func (c *ListInstancesRespInstancesType) UnmarshalJSON(b []byte) error
type ListInstancesRespInstancesTypeEnum ¶
type ListInstancesRespInstancesTypeEnum struct { SINGLE ListInstancesRespInstancesType CLUSTER ListInstancesRespInstancesType }
func GetListInstancesRespInstancesTypeEnum ¶
func GetListInstancesRespInstancesTypeEnum() ListInstancesRespInstancesTypeEnum
type ListInstancesRespTags ¶
type ListInstancesRespTags struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
标签。
func (ListInstancesRespTags) String ¶
func (o ListInstancesRespTags) String() string
type ListPluginsRequest ¶
type ListPluginsRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (ListPluginsRequest) String ¶
func (o ListPluginsRequest) String() string
type ListPluginsRespPlugins ¶
type ListPluginsRespPlugins struct { Running *bool `json:"running,omitempty"` Enable *bool `json:"enable,omitempty"` Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` }
插件信息。
func (ListPluginsRespPlugins) String ¶
func (o ListPluginsRespPlugins) String() string
type ListPluginsResponse ¶
type ListPluginsResponse struct { Plugins *[]ListPluginsRespPlugins `json:"plugins,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPluginsResponse) String ¶
func (o ListPluginsResponse) String() string
type ListProductsRequest ¶
type ListProductsRequest struct {
Engine *string `json:"engine,omitempty"`
}
Request Object
func (ListProductsRequest) String ¶
func (o ListProductsRequest) String() string
type ListProductsRespDetail ¶
type ListProductsRespDetail struct { Storage *string `json:"storage,omitempty"` ProductId *string `json:"product_id,omitempty"` SpecCode *string `json:"spec_code,omitempty"` Io *[]ListProductsRespIo `json:"io,omitempty"` AvailableZones *[]string `json:"available_zones,omitempty"` EcsFlavorId *string `json:"ecs_flavor_id,omitempty"` ArchType *string `json:"arch_type,omitempty"` }
func (ListProductsRespDetail) String ¶
func (o ListProductsRespDetail) String() string
type ListProductsRespHourly ¶
type ListProductsRespHourly struct { Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` Values *[]ListProductsRespValues `json:"values,omitempty"` }
func (ListProductsRespHourly) String ¶
func (o ListProductsRespHourly) String() string
type ListProductsRespIo ¶
type ListProductsRespIo struct { IoType *string `json:"io_type,omitempty"` StorageSpecCode *string `json:"storage_spec_code,omitempty"` AvailableZones *[]string `json:"available_zones,omitempty"` VolumeType *string `json:"volume_type,omitempty"` }
func (ListProductsRespIo) String ¶
func (o ListProductsRespIo) String() string
type ListProductsRespValues ¶
type ListProductsRespValues struct { Detail *[]ListProductsRespDetail `json:"detail,omitempty"` Name *string `json:"name,omitempty"` AvailableZones *[]string `json:"available_zones,omitempty"` }
func (ListProductsRespValues) String ¶
func (o ListProductsRespValues) String() string
type ListProductsResponse ¶
type ListProductsResponse struct { Hourly *[]ListProductsRespHourly `json:"Hourly,omitempty"` Monthly *[]ListProductsRespHourly `json:"Monthly,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProductsResponse) String ¶
func (o ListProductsResponse) String() string
type MaintainWindowsEntity ¶ added in v0.0.48
type MaintainWindowsEntity struct { Default *bool `json:"default,omitempty"` End *string `json:"end,omitempty"` Begin *string `json:"begin,omitempty"` Seq *int32 `json:"seq,omitempty"` }
func (MaintainWindowsEntity) String ¶ added in v0.0.48
func (o MaintainWindowsEntity) String() string
type ResetPasswordReq ¶
type ResetPasswordReq struct {
NewPassword *string `json:"new_password,omitempty"`
}
func (ResetPasswordReq) String ¶
func (o ResetPasswordReq) String() string
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { InstanceId string `json:"instance_id"` Body *ResetPasswordReq `json:"body,omitempty"` }
Request Object
func (ResetPasswordRequest) String ¶
func (o ResetPasswordRequest) String() string
type ResetPasswordResponse ¶
type ResetPasswordResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ResetPasswordResponse) String ¶
func (o ResetPasswordResponse) String() string
type ResizeInstanceReq ¶
type ResizeInstanceReq struct { NewSpecCode ResizeInstanceReqNewSpecCode `json:"new_spec_code"` NewStorageSpace int32 `json:"new_storage_space"` }
func (ResizeInstanceReq) String ¶
func (o ResizeInstanceReq) String() string
type ResizeInstanceReqNewSpecCode ¶
type ResizeInstanceReqNewSpecCode struct {
// contains filtered or unexported fields
}
func (ResizeInstanceReqNewSpecCode) MarshalJSON ¶
func (c ResizeInstanceReqNewSpecCode) MarshalJSON() ([]byte, error)
func (*ResizeInstanceReqNewSpecCode) UnmarshalJSON ¶
func (c *ResizeInstanceReqNewSpecCode) UnmarshalJSON(b []byte) error
type ResizeInstanceReqNewSpecCodeEnum ¶
type ResizeInstanceReqNewSpecCodeEnum struct { DMS_INSTANCE_RABBITMQ_CLUSTER_C3_4U8G_3 ResizeInstanceReqNewSpecCode DMS_INSTANCE_RABBITMQ_CLUSTER_C3_4U8G_5 ResizeInstanceReqNewSpecCode DMS_INSTANCE_RABBITMQ_CLUSTER_C3_4U8G_7 ResizeInstanceReqNewSpecCode }
func GetResizeInstanceReqNewSpecCodeEnum ¶
func GetResizeInstanceReqNewSpecCodeEnum() ResizeInstanceReqNewSpecCodeEnum
type ResizeInstanceRequest ¶
type ResizeInstanceRequest struct { InstanceId string `json:"instance_id"` Body *ResizeInstanceReq `json:"body,omitempty"` }
Request Object
func (ResizeInstanceRequest) String ¶
func (o ResizeInstanceRequest) String() string
type ResizeInstanceResponse ¶
type ResizeInstanceResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResizeInstanceResponse) String ¶
func (o ResizeInstanceResponse) String() string
type ShowBackgroundTaskRequest ¶
type ShowBackgroundTaskRequest struct { InstanceId string `json:"instance_id"` TaskId string `json:"task_id"` }
Request Object
func (ShowBackgroundTaskRequest) String ¶
func (o ShowBackgroundTaskRequest) String() string
type ShowBackgroundTaskResponse ¶
type ShowBackgroundTaskResponse struct { TaskCount *string `json:"task_count,omitempty"` Tasks *[]ListBackgroundTasksRespTasks `json:"tasks,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBackgroundTaskResponse) String ¶
func (o ShowBackgroundTaskResponse) String() string
type ShowInstanceExtendProductInfoRequest ¶
type ShowInstanceExtendProductInfoRequest struct { InstanceId string `json:"instance_id"` Type ShowInstanceExtendProductInfoRequestType `json:"type"` Engine string `json:"engine"` }
Request Object
func (ShowInstanceExtendProductInfoRequest) String ¶
func (o ShowInstanceExtendProductInfoRequest) String() string
type ShowInstanceExtendProductInfoRequestType ¶
type ShowInstanceExtendProductInfoRequestType struct {
// contains filtered or unexported fields
}
func (ShowInstanceExtendProductInfoRequestType) MarshalJSON ¶
func (c ShowInstanceExtendProductInfoRequestType) MarshalJSON() ([]byte, error)
func (*ShowInstanceExtendProductInfoRequestType) UnmarshalJSON ¶
func (c *ShowInstanceExtendProductInfoRequestType) UnmarshalJSON(b []byte) error
type ShowInstanceExtendProductInfoRequestTypeEnum ¶
type ShowInstanceExtendProductInfoRequestTypeEnum struct { ADVANCED ShowInstanceExtendProductInfoRequestType PLATINUM ShowInstanceExtendProductInfoRequestType DEC ShowInstanceExtendProductInfoRequestType EXP ShowInstanceExtendProductInfoRequestType }
func GetShowInstanceExtendProductInfoRequestTypeEnum ¶
func GetShowInstanceExtendProductInfoRequestTypeEnum() ShowInstanceExtendProductInfoRequestTypeEnum
type ShowInstanceExtendProductInfoResponse ¶
type ShowInstanceExtendProductInfoResponse struct { Hourly *[]ListProductsRespHourly `json:"hourly,omitempty"` Monthly *[]ListProductsRespHourly `json:"monthly,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowInstanceExtendProductInfoResponse) String ¶
func (o ShowInstanceExtendProductInfoResponse) String() string
type ShowInstanceRequest ¶
type ShowInstanceRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (ShowInstanceRequest) String ¶
func (o ShowInstanceRequest) String() string
type ShowInstanceResponse ¶
type ShowInstanceResponse struct { Name *string `json:"name,omitempty"` Engine *string `json:"engine,omitempty"` EngineVersion *string `json:"engine_version,omitempty"` Specification *string `json:"specification,omitempty"` StorageSpace *int32 `json:"storage_space,omitempty"` UsedStorageSpace *int32 `json:"used_storage_space,omitempty"` ConnectAddress *string `json:"connect_address,omitempty"` Port *int32 `json:"port,omitempty"` Status *string `json:"status,omitempty"` Description *string `json:"description,omitempty"` InstanceId *string `json:"instance_id,omitempty"` ResourceSpecCode *string `json:"resource_spec_code,omitempty"` ChargingMode *int32 `json:"charging_mode,omitempty"` VpcId *string `json:"vpc_id,omitempty"` VpcName *string `json:"vpc_name,omitempty"` CreatedAt *string `json:"created_at,omitempty"` UserId *string `json:"user_id,omitempty"` UserName *string `json:"user_name,omitempty"` OrderId *string `json:"order_id,omitempty"` MaintainBegin *string `json:"maintain_begin,omitempty"` MaintainEnd *string `json:"maintain_end,omitempty"` EnablePublicip *bool `json:"enable_publicip,omitempty"` PublicipAddress *string `json:"publicip_address,omitempty"` PublicipId *string `json:"publicip_id,omitempty"` ManagementConnectAddress *string `json:"management_connect_address,omitempty"` SslEnable *bool `json:"ssl_enable,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` IsLogicalVolume *bool `json:"is_logical_volume,omitempty"` ExtendTimes *int32 `json:"extend_times,omitempty"` Type *ShowInstanceResponseType `json:"type,omitempty"` ProductId *string `json:"product_id,omitempty"` SecurityGroupId *string `json:"security_group_id,omitempty"` SecurityGroupName *string `json:"security_group_name,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` AvailableZones *[]string `json:"available_zones,omitempty"` TotalStorageSpace *int32 `json:"total_storage_space,omitempty"` StorageResourceId *string `json:"storage_resource_id,omitempty"` StorageSpecCode *string `json:"storage_spec_code,omitempty"` Ipv6Enable *bool `json:"ipv6_enable,omitempty"` Ipv6ConnectAddresses *[]string `json:"ipv6_connect_addresses,omitempty"` Tags *[]ListInstancesRespTags `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowInstanceResponse) String ¶
func (o ShowInstanceResponse) String() string
type ShowInstanceResponseType ¶
type ShowInstanceResponseType struct {
// contains filtered or unexported fields
}
func (ShowInstanceResponseType) MarshalJSON ¶
func (c ShowInstanceResponseType) MarshalJSON() ([]byte, error)
func (*ShowInstanceResponseType) UnmarshalJSON ¶
func (c *ShowInstanceResponseType) UnmarshalJSON(b []byte) error
type ShowInstanceResponseTypeEnum ¶
type ShowInstanceResponseTypeEnum struct { SINGLE ShowInstanceResponseType CLUSTER ShowInstanceResponseType }
func GetShowInstanceResponseTypeEnum ¶
func GetShowInstanceResponseTypeEnum() ShowInstanceResponseTypeEnum
type ShowMaintainWindowsRequest ¶
type ShowMaintainWindowsRequest struct { }
Request Object
func (ShowMaintainWindowsRequest) String ¶
func (o ShowMaintainWindowsRequest) String() string
type ShowMaintainWindowsResponse ¶
type ShowMaintainWindowsResponse struct { MaintainWindows *[]MaintainWindowsEntity `json:"maintain_windows,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMaintainWindowsResponse) String ¶
func (o ShowMaintainWindowsResponse) String() string
type ShowProjectTagsRespTags ¶
type ShowProjectTagsRespTags struct { Key *string `json:"key,omitempty"` Values *[]string `json:"values,omitempty"` }
func (ShowProjectTagsRespTags) String ¶
func (o ShowProjectTagsRespTags) String() string
type ShowRabbitMqProjectTagsRequest ¶
type ShowRabbitMqProjectTagsRequest struct { }
Request Object
func (ShowRabbitMqProjectTagsRequest) String ¶
func (o ShowRabbitMqProjectTagsRequest) String() string
type ShowRabbitMqProjectTagsResponse ¶
type ShowRabbitMqProjectTagsResponse struct { Tags *[]ShowProjectTagsRespTags `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRabbitMqProjectTagsResponse) String ¶
func (o ShowRabbitMqProjectTagsResponse) String() string
type ShowRabbitMqTagsRequest ¶
type ShowRabbitMqTagsRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (ShowRabbitMqTagsRequest) String ¶
func (o ShowRabbitMqTagsRequest) String() string
type ShowRabbitMqTagsResponse ¶
type ShowRabbitMqTagsResponse struct { Tags *[]CreateInstanceReqTags `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRabbitMqTagsResponse) String ¶
func (o ShowRabbitMqTagsResponse) String() string
type UpdateInstanceReq ¶
type UpdateInstanceReq struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` MaintainBegin *string `json:"maintain_begin,omitempty"` MaintainEnd *string `json:"maintain_end,omitempty"` SecurityGroupId *string `json:"security_group_id,omitempty"` EnablePublicip *bool `json:"enable_publicip,omitempty"` PublicipId *string `json:"publicip_id,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
func (UpdateInstanceReq) String ¶
func (o UpdateInstanceReq) String() string
type UpdateInstanceRequest ¶
type UpdateInstanceRequest struct { InstanceId string `json:"instance_id"` Body *UpdateInstanceReq `json:"body,omitempty"` }
Request Object
func (UpdateInstanceRequest) String ¶
func (o UpdateInstanceRequest) String() string
type UpdateInstanceResponse ¶
type UpdateInstanceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateInstanceResponse) String ¶
func (o UpdateInstanceResponse) String() string
type UpdatePluginsReq ¶
type UpdatePluginsReq struct { Enable *bool `json:"enable,omitempty"` Plugins *string `json:"plugins,omitempty"` }
func (UpdatePluginsReq) String ¶
func (o UpdatePluginsReq) String() string
type UpdatePluginsRequest ¶
type UpdatePluginsRequest struct { InstanceId string `json:"instance_id"` Body *UpdatePluginsReq `json:"body,omitempty"` }
Request Object
func (UpdatePluginsRequest) String ¶
func (o UpdatePluginsRequest) String() string
type UpdatePluginsResponse ¶
type UpdatePluginsResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdatePluginsResponse) String ¶
func (o UpdatePluginsResponse) String() string
Source Files ¶
- model_batch_create_or_delete_rabbit_mq_tag_request.go
- model_batch_create_or_delete_rabbit_mq_tag_response.go
- model_batch_create_or_delete_tag_req.go
- model_batch_restart_or_delete_instance_req.go
- model_batch_restart_or_delete_instance_resp_results.go
- model_batch_restart_or_delete_instances_request.go
- model_batch_restart_or_delete_instances_response.go
- model_create_instance_req.go
- model_create_instance_req_tags.go
- model_create_post_paid_instance_request.go
- model_create_post_paid_instance_response.go
- model_delete_background_task_request.go
- model_delete_background_task_response.go
- model_delete_instance_request.go
- model_delete_instance_response.go
- model_list_available_zones_request.go
- model_list_available_zones_resp_available_zones.go
- model_list_available_zones_response.go
- model_list_background_tasks_request.go
- model_list_background_tasks_resp_tasks.go
- model_list_background_tasks_response.go
- model_list_instances_details_request.go
- model_list_instances_details_response.go
- model_list_instances_resp_instances.go
- model_list_instances_resp_tags.go
- model_list_plugins_request.go
- model_list_plugins_resp_plugins.go
- model_list_plugins_response.go
- model_list_products_request.go
- model_list_products_resp_detail.go
- model_list_products_resp_hourly.go
- model_list_products_resp_io.go
- model_list_products_resp_values.go
- model_list_products_response.go
- model_maintain_windows_entity.go
- model_reset_password_req.go
- model_reset_password_request.go
- model_reset_password_response.go
- model_resize_instance_req.go
- model_resize_instance_request.go
- model_resize_instance_response.go
- model_show_background_task_request.go
- model_show_background_task_response.go
- model_show_instance_extend_product_info_request.go
- model_show_instance_extend_product_info_response.go
- model_show_instance_request.go
- model_show_instance_response.go
- model_show_maintain_windows_request.go
- model_show_maintain_windows_response.go
- model_show_project_tags_resp_tags.go
- model_show_rabbit_mq_project_tags_request.go
- model_show_rabbit_mq_project_tags_response.go
- model_show_rabbit_mq_tags_request.go
- model_show_rabbit_mq_tags_response.go
- model_update_instance_req.go
- model_update_instance_request.go
- model_update_instance_response.go
- model_update_plugins_req.go
- model_update_plugins_request.go
- model_update_plugins_response.go