v20191112

package
v1.0.941 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM签名/鉴权错误。
	AUTHFAILURE = "AuthFailure"

	// 内部错误。
	INTERNALERROR = "InternalError"

	// 参数错误。
	INVALIDPARAMETER = "InvalidParameter"

	// 参数取值错误。
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// 资源不存在。
	RESOURCENOTFOUND = "ResourceNotFound"

	// 未授权操作。
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
)
View Source
const APIVersion = "2019-11-12"

Variables

This section is empty.

Functions

This section is empty.

Types

type AlarmPolicy added in v1.0.613

type AlarmPolicy struct {
	// 用户账号
	Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"`

	// 告警事件
	Event *string `json:"Event,omitnil,omitempty" name:"Event"`

	// 告警阈值
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 告警策略是否生效,0:停用,1:启用
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 在这个时间后才允许发送告警
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// 在这个时间前才允许发送告警
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) DescribeHSMBySubnetId

func (c *Client) DescribeHSMBySubnetId(request *DescribeHSMBySubnetIdRequest) (response *DescribeHSMBySubnetIdResponse, err error)

DescribeHSMBySubnetId 通过SubnetId获取Hsm资源数

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeHSMBySubnetIdWithContext added in v1.0.324

func (c *Client) DescribeHSMBySubnetIdWithContext(ctx context.Context, request *DescribeHSMBySubnetIdRequest) (response *DescribeHSMBySubnetIdResponse, err error)

DescribeHSMBySubnetId 通过SubnetId获取Hsm资源数

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeHSMByVpcId

func (c *Client) DescribeHSMByVpcId(request *DescribeHSMByVpcIdRequest) (response *DescribeHSMByVpcIdResponse, err error)

DescribeHSMByVpcId 通过VpcId获取Hsm资源数

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeHSMByVpcIdWithContext added in v1.0.324

func (c *Client) DescribeHSMByVpcIdWithContext(ctx context.Context, request *DescribeHSMByVpcIdRequest) (response *DescribeHSMByVpcIdResponse, err error)

DescribeHSMByVpcId 通过VpcId获取Hsm资源数

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSubnet

func (c *Client) DescribeSubnet(request *DescribeSubnetRequest) (response *DescribeSubnetResponse, err error)

DescribeSubnet 查询子网列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSubnetWithContext added in v1.0.324

func (c *Client) DescribeSubnetWithContext(ctx context.Context, request *DescribeSubnetRequest) (response *DescribeSubnetResponse, err error)

DescribeSubnet 查询子网列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSupportedHsm

func (c *Client) DescribeSupportedHsm(request *DescribeSupportedHsmRequest) (response *DescribeSupportedHsmResponse, err error)

DescribeSupportedHsm 获取当前地域所支持的设备列表

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeSupportedHsmWithContext added in v1.0.324

func (c *Client) DescribeSupportedHsmWithContext(ctx context.Context, request *DescribeSupportedHsmRequest) (response *DescribeSupportedHsmResponse, err error)

DescribeSupportedHsm 获取当前地域所支持的设备列表

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeUsg

func (c *Client) DescribeUsg(request *DescribeUsgRequest) (response *DescribeUsgResponse, err error)

DescribeUsg 根据用户的AppId获取用户安全组列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeUsgRule

func (c *Client) DescribeUsgRule(request *DescribeUsgRuleRequest) (response *DescribeUsgRuleResponse, err error)

DescribeUsgRule 获取安全组详情

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeUsgRuleWithContext added in v1.0.324

func (c *Client) DescribeUsgRuleWithContext(ctx context.Context, request *DescribeUsgRuleRequest) (response *DescribeUsgRuleResponse, err error)

DescribeUsgRule 获取安全组详情

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeUsgWithContext added in v1.0.324

func (c *Client) DescribeUsgWithContext(ctx context.Context, request *DescribeUsgRequest) (response *DescribeUsgResponse, err error)

DescribeUsg 根据用户的AppId获取用户安全组列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeVpc

func (c *Client) DescribeVpc(request *DescribeVpcRequest) (response *DescribeVpcResponse, err error)

DescribeVpc 查询用户的私有网络列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeVpcWithContext added in v1.0.324

func (c *Client) DescribeVpcWithContext(ctx context.Context, request *DescribeVpcRequest) (response *DescribeVpcResponse, err error)

DescribeVpc 查询用户的私有网络列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeVsmAttributes

func (c *Client) DescribeVsmAttributes(request *DescribeVsmAttributesRequest) (response *DescribeVsmAttributesResponse, err error)

DescribeVsmAttributes 获取VSM属性

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeVsmAttributesWithContext added in v1.0.324

func (c *Client) DescribeVsmAttributesWithContext(ctx context.Context, request *DescribeVsmAttributesRequest) (response *DescribeVsmAttributesResponse, err error)

DescribeVsmAttributes 获取VSM属性

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeVsms

func (c *Client) DescribeVsms(request *DescribeVsmsRequest) (response *DescribeVsmsResponse, err error)

DescribeVsms 获取用户VSM列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeVsmsWithContext added in v1.0.324

func (c *Client) DescribeVsmsWithContext(ctx context.Context, request *DescribeVsmsRequest) (response *DescribeVsmsResponse, err error)

DescribeVsms 获取用户VSM列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) GetAlarmEvent added in v1.0.613

func (c *Client) GetAlarmEvent(request *GetAlarmEventRequest) (response *GetAlarmEventResponse, err error)

GetAlarmEvent 获取告警事件

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) GetAlarmEventWithContext added in v1.0.613

func (c *Client) GetAlarmEventWithContext(ctx context.Context, request *GetAlarmEventRequest) (response *GetAlarmEventResponse, err error)

GetAlarmEvent 获取告警事件

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) GetVsmMonitorInfo added in v1.0.613

func (c *Client) GetVsmMonitorInfo(request *GetVsmMonitorInfoRequest) (response *GetVsmMonitorInfoResponse, err error)

GetVsmMonitorInfo 获取VSM监控信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) GetVsmMonitorInfoWithContext added in v1.0.613

func (c *Client) GetVsmMonitorInfoWithContext(ctx context.Context, request *GetVsmMonitorInfoRequest) (response *GetVsmMonitorInfoResponse, err error)

GetVsmMonitorInfo 获取VSM监控信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) InquiryPriceBuyVsm

func (c *Client) InquiryPriceBuyVsm(request *InquiryPriceBuyVsmRequest) (response *InquiryPriceBuyVsmResponse, err error)

InquiryPriceBuyVsm 购买询价接口

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) InquiryPriceBuyVsmWithContext added in v1.0.324

func (c *Client) InquiryPriceBuyVsmWithContext(ctx context.Context, request *InquiryPriceBuyVsmRequest) (response *InquiryPriceBuyVsmResponse, err error)

InquiryPriceBuyVsm 购买询价接口

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAlarmEvent added in v1.0.613

func (c *Client) ModifyAlarmEvent(request *ModifyAlarmEventRequest) (response *ModifyAlarmEventResponse, err error)

ModifyAlarmEvent 修改告警事件

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) ModifyAlarmEventWithContext added in v1.0.613

func (c *Client) ModifyAlarmEventWithContext(ctx context.Context, request *ModifyAlarmEventRequest) (response *ModifyAlarmEventResponse, err error)

ModifyAlarmEvent 修改告警事件

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) ModifyVsmAttributes

func (c *Client) ModifyVsmAttributes(request *ModifyVsmAttributesRequest) (response *ModifyVsmAttributesResponse, err error)

ModifyVsmAttributes 修改VSM属性

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyVsmAttributesWithContext added in v1.0.324

func (c *Client) ModifyVsmAttributesWithContext(ctx context.Context, request *ModifyVsmAttributesRequest) (response *ModifyVsmAttributesResponse, err error)

ModifyVsmAttributes 修改VSM属性

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

type DescribeHSMBySubnetIdRequest

type DescribeHSMBySubnetIdRequest struct {
	*tchttp.BaseRequest

	// Subnet标识符
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
}

func NewDescribeHSMBySubnetIdRequest

func NewDescribeHSMBySubnetIdRequest() (request *DescribeHSMBySubnetIdRequest)

func (*DescribeHSMBySubnetIdRequest) FromJsonString

func (r *DescribeHSMBySubnetIdRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHSMBySubnetIdRequest) ToJsonString

func (r *DescribeHSMBySubnetIdRequest) ToJsonString() string

type DescribeHSMBySubnetIdRequestParams added in v1.0.426

type DescribeHSMBySubnetIdRequestParams struct {
	// Subnet标识符
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
}

Predefined struct for user

type DescribeHSMBySubnetIdResponse

type DescribeHSMBySubnetIdResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHSMBySubnetIdResponseParams `json:"Response"`
}

func NewDescribeHSMBySubnetIdResponse

func NewDescribeHSMBySubnetIdResponse() (response *DescribeHSMBySubnetIdResponse)

func (*DescribeHSMBySubnetIdResponse) FromJsonString

func (r *DescribeHSMBySubnetIdResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHSMBySubnetIdResponse) ToJsonString

func (r *DescribeHSMBySubnetIdResponse) ToJsonString() string

type DescribeHSMBySubnetIdResponseParams added in v1.0.426

type DescribeHSMBySubnetIdResponseParams struct {
	// HSM数量
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 作为查询条件的SubnetId
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeHSMByVpcIdRequest

type DescribeHSMByVpcIdRequest struct {
	*tchttp.BaseRequest

	// VPC标识符
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
}

func NewDescribeHSMByVpcIdRequest

func NewDescribeHSMByVpcIdRequest() (request *DescribeHSMByVpcIdRequest)

func (*DescribeHSMByVpcIdRequest) FromJsonString

func (r *DescribeHSMByVpcIdRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHSMByVpcIdRequest) ToJsonString

func (r *DescribeHSMByVpcIdRequest) ToJsonString() string

type DescribeHSMByVpcIdRequestParams added in v1.0.426

type DescribeHSMByVpcIdRequestParams struct {
	// VPC标识符
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
}

Predefined struct for user

type DescribeHSMByVpcIdResponse

type DescribeHSMByVpcIdResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHSMByVpcIdResponseParams `json:"Response"`
}

func NewDescribeHSMByVpcIdResponse

func NewDescribeHSMByVpcIdResponse() (response *DescribeHSMByVpcIdResponse)

func (*DescribeHSMByVpcIdResponse) FromJsonString

func (r *DescribeHSMByVpcIdResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeHSMByVpcIdResponse) ToJsonString

func (r *DescribeHSMByVpcIdResponse) ToJsonString() string

type DescribeHSMByVpcIdResponseParams added in v1.0.426

type DescribeHSMByVpcIdResponseParams struct {
	// HSM数量
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 作为查询条件的VpcId
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSubnetRequest

type DescribeSubnetRequest struct {
	*tchttp.BaseRequest

	// 返回数量。Limit需要在[1, 100]之间。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 偏移量。偏移量最小为0。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 查询指定VpcId下的子网信息。
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 查找关键字
	SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
}

func NewDescribeSubnetRequest

func NewDescribeSubnetRequest() (request *DescribeSubnetRequest)

func (*DescribeSubnetRequest) FromJsonString

func (r *DescribeSubnetRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSubnetRequest) ToJsonString

func (r *DescribeSubnetRequest) ToJsonString() string

type DescribeSubnetRequestParams added in v1.0.426

type DescribeSubnetRequestParams struct {
	// 返回数量。Limit需要在[1, 100]之间。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 偏移量。偏移量最小为0。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 查询指定VpcId下的子网信息。
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 查找关键字
	SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
}

Predefined struct for user

type DescribeSubnetResponse

type DescribeSubnetResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSubnetResponseParams `json:"Response"`
}

func NewDescribeSubnetResponse

func NewDescribeSubnetResponse() (response *DescribeSubnetResponse)

func (*DescribeSubnetResponse) FromJsonString

func (r *DescribeSubnetResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSubnetResponse) ToJsonString

func (r *DescribeSubnetResponse) ToJsonString() string

type DescribeSubnetResponseParams added in v1.0.426

type DescribeSubnetResponseParams struct {
	// 返回的子网数量。
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 返回的子网实例列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetList []*Subnet `json:"SubnetList,omitnil,omitempty" name:"SubnetList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSupportedHsmRequest

type DescribeSupportedHsmRequest struct {
	*tchttp.BaseRequest

	// Hsm类型,可选值all、virtulization、GHSM、EHSM、SHSM
	HsmType *string `json:"HsmType,omitnil,omitempty" name:"HsmType"`
}

func NewDescribeSupportedHsmRequest

func NewDescribeSupportedHsmRequest() (request *DescribeSupportedHsmRequest)

func (*DescribeSupportedHsmRequest) FromJsonString

func (r *DescribeSupportedHsmRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSupportedHsmRequest) ToJsonString

func (r *DescribeSupportedHsmRequest) ToJsonString() string

type DescribeSupportedHsmRequestParams added in v1.0.426

type DescribeSupportedHsmRequestParams struct {
	// Hsm类型,可选值all、virtulization、GHSM、EHSM、SHSM
	HsmType *string `json:"HsmType,omitnil,omitempty" name:"HsmType"`
}

Predefined struct for user

type DescribeSupportedHsmResponse

type DescribeSupportedHsmResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSupportedHsmResponseParams `json:"Response"`
}

func NewDescribeSupportedHsmResponse

func NewDescribeSupportedHsmResponse() (response *DescribeSupportedHsmResponse)

func (*DescribeSupportedHsmResponse) FromJsonString

func (r *DescribeSupportedHsmResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSupportedHsmResponse) ToJsonString

func (r *DescribeSupportedHsmResponse) ToJsonString() string

type DescribeSupportedHsmResponseParams added in v1.0.426

type DescribeSupportedHsmResponseParams struct {
	// 当前地域所支持的设备列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceTypes []*DeviceInfo `json:"DeviceTypes,omitnil,omitempty" name:"DeviceTypes"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUsgRequest

type DescribeUsgRequest struct {
	*tchttp.BaseRequest

	// 偏移量,当Offset和Limit均为0时将一次性返回用户所有的安全组列表。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回量,当Offset和Limit均为0时将一次性返回用户所有的安全组列表。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 搜索关键字
	SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
}

func NewDescribeUsgRequest

func NewDescribeUsgRequest() (request *DescribeUsgRequest)

func (*DescribeUsgRequest) FromJsonString

func (r *DescribeUsgRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUsgRequest) ToJsonString

func (r *DescribeUsgRequest) ToJsonString() string

type DescribeUsgRequestParams added in v1.0.426

type DescribeUsgRequestParams struct {
	// 偏移量,当Offset和Limit均为0时将一次性返回用户所有的安全组列表。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回量,当Offset和Limit均为0时将一次性返回用户所有的安全组列表。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 搜索关键字
	SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
}

Predefined struct for user

type DescribeUsgResponse

type DescribeUsgResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUsgResponseParams `json:"Response"`
}

func NewDescribeUsgResponse

func NewDescribeUsgResponse() (response *DescribeUsgResponse)

func (*DescribeUsgResponse) FromJsonString

func (r *DescribeUsgResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUsgResponse) ToJsonString

func (r *DescribeUsgResponse) ToJsonString() string

type DescribeUsgResponseParams added in v1.0.426

type DescribeUsgResponseParams struct {
	// 用户的安全组列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	SgList []*SgUnit `json:"SgList,omitnil,omitempty" name:"SgList"`

	// 返回的安全组数量
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUsgRuleRequest

type DescribeUsgRuleRequest struct {
	*tchttp.BaseRequest

	// 根据安全组Id获取安全组详情
	SgIds []*string `json:"SgIds,omitnil,omitempty" name:"SgIds"`
}

func NewDescribeUsgRuleRequest

func NewDescribeUsgRuleRequest() (request *DescribeUsgRuleRequest)

func (*DescribeUsgRuleRequest) FromJsonString

func (r *DescribeUsgRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUsgRuleRequest) ToJsonString

func (r *DescribeUsgRuleRequest) ToJsonString() string

type DescribeUsgRuleRequestParams added in v1.0.426

type DescribeUsgRuleRequestParams struct {
	// 根据安全组Id获取安全组详情
	SgIds []*string `json:"SgIds,omitnil,omitempty" name:"SgIds"`
}

Predefined struct for user

type DescribeUsgRuleResponse

type DescribeUsgRuleResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUsgRuleResponseParams `json:"Response"`
}

func NewDescribeUsgRuleResponse

func NewDescribeUsgRuleResponse() (response *DescribeUsgRuleResponse)

func (*DescribeUsgRuleResponse) FromJsonString

func (r *DescribeUsgRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUsgRuleResponse) ToJsonString

func (r *DescribeUsgRuleResponse) ToJsonString() string

type DescribeUsgRuleResponseParams added in v1.0.426

type DescribeUsgRuleResponseParams struct {
	// 安全组详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	SgRules []*UsgRuleDetail `json:"SgRules,omitnil,omitempty" name:"SgRules"`

	// 安全组详情数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeVpcRequest

type DescribeVpcRequest struct {
	*tchttp.BaseRequest

	// 返回偏移量。Offset最小为0。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量。Limit需要在[1, 100]之间。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 搜索关键字
	SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
}

func NewDescribeVpcRequest

func NewDescribeVpcRequest() (request *DescribeVpcRequest)

func (*DescribeVpcRequest) FromJsonString

func (r *DescribeVpcRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVpcRequest) ToJsonString

func (r *DescribeVpcRequest) ToJsonString() string

type DescribeVpcRequestParams added in v1.0.426

type DescribeVpcRequestParams struct {
	// 返回偏移量。Offset最小为0。
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量。Limit需要在[1, 100]之间。
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 搜索关键字
	SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
}

Predefined struct for user

type DescribeVpcResponse

type DescribeVpcResponse struct {
	*tchttp.BaseResponse
	Response *DescribeVpcResponseParams `json:"Response"`
}

func NewDescribeVpcResponse

func NewDescribeVpcResponse() (response *DescribeVpcResponse)

func (*DescribeVpcResponse) FromJsonString

func (r *DescribeVpcResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVpcResponse) ToJsonString

func (r *DescribeVpcResponse) ToJsonString() string

type DescribeVpcResponseParams added in v1.0.426

type DescribeVpcResponseParams struct {
	// 可查询到的所有Vpc实例总数。
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Vpc对象列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcList []*Vpc `json:"VpcList,omitnil,omitempty" name:"VpcList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeVsmAttributesRequest

type DescribeVsmAttributesRequest struct {
	*tchttp.BaseRequest

	// 资源Id
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
}

func NewDescribeVsmAttributesRequest

func NewDescribeVsmAttributesRequest() (request *DescribeVsmAttributesRequest)

func (*DescribeVsmAttributesRequest) FromJsonString

func (r *DescribeVsmAttributesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVsmAttributesRequest) ToJsonString

func (r *DescribeVsmAttributesRequest) ToJsonString() string

type DescribeVsmAttributesRequestParams added in v1.0.426

type DescribeVsmAttributesRequestParams struct {
	// 资源Id
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
}

Predefined struct for user

type DescribeVsmAttributesResponse

type DescribeVsmAttributesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeVsmAttributesResponseParams `json:"Response"`
}

func NewDescribeVsmAttributesResponse

func NewDescribeVsmAttributesResponse() (response *DescribeVsmAttributesResponse)

func (*DescribeVsmAttributesResponse) FromJsonString

func (r *DescribeVsmAttributesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVsmAttributesResponse) ToJsonString

func (r *DescribeVsmAttributesResponse) ToJsonString() string

type DescribeVsmAttributesResponseParams added in v1.0.426

type DescribeVsmAttributesResponseParams struct {
	// 资源Id
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 资源名称
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// 资源状态,1表示资源为正常,2表示资源处于隔离状态
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 资源IP
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// 资源所属Vpc
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 资源所属子网
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 资源所属HSM的规格
	Model *string `json:"Model,omitnil,omitempty" name:"Model"`

	// 资源类型,17表示EVSM,33表示GVSM,49表示SVSM
	VsmType *int64 `json:"VsmType,omitnil,omitempty" name:"VsmType"`

	// 地域Id,返回腾讯云地域代码,如广州为1,北京为8
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// 区域Id,返回腾讯云每个地域的可用区代码
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// 资源过期时间,以时间戳形式展示。
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 安全组详情信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	SgList []*UsgRuleDetail `json:"SgList,omitnil,omitempty" name:"SgList"`

	// 子网名
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"`

	// 地域名
	// 注意:此字段可能返回 null,表示取不到有效值。
	RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"`

	// 区域名
	// 注意:此字段可能返回 null,表示取不到有效值。
	ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"`

	// 实例是否已经过期
	// 注意:此字段可能返回 null,表示取不到有效值。
	Expired *bool `json:"Expired,omitnil,omitempty" name:"Expired"`

	// 为正数表示实例距离过期时间剩余秒数,为负数表示实例已经过期多少秒
	// 注意:此字段可能返回 null,表示取不到有效值。
	RemainSeconds *int64 `json:"RemainSeconds,omitnil,omitempty" name:"RemainSeconds"`

	// 私有虚拟网络名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"`

	// VPC的IPv4 CIDR
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcCidrBlock *string `json:"VpcCidrBlock,omitnil,omitempty" name:"VpcCidrBlock"`

	// 子网的CIDR
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetCidrBlock *string `json:"SubnetCidrBlock,omitnil,omitempty" name:"SubnetCidrBlock"`

	// 资源所关联的Tag
	// 注意:此字段可能返回 null,表示取不到有效值。
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// 资源续费标识,0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置)
	// 注意:此字段可能返回 null,表示取不到有效值。
	RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// 厂商
	// 注意:此字段可能返回 null,表示取不到有效值。
	Manufacturer *string `json:"Manufacturer,omitnil,omitempty" name:"Manufacturer"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeVsmsRequest

type DescribeVsmsRequest struct {
	*tchttp.BaseRequest

	// 偏移
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大数量
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 资源ID或者资源名字模糊查询的关键字
	SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`

	// 标签过滤条件
	TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"`

	// 设备所属的厂商名称,根据厂商来进行筛选
	Manufacturer *string `json:"Manufacturer,omitnil,omitempty" name:"Manufacturer"`

	// Hsm服务类型,可选virtualization、physical、GHSM、EHSM、SHSM、all
	HsmType *string `json:"HsmType,omitnil,omitempty" name:"HsmType"`
}

func NewDescribeVsmsRequest

func NewDescribeVsmsRequest() (request *DescribeVsmsRequest)

func (*DescribeVsmsRequest) FromJsonString

func (r *DescribeVsmsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVsmsRequest) ToJsonString

func (r *DescribeVsmsRequest) ToJsonString() string

type DescribeVsmsRequestParams added in v1.0.426

type DescribeVsmsRequestParams struct {
	// 偏移
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大数量
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 资源ID或者资源名字模糊查询的关键字
	SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`

	// 标签过滤条件
	TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"`

	// 设备所属的厂商名称,根据厂商来进行筛选
	Manufacturer *string `json:"Manufacturer,omitnil,omitempty" name:"Manufacturer"`

	// Hsm服务类型,可选virtualization、physical、GHSM、EHSM、SHSM、all
	HsmType *string `json:"HsmType,omitnil,omitempty" name:"HsmType"`
}

Predefined struct for user

type DescribeVsmsResponse

type DescribeVsmsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeVsmsResponseParams `json:"Response"`
}

func NewDescribeVsmsResponse

func NewDescribeVsmsResponse() (response *DescribeVsmsResponse)

func (*DescribeVsmsResponse) FromJsonString

func (r *DescribeVsmsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeVsmsResponse) ToJsonString

func (r *DescribeVsmsResponse) ToJsonString() string

type DescribeVsmsResponseParams added in v1.0.426

type DescribeVsmsResponseParams struct {
	// 获取实例的总个数
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 资源信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	VsmList []*ResourceInfo `json:"VsmList,omitnil,omitempty" name:"VsmList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeviceInfo

type DeviceInfo struct {
	// 厂商名称
	Manufacturer *string `json:"Manufacturer,omitnil,omitempty" name:"Manufacturer"`

	// 此厂商旗下的设备信息列表
	HsmTypes []*HsmInfo `json:"HsmTypes,omitnil,omitempty" name:"HsmTypes"`
}

type GetAlarmEventRequest added in v1.0.613

type GetAlarmEventRequest struct {
	*tchttp.BaseRequest
}

func NewGetAlarmEventRequest added in v1.0.613

func NewGetAlarmEventRequest() (request *GetAlarmEventRequest)

func (*GetAlarmEventRequest) FromJsonString added in v1.0.613

func (r *GetAlarmEventRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAlarmEventRequest) ToJsonString added in v1.0.613

func (r *GetAlarmEventRequest) ToJsonString() string

type GetAlarmEventRequestParams added in v1.0.613

type GetAlarmEventRequestParams struct {
}

Predefined struct for user

type GetAlarmEventResponse added in v1.0.613

type GetAlarmEventResponse struct {
	*tchttp.BaseResponse
	Response *GetAlarmEventResponseParams `json:"Response"`
}

func NewGetAlarmEventResponse added in v1.0.613

func NewGetAlarmEventResponse() (response *GetAlarmEventResponse)

func (*GetAlarmEventResponse) FromJsonString added in v1.0.613

func (r *GetAlarmEventResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAlarmEventResponse) ToJsonString added in v1.0.613

func (r *GetAlarmEventResponse) ToJsonString() string

type GetAlarmEventResponseParams added in v1.0.613

type GetAlarmEventResponseParams struct {
	// 用户所有的告警策略
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlarmConfig []*AlarmPolicy `json:"AlarmConfig,omitnil,omitempty" name:"AlarmConfig"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetVsmMonitorInfoRequest added in v1.0.613

type GetVsmMonitorInfoRequest struct {
	*tchttp.BaseRequest

	// 资源Id
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 资源名称
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`
}

func NewGetVsmMonitorInfoRequest added in v1.0.613

func NewGetVsmMonitorInfoRequest() (request *GetVsmMonitorInfoRequest)

func (*GetVsmMonitorInfoRequest) FromJsonString added in v1.0.613

func (r *GetVsmMonitorInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetVsmMonitorInfoRequest) ToJsonString added in v1.0.613

func (r *GetVsmMonitorInfoRequest) ToJsonString() string

type GetVsmMonitorInfoRequestParams added in v1.0.613

type GetVsmMonitorInfoRequestParams struct {
	// 资源Id
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 资源名称
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`
}

Predefined struct for user

type GetVsmMonitorInfoResponse added in v1.0.613

type GetVsmMonitorInfoResponse struct {
	*tchttp.BaseResponse
	Response *GetVsmMonitorInfoResponseParams `json:"Response"`
}

func NewGetVsmMonitorInfoResponse added in v1.0.613

func NewGetVsmMonitorInfoResponse() (response *GetVsmMonitorInfoResponse)

func (*GetVsmMonitorInfoResponse) FromJsonString added in v1.0.613

func (r *GetVsmMonitorInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetVsmMonitorInfoResponse) ToJsonString added in v1.0.613

func (r *GetVsmMonitorInfoResponse) ToJsonString() string

type GetVsmMonitorInfoResponseParams added in v1.0.613

type GetVsmMonitorInfoResponseParams struct {
	// VSM监控信息
	MonitorInfo []*string `json:"MonitorInfo,omitnil,omitempty" name:"MonitorInfo"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type HsmInfo

type HsmInfo struct {
	// 加密机型号
	Model *string `json:"Model,omitnil,omitempty" name:"Model"`

	// 此类型的加密机所支持的VSM类型列表
	VsmTypes []*VsmInfo `json:"VsmTypes,omitnil,omitempty" name:"VsmTypes"`

	// 加密机母机类型:virtualization、GHSM、EHSM、SHSM
	HsmType *string `json:"HsmType,omitnil,omitempty" name:"HsmType"`
}

type InquiryPriceBuyVsmRequest

type InquiryPriceBuyVsmRequest struct {
	*tchttp.BaseRequest

	// 需购买实例的数量
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// 付费模式:0表示按需计费/后付费,1表示预付费
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// 商品的时间大小,整型参数,举例:当TimeSpan为1,TImeUnit为m时,表示询价购买时长为1个月时的价格
	TimeSpan *string `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// 商品的时间单位,m表示月,y表示年
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`

	// 货币类型,默认为CNY
	Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"`

	// 默认为CREATE,可选RENEW
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Hsm服务类型,可选值virtualization、physical、GHSM、EHSM、SHSM
	HsmType *string `json:"HsmType,omitnil,omitempty" name:"HsmType"`
}

func NewInquiryPriceBuyVsmRequest

func NewInquiryPriceBuyVsmRequest() (request *InquiryPriceBuyVsmRequest)

func (*InquiryPriceBuyVsmRequest) FromJsonString

func (r *InquiryPriceBuyVsmRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceBuyVsmRequest) ToJsonString

func (r *InquiryPriceBuyVsmRequest) ToJsonString() string

type InquiryPriceBuyVsmRequestParams added in v1.0.426

type InquiryPriceBuyVsmRequestParams struct {
	// 需购买实例的数量
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// 付费模式:0表示按需计费/后付费,1表示预付费
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// 商品的时间大小,整型参数,举例:当TimeSpan为1,TImeUnit为m时,表示询价购买时长为1个月时的价格
	TimeSpan *string `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// 商品的时间单位,m表示月,y表示年
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`

	// 货币类型,默认为CNY
	Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"`

	// 默认为CREATE,可选RENEW
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Hsm服务类型,可选值virtualization、physical、GHSM、EHSM、SHSM
	HsmType *string `json:"HsmType,omitnil,omitempty" name:"HsmType"`
}

Predefined struct for user

type InquiryPriceBuyVsmResponse

type InquiryPriceBuyVsmResponse struct {
	*tchttp.BaseResponse
	Response *InquiryPriceBuyVsmResponseParams `json:"Response"`
}

func NewInquiryPriceBuyVsmResponse

func NewInquiryPriceBuyVsmResponse() (response *InquiryPriceBuyVsmResponse)

func (*InquiryPriceBuyVsmResponse) FromJsonString

func (r *InquiryPriceBuyVsmResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquiryPriceBuyVsmResponse) ToJsonString

func (r *InquiryPriceBuyVsmResponse) ToJsonString() string

type InquiryPriceBuyVsmResponseParams added in v1.0.426

type InquiryPriceBuyVsmResponseParams struct {
	// 原始总金额,浮点型参数,精确到小数点后两位,如:2000.99
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCost *float64 `json:"TotalCost,omitnil,omitempty" name:"TotalCost"`

	// 购买的实例数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`

	// 商品的时间大小,整型参数,举例:当TimeSpan为1,TImeUnit为m时,表示询价购买时长为1个月时的价格
	// 注意:此字段可能返回 null,表示取不到有效值。
	TimeSpan *string `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// 商品的时间单位,m表示月,y表示年
	// 注意:此字段可能返回 null,表示取不到有效值。
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`

	// 应付总金额,浮点型参数,精确到小数点后两位,如:2000.99
	// 注意:此字段可能返回 null,表示取不到有效值。
	OriginalCost *float64 `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAlarmEventRequest added in v1.0.613

type ModifyAlarmEventRequest struct {
	*tchttp.BaseRequest

	// 告警事件,支持CPU、MEM、TCP
	Event *string `json:"Event,omitnil,omitempty" name:"Event"`

	// 告警阈值
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 告警状态,0表示停用,1表示启动
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 告警开始时间,只有在这个时间后才会发送告警,当跟EndTime同时为空时表示全天告警
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// 告警结束时间,只有在这个时间前才会发送告警,当跟BeginTime同时为空时表示全天告警
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

func NewModifyAlarmEventRequest added in v1.0.613

func NewModifyAlarmEventRequest() (request *ModifyAlarmEventRequest)

func (*ModifyAlarmEventRequest) FromJsonString added in v1.0.613

func (r *ModifyAlarmEventRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAlarmEventRequest) ToJsonString added in v1.0.613

func (r *ModifyAlarmEventRequest) ToJsonString() string

type ModifyAlarmEventRequestParams added in v1.0.613

type ModifyAlarmEventRequestParams struct {
	// 告警事件,支持CPU、MEM、TCP
	Event *string `json:"Event,omitnil,omitempty" name:"Event"`

	// 告警阈值
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 告警状态,0表示停用,1表示启动
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 告警开始时间,只有在这个时间后才会发送告警,当跟EndTime同时为空时表示全天告警
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// 告警结束时间,只有在这个时间前才会发送告警,当跟BeginTime同时为空时表示全天告警
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

Predefined struct for user

type ModifyAlarmEventResponse added in v1.0.613

type ModifyAlarmEventResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAlarmEventResponseParams `json:"Response"`
}

func NewModifyAlarmEventResponse added in v1.0.613

func NewModifyAlarmEventResponse() (response *ModifyAlarmEventResponse)

func (*ModifyAlarmEventResponse) FromJsonString added in v1.0.613

func (r *ModifyAlarmEventResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAlarmEventResponse) ToJsonString added in v1.0.613

func (r *ModifyAlarmEventResponse) ToJsonString() string

type ModifyAlarmEventResponseParams added in v1.0.613

type ModifyAlarmEventResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyVsmAttributesRequest

type ModifyVsmAttributesRequest struct {
	*tchttp.BaseRequest

	// 资源Id
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// UpdateResourceName-修改资源名称,
	// UpdateSgIds-修改安全组名称,
	// UpdateNetWork-修改网络,
	// Default-默认不修改
	Type []*string `json:"Type,omitnil,omitempty" name:"Type"`

	// 资源名称
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// 安全组Id
	SgIds []*string `json:"SgIds,omitnil,omitempty" name:"SgIds"`

	// 虚拟专网Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 子网Id
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 告警开关,0表示关闭告警,1表示启用告警
	AlarmStatus *int64 `json:"AlarmStatus,omitnil,omitempty" name:"AlarmStatus"`
}

func NewModifyVsmAttributesRequest

func NewModifyVsmAttributesRequest() (request *ModifyVsmAttributesRequest)

func (*ModifyVsmAttributesRequest) FromJsonString

func (r *ModifyVsmAttributesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyVsmAttributesRequest) ToJsonString

func (r *ModifyVsmAttributesRequest) ToJsonString() string

type ModifyVsmAttributesRequestParams added in v1.0.426

type ModifyVsmAttributesRequestParams struct {
	// 资源Id
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// UpdateResourceName-修改资源名称,
	// UpdateSgIds-修改安全组名称,
	// UpdateNetWork-修改网络,
	// Default-默认不修改
	Type []*string `json:"Type,omitnil,omitempty" name:"Type"`

	// 资源名称
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// 安全组Id
	SgIds []*string `json:"SgIds,omitnil,omitempty" name:"SgIds"`

	// 虚拟专网Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 子网Id
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 告警开关,0表示关闭告警,1表示启用告警
	AlarmStatus *int64 `json:"AlarmStatus,omitnil,omitempty" name:"AlarmStatus"`
}

Predefined struct for user

type ModifyVsmAttributesResponse

type ModifyVsmAttributesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyVsmAttributesResponseParams `json:"Response"`
}

func NewModifyVsmAttributesResponse

func NewModifyVsmAttributesResponse() (response *ModifyVsmAttributesResponse)

func (*ModifyVsmAttributesResponse) FromJsonString

func (r *ModifyVsmAttributesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyVsmAttributesResponse) ToJsonString

func (r *ModifyVsmAttributesResponse) ToJsonString() string

type ModifyVsmAttributesResponseParams added in v1.0.426

type ModifyVsmAttributesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResourceInfo

type ResourceInfo struct {
	// 资源Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 资源名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// 资源状态,1-正常,2-隔离,3-销毁
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 资源IP
	// 注意:此字段可能返回 null,表示取不到有效值。
	Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`

	// 资源所属Vpc
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 资源所属子网
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 资源所属HSM规格
	// 注意:此字段可能返回 null,表示取不到有效值。
	Model *string `json:"Model,omitnil,omitempty" name:"Model"`

	// 云加密机类型id
	// 注意:此字段可能返回 null,表示取不到有效值。
	VsmType *int64 `json:"VsmType,omitnil,omitempty" name:"VsmType"`

	// 地域Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// 区域Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// 过期时间(Epoch Unix Timestamp)
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 地域名
	// 注意:此字段可能返回 null,表示取不到有效值。
	RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"`

	// 区域名
	// 注意:此字段可能返回 null,表示取不到有效值。
	ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"`

	// 实例的安全组列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	SgList []*SgUnit `json:"SgList,omitnil,omitempty" name:"SgList"`

	// 子网名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"`

	// 当前实例是否已经过期
	// 注意:此字段可能返回 null,表示取不到有效值。
	Expired *bool `json:"Expired,omitnil,omitempty" name:"Expired"`

	// 为正数表示实例距离过期时间还剩余多少秒,为负数表示已经过期多少秒
	// 注意:此字段可能返回 null,表示取不到有效值。
	RemainSeconds *int64 `json:"RemainSeconds,omitnil,omitempty" name:"RemainSeconds"`

	// Vpc名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"`

	// 创建者Uin账号
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateUin *string `json:"CreateUin,omitnil,omitempty" name:"CreateUin"`

	// 自动续费状态标识, 0-手动续费,1-自动续费,2-到期不续
	// 注意:此字段可能返回 null,表示取不到有效值。
	RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// 标签列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// 厂商
	// 注意:此字段可能返回 null,表示取不到有效值。
	Manufacturer *string `json:"Manufacturer,omitnil,omitempty" name:"Manufacturer"`

	// 告警状态,0:停用,1:启用
	// 注意:此字段可能返回 null,表示取不到有效值。
	AlarmStatus *int64 `json:"AlarmStatus,omitnil,omitempty" name:"AlarmStatus"`
}

type SgUnit

type SgUnit struct {
	// 安全组Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	SgId *string `json:"SgId,omitnil,omitempty" name:"SgId"`

	// 安全组名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	SgName *string `json:"SgName,omitnil,omitempty" name:"SgName"`

	// 备注
	// 注意:此字段可能返回 null,表示取不到有效值。
	SgRemark *string `json:"SgRemark,omitnil,omitempty" name:"SgRemark"`

	// 创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type Subnet

type Subnet struct {
	// VPC实例ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 子网实例ID,例如:subnet-bthucmmy。
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 子网名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"`

	// 子网的 IPv4 CIDR。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"`

	// 创建时间。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// 可用IP数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	AvailableIpAddressCount *int64 `json:"AvailableIpAddressCount,omitnil,omitempty" name:"AvailableIpAddressCount"`

	// 子网的 IPv6 CIDR。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitnil,omitempty" name:"Ipv6CidrBlock"`

	// 总IP数
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalIpAddressCount *int64 `json:"TotalIpAddressCount,omitnil,omitempty" name:"TotalIpAddressCount"`

	// 是否为默认Subnet
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsDefault *bool `json:"IsDefault,omitnil,omitempty" name:"IsDefault"`
}

type Tag

type Tag struct {
	// 标签键
	TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`

	// 标签值
	TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"`
}

type TagFilter

type TagFilter struct {
	// 标签键
	TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`

	// 标签值
	TagValue []*string `json:"TagValue,omitnil,omitempty" name:"TagValue"`
}

type UsgPolicy

type UsgPolicy struct {
	// cidr格式地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// 安全组id代表的地址集合
	// 注意:此字段可能返回 null,表示取不到有效值。
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 地址组id代表的地址集合
	// 注意:此字段可能返回 null,表示取不到有效值。
	AddressModule *string `json:"AddressModule,omitnil,omitempty" name:"AddressModule"`

	// 协议
	// 注意:此字段可能返回 null,表示取不到有效值。
	Proto *string `json:"Proto,omitnil,omitempty" name:"Proto"`

	// 端口
	// 注意:此字段可能返回 null,表示取不到有效值。
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

	// 服务组id代表的协议和端口集合
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceModule *string `json:"ServiceModule,omitnil,omitempty" name:"ServiceModule"`

	// 备注
	// 注意:此字段可能返回 null,表示取不到有效值。
	Desc *string `json:"Desc,omitnil,omitempty" name:"Desc"`

	// 匹配后行为:ACCEPT/DROP
	// 注意:此字段可能返回 null,表示取不到有效值。
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`
}

type UsgRuleDetail

type UsgRuleDetail struct {
	// 入站规则
	// 注意:此字段可能返回 null,表示取不到有效值。
	InBound []*UsgPolicy `json:"InBound,omitnil,omitempty" name:"InBound"`

	// 出站规则
	// 注意:此字段可能返回 null,表示取不到有效值。
	OutBound []*UsgPolicy `json:"OutBound,omitnil,omitempty" name:"OutBound"`

	// 安全组Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	SgId *string `json:"SgId,omitnil,omitempty" name:"SgId"`

	// 安全组名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	SgName *string `json:"SgName,omitnil,omitempty" name:"SgName"`

	// 备注
	// 注意:此字段可能返回 null,表示取不到有效值。
	SgRemark *string `json:"SgRemark,omitnil,omitempty" name:"SgRemark"`

	// 创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	Version *int64 `json:"Version,omitnil,omitempty" name:"Version"`
}

type Vpc

type Vpc struct {
	// Vpc名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"`

	// VpcId
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// 是否为默认VPC
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsDefault *bool `json:"IsDefault,omitnil,omitempty" name:"IsDefault"`
}

type VsmInfo

type VsmInfo struct {
	// VSM类型名称
	TypeName *string `json:"TypeName,omitnil,omitempty" name:"TypeName"`

	// VSM类型值
	TypeID *int64 `json:"TypeID,omitnil,omitempty" name:"TypeID"`
}

Jump to

Keyboard shortcuts

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