Documentation ¶
Index ¶
- Constants
- type CdsAuditInstance
- type Client
- func (c *Client) DescribeDasbImageIds(request *DescribeDasbImageIdsRequest) (response *DescribeDasbImageIdsResponse, err error)
- func (c *Client) DescribeDbauditInstanceType(request *DescribeDbauditInstanceTypeRequest) (response *DescribeDbauditInstanceTypeResponse, err error)
- func (c *Client) DescribeDbauditInstances(request *DescribeDbauditInstancesRequest) (response *DescribeDbauditInstancesResponse, err error)
- func (c *Client) DescribeDbauditUsedRegions(request *DescribeDbauditUsedRegionsRequest) (response *DescribeDbauditUsedRegionsResponse, err error)
- func (c *Client) InquiryPriceDbauditInstance(request *InquiryPriceDbauditInstanceRequest) (response *InquiryPriceDbauditInstanceResponse, err error)
- func (c *Client) ModifyDbauditInstancesRenewFlag(request *ModifyDbauditInstancesRenewFlagRequest) (response *ModifyDbauditInstancesRenewFlagResponse, err error)
- type DbauditTypesInfo
- type DescribeDasbImageIdsRequest
- type DescribeDasbImageIdsResponse
- type DescribeDbauditInstanceTypeRequest
- type DescribeDbauditInstanceTypeResponse
- type DescribeDbauditInstancesRequest
- type DescribeDbauditInstancesResponse
- type DescribeDbauditUsedRegionsRequest
- type DescribeDbauditUsedRegionsResponse
- type InquiryPriceDbauditInstanceRequest
- type InquiryPriceDbauditInstanceResponse
- type ModifyDbauditInstancesRenewFlagRequest
- type ModifyDbauditInstancesRenewFlagResponse
- type RegionInfo
Constants ¶
View Source
const APIVersion = "2018-04-20"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CdsAuditInstance ¶
type CdsAuditInstance struct { // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 用户AppId AppId *string `json:"AppId,omitempty" name:"AppId"` // 用户Uin Uin *string `json:"Uin,omitempty" name:"Uin"` // 项目ID ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` // 续费标识 RenewFlag *uint64 `json:"RenewFlag,omitempty" name:"RenewFlag"` // 所属地域 Region *string `json:"Region,omitempty" name:"Region"` // 付费模式(数据安全审计只支持预付费:1) PayMode *uint64 `json:"PayMode,omitempty" name:"PayMode"` // 实例状态: 0,未生效;1:正常运行; 2:被隔离; 3,已过期 Status *uint64 `json:"Status,omitempty" name:"Status"` // 实例被隔离时间,格式:yyyy-mm-dd HH:ii:ss IsolatedTimestamp *string `json:"IsolatedTimestamp,omitempty" name:"IsolatedTimestamp"` // 实例创建时间,格式: yyyy-mm-dd HH:ii:ss CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 实例过期时间,格式:yyyy-mm-dd HH:ii:ss ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // 实例名称 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // 实例公网IP // 注意:此字段可能返回 null,表示取不到有效值。 PublicIp *string `json:"PublicIp,omitempty" name:"PublicIp"` // 实例私网IP // 注意:此字段可能返回 null,表示取不到有效值。 PrivateIp *string `json:"PrivateIp,omitempty" name:"PrivateIp"` // 实例类型(版本) InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 实例域名 // 注意:此字段可能返回 null,表示取不到有效值。 Pdomain *string `json:"Pdomain,omitempty" name:"Pdomain"` }
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) DescribeDasbImageIds ¶
func (c *Client) DescribeDasbImageIds(request *DescribeDasbImageIdsRequest) (response *DescribeDasbImageIdsResponse, err error)
获取镜像列表
func (*Client) DescribeDbauditInstanceType ¶
func (c *Client) DescribeDbauditInstanceType(request *DescribeDbauditInstanceTypeRequest) (response *DescribeDbauditInstanceTypeResponse, err error)
本接口 (DescribeDbauditInstanceType) 用于查询可售卖的产品规格列表。
func (*Client) DescribeDbauditInstances ¶
func (c *Client) DescribeDbauditInstances(request *DescribeDbauditInstancesRequest) (response *DescribeDbauditInstancesResponse, err error)
本接口 (DescribeDbauditInstances) 用于查询数据安全审计实例列表
func (*Client) DescribeDbauditUsedRegions ¶
func (c *Client) DescribeDbauditUsedRegions(request *DescribeDbauditUsedRegionsRequest) (response *DescribeDbauditUsedRegionsResponse, err error)
本接口 (DescribeDbauditUsedRegions) 用于查询可售卖地域列表。
func (*Client) InquiryPriceDbauditInstance ¶
func (c *Client) InquiryPriceDbauditInstance(request *InquiryPriceDbauditInstanceRequest) (response *InquiryPriceDbauditInstanceResponse, err error)
用于查询数据安全审计产品实例价格
func (*Client) ModifyDbauditInstancesRenewFlag ¶
func (c *Client) ModifyDbauditInstancesRenewFlag(request *ModifyDbauditInstancesRenewFlagRequest) (response *ModifyDbauditInstancesRenewFlagResponse, err error)
本接口 (ModifyDbauditInstancesRenewFlag) 用于修改数据安全审计产品实例续费标识
type DbauditTypesInfo ¶
type DbauditTypesInfo struct { // 规格描述 InstanceVersionName *string `json:"InstanceVersionName,omitempty" name:"InstanceVersionName"` // 规格名称 InstanceVersionKey *string `json:"InstanceVersionKey,omitempty" name:"InstanceVersionKey"` // 最大吞吐量 Qps *uint64 `json:"Qps,omitempty" name:"Qps"` // 最大实例数 MaxInstances *uint64 `json:"MaxInstances,omitempty" name:"MaxInstances"` // 入库速率(每小时) InsertSpeed *uint64 `json:"InsertSpeed,omitempty" name:"InsertSpeed"` // 最大在线存储量,单位:条 OnlineStorageCapacity *uint64 `json:"OnlineStorageCapacity,omitempty" name:"OnlineStorageCapacity"` // 最大归档存储量,单位:条 ArchivingStorageCapacity *uint64 `json:"ArchivingStorageCapacity,omitempty" name:"ArchivingStorageCapacity"` }
type DescribeDasbImageIdsRequest ¶
type DescribeDasbImageIdsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeDasbImageIdsRequest ¶
func NewDescribeDasbImageIdsRequest() (request *DescribeDasbImageIdsRequest)
func (*DescribeDasbImageIdsRequest) FromJsonString ¶
func (r *DescribeDasbImageIdsRequest) FromJsonString(s string) error
func (*DescribeDasbImageIdsRequest) ToJsonString ¶
func (r *DescribeDasbImageIdsRequest) ToJsonString() string
type DescribeDasbImageIdsResponse ¶
type DescribeDasbImageIdsResponse struct { *tchttp.BaseResponse Response *struct { // 基础镜像ID BaseImageId *string `json:"BaseImageId,omitempty" name:"BaseImageId"` // AI镜像ID AiImageId *string `json:"AiImageId,omitempty" name:"AiImageId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDasbImageIdsResponse ¶
func NewDescribeDasbImageIdsResponse() (response *DescribeDasbImageIdsResponse)
func (*DescribeDasbImageIdsResponse) FromJsonString ¶
func (r *DescribeDasbImageIdsResponse) FromJsonString(s string) error
func (*DescribeDasbImageIdsResponse) ToJsonString ¶
func (r *DescribeDasbImageIdsResponse) ToJsonString() string
type DescribeDbauditInstanceTypeRequest ¶
type DescribeDbauditInstanceTypeRequest struct {
*tchttp.BaseRequest
}
func NewDescribeDbauditInstanceTypeRequest ¶
func NewDescribeDbauditInstanceTypeRequest() (request *DescribeDbauditInstanceTypeRequest)
func (*DescribeDbauditInstanceTypeRequest) FromJsonString ¶
func (r *DescribeDbauditInstanceTypeRequest) FromJsonString(s string) error
func (*DescribeDbauditInstanceTypeRequest) ToJsonString ¶
func (r *DescribeDbauditInstanceTypeRequest) ToJsonString() string
type DescribeDbauditInstanceTypeResponse ¶
type DescribeDbauditInstanceTypeResponse struct { *tchttp.BaseResponse Response *struct { // 数据安全审计产品规格信息列表 DbauditTypesSet []*DbauditTypesInfo `json:"DbauditTypesSet,omitempty" name:"DbauditTypesSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDbauditInstanceTypeResponse ¶
func NewDescribeDbauditInstanceTypeResponse() (response *DescribeDbauditInstanceTypeResponse)
func (*DescribeDbauditInstanceTypeResponse) FromJsonString ¶
func (r *DescribeDbauditInstanceTypeResponse) FromJsonString(s string) error
func (*DescribeDbauditInstanceTypeResponse) ToJsonString ¶
func (r *DescribeDbauditInstanceTypeResponse) ToJsonString() string
type DescribeDbauditInstancesRequest ¶
type DescribeDbauditInstancesRequest struct { *tchttp.BaseRequest // 查询条件地域 SearchRegion *string `json:"SearchRegion,omitempty" name:"SearchRegion"` // 限制数目,默认10, 最大50 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 偏移量,默认1 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeDbauditInstancesRequest ¶
func NewDescribeDbauditInstancesRequest() (request *DescribeDbauditInstancesRequest)
func (*DescribeDbauditInstancesRequest) FromJsonString ¶
func (r *DescribeDbauditInstancesRequest) FromJsonString(s string) error
func (*DescribeDbauditInstancesRequest) ToJsonString ¶
func (r *DescribeDbauditInstancesRequest) ToJsonString() string
type DescribeDbauditInstancesResponse ¶
type DescribeDbauditInstancesResponse struct { *tchttp.BaseResponse Response *struct { // 总实例数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据安全审计实例信息列表 CdsAuditInstanceSet []*CdsAuditInstance `json:"CdsAuditInstanceSet,omitempty" name:"CdsAuditInstanceSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDbauditInstancesResponse ¶
func NewDescribeDbauditInstancesResponse() (response *DescribeDbauditInstancesResponse)
func (*DescribeDbauditInstancesResponse) FromJsonString ¶
func (r *DescribeDbauditInstancesResponse) FromJsonString(s string) error
func (*DescribeDbauditInstancesResponse) ToJsonString ¶
func (r *DescribeDbauditInstancesResponse) ToJsonString() string
type DescribeDbauditUsedRegionsRequest ¶
type DescribeDbauditUsedRegionsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeDbauditUsedRegionsRequest ¶
func NewDescribeDbauditUsedRegionsRequest() (request *DescribeDbauditUsedRegionsRequest)
func (*DescribeDbauditUsedRegionsRequest) FromJsonString ¶
func (r *DescribeDbauditUsedRegionsRequest) FromJsonString(s string) error
func (*DescribeDbauditUsedRegionsRequest) ToJsonString ¶
func (r *DescribeDbauditUsedRegionsRequest) ToJsonString() string
type DescribeDbauditUsedRegionsResponse ¶
type DescribeDbauditUsedRegionsResponse struct { *tchttp.BaseResponse Response *struct { // 可售卖地域信息列表 RegionSet []*RegionInfo `json:"RegionSet,omitempty" name:"RegionSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDbauditUsedRegionsResponse ¶
func NewDescribeDbauditUsedRegionsResponse() (response *DescribeDbauditUsedRegionsResponse)
func (*DescribeDbauditUsedRegionsResponse) FromJsonString ¶
func (r *DescribeDbauditUsedRegionsResponse) FromJsonString(s string) error
func (*DescribeDbauditUsedRegionsResponse) ToJsonString ¶
func (r *DescribeDbauditUsedRegionsResponse) ToJsonString() string
type InquiryPriceDbauditInstanceRequest ¶
type InquiryPriceDbauditInstanceRequest struct { *tchttp.BaseRequest // 实例规格,取值范围: cdsaudit,cdsaudit_adv, cdsaudit_ent 分别为合规版,高级版,企业版 InstanceVersion *string `json:"InstanceVersion,omitempty" name:"InstanceVersion"` // 询价类型: renew,续费;newbuy,新购 InquiryType *string `json:"InquiryType,omitempty" name:"InquiryType"` // 购买实例的时长。取值范围:1(y/m),2(y/m),,3(y/m),4(m), 5(m),6(m), 7(m),8(m),9(m), 10(m) TimeSpan *uint64 `json:"TimeSpan,omitempty" name:"TimeSpan"` // 购买时长单位,y:年;m:月 TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"` // 实例所在地域 ServiceRegion *string `json:"ServiceRegion,omitempty" name:"ServiceRegion"` }
func NewInquiryPriceDbauditInstanceRequest ¶
func NewInquiryPriceDbauditInstanceRequest() (request *InquiryPriceDbauditInstanceRequest)
func (*InquiryPriceDbauditInstanceRequest) FromJsonString ¶
func (r *InquiryPriceDbauditInstanceRequest) FromJsonString(s string) error
func (*InquiryPriceDbauditInstanceRequest) ToJsonString ¶
func (r *InquiryPriceDbauditInstanceRequest) ToJsonString() string
type InquiryPriceDbauditInstanceResponse ¶
type InquiryPriceDbauditInstanceResponse struct { *tchttp.BaseResponse Response *struct { // 总价,单位:元 TotalPrice *float64 `json:"TotalPrice,omitempty" name:"TotalPrice"` // 真实价钱,预支费用的折扣价,单位:元 RealTotalCost *float64 `json:"RealTotalCost,omitempty" name:"RealTotalCost"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInquiryPriceDbauditInstanceResponse ¶
func NewInquiryPriceDbauditInstanceResponse() (response *InquiryPriceDbauditInstanceResponse)
func (*InquiryPriceDbauditInstanceResponse) FromJsonString ¶
func (r *InquiryPriceDbauditInstanceResponse) FromJsonString(s string) error
func (*InquiryPriceDbauditInstanceResponse) ToJsonString ¶
func (r *InquiryPriceDbauditInstanceResponse) ToJsonString() string
type ModifyDbauditInstancesRenewFlagRequest ¶
type ModifyDbauditInstancesRenewFlagRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 0,表示默认状态(用户未设置,即初始状态);1,表示自动续费;2,表示明确不自动续费 AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` }
func NewModifyDbauditInstancesRenewFlagRequest ¶
func NewModifyDbauditInstancesRenewFlagRequest() (request *ModifyDbauditInstancesRenewFlagRequest)
func (*ModifyDbauditInstancesRenewFlagRequest) FromJsonString ¶
func (r *ModifyDbauditInstancesRenewFlagRequest) FromJsonString(s string) error
func (*ModifyDbauditInstancesRenewFlagRequest) ToJsonString ¶
func (r *ModifyDbauditInstancesRenewFlagRequest) ToJsonString() string
type ModifyDbauditInstancesRenewFlagResponse ¶
type ModifyDbauditInstancesRenewFlagResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyDbauditInstancesRenewFlagResponse ¶
func NewModifyDbauditInstancesRenewFlagResponse() (response *ModifyDbauditInstancesRenewFlagResponse)
func (*ModifyDbauditInstancesRenewFlagResponse) FromJsonString ¶
func (r *ModifyDbauditInstancesRenewFlagResponse) FromJsonString(s string) error
func (*ModifyDbauditInstancesRenewFlagResponse) ToJsonString ¶
func (r *ModifyDbauditInstancesRenewFlagResponse) ToJsonString() string
type RegionInfo ¶
type RegionInfo struct { // 地域ID RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // 地域名称 Region *string `json:"Region,omitempty" name:"Region"` // 地域描述 RegionName *string `json:"RegionName,omitempty" name:"RegionName"` // 地域可用状态 RegionState *int64 `json:"RegionState,omitempty" name:"RegionState"` }
Click to show internal directories.
Click to hide internal directories.