Documentation ¶
Index ¶
- type BasicInfo
- type BatchAddPeersToChannelRequest
- type BatchAddPeersToChannelRequestBody
- type BatchAddPeersToChannelResponse
- type BatchCreateChannelsRequest
- type BatchCreateChannelsRequestBody
- type BatchCreateChannelsResponse
- type BatchInviteMembersToChannelRequest
- type BatchInviteMembersToChannelRequestBody
- type BatchInviteMembersToChannelResponse
- type BatchRemoveOrgsFromChannelRequest
- type BatchRemoveOrgsFromChannelRequestBody
- type BatchRemoveOrgsFromChannelResponse
- type BatchRemovePeersFromChannelRequest
- type BatchRemovePeersFromChannelRequestBody
- type BatchRemovePeersFromChannelResponse
- type BlockchainInfo
- type CceClusterInfo
- type CceCreateInfo
- type CfgRequestBody
- type Channel
- type ChannelCreateInfo
- type ChannelInfo
- type ChannelInfoV2
- type ComCce
- type CouchDb
- type CouchDbInfo
- type CreateBlockchainCertByUserNameRequest
- type CreateBlockchainCertByUserNameRequestBody
- type CreateBlockchainCertByUserNameResponse
- type CreateNewBlockchainRequest
- type CreateNewBlockchainResponse
- type CreateRequestBody
- type CreateRequestBodyBlockInfo
- type DeleteBlockchainRequest
- type DeleteBlockchainResponse
- type DeleteChannelRequest
- type DeleteChannelResponse
- type DeleteMemberInviteRequest
- type DeleteMemberInviteRequestBody
- type DeleteMemberInviteResponse
- type Detail
- type DetailStatus
- type DetailStatusEnum
- type Dimension
- type DmsKafkaInfo
- type DownloadBlockchainCertRequest
- type DownloadBlockchainCertRequestCertType
- type DownloadBlockchainCertRequestCertTypeEnum
- type DownloadBlockchainCertResponse
- type DownloadBlockchainSdkConfigRequest
- type DownloadBlockchainSdkConfigResponse
- type EntityMetricList
- type EntityMetricListItem
- type FreezeCertRequest
- type FreezeCertRequestBody
- type FreezeCertResponse
- type HandleNotificationInvitee
- type HandleNotificationInvitor
- type HandleNotificationOrg
- type HandleNotificationRequest
- type HandleNotificationRequestBody
- type HandleNotificationRequestBodyStatus
- type HandleNotificationRequestBodyStatusEnum
- type HandleNotificationResponse
- type HandleUnionMemberQuitListRequest
- type HandleUnionMemberQuitListResponse
- type IefInfo
- type IefNode
- type IefNodeinfo
- type InstanceSpc
- type InvitationDetail
- type InvitationDetailStatus
- type InvitationDetailStatusEnum
- type InvitedDomain
- type InviteeInfo
- type InvitorInfo
- type InvitorInfos
- type KafkaCreateInfo
- type ListBcsMetricRequest
- type ListBcsMetricRequestBody
- type ListBcsMetricResponse
- type ListBlockchainChannelsRequest
- type ListBlockchainChannelsResponse
- type ListBlockchainsRequest
- type ListBlockchainsResponse
- type ListEntityMetricRequest
- type ListEntityMetricRequestBody
- type ListEntityMetricResponse
- type ListInstanceMetricRequest
- type ListInstanceMetricRequestBody
- type ListInstanceMetricResponse
- type ListMembersRequest
- type ListMembersResponse
- type ListNotificationsRequest
- type ListNotificationsResponse
- type ListOpRecordRequest
- type ListOpRecordRequestOperationStatus
- type ListOpRecordRequestOperationStatusEnum
- type ListOpRecordRequestOperationType
- type ListOpRecordRequestOperationTypeEnum
- type ListOpRecordRequestResourceType
- type ListOpRecordRequestResourceTypeEnum
- type ListOpRecordResponse
- type ListQuotasRequest
- type ListQuotasResponse
- type Member
- type MemberInvitee
- type MemberInvitor
- type MetricDataPoints
- type MetricDemision
- type MetricItemResultApi
- type Node
- type NodeInfo
- type NodeOrgs
- type NotificationList
- type ObsInfo
- type OprecordCluster
- type Org
- type OrgPeer
- type OrganizationV2
- type PeerAddress
- type PeerChannelInfo
- type PeerInfo
- type ProcessInfo
- type QuitUnionFromMemberListRequestBody
- type RecordDetailInfo
- type Resource
- type SfsInfo
- type ShowBlockchainDetailRequest
- type ShowBlockchainDetailResponse
- type ShowBlockchainFlavorsRequest
- type ShowBlockchainFlavorsResponse
- type ShowBlockchainNodesRequest
- type ShowBlockchainNodesResponse
- type ShowBlockchainStatusRequest
- type ShowBlockchainStatusResponse
- type StatisticValue
- type SubDetail
- type TurboInfo
- type UnfreezeCertRequest
- type UnfreezeCertRequestBody
- type UnfreezeCertResponse
- type UpdateInstanceRequest
- type UpdateInstanceRequestBody
- type UpdateInstanceResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicInfo ¶
type BasicInfo struct { // BCS服务ID Id *string `json:"id,omitempty"` // 区块链服务名称,支持英文,数字,中文字符和中划线(-),不能以中划线(-)开头,长度4-24个字符。 Name *string `json:"name,omitempty"` // BCS服务版本信息 Version *string `json:"version,omitempty"` // BCS服务的类型,分为:联盟链(union),私有链(private) ServiceType *string `json:"service_type,omitempty"` // BCS服务部署类型,一键部署(onestep),普通部署(normal) PurchaseType *string `json:"purchase_type,omitempty"` // BCS服务安全机制,分为ECDSA(ECDSA),国密算法(sm2) SignAlgorithm *string `json:"sign_algorithm,omitempty"` // BCS服务的共识策略,分为测试策略(solo),快速拜占庭容错算法(sflic),Kafka(kafka),raft共识算法(etcdraft) Consensus *string `json:"consensus,omitempty"` // BCS服务付费模式,分为按需(1)[包周期(0)](tag:onorder) ChargingMode *int64 `json:"charging_mode,omitempty"` // BCS服务版本类型 VersionType *int64 `json:"version_type,omitempty"` // BCS服务数据库类型,包括文件数据库(goleveldb),NoSQL(couchdb) DatabaseType *string `json:"database_type,omitempty"` // BCS服务所在集群ID ClusterId *string `json:"cluster_id,omitempty"` // BCS服务所在集群名称 ClusterName *string `json:"cluster_name,omitempty"` // BCS服务的集群类型,分为CCE集群(CCE),IEF集群(ief) ClusterType *string `json:"cluster_type,omitempty"` // BCS多可用区标示,分为:多可用区(yes),非多可用区(no) ClusterAz *string `json:"cluster_az,omitempty"` // BCS服务创建时间 CreatedTime *string `json:"created_time,omitempty"` // BCS服务联盟链下生效,分为邀请方(create),被邀请方(invite) DeployType *string `json:"deploy_type,omitempty"` // 是否允许order老化 OrderFadeEnabled *bool `json:"order_fade_enabled,omitempty"` // BCS服务是否跨region IsCrossRegion *bool `json:"is_cross_region,omitempty"` // BCS服务升级失败,是否支持回滚 IsSupportRollback *bool `json:"is_support_rollback,omitempty"` // BCS服务是否添加RESTful APIs支持,分为支持(true),不支持(false) IsSupportRestful *bool `json:"is_support_restful,omitempty"` // BCS服务是否支持可信计算平台,分为支持(true),不支持(false) IsSupportTc3 *bool `json:"is_support_tc3,omitempty"` // 区分BCS是否新服务,分为老服务(true),新服务(false) IsOldService *bool `json:"is_old_service,omitempty"` // BCS服务为老服务时,此字段为老服务版本号 OldServiceVersion *string `json:"old_service_version,omitempty"` // BCS服务用户数据面agent地址端口列表 AgentPortalAddrs *[]string `json:"agent_portal_addrs,omitempty"` // BCS服务状态,分为正常(Normal),异常(Abnormal),弹性IP异常(EipAbnormal),已冻结(Freeze),休眠中(Hibernation),未知(其余值) Status *string `json:"status,omitempty"` // BCS服务处理状态,分为创建中(IsCreating),升级中(IsUpgrading),扩缩容中(IsScaling),删除中(IsDeleting),添加中(IsAdding) ProcessStatus *string `json:"process_status,omitempty"` // BCS服务为包周期模式时,返回值为0(订单未成功),1(订单异常),2(订单正常) OrderStatus *int64 `json:"order_status,omitempty"` // 共识节点的老化阈值 OrderFadeCache *int64 `json:"order_fade_cache,omitempty"` // BCS服务部署状态,分为进行中(0),成功(1),失败(2),结束(3) DeployStatus *int32 `json:"deploy_status,omitempty"` BlockInfo *CreateRequestBodyBlockInfo `json:"block_info,omitempty"` // 集群CPU架构类型:X86(VirtualMachine),ARM(ARM64) ClusterPlatformType *string `json:"cluster_platform_type,omitempty"` }
type BatchAddPeersToChannelRequest ¶
type BatchAddPeersToChannelRequest struct { // bcs 服务id BlockchainId string `json:"blockchain_id"` Body *BatchAddPeersToChannelRequestBody `json:"body,omitempty"` }
Request Object
func (BatchAddPeersToChannelRequest) String ¶
func (o BatchAddPeersToChannelRequest) String() string
type BatchAddPeersToChannelRequestBody ¶
type BatchAddPeersToChannelRequestBody struct { // 加入某个通道的节点信息 ChannelPeers []PeerChannelInfo `json:"channel_peers"` }
节点加入通道
func (BatchAddPeersToChannelRequestBody) String ¶
func (o BatchAddPeersToChannelRequestBody) String() string
type BatchAddPeersToChannelResponse ¶
type BatchAddPeersToChannelResponse struct { // 操作记录id OperationId *string `json:"operation_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchAddPeersToChannelResponse) String ¶
func (o BatchAddPeersToChannelResponse) String() string
type BatchCreateChannelsRequest ¶
type BatchCreateChannelsRequest struct { // bcs 服务id BlockchainId string `json:"blockchain_id"` Body *BatchCreateChannelsRequestBody `json:"body,omitempty"` }
Request Object
func (BatchCreateChannelsRequest) String ¶
func (o BatchCreateChannelsRequest) String() string
type BatchCreateChannelsRequestBody ¶
type BatchCreateChannelsRequestBody struct { // 通道列表 Channels []ChannelCreateInfo `json:"channels"` }
创建通道的配置
func (BatchCreateChannelsRequestBody) String ¶
func (o BatchCreateChannelsRequestBody) String() string
type BatchCreateChannelsResponse ¶
type BatchCreateChannelsResponse struct { // 操作记录id OperationId *string `json:"operation_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchCreateChannelsResponse) String ¶
func (o BatchCreateChannelsResponse) String() string
type BatchInviteMembersToChannelRequest ¶
type BatchInviteMembersToChannelRequest struct {
Body *BatchInviteMembersToChannelRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchInviteMembersToChannelRequest) String ¶
func (o BatchInviteMembersToChannelRequest) String() string
type BatchInviteMembersToChannelRequestBody ¶
type BatchInviteMembersToChannelRequestBody struct { // 发出邀请的服务实例ID BcsId string `json:"bcs_id"` // 邀请加入的通道名 ChannelName string `json:"channel_name"` // 发出邀请的租户名 InvitorUsername *string `json:"invitor_username,omitempty"` // 被邀请的用户列表 InvitedUserinfo []InvitedDomain `json:"invited_userinfo"` }
邀请联盟成员
func (BatchInviteMembersToChannelRequestBody) String ¶
func (o BatchInviteMembersToChannelRequestBody) String() string
type BatchInviteMembersToChannelResponse ¶
type BatchInviteMembersToChannelResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchInviteMembersToChannelResponse) String ¶
func (o BatchInviteMembersToChannelResponse) String() string
type BatchRemoveOrgsFromChannelRequest ¶ added in v0.0.65
type BatchRemoveOrgsFromChannelRequest struct { // 区块链服务id。 BlockchainId string `json:"blockchain_id"` // 区块链通道名称。 ChannelId string `json:"channel_id"` Body *BatchRemoveOrgsFromChannelRequestBody `json:"body,omitempty"` }
Request Object
func (BatchRemoveOrgsFromChannelRequest) String ¶ added in v0.0.65
func (o BatchRemoveOrgsFromChannelRequest) String() string
type BatchRemoveOrgsFromChannelRequestBody ¶ added in v0.0.65
type BatchRemoveOrgsFromChannelRequestBody struct { // 组织名称列表 OrgNames []string `json:"org_names"` }
func (BatchRemoveOrgsFromChannelRequestBody) String ¶ added in v0.0.65
func (o BatchRemoveOrgsFromChannelRequestBody) String() string
type BatchRemoveOrgsFromChannelResponse ¶ added in v0.0.65
type BatchRemoveOrgsFromChannelResponse struct { // 操作记录id OperationId *string `json:"operation_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchRemoveOrgsFromChannelResponse) String ¶ added in v0.0.65
func (o BatchRemoveOrgsFromChannelResponse) String() string
type BatchRemovePeersFromChannelRequest ¶ added in v0.0.90
type BatchRemovePeersFromChannelRequest struct { // 区块链服务id。可调用“查询服务实例列表”接口获取ID BlockchainId string `json:"blockchain_id"` // 区块链通道名称。可调用“查询实例信息”接口获取,接口返回的“channels”中的name字段值 ChannelId string `json:"channel_id"` Body *BatchRemovePeersFromChannelRequestBody `json:"body,omitempty"` }
Request Object
func (BatchRemovePeersFromChannelRequest) String ¶ added in v0.0.90
func (o BatchRemovePeersFromChannelRequest) String() string
type BatchRemovePeersFromChannelRequestBody ¶ added in v0.0.90
type BatchRemovePeersFromChannelRequestBody struct { // 组织名称。仅可输入一个组织名称 OrgName string `json:"org_name"` // 要退出的节点个数。取值范围(0, 组织中节点总数) Peers int32 `json:"peers"` }
func (BatchRemovePeersFromChannelRequestBody) String ¶ added in v0.0.90
func (o BatchRemovePeersFromChannelRequestBody) String() string
type BatchRemovePeersFromChannelResponse ¶ added in v0.0.90
type BatchRemovePeersFromChannelResponse struct { // 操作记录id OperationId *string `json:"operation_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchRemovePeersFromChannelResponse) String ¶ added in v0.0.90
func (o BatchRemovePeersFromChannelResponse) String() string
type BlockchainInfo ¶
type BlockchainInfo struct { // 服务实例ID Id *string `json:"id,omitempty"` // 服务实例名称 Name *string `json:"name,omitempty"` }
func (BlockchainInfo) String ¶
func (o BlockchainInfo) String() string
type CceClusterInfo ¶ added in v0.0.65
type CceClusterInfo struct { // 集群ID ClusterId string `json:"cluster_id"` // 集群名称 ClusterName string `json:"cluster_name"` // 集群CPU架构类型:X86(VirtualMachine),ARM(ARM64) ClusterPlatformType string `json:"cluster_platform_type"` }
使用已有CCE集群信息,说明:Fabric1.4版本服务仅支持1.15及以下版本集群
func (CceClusterInfo) String ¶ added in v0.0.65
func (o CceClusterInfo) String() string
type CceCreateInfo ¶ added in v0.0.65
type CceCreateInfo struct { // 集群节点数 NodeNum int64 `json:"node_num"` // 集群节点规格ID(支持的规格配置最小为4u8g) NodeFlavor string `json:"node_flavor"` // CCE集群规格 CceFlavor string `json:"cce_flavor"` // 节点初始密码 InitNodePwd string `json:"init_node_pwd"` // 可用区 Az string `json:"az"` // 集群CPU架构类型:X86(VirtualMachine),ARM(ARM64) ClusterPlatformType string `json:"cluster_platform_type"` }
创建新集群信息
func (CceCreateInfo) String ¶ added in v0.0.65
func (o CceCreateInfo) String() string
type CfgRequestBody ¶
type CfgRequestBody struct { // 链代码名称,以小写字母开头,支持小写字母和数字,长度6-25位 ChaincodeName string `json:"chaincode_name"` // SDK配置文件存放路径 CertPath string `json:"cert_path"` // 通道名称 ChannelName string `json:"channel_name"` // key:组织名,value:该组织下需要下载的peer节点信息,peer节点请按照0,1,2的顺序升序填写 PeerOrgs map[string][]string `json:"peer_orgs"` // key:联盟成员名称,value:该联盟成员peer组织名称hash值数组 UnionInfo map[string][]string `json:"union_info,omitempty"` // 是否是多通道请求,如此处设成true则必须传入channel_chaincode,chaincode_name和channel_name设为空即可 IsMultiChan *bool `json:"is_multi_chan,omitempty"` // key:通道名称,value:该通道对应的链代码数组 ChannelChaincode map[string][]string `json:"channel_chaincode,omitempty"` }
func (CfgRequestBody) String ¶
func (o CfgRequestBody) String() string
type Channel ¶
type Channel struct { // 通道名 Name *string `json:"name,omitempty"` // 通道细节描述 Description *string `json:"description,omitempty"` // 通道创建时间 CreateTime *string `json:"create_time,omitempty"` // 共识策略 Consensus *string `json:"consensus,omitempty"` // key:组织名,value:节点名称列表 Peers map[string][]string `json:"peers,omitempty"` // key:组织名,value:节点名称列表 ConsensusNodes map[string][]string `json:"consensusNodes,omitempty"` }
type ChannelCreateInfo ¶
type ChannelCreateInfo struct { // 通道名称,字符串长度4-24,必须包含a-z,0-9,以小写字母开头,以小写字母或者数字结尾 ChannelName string `json:"channel_name"` // 通道描述 ChannelDescription *string `json:"channel_description,omitempty"` }
通道信息
func (ChannelCreateInfo) String ¶
func (o ChannelCreateInfo) String() string
type ChannelInfo ¶
type ChannelInfo struct { // 通道名 Name *string `json:"name,omitempty"` // 通道中组织名 OrgNames *[]string `json:"org_names,omitempty"` // 通道中组织名的哈希值 OrgNameHash *[]string `json:"org_name_hash,omitempty"` // key:组织名,value:peer节点数组 Peers map[string][]string `json:"peers,omitempty"` }
func (ChannelInfo) String ¶
func (o ChannelInfo) String() string
type ChannelInfoV2 ¶
type ChannelInfoV2 struct { // 通道名 Name string `json:"name"` // 通道中组织名 OrgNames []string `json:"org_names"` // 通道描述 Description *string `json:"description,omitempty"` }
func (ChannelInfoV2) String ¶
func (o ChannelInfoV2) String() string
type ComCce ¶
type ComCce struct { Cluster *Detail `json:"cluster,omitempty"` Network *Detail `json:"network,omitempty"` SecurityGroup *Detail `json:"security_group,omitempty"` }
CCE组件
type CouchDb ¶ added in v0.0.90
type CouchDb struct { // couchDB用户名 UserName string `json:"user_name"` // couchDB密码 Password string `json:"password"` }
couchDB信息
type CouchDbInfo ¶
type CouchDbInfo struct { // couchDB用户名称 User *string `json:"user,omitempty"` }
func (CouchDbInfo) String ¶
func (o CouchDbInfo) String() string
type CreateBlockchainCertByUserNameRequest ¶ added in v0.0.69
type CreateBlockchainCertByUserNameRequest struct { // blockchainID BlockchainId string `json:"blockchain_id"` // peer组织名称 OrgName string `json:"org_name"` // 用户名称,字符串长度4-24,仅支持小写字母和数字,以小写字母开头 UserName string `json:"user_name"` Body *CreateBlockchainCertByUserNameRequestBody `json:"body,omitempty"` }
Request Object
func (CreateBlockchainCertByUserNameRequest) String ¶ added in v0.0.69
func (o CreateBlockchainCertByUserNameRequest) String() string
type CreateBlockchainCertByUserNameRequestBody ¶ added in v0.0.90
type CreateBlockchainCertByUserNameRequestBody struct { // 生成证书的安全模式: true:安全模式(证书由系统托管,每个用户名只能生成一个证书,每个组织生成上限100个) false:非安全模式(证书由用户自己保障,不限制生成数量) SecurityMode *bool `json:"security_mode,omitempty"` }
生成证书的安全模式: true:安全模式(证书由系统托管,每个用户名只能生成一个证书,每个组织生成上限100个) false:非安全模式(证书由用户自己保障,不限制生成数量)
func (CreateBlockchainCertByUserNameRequestBody) String ¶ added in v0.0.90
func (o CreateBlockchainCertByUserNameRequestBody) String() string
type CreateBlockchainCertByUserNameResponse ¶ added in v0.0.69
type CreateBlockchainCertByUserNameResponse struct { // 请求成功的结果 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateBlockchainCertByUserNameResponse) String ¶ added in v0.0.69
func (o CreateBlockchainCertByUserNameResponse) String() string
type CreateNewBlockchainRequest ¶
type CreateNewBlockchainRequest struct {
Body *CreateRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateNewBlockchainRequest) String ¶
func (o CreateNewBlockchainRequest) String() string
type CreateNewBlockchainResponse ¶
type CreateNewBlockchainResponse struct { // 服务实例ID BlockchainId *string `json:"blockchain_id,omitempty"` // 服务实例名 BlockchainName *string `json:"blockchain_name,omitempty"` // 操作ID OperationId *string `json:"operation_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateNewBlockchainResponse) String ¶
func (o CreateNewBlockchainResponse) String() string
type CreateRequestBody ¶
type CreateRequestBody struct { // 区块链服务名称,支持英文,数字,中文字符和中划线(-),不能以中划线(-)开头,长度4-24个字符。 Name string `json:"name"` // BCS服务版本类型,[专业版(4),企业版(2)](tag:g42)[可选:专业版(4),企业版(2),铂金版(3)](tag:online)。被邀请方创建时,和邀请方保持一致。 VersionType int64 `json:"version_type"` // Fabric版本,当前邀请方以及私有链的创建仅可选:2.2 ;被邀请方创建时,和邀请方保持一致,1.4版本服务仅支持1.15及以下版本集群. 默认值为2.2. FabricVersion *string `json:"fabric_version,omitempty"` // 区块链类型,默认私有链,可选:联盟链(union),私有链(private)。被邀请方创建时,和邀请方保持一致。 BlockchainType *string `json:"blockchain_type,omitempty"` // BCS服务的共识策略,Fabric1.4版本可选:测试策略(solo)、快速拜占庭容错算法(SFLIC);Fabric2.2版本可选:raft共识算法(etcdraft)、快速拜占庭容错算法(SFLIC)。被邀请方创建时,和邀请方保持一致。 Consensus *string `json:"consensus,omitempty"` // BCS服务安全机制,可选:ECDSA(ECDSA),国密算法(sm2) SignAlgorithm *string `json:"sign_algorithm,omitempty"` // BCS服务所属企业项目ID EnterpriseProjectId string `json:"enterprise_project_id"` // CCE集群存储卷类型,根据实际环境可选:云硬盘存储卷(evs),文件存储卷(nfs), 极速文件存储卷(efs) VolumeType *string `json:"volume_type,omitempty"` // 云硬盘存储卷类型,volume_type选择evs时必填,可选:普通I/O(SATA),高I/O(SAS),超高I/O(SSD) EvsDiskType *string `json:"evs_disk_type,omitempty"` // 节点组织存储容量[专业版和企业版至少100GB,铂金版至少500GB](tag:online)[,专业版和企业版至少100GB](tag:g42)[节点组织存储容量GB,至少为100GB](tag:hcs) OrgDiskSize *int64 `json:"org_disk_size,omitempty"` // BCS服务数据库类型,包括文件数据库(goleveldb),NoSQL(couchdb),选择couchdb需要填写couchdb_info字段中的信息 DatabaseType *string `json:"database_type,omitempty"` // BCS服务资源、区块链管理密码 ResourcePassword string `json:"resource_password"` // 共识组织节点数,被邀请方创实例时可不填。购买fabric2.2服务时必填,若共识策略为Raft(CFT),节点数为3;若共识策略为快速拜占庭容错共识算法(FBFT),节点数为4。 OrdererNodeNumber *int64 `json:"orderer_node_number,omitempty"` // 是否使用集群节点弹性IP UseEip *bool `json:"use_eip,omitempty"` // 弹性IP带宽 BandwidthSize *int64 `json:"bandwidth_size,omitempty"` // 集群类型,可选:CCE集群 [,边缘集群ief](tag:hasief)。 ClusterType string `json:"cluster_type"` // 是否创建新集群,使用已有集群需要填写cce_cluster_info字段中的信息,创建新集群需要填写cce_create_info字段中的信息 CreateNewCluster bool `json:"create_new_cluster"` CceClusterInfo *CceClusterInfo `json:"cce_cluster_info,omitempty"` CceCreateInfo *CceCreateInfo `json:"cce_create_info,omitempty"` // IEF集群部署方式,随机部署(0),组织节点绑定(1)。组织节点绑定模式时,peer_orgs 参数必填。组织名和IEF节点名必须一致。 IefDeployMode *int64 `json:"ief_deploy_mode,omitempty"` // IEF集群节点列表,使用边缘集群模式部署时必填。 IefNodesInfo *[]IefNode `json:"ief_nodes_info,omitempty"` // 节点组织列表。节点绑定模式中,组织名和IEF节点名必须一致。边缘集群模式时此字段必填。 PeerOrgs *[]OrgPeer `json:"peer_orgs,omitempty"` // 通道列表 Channels *[]ChannelInfoV2 `json:"channels,omitempty"` CouchdbInfo *CouchDb `json:"couchdb_info,omitempty"` TurboInfo *TurboInfo `json:"turbo_info,omitempty"` BlockInfo *CreateRequestBodyBlockInfo `json:"block_info,omitempty"` KafkaCreateInfo *KafkaCreateInfo `json:"kafka_create_info,omitempty"` // 是否添加可信计算平台 Tc3Need *bool `json:"tc3_need,omitempty"` // 是否添加restful API支持 RestfulApiSupport *bool `json:"restful_api_support,omitempty"` // 是否是创建被邀请方BCS服务实例,创建被邀请方实例需要同时填写invitor_infos字段中的信息 IsInvitee *bool `json:"is_invitee,omitempty"` InvitorInfos *InvitorInfos `json:"invitor_infos,omitempty"` }
func (CreateRequestBody) String ¶
func (o CreateRequestBody) String() string
type CreateRequestBodyBlockInfo ¶
type CreateRequestBodyBlockInfo struct { // 区块产生时间(单位:秒),默认2秒 BatchTimeout *int64 `json:"batch_timeout,omitempty"` // 区块包含交易数量,默认500 MaxMessageCount *int64 `json:"max_message_count,omitempty"` // 区块容量(单位:MB),默认2MB PreferredMaxbytes *int64 `json:"preferred_maxbytes,omitempty"` }
区块生成配置信息
func (CreateRequestBodyBlockInfo) String ¶
func (o CreateRequestBodyBlockInfo) String() string
type DeleteBlockchainRequest ¶
type DeleteBlockchainRequest struct { // bcs 服务id BlockchainId string `json:"blockchain_id"` // [是否删除存储,IEF模式下不用填写](tag:online,g42)[是否删除存储](tag:hcs) IsDeleteStorage *bool `json:"is_delete_storage,omitempty"` // [是否删除obs,IEF模式下不用填写](tag:online,g42)[是否删除obs](tag:hcs) IsDeleteObs *bool `json:"is_delete_obs,omitempty"` // 是否删除底层CCE资源,IEF模式下不用填写 IsDeleteResource *bool `json:"is_delete_resource,omitempty"` // 是否删除底层依赖的IEF边缘节点资源,CCE模式下不用填写,IEF模式下必填 IsDeleteIef *bool `json:"is_delete_ief,omitempty"` // CCE模式下选填:是否删除LightPeer轻节点插件使用的IEF边缘节点资源,若需要删除,则填写对应的IEF编译节点名称,否则无需填写。例如:is_delete_lightpeer=ief_node_name_1,ief_node_name_2 IsDeleteLightpeer *string `json:"is_delete_lightpeer,omitempty"` // IEF模式下选填:若需要删除IEF边缘集群所使用的IEF边缘节点资源,则填写IEF节点的id,否则无需填写。例如:ief_nodes_id=1356f6f0-c448-4ec2-926f-c13b026369d9,0cdacbf9-2002-41e9-8123-2fa13e8d1449 IefNodesId *string `json:"ief_nodes_id,omitempty"` }
Request Object
func (DeleteBlockchainRequest) String ¶
func (o DeleteBlockchainRequest) String() string
type DeleteBlockchainResponse ¶
type DeleteBlockchainResponse struct { // 操作记录id OperationId *string `json:"operation_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteBlockchainResponse) String ¶
func (o DeleteBlockchainResponse) String() string
type DeleteChannelRequest ¶ added in v0.0.90
type DeleteChannelRequest struct { // 区块链服务id。可调用“查询服务实例列表”接口获取ID BlockchainId string `json:"blockchain_id"` // 区块链通道名称。可调用“查询实例信息”接口获取,接口返回的“channels”中的name字段值 ChannelId string `json:"channel_id"` }
Request Object
func (DeleteChannelRequest) String ¶ added in v0.0.90
func (o DeleteChannelRequest) String() string
type DeleteChannelResponse ¶ added in v0.0.90
type DeleteChannelResponse struct { // 操作记录id OperationId *string `json:"operation_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteChannelResponse) String ¶ added in v0.0.90
func (o DeleteChannelResponse) String() string
type DeleteMemberInviteRequest ¶ added in v0.0.69
type DeleteMemberInviteRequest struct {
Body *DeleteMemberInviteRequestBody `json:"body,omitempty"`
}
Request Object
func (DeleteMemberInviteRequest) String ¶ added in v0.0.69
func (o DeleteMemberInviteRequest) String() string
type DeleteMemberInviteRequestBody ¶ added in v0.0.69
type DeleteMemberInviteRequestBody struct { // 邀请实例id BcsId string `json:"bcs_id"` // 邀请加入的通道名 ChannelName string `json:"channel_name"` // 被邀请的用户列表,对应信息可通过获取联盟成员列表(ListMembers)接口查询,或被邀请方已加入联盟,或邀请状态为released时,需填写准确的被邀请方bcs实例id和邀请状态 InvitedUserinfo []InvitationDetail `json:"invited_userinfo"` }
func (DeleteMemberInviteRequestBody) String ¶ added in v0.0.69
func (o DeleteMemberInviteRequestBody) String() string
type DeleteMemberInviteResponse ¶ added in v0.0.69
type DeleteMemberInviteResponse struct { // 请求成功的结果 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteMemberInviteResponse) String ¶ added in v0.0.69
func (o DeleteMemberInviteResponse) String() string
type Detail ¶
type Detail struct { // 开始时间 StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 状态 Status *DetailStatus `json:"status,omitempty"` // 细节描述 Detail *string `json:"detail,omitempty"` }
组件创建信息
type DetailStatus ¶
type DetailStatus struct {
// contains filtered or unexported fields
}
func (DetailStatus) MarshalJSON ¶
func (c DetailStatus) MarshalJSON() ([]byte, error)
func (*DetailStatus) UnmarshalJSON ¶
func (c *DetailStatus) UnmarshalJSON(b []byte) error
func (DetailStatus) Value ¶ added in v0.0.90
func (c DetailStatus) Value() string
type DetailStatusEnum ¶
type DetailStatusEnum struct { WAITING DetailStatus DEPLOYING DetailStatus FINISHED DetailStatus FAILED DetailStatus }
func GetDetailStatusEnum ¶
func GetDetailStatusEnum() DetailStatusEnum
type Dimension ¶
type Dimension struct { // 维度名称。 Name *string `json:"name,omitempty"` // 维度取值。 Value *string `json:"value,omitempty"` }
指标维度。
type DmsKafkaInfo ¶
type DmsKafkaInfo struct { // 状态 Status *string `json:"status,omitempty"` // 状态详情 StatusDetail *string `json:"status_detail,omitempty"` // 是否允许order老化 OrderFadeEnabled *bool `json:"order_fade_enabled,omitempty"` // Kafka连接地址 Addr *[]string `json:"addr,omitempty"` // Kafka模式下,是否开启共识节点老化 OrderFadeEnable *bool `json:"order_fade_enable,omitempty"` // Kafka模式下,开启共识节点后的老化阈值 OrderFadeCache *int64 `json:"order_fade_cache,omitempty"` }
func (DmsKafkaInfo) String ¶
func (o DmsKafkaInfo) String() string
type DownloadBlockchainCertRequest ¶
type DownloadBlockchainCertRequest struct { // blockchainID BlockchainId string `json:"blockchain_id"` // order或者peer组织名称 OrgName string `json:"org_name"` // 下载证书类别 CertType DownloadBlockchainCertRequestCertType `json:"cert_type"` }
Request Object
func (DownloadBlockchainCertRequest) String ¶
func (o DownloadBlockchainCertRequest) String() string
type DownloadBlockchainCertRequestCertType ¶
type DownloadBlockchainCertRequestCertType struct {
// contains filtered or unexported fields
}
func (DownloadBlockchainCertRequestCertType) MarshalJSON ¶
func (c DownloadBlockchainCertRequestCertType) MarshalJSON() ([]byte, error)
func (*DownloadBlockchainCertRequestCertType) UnmarshalJSON ¶
func (c *DownloadBlockchainCertRequestCertType) UnmarshalJSON(b []byte) error
func (DownloadBlockchainCertRequestCertType) Value ¶ added in v0.0.90
func (c DownloadBlockchainCertRequestCertType) Value() string
type DownloadBlockchainCertRequestCertTypeEnum ¶
type DownloadBlockchainCertRequestCertTypeEnum struct { ADMIN DownloadBlockchainCertRequestCertType USER DownloadBlockchainCertRequestCertType CA DownloadBlockchainCertRequestCertType }
func GetDownloadBlockchainCertRequestCertTypeEnum ¶
func GetDownloadBlockchainCertRequestCertTypeEnum() DownloadBlockchainCertRequestCertTypeEnum
type DownloadBlockchainCertResponse ¶
type DownloadBlockchainCertResponse struct { // 请求成功的结果 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DownloadBlockchainCertResponse) String ¶
func (o DownloadBlockchainCertResponse) String() string
type DownloadBlockchainSdkConfigRequest ¶
type DownloadBlockchainSdkConfigRequest struct { // blockchainID BlockchainId string `json:"blockchain_id"` Body *CfgRequestBody `json:"body,omitempty"` }
Request Object
func (DownloadBlockchainSdkConfigRequest) String ¶
func (o DownloadBlockchainSdkConfigRequest) String() string
type DownloadBlockchainSdkConfigResponse ¶
type DownloadBlockchainSdkConfigResponse struct { // 请求成功的结果 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DownloadBlockchainSdkConfigResponse) String ¶
func (o DownloadBlockchainSdkConfigResponse) String() string
type EntityMetricList ¶
type EntityMetricList struct { // 指标对象列表。 Dimensions *[]Dimension `json:"dimensions,omitempty"` // 监控数据列表项目。 Values *[]EntityMetricListItem `json:"values,omitempty"` }
BCS组织维度监控数据列表结构
func (EntityMetricList) String ¶
func (o EntityMetricList) String() string
type EntityMetricListItem ¶ added in v0.0.70
type EntityMetricListItem struct { // cpu使用率 CpuUsage *string `json:"cpuUsage,omitempty"` // 磁盘读取速率 DiskReadRate *string `json:"diskReadRate,omitempty"` // 磁盘写入速率 DiskWriteRate *string `json:"diskWriteRate,omitempty"` // 物理内存使用率 MemUsage *string `json:"memUsage,omitempty"` // 下行BPs RecvBytesRate *string `json:"recvBytesRate,omitempty"` // 上行BPs SendBytesRate *string `json:"sendBytesRate,omitempty"` // 文件系统使用率 FilesystemUsage *string `json:"filesystemUsage,omitempty"` }
监控数据列表项目
func (EntityMetricListItem) String ¶ added in v0.0.70
func (o EntityMetricListItem) String() string
type FreezeCertRequest ¶ added in v0.0.69
type FreezeCertRequest struct { // userName UserName string `json:"user_name"` // blockchainID BlockchainId string `json:"blockchain_id"` // orgName OrgName string `json:"org_name"` Body *FreezeCertRequestBody `json:"body,omitempty" type:"multipart"` }
Request Object
func (FreezeCertRequest) String ¶ added in v0.0.69
func (o FreezeCertRequest) String() string
type FreezeCertRequestBody ¶ added in v0.0.90
type FreezeCertRequestBody struct { // 生成证书的zip文件(每次只允许上传一个证书文件,文件大小不大于30K,后缀名为.zip文件) File *def.FilePart `json:"file,omitempty"` }
func (FreezeCertRequestBody) String ¶ added in v0.0.90
func (o FreezeCertRequestBody) String() string
func (*FreezeCertRequestBody) UnmarshalJSON ¶ added in v0.0.90
func (o *FreezeCertRequestBody) UnmarshalJSON(b []byte) error
type FreezeCertResponse ¶ added in v0.0.69
type FreezeCertResponse struct { // 操作结果 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (FreezeCertResponse) String ¶ added in v0.0.69
func (o FreezeCertResponse) String() string
type HandleNotificationInvitee ¶
type HandleNotificationInvitee struct { // 被邀请方BCS服务实例ID InviteeBcsId string `json:"invitee_bcs_id"` // 被邀请方BCS服务实例名称,同意联盟邀请时必填 InviteeBcsName string `json:"invitee_bcs_name"` // 被邀请方project id InviteeProjectId string `json:"invitee_project_id"` // 被邀请方租户id。控制台->被邀请方帐号->我的凭证->API凭证->帐号ID InviteeUserId string `json:"invitee_user_id"` }
func (HandleNotificationInvitee) String ¶
func (o HandleNotificationInvitee) String() string
type HandleNotificationInvitor ¶
type HandleNotificationInvitor struct { // 邀请方BCS服务实例ID InvitorBcsId string `json:"invitor_bcs_id"` // 邀请方BCS服务实例名称 InvitorBcsName string `json:"invitor_bcs_name"` // 邀请方project id InvitorProjectId string `json:"invitor_project_id"` // 邀请方租户id。控制台->邀请方帐号->我的凭证->API凭证->帐号ID InvitorUserId string `json:"invitor_user_id"` }
func (HandleNotificationInvitor) String ¶
func (o HandleNotificationInvitor) String() string
type HandleNotificationOrg ¶
type HandleNotificationOrg struct { // 加入的组织 Name string `json:"name"` }
func (HandleNotificationOrg) String ¶
func (o HandleNotificationOrg) String() string
type HandleNotificationRequest ¶
type HandleNotificationRequest struct {
Body *HandleNotificationRequestBody `json:"body,omitempty"`
}
Request Object
func (HandleNotificationRequest) String ¶
func (o HandleNotificationRequest) String() string
type HandleNotificationRequestBody ¶
type HandleNotificationRequestBody struct { // 邀请目标通道 ChannelName string `json:"channel_name"` // 处理邀请 Status HandleNotificationRequestBodyStatus `json:"status"` InvitorInfo *HandleNotificationInvitor `json:"invitor_info"` InviteeInfo *HandleNotificationInvitee `json:"invitee_info,omitempty"` // 加入联盟的组织,同意加入时必填 InvitedOrgs *[]HandleNotificationOrg `json:"invited_orgs,omitempty"` }
处理联盟邀请body数据
func (HandleNotificationRequestBody) String ¶
func (o HandleNotificationRequestBody) String() string
type HandleNotificationRequestBodyStatus ¶
type HandleNotificationRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (HandleNotificationRequestBodyStatus) MarshalJSON ¶
func (c HandleNotificationRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*HandleNotificationRequestBodyStatus) UnmarshalJSON ¶
func (c *HandleNotificationRequestBodyStatus) UnmarshalJSON(b []byte) error
func (HandleNotificationRequestBodyStatus) Value ¶ added in v0.0.90
func (c HandleNotificationRequestBodyStatus) Value() string
type HandleNotificationRequestBodyStatusEnum ¶
type HandleNotificationRequestBodyStatusEnum struct { AGREED HandleNotificationRequestBodyStatus REJECT HandleNotificationRequestBodyStatus }
func GetHandleNotificationRequestBodyStatusEnum ¶
func GetHandleNotificationRequestBodyStatusEnum() HandleNotificationRequestBodyStatusEnum
type HandleNotificationResponse ¶
type HandleNotificationResponse struct { // 请求成功的结果 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (HandleNotificationResponse) String ¶
func (o HandleNotificationResponse) String() string
type HandleUnionMemberQuitListRequest ¶ added in v0.0.90
type HandleUnionMemberQuitListRequest struct {
Body *QuitUnionFromMemberListRequestBody `json:"body,omitempty"`
}
Request Object
func (HandleUnionMemberQuitListRequest) String ¶ added in v0.0.90
func (o HandleUnionMemberQuitListRequest) String() string
type HandleUnionMemberQuitListResponse ¶ added in v0.0.90
type HandleUnionMemberQuitListResponse struct { // 请求结果 Result *string `json:"result,omitempty"` // 操作记录ID OperationId *string `json:"operation_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (HandleUnionMemberQuitListResponse) String ¶ added in v0.0.90
func (o HandleUnionMemberQuitListResponse) String() string
type IefInfo ¶
type IefInfo struct { // BCS服务边缘节点部署模式,分为:随机模式(0),绑定模式(1) DeployMode *int64 `json:"deploy_mode,omitempty"` }
type IefNode ¶
type IefNodeinfo ¶ added in v0.0.69
type IefNodeinfo struct { // 节点状态,要使用此节点的话,该状态值必须为ACTIVE Status string `json:"status"` // 节点IP,填写节点所在的EIP地址 PublicIpAddress string `json:"public_ip_address"` // ief节点id值 Id string `json:"id"` }
func (IefNodeinfo) String ¶ added in v0.0.69
func (o IefNodeinfo) String() string
type InstanceSpc ¶ added in v0.0.67
type InstanceSpc struct { // 单个组织支持的最大peer节点数量 OrgPeerMaxNum *int64 `json:"org_peer_max_num,omitempty"` // 单个联盟链支持的最大order节点数量 OrdererMaxNum *int64 `json:"orderer_max_num,omitempty"` // 单个联盟链支持的最大租户数量 MemberMaxNum *int32 `json:"member_max_num,omitempty"` }
func (InstanceSpc) String ¶ added in v0.0.67
func (o InstanceSpc) String() string
type InvitationDetail ¶ added in v0.0.69
type InvitationDetail struct { // 被邀请方租户名,IAM用户名 InvitedUser string `json:"invited_user"` // 邀请状态,可选:已退出(quit),等待中(waiting),已拒绝(reject),已解散(released),其他状态不允许删除 Status *InvitationDetailStatus `json:"status,omitempty"` // 被邀请方服务实例ID InvitedBcsId *string `json:"invited_bcs_id,omitempty"` }
被邀请列表
func (InvitationDetail) String ¶ added in v0.0.69
func (o InvitationDetail) String() string
type InvitationDetailStatus ¶ added in v0.0.69
type InvitationDetailStatus struct {
// contains filtered or unexported fields
}
func (InvitationDetailStatus) MarshalJSON ¶ added in v0.0.69
func (c InvitationDetailStatus) MarshalJSON() ([]byte, error)
func (*InvitationDetailStatus) UnmarshalJSON ¶ added in v0.0.69
func (c *InvitationDetailStatus) UnmarshalJSON(b []byte) error
func (InvitationDetailStatus) Value ¶ added in v0.0.90
func (c InvitationDetailStatus) Value() string
type InvitationDetailStatusEnum ¶ added in v0.0.69
type InvitationDetailStatusEnum struct { QUIT InvitationDetailStatus WAITING InvitationDetailStatus REJECT InvitationDetailStatus RELEASED InvitationDetailStatus }
func GetInvitationDetailStatusEnum ¶ added in v0.0.69
func GetInvitationDetailStatusEnum() InvitationDetailStatusEnum
type InvitedDomain ¶
type InvitedDomain struct { // 被邀请方租户 InvitedUser string `json:"invited_user"` }
被邀请列表
func (InvitedDomain) String ¶
func (o InvitedDomain) String() string
type InviteeInfo ¶
type InviteeInfo struct { // 被邀请用户id InviteeId *string `json:"invitee_id,omitempty"` // 被邀请租户名称 InviteeName *int64 `json:"invitee_name,omitempty"` // 被邀请的服务实例名称 InviteeBcsName *string `json:"invitee_bcs_name,omitempty"` // 被邀请的服务实例id InviteeBcsId *string `json:"invitee_bcs_id,omitempty"` // 被邀请的项目id InviteeProjectId *string `json:"invitee_project_id,omitempty"` }
被邀请方的信息
func (InviteeInfo) String ¶
func (o InviteeInfo) String() string
type InvitorInfo ¶
type InvitorInfo struct { // 邀请方用户id InvitorId *string `json:"invitor_id,omitempty"` // 邀请方用户名 InvitorName *string `json:"invitor_name,omitempty"` // 邀请方的服务实例id InvitorBcsId *string `json:"invitor_bcs_id,omitempty"` // 邀请方的服务实例名 InvitorBcsName *string `json:"invitor_bcs_name,omitempty"` // 邀请方的共识 InvitorConsensus *string `json:"invitor_consensus,omitempty"` // 邀请方的projectID InvitorProjectId *string `json:"invitor_project_id,omitempty"` // 邀请方的集群类型 InvitorClusterType *string `json:"invitor_cluster_type,omitempty"` // 邀请方数据库类型 InvitorDatabaseType *string `json:"invitor_database_type,omitempty"` // 邀请方的签名算法 InvitorSignatureAlgorithm *string `json:"invitor_signature_algorithm,omitempty"` // 邀请方的fabric版本 InvitorFabricVersion *string `json:"invitor_fabric_version,omitempty"` // 是否允许共识节点老化 OrderFadeEnabled *bool `json:"order_fade_enabled,omitempty"` // 共识节点的老化阈值 OrderFadeCache *int64 `json:"order_fade_cache,omitempty"` }
邀请者的信息
func (InvitorInfo) String ¶
func (o InvitorInfo) String() string
type InvitorInfos ¶ added in v0.0.65
type InvitorInfos struct { // 邀请方租户ID TenantId string `json:"tenant_id"` // 邀请方项目ID ProjectId string `json:"project_id"` // 邀请方BCS服务实例ID BlockchainId string `json:"blockchain_id"` }
邀请方信息
func (InvitorInfos) String ¶ added in v0.0.65
func (o InvitorInfos) String() string
type KafkaCreateInfo ¶ added in v0.0.65
type KafkaCreateInfo struct { // kafka实例规格,可选:mini:基准带宽100MB/s,small:基准带宽300MB/s,middle:基准带宽600MB/s,high:基准带宽1200MB/s Spec string `json:"spec"` // 存储空间(单位:GB),至多9000,mini版至少300,small至少1200,middle至少2400,high至少4800 Storage int64 `json:"storage"` // kafka实例可用区 Az string `json:"az"` }
kafka实例创建信息
func (KafkaCreateInfo) String ¶ added in v0.0.65
func (o KafkaCreateInfo) String() string
type ListBcsMetricRequest ¶
type ListBcsMetricRequest struct { // 区块链服务id BlockchainId string `json:"blockchain_id"` Body *ListBcsMetricRequestBody `json:"body,omitempty"` }
Request Object
func (ListBcsMetricRequest) String ¶
func (o ListBcsMetricRequest) String() string
type ListBcsMetricRequestBody ¶
type ListBcsMetricRequestBody struct { // 指标列表 取值范围 cpuUsage:CPU使用率 diskUsedRate:磁盘使用率 memUsedRate:物理内存使用率 sendBytesRate:上行Bps recvBytesRate:下行Bps cpuCoreLimit:CPU内核总量 cpuCoreUsed:CPU内核占用 totalMem:物理内存总量 freeMem:可用物理内存 diskCapacity:磁盘空间容量 diskAvailableCapacity:可用磁盘空间 默认值:前5项 MetricNames *[]string `json:"metric_names,omitempty"` }
BCS服务监控数据查询请求结构
func (ListBcsMetricRequestBody) String ¶
func (o ListBcsMetricRequestBody) String() string
type ListBcsMetricResponse ¶
type ListBcsMetricResponse struct { // 指标对象列表。 Metrics *[]MetricItemResultApi `json:"metrics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListBcsMetricResponse) String ¶
func (o ListBcsMetricResponse) String() string
type ListBlockchainChannelsRequest ¶
type ListBlockchainChannelsRequest struct { // blockchainID BlockchainId string `json:"blockchain_id"` }
Request Object
func (ListBlockchainChannelsRequest) String ¶
func (o ListBlockchainChannelsRequest) String() string
type ListBlockchainChannelsResponse ¶
type ListBlockchainChannelsResponse struct { // 通道信息列表 Channels *[]Channel `json:"channels,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListBlockchainChannelsResponse) String ¶
func (o ListBlockchainChannelsResponse) String() string
type ListBlockchainsRequest ¶
type ListBlockchainsRequest struct { }
Request Object
func (ListBlockchainsRequest) String ¶
func (o ListBlockchainsRequest) String() string
type ListBlockchainsResponse ¶
type ListBlockchainsResponse struct { // 服务实例简要信息 Blockchains *[]BlockchainInfo `json:"blockchains,omitempty"` // 实例总数 Count *int64 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListBlockchainsResponse) String ¶
func (o ListBlockchainsResponse) String() string
type ListEntityMetricRequest ¶
type ListEntityMetricRequest struct { // 区块链服务id [目前不支持IEF实例](tag:hasief) BlockchainId string `json:"blockchain_id"` Body *ListEntityMetricRequestBody `json:"body,omitempty"` }
Request Object
func (ListEntityMetricRequest) String ¶
func (o ListEntityMetricRequest) String() string
type ListEntityMetricRequestBody ¶
type ListEntityMetricRequestBody struct { // 实体类型,[可选值如下: org(节点组织), plugin(插件)] 默认为org Type string `json:"type"` // 具体实体的名称 EntityName *string `json:"entity_name,omitempty"` }
BCS组织监控数据列表查询请求结构
func (ListEntityMetricRequestBody) String ¶
func (o ListEntityMetricRequestBody) String() string
type ListEntityMetricResponse ¶
type ListEntityMetricResponse struct { // 指标对象列表。 Metrics *[]EntityMetricList `json:"metrics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEntityMetricResponse) String ¶
func (o ListEntityMetricResponse) String() string
type ListInstanceMetricRequest ¶
type ListInstanceMetricRequest struct { // 区块链服务id。 BlockchainId string `json:"blockchain_id"` Body *ListInstanceMetricRequestBody `json:"body,omitempty"` }
Request Object
func (ListInstanceMetricRequest) String ¶
func (o ListInstanceMetricRequest) String() string
type ListInstanceMetricRequestBody ¶
type ListInstanceMetricRequestBody struct { // 实体类型,[可选值如下: org(包括代理节点baas-agent、共识节点orderer、记账节点peer), plugin(插件)] 默认为org Type string `json:"type"` // 所属实体的名称,即区块链服务详情页面的“区块链实例”中各节点的名称(代理节点、共识节点、记账节点) EntityName string `json:"entity_name"` // 具体实例的名称。若当前区块链服务部署在CCE集群上,该名称为各节点对应的负载(pod)名称;若当前区块链服务部署在IEF集群上,可进入“智能边缘平台”服务,进入“边缘应用”->“容器应用”,查询负载名称。 InstanceName string `json:"instance_name"` }
BCS组织实例监控数据详情查询请求结构
func (ListInstanceMetricRequestBody) String ¶
func (o ListInstanceMetricRequestBody) String() string
type ListInstanceMetricResponse ¶
type ListInstanceMetricResponse struct { // 指标对象列表。 Metrics *[]MetricItemResultApi `json:"metrics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstanceMetricResponse) String ¶
func (o ListInstanceMetricResponse) String() string
type ListMembersRequest ¶
type ListMembersRequest struct { }
Request Object
func (ListMembersRequest) String ¶
func (o ListMembersRequest) String() string
type ListMembersResponse ¶
type ListMembersResponse struct { // 联盟成员列表 Members *[]Member `json:"members,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMembersResponse) String ¶
func (o ListMembersResponse) String() string
type ListNotificationsRequest ¶
type ListNotificationsRequest struct { }
Request Object
func (ListNotificationsRequest) String ¶
func (o ListNotificationsRequest) String() string
type ListNotificationsResponse ¶
type ListNotificationsResponse struct { // 通知列表 Notifications *[]NotificationList `json:"notifications,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListNotificationsResponse) String ¶
func (o ListNotificationsResponse) String() string
type ListOpRecordRequest ¶
type ListOpRecordRequest struct { // 区块链ID BlockchainId *string `json:"blockchain_id,omitempty"` // 操作状态, 可选数值如下(括号中为该数值对应的操作状态含义):waiting(等待执行),processing(处理中),finished(操作完成,成功),failed(操作失败),stop(操作中断) OperationStatus *ListOpRecordRequestOperationStatus `json:"operation_status,omitempty"` // 资源类型, 可选数值如下(括号中为该数值对应的资源类型含义):BCSSVC01(BCS变更操作),BCSSVC02(UGBaaS变更操作),PLUGIN01(RestAPI插件变更操作),PLUGIN02(TC3插件变更操作),PLUGIN03(轻节点插件变更操作) ResourceType *ListOpRecordRequestResourceType `json:"resource_type,omitempty"` // 操作类型, 可选数值如下(括号中为该数值对应的操作类型含义):99(OpCreate),00(OpDelete),01(OpUpgrade),91(OpUpgradeRb),02(OpAddOrg),03(OpScaleOrg),04(OpJoinChannel),05(OpJoinUnion) OperationType *ListOpRecordRequestOperationType `json:"operation_type,omitempty"` // 操作记录ID OperationId *string `json:"operation_id,omitempty"` }
Request Object
func (ListOpRecordRequest) String ¶
func (o ListOpRecordRequest) String() string
type ListOpRecordRequestOperationStatus ¶
type ListOpRecordRequestOperationStatus struct {
// contains filtered or unexported fields
}
func (ListOpRecordRequestOperationStatus) MarshalJSON ¶
func (c ListOpRecordRequestOperationStatus) MarshalJSON() ([]byte, error)
func (*ListOpRecordRequestOperationStatus) UnmarshalJSON ¶
func (c *ListOpRecordRequestOperationStatus) UnmarshalJSON(b []byte) error
func (ListOpRecordRequestOperationStatus) Value ¶ added in v0.0.90
func (c ListOpRecordRequestOperationStatus) Value() string
type ListOpRecordRequestOperationStatusEnum ¶
type ListOpRecordRequestOperationStatusEnum struct { WAITING ListOpRecordRequestOperationStatus PROCESSING ListOpRecordRequestOperationStatus FINISHED ListOpRecordRequestOperationStatus FAILED ListOpRecordRequestOperationStatus STOP ListOpRecordRequestOperationStatus }
func GetListOpRecordRequestOperationStatusEnum ¶
func GetListOpRecordRequestOperationStatusEnum() ListOpRecordRequestOperationStatusEnum
type ListOpRecordRequestOperationType ¶
type ListOpRecordRequestOperationType struct {
// contains filtered or unexported fields
}
func (ListOpRecordRequestOperationType) MarshalJSON ¶
func (c ListOpRecordRequestOperationType) MarshalJSON() ([]byte, error)
func (*ListOpRecordRequestOperationType) UnmarshalJSON ¶
func (c *ListOpRecordRequestOperationType) UnmarshalJSON(b []byte) error
func (ListOpRecordRequestOperationType) Value ¶ added in v0.0.90
func (c ListOpRecordRequestOperationType) Value() string
type ListOpRecordRequestOperationTypeEnum ¶
type ListOpRecordRequestOperationTypeEnum struct { E_99 ListOpRecordRequestOperationType E_00 ListOpRecordRequestOperationType E_01 ListOpRecordRequestOperationType E_91 ListOpRecordRequestOperationType E_02 ListOpRecordRequestOperationType E_03 ListOpRecordRequestOperationType E_04 ListOpRecordRequestOperationType E_05 ListOpRecordRequestOperationType }
func GetListOpRecordRequestOperationTypeEnum ¶
func GetListOpRecordRequestOperationTypeEnum() ListOpRecordRequestOperationTypeEnum
type ListOpRecordRequestResourceType ¶
type ListOpRecordRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListOpRecordRequestResourceType) MarshalJSON ¶
func (c ListOpRecordRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListOpRecordRequestResourceType) UnmarshalJSON ¶
func (c *ListOpRecordRequestResourceType) UnmarshalJSON(b []byte) error
func (ListOpRecordRequestResourceType) Value ¶ added in v0.0.90
func (c ListOpRecordRequestResourceType) Value() string
type ListOpRecordRequestResourceTypeEnum ¶
type ListOpRecordRequestResourceTypeEnum struct { BCSSVC01 ListOpRecordRequestResourceType BCSSVC02 ListOpRecordRequestResourceType PLUGIN01 ListOpRecordRequestResourceType PLUGIN02 ListOpRecordRequestResourceType PLUGIN03 ListOpRecordRequestResourceType }
func GetListOpRecordRequestResourceTypeEnum ¶
func GetListOpRecordRequestResourceTypeEnum() ListOpRecordRequestResourceTypeEnum
type ListOpRecordResponse ¶
type ListOpRecordResponse struct { // 操作记录总数 Count *int64 `json:"count,omitempty"` // 操作记录列表 OperationRecords *[]RecordDetailInfo `json:"operation_records,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListOpRecordResponse) String ¶
func (o ListOpRecordResponse) String() string
type ListQuotasRequest ¶
type ListQuotasRequest struct { }
Request Object
func (ListQuotasRequest) String ¶
func (o ListQuotasRequest) String() string
type ListQuotasResponse ¶
type ListQuotasResponse struct { // 配额信息 Resources *[]Resource `json:"resources,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListQuotasResponse) String ¶
func (o ListQuotasResponse) String() string
type Member ¶
type Member struct { // 是否支持可信 TcsNeed *bool `json:"tcs_need,omitempty"` // 通道名称 ChannelName *string `json:"channel_name,omitempty"` // 被邀请的组织 InvitedOrgs *[]OrganizationV2 `json:"invited_orgs,omitempty"` InvitorInfo *MemberInvitor `json:"invitor_info,omitempty"` InviteeInfo *MemberInvitee `json:"invitee_info,omitempty"` }
联盟成员
type MemberInvitee ¶
type MemberInvitee struct { // 被邀请方BCS服务实例ID InviteeBcsId *string `json:"invitee_bcs_id,omitempty"` // 被邀请方租户id InviteeUserId *string `json:"invitee_user_id,omitempty"` // 被邀请方租户名 InviteeUsername *string `json:"invitee_username,omitempty"` }
联盟成员中的被邀请方
func (MemberInvitee) String ¶
func (o MemberInvitee) String() string
type MemberInvitor ¶
type MemberInvitor struct { // 邀请方BCS服务实例ID InvitorBcsId *string `json:"invitor_bcs_id,omitempty"` // 邀请方BCS服务实例名称 InvitorBcsName *string `json:"invitor_bcs_name,omitempty"` // 邀请方project id InvitorProjectId *string `json:"invitor_project_id,omitempty"` // 邀请方租户id InvitorUserId *string `json:"invitor_user_id,omitempty"` // 邀请方租户名 InvitorUsername *string `json:"invitor_username,omitempty"` }
联盟成员中的邀请方
func (MemberInvitor) String ¶
func (o MemberInvitor) String() string
type MetricDataPoints ¶
type MetricDataPoints struct { // 时间戳。 Timestamp *int64 `json:"timestamp,omitempty"` // 指标单位。 Unit *string `json:"unit,omitempty"` // 统计方式。 Statistics *[]StatisticValue `json:"statistics,omitempty"` }
查询结果要点
func (MetricDataPoints) String ¶
func (o MetricDataPoints) String() string
type MetricDemision ¶
type MetricDemision struct { // 命名空间 Namespace *string `json:"namespace,omitempty"` // 指标名称 MetricName *string `json:"metricName,omitempty"` // 维度列表 Dimensions *[]Dimension `json:"dimensions,omitempty"` }
指标描述信息
func (MetricDemision) String ¶
func (o MetricDemision) String() string
type MetricItemResultApi ¶
type MetricItemResultApi struct { Metric *MetricDemision `json:"metric,omitempty"` // 监控数据信息 DataPoints *[]MetricDataPoints `json:"dataPoints,omitempty"` }
监控数据信息
func (MetricItemResultApi) String ¶
func (o MetricItemResultApi) String() string
type Node ¶
type NodeInfo ¶
type NodeInfo struct { // 节点名 Name *string `json:"name,omitempty"` // 节点ID Id *string `json:"id,omitempty"` }
节点信息
type NodeOrgs ¶ added in v0.0.65
type NodeOrgs struct { // 组织名称,IEF节点绑定模式下组织名与IEF节点名称保持一致。支持英文,数字,中文字符和中划线(-), 不能以中划线(-)开头,长度4-24个字符 Name string `json:"name"` // 组织目标节点数, 1-2的正整数 NodeCount int64 `json:"node_count"` // pvc名称,添加组织时需要提供pvc_name。CCE模式必填 PvcName *string `json:"pvc_name,omitempty"` }
节点组织
type NotificationList ¶
type NotificationList struct { // 通道名称 ChannelName *string `json:"channel_name,omitempty"` // 当前状态 Status *string `json:"status,omitempty"` // 更新时间 UpdatedTime *string `json:"updated_time,omitempty"` // 是否开启可信 Tc3Need *bool `json:"tc3_need,omitempty"` InvitorInfo *InvitorInfo `json:"invitor_info,omitempty"` InviteeInfo *InviteeInfo `json:"invitee_info,omitempty"` // 是否删除 Hide *int64 `json:"hide,omitempty"` // 被邀请的组织信息 InviteeOrgs *[]OrganizationV2 `json:"invitee_orgs,omitempty"` // 阅读状态值 ReadStatus *int64 `json:"read_status,omitempty"` // 跨版本进行升级 CrossVersionUpgrade *string `json:"cross_version_upgrade,omitempty"` }
func (NotificationList) String ¶
func (o NotificationList) String() string
type ObsInfo ¶
type ObsInfo struct { // OBS桶名称 Name *string `json:"name,omitempty"` // OBS桶地址 Addr *string `json:"addr,omitempty"` }
OBS桶信息
type OprecordCluster ¶
type OprecordCluster struct { // 集群类型 ClusterType *string `json:"cluster_type,omitempty"` // 集群名称 Name *string `json:"name,omitempty"` // 集群ID ClusterId *string `json:"cluster_id,omitempty"` // 节点信息 NodeInfos *[]NodeInfo `json:"node_infos,omitempty"` }
集群信息
func (OprecordCluster) String ¶
func (o OprecordCluster) String() string
type Org ¶
type OrgPeer ¶
type OrganizationV2 ¶
type OrganizationV2 struct { // 组织名称 Name *string `json:"name,omitempty"` // 组织hash NameHash *string `json:"name_hash,omitempty"` // 组织节点 NodeCount *string `json:"node_count,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 状态描述 StatusDetail *string `json:"status_detail,omitempty"` }
组织信息
func (OrganizationV2) String ¶
func (o OrganizationV2) String() string
type PeerAddress ¶
type PeerAddress struct { // 域名地址 DomainPort *string `json:"domain_port,omitempty"` // IP地址 IpPort *string `json:"ip_port,omitempty"` }
func (PeerAddress) String ¶
func (o PeerAddress) String() string
type PeerChannelInfo ¶ added in v0.0.65
type PeerChannelInfo struct { // peer加入的通道名称 ChannelName string `json:"channel_name"` // 加入通道peer名称和数量,key为组织名称,value为peer数量 Peers map[string]int64 `json:"peers"` }
func (PeerChannelInfo) String ¶ added in v0.0.65
func (o PeerChannelInfo) String() string
type PeerInfo ¶
type PeerInfo struct { // 组织名称 Name *string `json:"name,omitempty"` // 节点数量 NodeCnt *int64 `json:"node_cnt,omitempty"` // 节点状态,分为创建中(IsCreating),升级中(IsUpgrading),扩缩容中(Adding/IsScaling),删除中(Isdeleting),正常(Normal),异常(AbNormal),未知(其余值) Status *string `json:"status,omitempty"` // 节点状态,形式如:1/1,分母是该组织下节点总数,分子是正常节点个数 StatusDetail *string `json:"status_detail,omitempty"` // 节点对应pvc名称 PvcName *string `json:"pvc_name,omitempty"` // Peer节点域名/IP地址 Address *[]PeerAddress `json:"address,omitempty"` }
type ProcessInfo ¶
type ProcessInfo struct { // 操作名 StepName *string `json:"step_name,omitempty"` // 操作状态 Status *string `json:"status,omitempty"` // 操作详情 Detail *string `json:"detail,omitempty"` // 子操作, \"map[string][SubDetail] key:子操作名 value:子操作结果\" SubSteps map[string]SubDetail `json:"sub_steps,omitempty"` // 序列号 SerialNum *int64 `json:"serial_num,omitempty"` }
操作进度信息
func (ProcessInfo) String ¶
func (o ProcessInfo) String() string
type QuitUnionFromMemberListRequestBody ¶ added in v0.0.90
type QuitUnionFromMemberListRequestBody struct { // 邀请方BCS服务实例ID。可调用“查询服务实例列表”接口获取对应的ID InviterBcsid string `json:"inviter_bcsid"` // 邀请方项目ID。控制台->邀请方帐号->我的凭证->API凭证->项目列表,选择对应的项目ID InviterProjectid string `json:"inviter_projectid"` // 邀请方租户ID。控制台->邀请方帐号->我的凭证->API凭证->帐号ID InviterDomainid string `json:"inviter_domainid"` // 邀请方租户名称。控制台->邀请方帐号->我的凭证->API凭证->帐号名 InviterUsername string `json:"inviter_username"` // 联盟通道名称。BCS管理面->成员管理->通道,选择对应的邀请的通道 ChannelName string `json:"channel_name"` // 被邀请方BCS服务实例ID。可调用“查询服务实例列表”接口获取对应的id InviteeBcsid string `json:"invitee_bcsid"` // 被邀请方项目ID。控制台->被邀请方帐号->我的凭证->API凭证->项目列表,选择对应的项目ID InviteeProjectid string `json:"invitee_projectid"` // 被邀请方租户ID。控制台->被邀请方帐号->我的凭证->API凭证->帐号ID InviteeDomainid string `json:"invitee_domainid"` }
func (QuitUnionFromMemberListRequestBody) String ¶ added in v0.0.90
func (o QuitUnionFromMemberListRequestBody) String() string
type RecordDetailInfo ¶
type RecordDetailInfo struct { // 操作记录ID OperationId *string `json:"operation_id,omitempty"` // 资源类型 ResourceType *string `json:"resource_type,omitempty"` // 操作类型 OperationType *string `json:"operation_type,omitempty"` // 租户ID DomainId *string `json:"domain_id,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 区块链ID BlockchainId *string `json:"blockchain_id,omitempty"` // 区块链名称 BlockchainName *string `json:"blockchain_name,omitempty"` ClusterInfo *OprecordCluster `json:"cluster_info,omitempty"` // 操作流程,key为流程名,value为流程信息 OperationProcess map[string]ProcessInfo `json:"operation_process,omitempty"` // 记录更新时间 RecordTime *int64 `json:"record_time,omitempty"` // 操作状态 OperationStatus *string `json:"operation_status,omitempty"` // 操作过程信息记录 Message *[]string `json:"message,omitempty"` // 操作描述 Desc *string `json:"desc,omitempty"` }
操作记录详细信息
func (RecordDetailInfo) String ¶
func (o RecordDetailInfo) String() string
type Resource ¶
type Resource struct { // 资源类型,包含instance(服务实例数) Type *string `json:"type,omitempty"` // 单位 Unit *string `json:"unit,omitempty"` // 最小值 Min *int64 `json:"min,omitempty"` // 最大值 Max *int64 `json:"max,omitempty"` // 配额 Quota *int64 `json:"quota,omitempty"` // 已使用配额 Used *int64 `json:"used,omitempty"` // 剩余配额 Free *int64 `json:"free,omitempty"` }
type SfsInfo ¶
type ShowBlockchainDetailRequest ¶
type ShowBlockchainDetailRequest struct { // blockchainID BlockchainId string `json:"blockchain_id"` }
Request Object
func (ShowBlockchainDetailRequest) String ¶
func (o ShowBlockchainDetailRequest) String() string
type ShowBlockchainDetailResponse ¶
type ShowBlockchainDetailResponse struct { BasicInfo *BasicInfo `json:"basic_info,omitempty"` // 通道信息 Channels *[]ChannelInfo `json:"channels,omitempty"` // peer组织信息 PeerInfo *[]PeerInfo `json:"peer_info,omitempty"` // light_peer组织信息 LightPeerInfo *[]PeerInfo `json:"light_peer_info,omitempty"` OrdererInfo *PeerInfo `json:"orderer_info,omitempty"` CouchDbInfo *CouchDbInfo `json:"couch_db_info,omitempty"` DmsKafkaInfo *DmsKafkaInfo `json:"dms_kafka_info,omitempty"` IefInfo *IefInfo `json:"ief_info,omitempty"` SfsInfo *SfsInfo `json:"sfs_info,omitempty"` AgentInfo *PeerInfo `json:"agent_info,omitempty"` RestapiInfo *PeerInfo `json:"restapi_info,omitempty"` // 云硬盘存储卷信息 EvsPvcInfo map[string]map[string]string `json:"evs_pvc_info,omitempty"` Tc3TaskserverInfo *PeerInfo `json:"tc3_taskserver_info,omitempty"` ObsBucketInfo *ObsInfo `json:"obs_bucket_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBlockchainDetailResponse) String ¶
func (o ShowBlockchainDetailResponse) String() string
type ShowBlockchainFlavorsRequest ¶ added in v0.0.67
type ShowBlockchainFlavorsRequest struct { // 取值范围(0,1000],默认值为1000。用于限制本次返回的结果数据条数。 Limit *int32 `json:"limit,omitempty"` // 分页查询起始位置,为非负整数。 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ShowBlockchainFlavorsRequest) String ¶ added in v0.0.67
func (o ShowBlockchainFlavorsRequest) String() string
type ShowBlockchainFlavorsResponse ¶ added in v0.0.67
type ShowBlockchainFlavorsResponse struct { EnterpriseSpec *InstanceSpc `json:"enterprise_spec,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBlockchainFlavorsResponse) String ¶ added in v0.0.67
func (o ShowBlockchainFlavorsResponse) String() string
type ShowBlockchainNodesRequest ¶
type ShowBlockchainNodesRequest struct { // blockchainID BlockchainId string `json:"blockchain_id"` }
Request Object
func (ShowBlockchainNodesRequest) String ¶
func (o ShowBlockchainNodesRequest) String() string
type ShowBlockchainNodesResponse ¶
type ShowBlockchainNodesResponse struct { // key:组织名,value:组织详细信息 NodeOrgs map[string]Org `json:"node_orgs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBlockchainNodesResponse) String ¶
func (o ShowBlockchainNodesResponse) String() string
type ShowBlockchainStatusRequest ¶
type ShowBlockchainStatusRequest struct { // blockchainID BlockchainId string `json:"blockchain_id"` }
Request Object
func (ShowBlockchainStatusRequest) String ¶
func (o ShowBlockchainStatusRequest) String() string
type ShowBlockchainStatusResponse ¶
type ShowBlockchainStatusResponse struct { Bcs *Detail `json:"bcs,omitempty"` Eip *Detail `json:"eip,omitempty"` Sfs *Detail `json:"sfs,omitempty"` Obs *Detail `json:"obs,omitempty"` Kafka *Detail `json:"kafka,omitempty"` Cce *ComCce `json:"cce,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBlockchainStatusResponse) String ¶
func (o ShowBlockchainStatusResponse) String() string
type StatisticValue ¶
type StatisticValue struct { // 统计方式。 Statistic *string `json:"statistic,omitempty"` // 统计结果。 Value *float64 `json:"value,omitempty"` }
统计结果
func (StatisticValue) String ¶
func (o StatisticValue) String() string
type SubDetail ¶
type SubDetail struct { // 子操作名 SubstepName *string `json:"substep_name,omitempty"` // 子操作详情 Detail *string `json:"detail,omitempty"` // 子操作状态 Status *string `json:"status,omitempty"` // 子操作过程信息记录 Message *[]string `json:"message,omitempty"` // 开始时间 StartTime *int64 `json:"start_time,omitempty"` // 结束时间 EndTime *int64 `json:"end_time,omitempty"` // 序列号 SerialNum *int64 `json:"serial_num,omitempty"` }
子操作详情
type TurboInfo ¶ added in v0.0.65
type TurboInfo struct { string `json:"share_type"` // 类型,固定值为“efs-ha” Type string `json:"type"` // 可用区,可填空字符串(\"\")。 AvailableZone string `json:"available_zone"` // 规格,固定值为“sfs.turbo.standard” ResourceSpecCode string `json:"resource_spec_code"` }ShareType
极速文件存储卷信息
type UnfreezeCertRequest ¶ added in v0.0.69
type UnfreezeCertRequest struct { // userName UserName string `json:"user_name"` // blockchainID BlockchainId string `json:"blockchain_id"` // orgName OrgName string `json:"org_name"` Body *UnfreezeCertRequestBody `json:"body,omitempty" type:"multipart"` }
Request Object
func (UnfreezeCertRequest) String ¶ added in v0.0.69
func (o UnfreezeCertRequest) String() string
type UnfreezeCertRequestBody ¶ added in v0.0.90
type UnfreezeCertRequestBody struct { // 生成证书的zip文件(每次只允许上传一个证书文件,文件大小不大于30K,后缀名为.zip文件) File *def.FilePart `json:"file,omitempty"` }
func (UnfreezeCertRequestBody) String ¶ added in v0.0.90
func (o UnfreezeCertRequestBody) String() string
func (*UnfreezeCertRequestBody) UnmarshalJSON ¶ added in v0.0.90
func (o *UnfreezeCertRequestBody) UnmarshalJSON(b []byte) error
type UnfreezeCertResponse ¶ added in v0.0.69
type UnfreezeCertResponse struct { // 操作结果 Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UnfreezeCertResponse) String ¶ added in v0.0.69
func (o UnfreezeCertResponse) String() string
type UpdateInstanceRequest ¶
type UpdateInstanceRequest struct { // bcs 服务id BlockchainId string `json:"blockchain_id"` Body *UpdateInstanceRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateInstanceRequest) String ¶
func (o UpdateInstanceRequest) String() string
type UpdateInstanceRequestBody ¶ added in v0.0.65
type UpdateInstanceRequestBody struct { // 添加节点的组织列表 NodeOrgs []NodeOrgs `json:"node_orgs"` // ief添加组织时,ief节点信息。绑定模式的IEF服务,新增组织时,该字段必填 Publicips *[]IefNodeinfo `json:"publicips,omitempty"` // 是否是删除组织 IsDeleteOrg *bool `json:"is_delete_org,omitempty"` }
添加节点和添加组织,添加组织是需要提供pvc_name
func (UpdateInstanceRequestBody) String ¶ added in v0.0.65
func (o UpdateInstanceRequestBody) String() string
type UpdateInstanceResponse ¶
type UpdateInstanceResponse struct { // 操作记录id OperationId *string `json:"operation_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceResponse) String ¶
func (o UpdateInstanceResponse) String() string
Source Files ¶
- model_basic_info.go
- model_batch_add_peers_to_channel_request.go
- model_batch_add_peers_to_channel_request_body.go
- model_batch_add_peers_to_channel_response.go
- model_batch_create_channels_request.go
- model_batch_create_channels_request_body.go
- model_batch_create_channels_response.go
- model_batch_invite_members_to_channel_request.go
- model_batch_invite_members_to_channel_request_body.go
- model_batch_invite_members_to_channel_response.go
- model_batch_remove_orgs_from_channel_request.go
- model_batch_remove_orgs_from_channel_request_body.go
- model_batch_remove_orgs_from_channel_response.go
- model_batch_remove_peers_from_channel_request.go
- model_batch_remove_peers_from_channel_request_body.go
- model_batch_remove_peers_from_channel_response.go
- model_blockchain_info.go
- model_cce_cluster_info.go
- model_cce_create_info.go
- model_cfg_request_body.go
- model_channel.go
- model_channel_create_info.go
- model_channel_info.go
- model_channel_info_v2.go
- model_com_cce.go
- model_couch_db.go
- model_couch_db_info.go
- model_create_blockchain_cert_by_user_name_request.go
- model_create_blockchain_cert_by_user_name_request_body.go
- model_create_blockchain_cert_by_user_name_response.go
- model_create_new_blockchain_request.go
- model_create_new_blockchain_response.go
- model_create_request_body.go
- model_create_request_body_block_info.go
- model_delete_blockchain_request.go
- model_delete_blockchain_response.go
- model_delete_channel_request.go
- model_delete_channel_response.go
- model_delete_member_invite_request.go
- model_delete_member_invite_request_body.go
- model_delete_member_invite_response.go
- model_detail.go
- model_dimension.go
- model_dms_kafka_info.go
- model_download_blockchain_cert_request.go
- model_download_blockchain_cert_response.go
- model_download_blockchain_sdk_config_request.go
- model_download_blockchain_sdk_config_response.go
- model_entity_metric_list.go
- model_entity_metric_list_item.go
- model_freeze_cert_request.go
- model_freeze_cert_request_body.go
- model_freeze_cert_response.go
- model_handle_notification_invitee.go
- model_handle_notification_invitor.go
- model_handle_notification_org.go
- model_handle_notification_request.go
- model_handle_notification_request_body.go
- model_handle_notification_response.go
- model_handle_union_member_quit_list_request.go
- model_handle_union_member_quit_list_response.go
- model_ief_info.go
- model_ief_node.go
- model_ief_nodeinfo.go
- model_instance_spc.go
- model_invitation_detail.go
- model_invited_domain.go
- model_invitee_info.go
- model_invitor_info.go
- model_invitor_infos.go
- model_kafka_create_info.go
- model_list_bcs_metric_request.go
- model_list_bcs_metric_request_body.go
- model_list_bcs_metric_response.go
- model_list_blockchain_channels_request.go
- model_list_blockchain_channels_response.go
- model_list_blockchains_request.go
- model_list_blockchains_response.go
- model_list_entity_metric_request.go
- model_list_entity_metric_request_body.go
- model_list_entity_metric_response.go
- model_list_instance_metric_request.go
- model_list_instance_metric_request_body.go
- model_list_instance_metric_response.go
- model_list_members_request.go
- model_list_members_response.go
- model_list_notifications_request.go
- model_list_notifications_response.go
- model_list_op_record_request.go
- model_list_op_record_response.go
- model_list_quotas_request.go
- model_list_quotas_response.go
- model_member.go
- model_member_invitee.go
- model_member_invitor.go
- model_metric_data_points.go
- model_metric_demision.go
- model_metric_item_result_api.go
- model_node.go
- model_node_info.go
- model_node_orgs.go
- model_notification_list.go
- model_obs_info.go
- model_oprecord_cluster.go
- model_org.go
- model_org_peer.go
- model_organization_v2.go
- model_peer_address.go
- model_peer_channel_info.go
- model_peer_info.go
- model_process_info.go
- model_quit_union_from_member_list_request_body.go
- model_record_detail_info.go
- model_resource.go
- model_sfs_info.go
- model_show_blockchain_detail_request.go
- model_show_blockchain_detail_response.go
- model_show_blockchain_flavors_request.go
- model_show_blockchain_flavors_response.go
- model_show_blockchain_nodes_request.go
- model_show_blockchain_nodes_response.go
- model_show_blockchain_status_request.go
- model_show_blockchain_status_response.go
- model_statistic_value.go
- model_sub_detail.go
- model_turbo_info.go
- model_unfreeze_cert_request.go
- model_unfreeze_cert_request_body.go
- model_unfreeze_cert_response.go
- model_update_instance_request.go
- model_update_instance_request_body.go
- model_update_instance_response.go