v20190904

package
v3.0.654+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM signature/authentication error.
	AUTHFAILURE = "AuthFailure"

	// DryRun operation, which means the DryRun parameter is passed in yet the request will still be successful.
	DRYRUNOPERATION = "DryRunOperation"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Invalid parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// Invalid parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The quota limit has been reached.
	LIMITEXCEEDED = "LimitExceeded"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

	// The number of requests exceeds the frequency limit.
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

	// The resource is occupied.
	RESOURCEINUSE = "ResourceInUse"

	// Insufficient resource.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// The resources have been sold out.
	RESOURCESSOLDOUT = "ResourcesSoldOut"

	// Unauthorized operation.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// Unknown parameter error.
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2019-09-04"

Variables

This section is empty.

Functions

This section is empty.

Types

type AcListsData

type AcListsData struct {
	// Rule ID
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Access source
	// Note: This field may return `null`, indicating that no valid value was found.
	SourceIp *string `json:"SourceIp,omitempty" name:"SourceIp"`

	// Access destination
	// Note: This field may return `null`, indicating that no valid value was found.
	TargetIp *string `json:"TargetIp,omitempty" name:"TargetIp"`

	// Protocol
	// Note: This field may return `null`, indicating that no valid value was found.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Port
	// Note: This field may return `null`, indicating that no valid value was found.
	Port *string `json:"Port,omitempty" name:"Port"`

	// Policy
	// Note: This field may return `null`, indicating that no valid value was found.
	Strategy *uint64 `json:"Strategy,omitempty" name:"Strategy"`

	// Description
	// Note: This field may return `null`, indicating that no valid value was found.
	Detail *string `json:"Detail,omitempty" name:"Detail"`

	// Hit count
	Count *uint64 `json:"Count,omitempty" name:"Count"`

	// Priority
	OrderIndex *uint64 `json:"OrderIndex,omitempty" name:"OrderIndex"`

	// Alert rule ID
	// Note: This field may return `null`, indicating that no valid value was found.
	LogId *string `json:"LogId,omitempty" name:"LogId"`
}

type AddAcRuleRequest

type AddAcRuleRequest struct {
	*tchttp.BaseRequest

	// -1: lowest priority; 1: highest priority
	OrderIndex *string `json:"OrderIndex,omitempty" name:"OrderIndex"`

	// The action that Cloud Firewall performs on the traffic. Valid values:
	// accept: allow
	// drop: deny
	// log: observe
	RuleAction *string `json:"RuleAction,omitempty" name:"RuleAction"`

	// The traffic direction for access control rules. Valid values:
	// in: incoming traffic access control
	// out: outgoing traffic access control
	Direction *string `json:"Direction,omitempty" name:"Direction"`

	// The description of access control rules.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The type of source address in access control rules. Valid values:
	// net: source IP or range (IP or CIDR)
	// location: source region
	// template: CFW address template
	// instance: instance ID
	// vendor: Cloud vendor
	SourceType *string `json:"SourceType,omitempty" name:"SourceType"`

	// The source address in the access control policy.
	// When `SourceType` is `net`, `SourceContent` is the source IP or CIDR block.
	// For example: 1.1.1.0/24
	//
	// When `SourceType` is `template`, `SourceContent` must be the source address template ID.
	//
	// When `SourceType` is `location`, `SourceContent` is the source region.
	// For example, ["BJ11", "ZB"]
	//
	// When `SourceType` is `instance`, `SourceContent` is the public IP of the instance.
	// For example, ins-xxxxx
	//
	// When `SourceType` is `vendor`, `SourceContent` is the cloud service provider.
	// Values: `aws`, `huawei`, `tencent`, `aliyun`, `azure` and `all`.
	SourceContent *string `json:"SourceContent,omitempty" name:"SourceContent"`

	// The type of destination address in access control rules. Valid values:
	// net: destination IP or range (IP or CIDR)
	// location: source region
	// template: CFW address template
	// instance: instance ID
	// vendor: Cloud vendor
	// domain: Domain name or IP.
	DestType *string `json:"DestType,omitempty" name:"DestType"`

	// The destination address in the access control policy.
	// When `DestType` is `net`, `DestContent` is the destination IP or CIDR block.
	// For example: 1.1.1.0/24
	//
	// When `DestType` is `template`, `DestContent` is the destination address template ID.
	//
	// When `DestType` is `location`, `DestContent` is the destination region.
	// For example, ["BJ11", "ZB"]
	//
	// When `DestType` is `instance`, `DestContent` is the public IP of the instance.
	// For example, ins-xxxxx
	//
	// When `DestType` is `domain`, `DestContent` is the domain name associated with the instance.
	// For example, *.qq.com
	//
	// When `DestType`, `DestContent` is the selected cloud service provider.
	// Values: `aws`, `huawei`, `tencent`, `aliyun`, `azure` and `all`.
	DestContent *string `json:"DestContent,omitempty" name:"DestContent"`

	// The port to apply access control rules. Valid values:
	// -1/-1: all ports
	// 80,443: 80 or 443
	Port *string `json:"Port,omitempty" name:"Port"`

	// The protocol type of traffic in access control rules. Valid value: TCP. Only TCP is supported for edge firewall rules. If this parameter is not specified, it defaults to TCP.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// The Layer 7 protocol. Valid values:
	// HTTP/HTTPS
	// TLS/SSL
	ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"`

	// Indicates whether to enable the rules. Default: enable. Valid values:
	// true: enable; false: disable
	Enable *string `json:"Enable,omitempty" name:"Enable"`
}

func NewAddAcRuleRequest

func NewAddAcRuleRequest() (request *AddAcRuleRequest)

func (*AddAcRuleRequest) FromJsonString

func (r *AddAcRuleRequest) 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 (*AddAcRuleRequest) ToJsonString

func (r *AddAcRuleRequest) ToJsonString() string

type AddAcRuleRequestParams

type AddAcRuleRequestParams struct {
	// -1: lowest priority; 1: highest priority
	OrderIndex *string `json:"OrderIndex,omitempty" name:"OrderIndex"`

	// The action that Cloud Firewall performs on the traffic. Valid values:
	// accept: allow
	// drop: deny
	// log: observe
	RuleAction *string `json:"RuleAction,omitempty" name:"RuleAction"`

	// The traffic direction for access control rules. Valid values:
	// in: incoming traffic access control
	// out: outgoing traffic access control
	Direction *string `json:"Direction,omitempty" name:"Direction"`

	// The description of access control rules.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The type of source address in access control rules. Valid values:
	// net: source IP or range (IP or CIDR)
	// location: source region
	// template: CFW address template
	// instance: instance ID
	// vendor: Cloud vendor
	SourceType *string `json:"SourceType,omitempty" name:"SourceType"`

	// The source address in the access control policy.
	// When `SourceType` is `net`, `SourceContent` is the source IP or CIDR block.
	// For example: 1.1.1.0/24
	//
	// When `SourceType` is `template`, `SourceContent` must be the source address template ID.
	//
	// When `SourceType` is `location`, `SourceContent` is the source region.
	// For example, ["BJ11", "ZB"]
	//
	// When `SourceType` is `instance`, `SourceContent` is the public IP of the instance.
	// For example, ins-xxxxx
	//
	// When `SourceType` is `vendor`, `SourceContent` is the cloud service provider.
	// Values: `aws`, `huawei`, `tencent`, `aliyun`, `azure` and `all`.
	SourceContent *string `json:"SourceContent,omitempty" name:"SourceContent"`

	// The type of destination address in access control rules. Valid values:
	// net: destination IP or range (IP or CIDR)
	// location: source region
	// template: CFW address template
	// instance: instance ID
	// vendor: Cloud vendor
	// domain: Domain name or IP.
	DestType *string `json:"DestType,omitempty" name:"DestType"`

	// The destination address in the access control policy.
	// When `DestType` is `net`, `DestContent` is the destination IP or CIDR block.
	// For example: 1.1.1.0/24
	//
	// When `DestType` is `template`, `DestContent` is the destination address template ID.
	//
	// When `DestType` is `location`, `DestContent` is the destination region.
	// For example, ["BJ11", "ZB"]
	//
	// When `DestType` is `instance`, `DestContent` is the public IP of the instance.
	// For example, ins-xxxxx
	//
	// When `DestType` is `domain`, `DestContent` is the domain name associated with the instance.
	// For example, *.qq.com
	//
	// When `DestType`, `DestContent` is the selected cloud service provider.
	// Values: `aws`, `huawei`, `tencent`, `aliyun`, `azure` and `all`.
	DestContent *string `json:"DestContent,omitempty" name:"DestContent"`

	// The port to apply access control rules. Valid values:
	// -1/-1: all ports
	// 80,443: 80 or 443
	Port *string `json:"Port,omitempty" name:"Port"`

	// The protocol type of traffic in access control rules. Valid value: TCP. Only TCP is supported for edge firewall rules. If this parameter is not specified, it defaults to TCP.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// The Layer 7 protocol. Valid values:
	// HTTP/HTTPS
	// TLS/SSL
	ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"`

	// Indicates whether to enable the rules. Default: enable. Valid values:
	// true: enable; false: disable
	Enable *string `json:"Enable,omitempty" name:"Enable"`
}

Predefined struct for user

type AddAcRuleResponse

type AddAcRuleResponse struct {
	*tchttp.BaseResponse
	Response *AddAcRuleResponseParams `json:"Response"`
}

func NewAddAcRuleResponse

func NewAddAcRuleResponse() (response *AddAcRuleResponse)

func (*AddAcRuleResponse) FromJsonString

func (r *AddAcRuleResponse) 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 (*AddAcRuleResponse) ToJsonString

func (r *AddAcRuleResponse) ToJsonString() string

type AddAcRuleResponseParams

type AddAcRuleResponseParams struct {
	// UUID of the new rule
	RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"`

	// 0: operation successful; -1: operation failed
	ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"`

	// success: operation successful; failed: operation failed
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddEnterpriseSecurityGroupRulesRequest

type AddEnterpriseSecurityGroupRulesRequest struct {
	*tchttp.BaseRequest

	// Creates rule data
	Data []*SecurityGroupRule `json:"Data,omitempty" name:"Data"`

	// Adding type. 0: add to the end; 1: add to the front; 2: insert. Default: 0
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// An identifier to ensure the idempotency of the request. The value of the ClientToken parameter is a unique string that is generated by your client and can contain up to 64 ASCII characters in length.
	ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`

	// Indicates whether to delay publishing. 1: delay; other values: do not delay
	IsDelay *uint64 `json:"IsDelay,omitempty" name:"IsDelay"`
}

func NewAddEnterpriseSecurityGroupRulesRequest

func NewAddEnterpriseSecurityGroupRulesRequest() (request *AddEnterpriseSecurityGroupRulesRequest)

func (*AddEnterpriseSecurityGroupRulesRequest) FromJsonString

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

func (*AddEnterpriseSecurityGroupRulesRequest) ToJsonString

type AddEnterpriseSecurityGroupRulesRequestParams

type AddEnterpriseSecurityGroupRulesRequestParams struct {
	// Creates rule data
	Data []*SecurityGroupRule `json:"Data,omitempty" name:"Data"`

	// Adding type. 0: add to the end; 1: add to the front; 2: insert. Default: 0
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// An identifier to ensure the idempotency of the request. The value of the ClientToken parameter is a unique string that is generated by your client and can contain up to 64 ASCII characters in length.
	ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`

	// Indicates whether to delay publishing. 1: delay; other values: do not delay
	IsDelay *uint64 `json:"IsDelay,omitempty" name:"IsDelay"`
}

Predefined struct for user

type AddEnterpriseSecurityGroupRulesResponse

type AddEnterpriseSecurityGroupRulesResponse struct {
	*tchttp.BaseResponse
	Response *AddEnterpriseSecurityGroupRulesResponseParams `json:"Response"`
}

func NewAddEnterpriseSecurityGroupRulesResponse

func NewAddEnterpriseSecurityGroupRulesResponse() (response *AddEnterpriseSecurityGroupRulesResponse)

func (*AddEnterpriseSecurityGroupRulesResponse) FromJsonString

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

func (*AddEnterpriseSecurityGroupRulesResponse) ToJsonString

type AddEnterpriseSecurityGroupRulesResponseParams

type AddEnterpriseSecurityGroupRulesResponseParams struct {
	// Status value. 0: added successfully; non-0: failed to add
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type AssetZone

type AssetZone struct {
	// Region
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Region
	ZoneEng *string `json:"ZoneEng,omitempty" name:"ZoneEng"`
}

type AssociatedInstanceInfo

type AssociatedInstanceInfo struct {
	// Instance ID
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Instance name
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// Instance type. 3: CVM instance; 4: CLB instance; 5: ENI instance; 6: Cloud database
	// Note: This field may return `null`, indicating that no valid value was found.
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// VPC ID
	// Note: This field may return `null`, indicating that no valid value was found.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPC name
	// Note: This field may return `null`, indicating that no valid value was found.
	VpcName *string `json:"VpcName,omitempty" name:"VpcName"`

	// Public IP
	// Note: This field may return `null`, indicating that no valid value was found.
	PublicIp *string `json:"PublicIp,omitempty" name:"PublicIp"`

	// Private IP
	// Note: This field may return `null`, indicating that no valid value was found.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// The number of associated security groups
	// Note: This field may return `null`, indicating that no valid value was found.
	SecurityGroupCount *uint64 `json:"SecurityGroupCount,omitempty" name:"SecurityGroupCount"`
}

type CfwNatDnatRule

type CfwNatDnatRule struct {
	// Network protocol. Valid values: TCP or UDP.
	IpProtocol *string `json:"IpProtocol,omitempty" name:"IpProtocol"`

	// Elastic IP.
	PublicIpAddress *string `json:"PublicIpAddress,omitempty" name:"PublicIpAddress"`

	// Public port.
	PublicPort *int64 `json:"PublicPort,omitempty" name:"PublicPort"`

	// Private address.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"`

	// Private port.
	PrivatePort *int64 `json:"PrivatePort,omitempty" name:"PrivatePort"`

	// The description of NAT firewall forwarding rules.
	Description *string `json:"Description,omitempty" name:"Description"`
}

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) AddAcRule

func (c *Client) AddAcRule(request *AddAcRuleRequest) (response *AddAcRuleResponse, err error)

AddAcRule This API is used to add edge firewall rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) AddAcRuleWithContext

func (c *Client) AddAcRuleWithContext(ctx context.Context, request *AddAcRuleRequest) (response *AddAcRuleResponse, err error)

AddAcRule This API is used to add edge firewall rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) AddEnterpriseSecurityGroupRules

func (c *Client) AddEnterpriseSecurityGroupRules(request *AddEnterpriseSecurityGroupRulesRequest) (response *AddEnterpriseSecurityGroupRulesResponse, err error)

AddEnterpriseSecurityGroupRules This API is used to create enterprise security group rules (new).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) AddEnterpriseSecurityGroupRulesWithContext

func (c *Client) AddEnterpriseSecurityGroupRulesWithContext(ctx context.Context, request *AddEnterpriseSecurityGroupRulesRequest) (response *AddEnterpriseSecurityGroupRulesResponse, err error)

AddEnterpriseSecurityGroupRules This API is used to create enterprise security group rules (new).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateAcRules

func (c *Client) CreateAcRules(request *CreateAcRulesRequest) (response *CreateAcRulesResponse, err error)

CreateAcRules This API is used to create rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) CreateAcRulesWithContext

func (c *Client) CreateAcRulesWithContext(ctx context.Context, request *CreateAcRulesRequest) (response *CreateAcRulesResponse, err error)

CreateAcRules This API is used to create rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) CreateNatFwInstance

func (c *Client) CreateNatFwInstance(request *CreateNatFwInstanceRequest) (response *CreateNatFwInstanceResponse, err error)

CreateNatFwInstance This API is used to create a NAT firewall instance (The Region parameter is required).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateNatFwInstanceWithContext

func (c *Client) CreateNatFwInstanceWithContext(ctx context.Context, request *CreateNatFwInstanceRequest) (response *CreateNatFwInstanceResponse, err error)

CreateNatFwInstance This API is used to create a NAT firewall instance (The Region parameter is required).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateNatFwInstanceWithDomain

func (c *Client) CreateNatFwInstanceWithDomain(request *CreateNatFwInstanceWithDomainRequest) (response *CreateNatFwInstanceWithDomainResponse, err error)

CreateNatFwInstanceWithDomain This API is used to create a firewall instance with domain name (The Region parameter is required).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateNatFwInstanceWithDomainWithContext

func (c *Client) CreateNatFwInstanceWithDomainWithContext(ctx context.Context, request *CreateNatFwInstanceWithDomainRequest) (response *CreateNatFwInstanceWithDomainResponse, err error)

CreateNatFwInstanceWithDomain This API is used to create a firewall instance with domain name (The Region parameter is required).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateSecurityGroupRules

func (c *Client) CreateSecurityGroupRules(request *CreateSecurityGroupRulesRequest) (response *CreateSecurityGroupRulesResponse, err error)

CreateSecurityGroupRules This API is used to create enterprise security group rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateSecurityGroupRulesWithContext

func (c *Client) CreateSecurityGroupRulesWithContext(ctx context.Context, request *CreateSecurityGroupRulesRequest) (response *CreateSecurityGroupRulesResponse, err error)

CreateSecurityGroupRules This API is used to create enterprise security group rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINUSE = "ResourceInUse"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteAcRule

func (c *Client) DeleteAcRule(request *DeleteAcRuleRequest) (response *DeleteAcRuleResponse, err error)

DeleteAcRule This API is used to delete a rule.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAcRuleWithContext

func (c *Client) DeleteAcRuleWithContext(ctx context.Context, request *DeleteAcRuleRequest) (response *DeleteAcRuleResponse, err error)

DeleteAcRule This API is used to delete a rule.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAllAccessControlRule

func (c *Client) DeleteAllAccessControlRule(request *DeleteAllAccessControlRuleRequest) (response *DeleteAllAccessControlRuleResponse, err error)

DeleteAllAccessControlRule This API is used to delete all rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteAllAccessControlRuleWithContext

func (c *Client) DeleteAllAccessControlRuleWithContext(ctx context.Context, request *DeleteAllAccessControlRuleRequest) (response *DeleteAllAccessControlRuleResponse, err error)

DeleteAllAccessControlRule This API is used to delete all rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteResourceGroup

func (c *Client) DeleteResourceGroup(request *DeleteResourceGroupRequest) (response *DeleteResourceGroupResponse, err error)

DeleteResourceGroup This API is used to delete asset groups in Asset Management.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteResourceGroupWithContext

func (c *Client) DeleteResourceGroupWithContext(ctx context.Context, request *DeleteResourceGroupRequest) (response *DeleteResourceGroupResponse, err error)

DeleteResourceGroup This API is used to delete asset groups in Asset Management.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteSecurityGroupRule

func (c *Client) DeleteSecurityGroupRule(request *DeleteSecurityGroupRuleRequest) (response *DeleteSecurityGroupRuleResponse, err error)

DeleteSecurityGroupRule This API is used to delete security group rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteSecurityGroupRuleWithContext

func (c *Client) DeleteSecurityGroupRuleWithContext(ctx context.Context, request *DeleteSecurityGroupRuleRequest) (response *DeleteSecurityGroupRuleResponse, err error)

DeleteSecurityGroupRule This API is used to delete security group rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteVpcInstance

func (c *Client) DeleteVpcInstance(request *DeleteVpcInstanceRequest) (response *DeleteVpcInstanceResponse, err error)

DeleteVpcInstance This API is used to delete firewall instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) DeleteVpcInstanceWithContext

func (c *Client) DeleteVpcInstanceWithContext(ctx context.Context, request *DeleteVpcInstanceRequest) (response *DeleteVpcInstanceResponse, err error)

DeleteVpcInstance This API is used to delete firewall instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) DescribeAcLists

func (c *Client) DescribeAcLists(request *DescribeAcListsRequest) (response *DescribeAcListsResponse, err error)

DescribeAcLists This API is used to get the access control list.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAcListsWithContext

func (c *Client) DescribeAcListsWithContext(ctx context.Context, request *DescribeAcListsRequest) (response *DescribeAcListsResponse, err error)

DescribeAcLists This API is used to get the access control list.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAssociatedInstanceList

func (c *Client) DescribeAssociatedInstanceList(request *DescribeAssociatedInstanceListRequest) (response *DescribeAssociatedInstanceListResponse, err error)

DescribeAssociatedInstanceList This API is used to get the list of instances associated with a security group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeAssociatedInstanceListWithContext

func (c *Client) DescribeAssociatedInstanceListWithContext(ctx context.Context, request *DescribeAssociatedInstanceListRequest) (response *DescribeAssociatedInstanceListResponse, err error)

DescribeAssociatedInstanceList This API is used to get the list of instances associated with a security group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeBlockByIpTimesList

func (c *Client) DescribeBlockByIpTimesList(request *DescribeBlockByIpTimesListRequest) (response *DescribeBlockByIpTimesListResponse, err error)

DescribeBlockByIpTimesList This API is used to get blocked IP data.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBlockByIpTimesListWithContext

func (c *Client) DescribeBlockByIpTimesListWithContext(ctx context.Context, request *DescribeBlockByIpTimesListRequest) (response *DescribeBlockByIpTimesListResponse, err error)

DescribeBlockByIpTimesList This API is used to get blocked IP data.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBlockStaticList

func (c *Client) DescribeBlockStaticList(request *DescribeBlockStaticListRequest) (response *DescribeBlockStaticListResponse, err error)

DescribeBlockStaticList This API is used to get the most frequent attacker.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBlockStaticListWithContext

func (c *Client) DescribeBlockStaticListWithContext(ctx context.Context, request *DescribeBlockStaticListRequest) (response *DescribeBlockStaticListResponse, err error)

DescribeBlockStaticList This API is used to get the most frequent attacker.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDefenseSwitch

func (c *Client) DescribeDefenseSwitch(request *DescribeDefenseSwitchRequest) (response *DescribeDefenseSwitchResponse, err error)

DescribeDefenseSwitch This API is used to query the list of firewall toggles with Intrusion Defense enabled.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeDefenseSwitchWithContext

func (c *Client) DescribeDefenseSwitchWithContext(ctx context.Context, request *DescribeDefenseSwitchRequest) (response *DescribeDefenseSwitchResponse, err error)

DescribeDefenseSwitch This API is used to query the list of firewall toggles with Intrusion Defense enabled.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeEnterpriseSecurityGroupRule

func (c *Client) DescribeEnterpriseSecurityGroupRule(request *DescribeEnterpriseSecurityGroupRuleRequest) (response *DescribeEnterpriseSecurityGroupRuleResponse, err error)

DescribeEnterpriseSecurityGroupRule This API is used to get enterprise security group rules (new).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeEnterpriseSecurityGroupRuleWithContext

func (c *Client) DescribeEnterpriseSecurityGroupRuleWithContext(ctx context.Context, request *DescribeEnterpriseSecurityGroupRuleRequest) (response *DescribeEnterpriseSecurityGroupRuleResponse, err error)

DescribeEnterpriseSecurityGroupRule This API is used to get enterprise security group rules (new).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeGuideScanInfo

func (c *Client) DescribeGuideScanInfo(request *DescribeGuideScanInfoRequest) (response *DescribeGuideScanInfoResponse, err error)

DescribeGuideScanInfo This API is used to get the scan interface information in Get Started.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeGuideScanInfoWithContext

func (c *Client) DescribeGuideScanInfoWithContext(ctx context.Context, request *DescribeGuideScanInfoRequest) (response *DescribeGuideScanInfoResponse, err error)

DescribeGuideScanInfo This API is used to get the scan interface information in Get Started.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeIPStatusList

func (c *Client) DescribeIPStatusList(request *DescribeIPStatusListRequest) (response *DescribeIPStatusListResponse, err error)

DescribeIPStatusList This API is used to get the IP protection status.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeIPStatusListWithContext

func (c *Client) DescribeIPStatusListWithContext(ctx context.Context, request *DescribeIPStatusListRequest) (response *DescribeIPStatusListResponse, err error)

DescribeIPStatusList This API is used to get the IP protection status.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeNatFwInfoCount

func (c *Client) DescribeNatFwInfoCount(request *DescribeNatFwInfoCountRequest) (response *DescribeNatFwInfoCountResponse, err error)

DescribeNatFwInfoCount This API is used to get the number of a user's subnets connected to NAT firewall and the number of NAT firewall instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeNatFwInfoCountWithContext

func (c *Client) DescribeNatFwInfoCountWithContext(ctx context.Context, request *DescribeNatFwInfoCountRequest) (response *DescribeNatFwInfoCountResponse, err error)

DescribeNatFwInfoCount This API is used to get the number of a user's subnets connected to NAT firewall and the number of NAT firewall instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeNatFwInstance

func (c *Client) DescribeNatFwInstance(request *DescribeNatFwInstanceRequest) (response *DescribeNatFwInstanceResponse, err error)

DescribeNatFwInstance This API is used to get all NAT instances of a tenant.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeNatFwInstanceWithContext

func (c *Client) DescribeNatFwInstanceWithContext(ctx context.Context, request *DescribeNatFwInstanceRequest) (response *DescribeNatFwInstanceResponse, err error)

DescribeNatFwInstance This API is used to get all NAT instances of a tenant.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeNatFwInstanceWithRegion

func (c *Client) DescribeNatFwInstanceWithRegion(request *DescribeNatFwInstanceWithRegionRequest) (response *DescribeNatFwInstanceWithRegionResponse, err error)

DescribeNatFwInstanceWithRegion This API is used to get the NAT instance with the region that is newly maintained by the tenant.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeNatFwInstanceWithRegionWithContext

func (c *Client) DescribeNatFwInstanceWithRegionWithContext(ctx context.Context, request *DescribeNatFwInstanceWithRegionRequest) (response *DescribeNatFwInstanceWithRegionResponse, err error)

DescribeNatFwInstanceWithRegion This API is used to get the NAT instance with the region that is newly maintained by the tenant.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeNatFwInstancesInfo

func (c *Client) DescribeNatFwInstancesInfo(request *DescribeNatFwInstancesInfoRequest) (response *DescribeNatFwInstancesInfoResponse, err error)

DescribeNatFwInstancesInfo This API is used to get all NAT instances and instance card information of a tenant.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeNatFwInstancesInfoWithContext

func (c *Client) DescribeNatFwInstancesInfoWithContext(ctx context.Context, request *DescribeNatFwInstancesInfoRequest) (response *DescribeNatFwInstancesInfoResponse, err error)

DescribeNatFwInstancesInfo This API is used to get all NAT instances and instance card information of a tenant.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeNatFwVpcDnsLst

func (c *Client) DescribeNatFwVpcDnsLst(request *DescribeNatFwVpcDnsLstRequest) (response *DescribeNatFwVpcDnsLstResponse, err error)

DescribeNatFwVpcDnsLst This API is used to get the VPC DNS status of NAT firewall instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeNatFwVpcDnsLstWithContext

func (c *Client) DescribeNatFwVpcDnsLstWithContext(ctx context.Context, request *DescribeNatFwVpcDnsLstRequest) (response *DescribeNatFwVpcDnsLstResponse, err error)

DescribeNatFwVpcDnsLst This API is used to get the VPC DNS status of NAT firewall instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeResourceGroupNew

func (c *Client) DescribeResourceGroupNew(request *DescribeResourceGroupNewRequest) (response *DescribeResourceGroupNewResponse, err error)

DescribeResourceGroupNew This API is used to get the asset tree information in Asset Management.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeResourceGroupNewWithContext

func (c *Client) DescribeResourceGroupNewWithContext(ctx context.Context, request *DescribeResourceGroupNewRequest) (response *DescribeResourceGroupNewResponse, err error)

DescribeResourceGroupNew This API is used to get the asset tree information in Asset Management.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRuleOverview

func (c *Client) DescribeRuleOverview(request *DescribeRuleOverviewRequest) (response *DescribeRuleOverviewResponse, err error)

DescribeRuleOverview This API is used to get the rule list overview.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeRuleOverviewWithContext

func (c *Client) DescribeRuleOverviewWithContext(ctx context.Context, request *DescribeRuleOverviewRequest) (response *DescribeRuleOverviewResponse, err error)

DescribeRuleOverview This API is used to get the rule list overview.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSecurityGroupList

func (c *Client) DescribeSecurityGroupList(request *DescribeSecurityGroupListRequest) (response *DescribeSecurityGroupListResponse, err error)

DescribeSecurityGroupList This API is used to get the security group rule list.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSecurityGroupListWithContext

func (c *Client) DescribeSecurityGroupListWithContext(ctx context.Context, request *DescribeSecurityGroupListRequest) (response *DescribeSecurityGroupListResponse, err error)

DescribeSecurityGroupList This API is used to get the security group rule list.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSourceAsset

func (c *Client) DescribeSourceAsset(request *DescribeSourceAssetRequest) (response *DescribeSourceAssetResponse, err error)

DescribeSourceAsset This API is used to get all asset information of an asset group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeSourceAssetWithContext

func (c *Client) DescribeSourceAssetWithContext(ctx context.Context, request *DescribeSourceAssetRequest) (response *DescribeSourceAssetResponse, err error)

DescribeSourceAsset This API is used to get all asset information of an asset group.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeSwitchLists

func (c *Client) DescribeSwitchLists(request *DescribeSwitchListsRequest) (response *DescribeSwitchListsResponse, err error)

DescribeSwitchLists This API is used to get the firewall status list.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeSwitchListsWithContext

func (c *Client) DescribeSwitchListsWithContext(ctx context.Context, request *DescribeSwitchListsRequest) (response *DescribeSwitchListsResponse, err error)

DescribeSwitchLists This API is used to get the firewall status list.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeTLogInfo

func (c *Client) DescribeTLogInfo(request *DescribeTLogInfoRequest) (response *DescribeTLogInfoResponse, err error)

DescribeTLogInfo This API is used to get the current alert monitoring data.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTLogInfoWithContext

func (c *Client) DescribeTLogInfoWithContext(ctx context.Context, request *DescribeTLogInfoRequest) (response *DescribeTLogInfoResponse, err error)

DescribeTLogInfo This API is used to get the current alert monitoring data.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTLogIpList

func (c *Client) DescribeTLogIpList(request *DescribeTLogIpListRequest) (response *DescribeTLogIpListResponse, err error)

DescribeTLogIpList This API is used to get the most frequent attacker IP.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTLogIpListWithContext

func (c *Client) DescribeTLogIpListWithContext(ctx context.Context, request *DescribeTLogIpListRequest) (response *DescribeTLogIpListResponse, err error)

DescribeTLogIpList This API is used to get the most frequent attacker IP.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTableStatus

func (c *Client) DescribeTableStatus(request *DescribeTableStatusRequest) (response *DescribeTableStatusResponse, err error)

DescribeTableStatus This API is used to get the rule list status.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeTableStatusWithContext

func (c *Client) DescribeTableStatusWithContext(ctx context.Context, request *DescribeTableStatusRequest) (response *DescribeTableStatusResponse, err error)

DescribeTableStatus This API is used to get the rule list status.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeUnHandleEventTabList

func (c *Client) DescribeUnHandleEventTabList(request *DescribeUnHandleEventTabListRequest) (response *DescribeUnHandleEventTabListResponse, err error)

DescribeUnHandleEventTabList This API is used to get unhandled security events.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeUnHandleEventTabListWithContext

func (c *Client) DescribeUnHandleEventTabListWithContext(ctx context.Context, request *DescribeUnHandleEventTabListRequest) (response *DescribeUnHandleEventTabListResponse, err error)

DescribeUnHandleEventTabList This API is used to get unhandled security events.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ExpandCfwVertical

func (c *Client) ExpandCfwVertical(request *ExpandCfwVerticalRequest) (response *ExpandCfwVerticalResponse, err error)

ExpandCfwVertical This API is used to increase the firewall bandwidth.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ExpandCfwVerticalWithContext

func (c *Client) ExpandCfwVerticalWithContext(ctx context.Context, request *ExpandCfwVerticalRequest) (response *ExpandCfwVerticalResponse, err error)

ExpandCfwVertical This API is used to increase the firewall bandwidth.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyAcRule

func (c *Client) ModifyAcRule(request *ModifyAcRuleRequest) (response *ModifyAcRuleResponse, err error)

ModifyAcRule This API is used to modify rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAcRuleWithContext

func (c *Client) ModifyAcRuleWithContext(ctx context.Context, request *ModifyAcRuleRequest) (response *ModifyAcRuleResponse, err error)

ModifyAcRule This API is used to modify rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAllPublicIPSwitchStatus

func (c *Client) ModifyAllPublicIPSwitchStatus(request *ModifyAllPublicIPSwitchStatusRequest) (response *ModifyAllPublicIPSwitchStatusResponse, err error)

ModifyAllPublicIPSwitchStatus This API is used to enable or disable one or multiple edge firewalls.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) ModifyAllPublicIPSwitchStatusWithContext

func (c *Client) ModifyAllPublicIPSwitchStatusWithContext(ctx context.Context, request *ModifyAllPublicIPSwitchStatusRequest) (response *ModifyAllPublicIPSwitchStatusResponse, err error)

ModifyAllPublicIPSwitchStatus This API is used to enable or disable one or multiple edge firewalls.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) ModifyAllRuleStatus

func (c *Client) ModifyAllRuleStatus(request *ModifyAllRuleStatusRequest) (response *ModifyAllRuleStatusResponse, err error)

ModifyAllRuleStatus This API is used to enable or disable all rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAllRuleStatusWithContext

func (c *Client) ModifyAllRuleStatusWithContext(ctx context.Context, request *ModifyAllRuleStatusRequest) (response *ModifyAllRuleStatusResponse, err error)

ModifyAllRuleStatus This API is used to enable or disable all rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyAllVPCSwitchStatus

func (c *Client) ModifyAllVPCSwitchStatus(request *ModifyAllVPCSwitchStatusRequest) (response *ModifyAllVPCSwitchStatusResponse, err error)

ModifyAllVPCSwitchStatus This API is used to enable or disable one or multiple VPC firewalls.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) ModifyAllVPCSwitchStatusWithContext

func (c *Client) ModifyAllVPCSwitchStatusWithContext(ctx context.Context, request *ModifyAllVPCSwitchStatusRequest) (response *ModifyAllVPCSwitchStatusResponse, err error)

ModifyAllVPCSwitchStatus This API is used to enable or disable one or multiple VPC firewalls.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) ModifyAssetScan

func (c *Client) ModifyAssetScan(request *ModifyAssetScanRequest) (response *ModifyAssetScanResponse, err error)

ModifyAssetScan This API is used to modify asset scan settings.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) ModifyAssetScanWithContext

func (c *Client) ModifyAssetScanWithContext(ctx context.Context, request *ModifyAssetScanRequest) (response *ModifyAssetScanResponse, err error)

ModifyAssetScan This API is used to modify asset scan settings.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"

func (*Client) ModifyBlockIgnoreList

func (c *Client) ModifyBlockIgnoreList(request *ModifyBlockIgnoreListRequest) (response *ModifyBlockIgnoreListResponse, err error)

ModifyBlockIgnoreList This API is used to:

add IPs/domains in the blocklist or ignored list

delete IPs/domains in the blocklist or ignored list

modify IPs/domains in the blocklist or ignored list

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyBlockIgnoreListWithContext

func (c *Client) ModifyBlockIgnoreListWithContext(ctx context.Context, request *ModifyBlockIgnoreListRequest) (response *ModifyBlockIgnoreListResponse, err error)

ModifyBlockIgnoreList This API is used to:

add IPs/domains in the blocklist or ignored list

delete IPs/domains in the blocklist or ignored list

modify IPs/domains in the blocklist or ignored list

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyBlockTop

func (c *Client) ModifyBlockTop(request *ModifyBlockTopRequest) (response *ModifyBlockTopResponse, err error)

ModifyBlockTop This API is used to pin or unpin a blocking log.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyBlockTopWithContext

func (c *Client) ModifyBlockTopWithContext(ctx context.Context, request *ModifyBlockTopRequest) (response *ModifyBlockTopResponse, err error)

ModifyBlockTop This API is used to pin or unpin a blocking log.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyNatFwReSelect

func (c *Client) ModifyNatFwReSelect(request *ModifyNatFwReSelectRequest) (response *ModifyNatFwReSelectResponse, err error)

ModifyNatFwReSelect This API is used to get the VPC or NAT list for changing associated firewall instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyNatFwReSelectWithContext

func (c *Client) ModifyNatFwReSelectWithContext(ctx context.Context, request *ModifyNatFwReSelectRequest) (response *ModifyNatFwReSelectResponse, err error)

ModifyNatFwReSelect This API is used to get the VPC or NAT list for changing associated firewall instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyNatFwSwitch

func (c *Client) ModifyNatFwSwitch(request *ModifyNatFwSwitchRequest) (response *ModifyNatFwSwitchResponse, err error)

ModifyNatFwSwitch This API is used to enable or disable a NAT firewall.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyNatFwSwitchWithContext

func (c *Client) ModifyNatFwSwitchWithContext(ctx context.Context, request *ModifyNatFwSwitchRequest) (response *ModifyNatFwSwitchResponse, err error)

ModifyNatFwSwitch This API is used to enable or disable a NAT firewall.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyNatFwVpcDnsSwitch

func (c *Client) ModifyNatFwVpcDnsSwitch(request *ModifyNatFwVpcDnsSwitchRequest) (response *ModifyNatFwVpcDnsSwitchResponse, err error)

ModifyNatFwVpcDnsSwitch This API is used to modify the VPC DNS status of NAT firewall instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyNatFwVpcDnsSwitchWithContext

func (c *Client) ModifyNatFwVpcDnsSwitchWithContext(ctx context.Context, request *ModifyNatFwVpcDnsSwitchRequest) (response *ModifyNatFwVpcDnsSwitchResponse, err error)

ModifyNatFwVpcDnsSwitch This API is used to modify the VPC DNS status of NAT firewall instances.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyPublicIPSwitchStatus

func (c *Client) ModifyPublicIPSwitchStatus(request *ModifyPublicIPSwitchStatusRequest) (response *ModifyPublicIPSwitchStatusResponse, err error)

ModifyPublicIPSwitchStatus This API is used to enable or disable an edge firewall.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) ModifyPublicIPSwitchStatusWithContext

func (c *Client) ModifyPublicIPSwitchStatusWithContext(ctx context.Context, request *ModifyPublicIPSwitchStatusRequest) (response *ModifyPublicIPSwitchStatusResponse, err error)

ModifyPublicIPSwitchStatus This API is used to enable or disable an edge firewall.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) ModifyResourceGroup

func (c *Client) ModifyResourceGroup(request *ModifyResourceGroupRequest) (response *ModifyResourceGroupResponse, err error)

ModifyResourceGroup This API is used to modify the asset group information in Asset Management.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyResourceGroupWithContext

func (c *Client) ModifyResourceGroupWithContext(ctx context.Context, request *ModifyResourceGroupRequest) (response *ModifyResourceGroupResponse, err error)

ModifyResourceGroup This API is used to modify the asset group information in Asset Management.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyRunSyncAsset

func (c *Client) ModifyRunSyncAsset(request *ModifyRunSyncAssetRequest) (response *ModifyRunSyncAssetResponse, err error)

ModifyRunSyncAsset This API is used to sync assets - Internet & VPC (new).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyRunSyncAssetWithContext

func (c *Client) ModifyRunSyncAssetWithContext(ctx context.Context, request *ModifyRunSyncAssetRequest) (response *ModifyRunSyncAssetResponse, err error)

ModifyRunSyncAsset This API is used to sync assets - Internet & VPC (new).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySecurityGroupItemRuleStatus

func (c *Client) ModifySecurityGroupItemRuleStatus(request *ModifySecurityGroupItemRuleStatusRequest) (response *ModifySecurityGroupItemRuleStatusResponse, err error)

ModifySecurityGroupItemRuleStatus This API is used to enable or disable an enterprise security group rule.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifySecurityGroupItemRuleStatusWithContext

func (c *Client) ModifySecurityGroupItemRuleStatusWithContext(ctx context.Context, request *ModifySecurityGroupItemRuleStatusRequest) (response *ModifySecurityGroupItemRuleStatusResponse, err error)

ModifySecurityGroupItemRuleStatus This API is used to enable or disable an enterprise security group rule.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifySecurityGroupSequenceRules

func (c *Client) ModifySecurityGroupSequenceRules(request *ModifySecurityGroupSequenceRulesRequest) (response *ModifySecurityGroupSequenceRulesResponse, err error)

ModifySecurityGroupSequenceRules This API is used to sort enterprise security group rules.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCEINUSE = "ResourceInUse"

func (*Client) ModifySecurityGroupSequenceRulesWithContext

func (c *Client) ModifySecurityGroupSequenceRulesWithContext(ctx context.Context, request *ModifySecurityGroupSequenceRulesRequest) (response *ModifySecurityGroupSequenceRulesResponse, err error)

ModifySecurityGroupSequenceRules This API is used to sort enterprise security group rules.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCEINUSE = "ResourceInUse"

func (*Client) ModifySequenceRules

func (c *Client) ModifySequenceRules(request *ModifySequenceRulesRequest) (response *ModifySequenceRulesResponse, err error)

ModifySequenceRules This API is used to modify rule priority.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifySequenceRulesWithContext

func (c *Client) ModifySequenceRulesWithContext(ctx context.Context, request *ModifySequenceRulesRequest) (response *ModifySequenceRulesResponse, err error)

ModifySequenceRules This API is used to modify rule priority.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTableStatus

func (c *Client) ModifyTableStatus(request *ModifyTableStatusRequest) (response *ModifyTableStatusResponse, err error)

ModifyTableStatus This API is used to modify rule list status.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) ModifyTableStatusWithContext

func (c *Client) ModifyTableStatusWithContext(ctx context.Context, request *ModifyTableStatusRequest) (response *ModifyTableStatusResponse, err error)

ModifyTableStatus This API is used to modify rule list status.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) RemoveAcRule

func (c *Client) RemoveAcRule(request *RemoveAcRuleRequest) (response *RemoveAcRuleResponse, err error)

RemoveAcRule This API is used to delete edge firewall rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RemoveAcRuleWithContext

func (c *Client) RemoveAcRuleWithContext(ctx context.Context, request *RemoveAcRuleRequest) (response *RemoveAcRuleResponse, err error)

RemoveAcRule This API is used to delete edge firewall rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RemoveEnterpriseSecurityGroupRule

func (c *Client) RemoveEnterpriseSecurityGroupRule(request *RemoveEnterpriseSecurityGroupRuleRequest) (response *RemoveEnterpriseSecurityGroupRuleResponse, err error)

RemoveEnterpriseSecurityGroupRule This API is used to delete enterprise security group rules (new).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RemoveEnterpriseSecurityGroupRuleWithContext

func (c *Client) RemoveEnterpriseSecurityGroupRuleWithContext(ctx context.Context, request *RemoveEnterpriseSecurityGroupRuleRequest) (response *RemoveEnterpriseSecurityGroupRuleResponse, err error)

RemoveEnterpriseSecurityGroupRule This API is used to delete enterprise security group rules (new).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SetNatFwDnatRule

func (c *Client) SetNatFwDnatRule(request *SetNatFwDnatRuleRequest) (response *SetNatFwDnatRuleResponse, err error)

SetNatFwDnatRule This API is used to configure firewall DNAT rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SetNatFwDnatRuleWithContext

func (c *Client) SetNatFwDnatRuleWithContext(ctx context.Context, request *SetNatFwDnatRuleRequest) (response *SetNatFwDnatRuleResponse, err error)

SetNatFwDnatRule This API is used to configure firewall DNAT rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SetNatFwEip

func (c *Client) SetNatFwEip(request *SetNatFwEipRequest) (response *SetNatFwEipResponse, err error)

SetNatFwEip This API is used to set the firewall instance EIP. (Available for firewall instances in the "Create new" mode. only)

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SetNatFwEipWithContext

func (c *Client) SetNatFwEipWithContext(ctx context.Context, request *SetNatFwEipRequest) (response *SetNatFwEipResponse, err error)

SetNatFwEip This API is used to set the firewall instance EIP. (Available for firewall instances in the "Create new" mode. only)

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) StopSecurityGroupRuleDispatch

func (c *Client) StopSecurityGroupRuleDispatch(request *StopSecurityGroupRuleDispatchRequest) (response *StopSecurityGroupRuleDispatchResponse, err error)

StopSecurityGroupRuleDispatch This API is used to stop publishing security group rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) StopSecurityGroupRuleDispatchWithContext

func (c *Client) StopSecurityGroupRuleDispatchWithContext(ctx context.Context, request *StopSecurityGroupRuleDispatchRequest) (response *StopSecurityGroupRuleDispatchResponse, err error)

StopSecurityGroupRuleDispatch This API is used to stop publishing security group rules.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

type CreateAcRulesRequest

type CreateAcRulesRequest struct {
	*tchttp.BaseRequest

	// Creates rule data
	Data []*RuleInfoData `json:"Data,omitempty" name:"Data"`

	// 0: add (default); 1: insert
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// Edge ID
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Access control rule status
	Enable *int64 `json:"Enable,omitempty" name:"Enable"`

	// 0: add; 1: overwrite
	Overwrite *uint64 `json:"Overwrite,omitempty" name:"Overwrite"`

	// NAT instance ID, required when the parameter Area exists
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// portScan: from port scanning; patchImport: from batch import
	From *string `json:"From,omitempty" name:"From"`

	// NAT region
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewCreateAcRulesRequest

func NewCreateAcRulesRequest() (request *CreateAcRulesRequest)

func (*CreateAcRulesRequest) FromJsonString

func (r *CreateAcRulesRequest) 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 (*CreateAcRulesRequest) ToJsonString

func (r *CreateAcRulesRequest) ToJsonString() string

type CreateAcRulesRequestParams

type CreateAcRulesRequestParams struct {
	// Creates rule data
	Data []*RuleInfoData `json:"Data,omitempty" name:"Data"`

	// 0: add (default); 1: insert
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// Edge ID
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Access control rule status
	Enable *int64 `json:"Enable,omitempty" name:"Enable"`

	// 0: add; 1: overwrite
	Overwrite *uint64 `json:"Overwrite,omitempty" name:"Overwrite"`

	// NAT instance ID, required when the parameter Area exists
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// portScan: from port scanning; patchImport: from batch import
	From *string `json:"From,omitempty" name:"From"`

	// NAT region
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type CreateAcRulesResponse

type CreateAcRulesResponse struct {
	*tchttp.BaseResponse
	Response *CreateAcRulesResponseParams `json:"Response"`
}

func NewCreateAcRulesResponse

func NewCreateAcRulesResponse() (response *CreateAcRulesResponse)

func (*CreateAcRulesResponse) FromJsonString

func (r *CreateAcRulesResponse) 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 (*CreateAcRulesResponse) ToJsonString

func (r *CreateAcRulesResponse) ToJsonString() string

type CreateAcRulesResponseParams

type CreateAcRulesResponseParams struct {
	// Status value. 0: operation successful
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// Returns redundant information
	// Note: This field may return `null`, indicating that no valid value was found.
	Info *string `json:"Info,omitempty" name:"Info"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateNatFwInstanceRequest

type CreateNatFwInstanceRequest struct {
	*tchttp.BaseRequest

	// Firewall instance name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Bandwidth
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// Mode. 1: use existing; 0: create new
	Mode *int64 `json:"Mode,omitempty" name:"Mode"`

	// Parameter passed for the Create New mode. Either NewModeItems or NatgwList is required.
	NewModeItems *NewModeItems `json:"NewModeItems,omitempty" name:"NewModeItems"`

	// NAT gateway list for the Using Existing mode. Either NewModeItems or NatgwList is required.
	NatGwList []*string `json:"NatGwList,omitempty" name:"NatGwList"`

	// Primary zone. The default zone is selected if it is empty.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Secondary zone. The default zone is selected if it is empty.
	ZoneBak *string `json:"ZoneBak,omitempty" name:"ZoneBak"`

	// Remote disaster recovery. 1: enable; 0: disable; empty: disable by default
	CrossAZone *int64 `json:"CrossAZone,omitempty" name:"CrossAZone"`
}

func NewCreateNatFwInstanceRequest

func NewCreateNatFwInstanceRequest() (request *CreateNatFwInstanceRequest)

func (*CreateNatFwInstanceRequest) FromJsonString

func (r *CreateNatFwInstanceRequest) 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 (*CreateNatFwInstanceRequest) ToJsonString

func (r *CreateNatFwInstanceRequest) ToJsonString() string

type CreateNatFwInstanceRequestParams

type CreateNatFwInstanceRequestParams struct {
	// Firewall instance name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Bandwidth
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// Mode. 1: use existing; 0: create new
	Mode *int64 `json:"Mode,omitempty" name:"Mode"`

	// Parameter passed for the Create New mode. Either NewModeItems or NatgwList is required.
	NewModeItems *NewModeItems `json:"NewModeItems,omitempty" name:"NewModeItems"`

	// NAT gateway list for the Using Existing mode. Either NewModeItems or NatgwList is required.
	NatGwList []*string `json:"NatGwList,omitempty" name:"NatGwList"`

	// Primary zone. The default zone is selected if it is empty.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Secondary zone. The default zone is selected if it is empty.
	ZoneBak *string `json:"ZoneBak,omitempty" name:"ZoneBak"`

	// Remote disaster recovery. 1: enable; 0: disable; empty: disable by default
	CrossAZone *int64 `json:"CrossAZone,omitempty" name:"CrossAZone"`
}

Predefined struct for user

type CreateNatFwInstanceResponse

type CreateNatFwInstanceResponse struct {
	*tchttp.BaseResponse
	Response *CreateNatFwInstanceResponseParams `json:"Response"`
}

func NewCreateNatFwInstanceResponse

func NewCreateNatFwInstanceResponse() (response *CreateNatFwInstanceResponse)

func (*CreateNatFwInstanceResponse) FromJsonString

func (r *CreateNatFwInstanceResponse) 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 (*CreateNatFwInstanceResponse) ToJsonString

func (r *CreateNatFwInstanceResponse) ToJsonString() string

type CreateNatFwInstanceResponseParams

type CreateNatFwInstanceResponseParams struct {
	// Firewall instance ID
	CfwInsId *string `json:"CfwInsId,omitempty" name:"CfwInsId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateNatFwInstanceWithDomainRequest

type CreateNatFwInstanceWithDomainRequest struct {
	*tchttp.BaseRequest

	// Firewall instance name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Bandwidth
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// Mode. 1: use existing; 0: create new
	Mode *int64 `json:"Mode,omitempty" name:"Mode"`

	// Parameter passed for the Create New mode. Either NewModeItems or NatgwList is required.
	NewModeItems *NewModeItems `json:"NewModeItems,omitempty" name:"NewModeItems"`

	// NAT gateway list for the Using Existing mode. Either NewModeItems or NatgwList is required.
	NatGwList []*string `json:"NatGwList,omitempty" name:"NatGwList"`

	// Primary zone. The default zone is selected if it is empty.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Secondary zone. The default zone is selected if it is empty.
	ZoneBak *string `json:"ZoneBak,omitempty" name:"ZoneBak"`

	// Remote disaster recovery. 1: enable; 0: disable; empty: disable by default
	CrossAZone *int64 `json:"CrossAZone,omitempty" name:"CrossAZone"`

	// 0: not create; 1: create
	IsCreateDomain *int64 `json:"IsCreateDomain,omitempty" name:"IsCreateDomain"`

	// Required for creating a domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`
}

func NewCreateNatFwInstanceWithDomainRequest

func NewCreateNatFwInstanceWithDomainRequest() (request *CreateNatFwInstanceWithDomainRequest)

func (*CreateNatFwInstanceWithDomainRequest) FromJsonString

func (r *CreateNatFwInstanceWithDomainRequest) 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 (*CreateNatFwInstanceWithDomainRequest) ToJsonString

func (r *CreateNatFwInstanceWithDomainRequest) ToJsonString() string

type CreateNatFwInstanceWithDomainRequestParams

type CreateNatFwInstanceWithDomainRequestParams struct {
	// Firewall instance name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Bandwidth
	Width *int64 `json:"Width,omitempty" name:"Width"`

	// Mode. 1: use existing; 0: create new
	Mode *int64 `json:"Mode,omitempty" name:"Mode"`

	// Parameter passed for the Create New mode. Either NewModeItems or NatgwList is required.
	NewModeItems *NewModeItems `json:"NewModeItems,omitempty" name:"NewModeItems"`

	// NAT gateway list for the Using Existing mode. Either NewModeItems or NatgwList is required.
	NatGwList []*string `json:"NatGwList,omitempty" name:"NatGwList"`

	// Primary zone. The default zone is selected if it is empty.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Secondary zone. The default zone is selected if it is empty.
	ZoneBak *string `json:"ZoneBak,omitempty" name:"ZoneBak"`

	// Remote disaster recovery. 1: enable; 0: disable; empty: disable by default
	CrossAZone *int64 `json:"CrossAZone,omitempty" name:"CrossAZone"`

	// 0: not create; 1: create
	IsCreateDomain *int64 `json:"IsCreateDomain,omitempty" name:"IsCreateDomain"`

	// Required for creating a domain name
	Domain *string `json:"Domain,omitempty" name:"Domain"`
}

Predefined struct for user

type CreateNatFwInstanceWithDomainResponse

type CreateNatFwInstanceWithDomainResponse struct {
	*tchttp.BaseResponse
	Response *CreateNatFwInstanceWithDomainResponseParams `json:"Response"`
}

func NewCreateNatFwInstanceWithDomainResponse

func NewCreateNatFwInstanceWithDomainResponse() (response *CreateNatFwInstanceWithDomainResponse)

func (*CreateNatFwInstanceWithDomainResponse) FromJsonString

func (r *CreateNatFwInstanceWithDomainResponse) 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 (*CreateNatFwInstanceWithDomainResponse) ToJsonString

type CreateNatFwInstanceWithDomainResponseParams

type CreateNatFwInstanceWithDomainResponseParams struct {
	// NAT instance info
	// Note: This field may return `null`, indicating that no valid value was found.
	CfwInsId *string `json:"CfwInsId,omitempty" name:"CfwInsId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateSecurityGroupRulesRequest

type CreateSecurityGroupRulesRequest struct {
	*tchttp.BaseRequest

	// Added enterprise security group rule data
	Data []*SecurityGroupListData `json:"Data,omitempty" name:"Data"`

	// Direction. 0: outbound; 1: inbound. 1 by default
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// 0: at the end; 1: at the top; 2: in the middle. 0 by default
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// Indicates whether to enable rules after addition. 0: disable; 1: enable. 1 by default
	Enable *uint64 `json:"Enable,omitempty" name:"Enable"`
}

func NewCreateSecurityGroupRulesRequest

func NewCreateSecurityGroupRulesRequest() (request *CreateSecurityGroupRulesRequest)

func (*CreateSecurityGroupRulesRequest) FromJsonString

func (r *CreateSecurityGroupRulesRequest) 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 (*CreateSecurityGroupRulesRequest) ToJsonString

func (r *CreateSecurityGroupRulesRequest) ToJsonString() string

type CreateSecurityGroupRulesRequestParams

type CreateSecurityGroupRulesRequestParams struct {
	// Added enterprise security group rule data
	Data []*SecurityGroupListData `json:"Data,omitempty" name:"Data"`

	// Direction. 0: outbound; 1: inbound. 1 by default
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// 0: at the end; 1: at the top; 2: in the middle. 0 by default
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// Indicates whether to enable rules after addition. 0: disable; 1: enable. 1 by default
	Enable *uint64 `json:"Enable,omitempty" name:"Enable"`
}

Predefined struct for user

type CreateSecurityGroupRulesResponse

type CreateSecurityGroupRulesResponse struct {
	*tchttp.BaseResponse
	Response *CreateSecurityGroupRulesResponseParams `json:"Response"`
}

func NewCreateSecurityGroupRulesResponse

func NewCreateSecurityGroupRulesResponse() (response *CreateSecurityGroupRulesResponse)

func (*CreateSecurityGroupRulesResponse) FromJsonString

func (r *CreateSecurityGroupRulesResponse) 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 (*CreateSecurityGroupRulesResponse) ToJsonString

func (r *CreateSecurityGroupRulesResponse) ToJsonString() string

type CreateSecurityGroupRulesResponseParams

type CreateSecurityGroupRulesResponseParams struct {
	// Status value. 0: added successfully; non-0: failed to add
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteAcRuleRequest

type DeleteAcRuleRequest struct {
	*tchttp.BaseRequest

	// The ID of the rule to delete. It can be queried via the DescribeAcLists API.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Edge ID between two VPCs
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// NAT region, e.g. ap-shanghai/ap-guangzhou/ap-chongqing
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDeleteAcRuleRequest

func NewDeleteAcRuleRequest() (request *DeleteAcRuleRequest)

func (*DeleteAcRuleRequest) FromJsonString

func (r *DeleteAcRuleRequest) 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 (*DeleteAcRuleRequest) ToJsonString

func (r *DeleteAcRuleRequest) ToJsonString() string

type DeleteAcRuleRequestParams

type DeleteAcRuleRequestParams struct {
	// The ID of the rule to delete. It can be queried via the DescribeAcLists API.
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Edge ID between two VPCs
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// NAT region, e.g. ap-shanghai/ap-guangzhou/ap-chongqing
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DeleteAcRuleResponse

type DeleteAcRuleResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAcRuleResponseParams `json:"Response"`
}

func NewDeleteAcRuleResponse

func NewDeleteAcRuleResponse() (response *DeleteAcRuleResponse)

func (*DeleteAcRuleResponse) FromJsonString

func (r *DeleteAcRuleResponse) 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 (*DeleteAcRuleResponse) ToJsonString

func (r *DeleteAcRuleResponse) ToJsonString() string

type DeleteAcRuleResponseParams

type DeleteAcRuleResponseParams struct {
	// Status value. 0: deleted successfully; !0: deletion failed
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// Returns redundant information
	// Note: This field may return `null`, indicating that no valid value was found.
	Info *string `json:"Info,omitempty" name:"Info"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteAllAccessControlRuleRequest

type DeleteAllAccessControlRuleRequest struct {
	*tchttp.BaseRequest

	// Direction. 0: outbound; 1: inbound. 0 by default
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Deletes all the access control rules for inter-VPC firewall toggles associated with the EdgeId. It is empty by default. Enter either EdgeId or Area.
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Deletes all the access control rules for NAT firewalls of this region. It is empty by default. Enter either EdgeId or Area.
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewDeleteAllAccessControlRuleRequest

func NewDeleteAllAccessControlRuleRequest() (request *DeleteAllAccessControlRuleRequest)

func (*DeleteAllAccessControlRuleRequest) FromJsonString

func (r *DeleteAllAccessControlRuleRequest) 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 (*DeleteAllAccessControlRuleRequest) ToJsonString

func (r *DeleteAllAccessControlRuleRequest) ToJsonString() string

type DeleteAllAccessControlRuleRequestParams

type DeleteAllAccessControlRuleRequestParams struct {
	// Direction. 0: outbound; 1: inbound. 0 by default
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Deletes all the access control rules for inter-VPC firewall toggles associated with the EdgeId. It is empty by default. Enter either EdgeId or Area.
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Deletes all the access control rules for NAT firewalls of this region. It is empty by default. Enter either EdgeId or Area.
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type DeleteAllAccessControlRuleResponse

type DeleteAllAccessControlRuleResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAllAccessControlRuleResponseParams `json:"Response"`
}

func NewDeleteAllAccessControlRuleResponse

func NewDeleteAllAccessControlRuleResponse() (response *DeleteAllAccessControlRuleResponse)

func (*DeleteAllAccessControlRuleResponse) FromJsonString

func (r *DeleteAllAccessControlRuleResponse) 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 (*DeleteAllAccessControlRuleResponse) ToJsonString

func (r *DeleteAllAccessControlRuleResponse) ToJsonString() string

type DeleteAllAccessControlRuleResponseParams

type DeleteAllAccessControlRuleResponseParams struct {
	// Status value. 0: modified successfully; !0: modification failed
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// Number of access control rules deleted.
	// Note: This field may return `null`, indicating that no valid value was found.
	Info *int64 `json:"Info,omitempty" name:"Info"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteResourceGroupRequest

type DeleteResourceGroupRequest struct {
	*tchttp.BaseRequest

	// Group ID
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

func NewDeleteResourceGroupRequest

func NewDeleteResourceGroupRequest() (request *DeleteResourceGroupRequest)

func (*DeleteResourceGroupRequest) FromJsonString

func (r *DeleteResourceGroupRequest) 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 (*DeleteResourceGroupRequest) ToJsonString

func (r *DeleteResourceGroupRequest) ToJsonString() string

type DeleteResourceGroupRequestParams

type DeleteResourceGroupRequestParams struct {
	// Group ID
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}

Predefined struct for user

type DeleteResourceGroupResponse

type DeleteResourceGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteResourceGroupResponseParams `json:"Response"`
}

func NewDeleteResourceGroupResponse

func NewDeleteResourceGroupResponse() (response *DeleteResourceGroupResponse)

func (*DeleteResourceGroupResponse) FromJsonString

func (r *DeleteResourceGroupResponse) 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 (*DeleteResourceGroupResponse) ToJsonString

func (r *DeleteResourceGroupResponse) ToJsonString() string

type DeleteResourceGroupResponseParams

type DeleteResourceGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteSecurityGroupRuleRequest

type DeleteSecurityGroupRuleRequest struct {
	*tchttp.BaseRequest

	// ID of the rule to delete
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Tencent Cloud region (abbreviation)
	Area *string `json:"Area,omitempty" name:"Area"`

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Indicates whether to delete the reverse rule. 0: no; 1: yes
	IsDelReverse *uint64 `json:"IsDelReverse,omitempty" name:"IsDelReverse"`
}

func NewDeleteSecurityGroupRuleRequest

func NewDeleteSecurityGroupRuleRequest() (request *DeleteSecurityGroupRuleRequest)

func (*DeleteSecurityGroupRuleRequest) FromJsonString

func (r *DeleteSecurityGroupRuleRequest) 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 (*DeleteSecurityGroupRuleRequest) ToJsonString

func (r *DeleteSecurityGroupRuleRequest) ToJsonString() string

type DeleteSecurityGroupRuleRequestParams

type DeleteSecurityGroupRuleRequestParams struct {
	// ID of the rule to delete
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Tencent Cloud region (abbreviation)
	Area *string `json:"Area,omitempty" name:"Area"`

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Indicates whether to delete the reverse rule. 0: no; 1: yes
	IsDelReverse *uint64 `json:"IsDelReverse,omitempty" name:"IsDelReverse"`
}

Predefined struct for user

type DeleteSecurityGroupRuleResponse

type DeleteSecurityGroupRuleResponse struct {
	*tchttp.BaseResponse
	Response *DeleteSecurityGroupRuleResponseParams `json:"Response"`
}

func NewDeleteSecurityGroupRuleResponse

func NewDeleteSecurityGroupRuleResponse() (response *DeleteSecurityGroupRuleResponse)

func (*DeleteSecurityGroupRuleResponse) FromJsonString

func (r *DeleteSecurityGroupRuleResponse) 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 (*DeleteSecurityGroupRuleResponse) ToJsonString

func (r *DeleteSecurityGroupRuleResponse) ToJsonString() string

type DeleteSecurityGroupRuleResponseParams

type DeleteSecurityGroupRuleResponseParams struct {
	// Status value. 0: operation successful; non-0: operation failed
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// Returns redundant information
	// Note: This field may return `null`, indicating that no valid value was found.
	Info *string `json:"Info,omitempty" name:"Info"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteVpcInstanceRequest

type DeleteVpcInstanceRequest struct {
	*tchttp.BaseRequest
}

func NewDeleteVpcInstanceRequest

func NewDeleteVpcInstanceRequest() (request *DeleteVpcInstanceRequest)

func (*DeleteVpcInstanceRequest) FromJsonString

func (r *DeleteVpcInstanceRequest) 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 (*DeleteVpcInstanceRequest) ToJsonString

func (r *DeleteVpcInstanceRequest) ToJsonString() string

type DeleteVpcInstanceRequestParams

type DeleteVpcInstanceRequestParams struct {
}

Predefined struct for user

type DeleteVpcInstanceResponse

type DeleteVpcInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DeleteVpcInstanceResponseParams `json:"Response"`
}

func NewDeleteVpcInstanceResponse

func NewDeleteVpcInstanceResponse() (response *DeleteVpcInstanceResponse)

func (*DeleteVpcInstanceResponse) FromJsonString

func (r *DeleteVpcInstanceResponse) 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 (*DeleteVpcInstanceResponse) ToJsonString

func (r *DeleteVpcInstanceResponse) ToJsonString() string

type DeleteVpcInstanceResponseParams

type DeleteVpcInstanceResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAcListsRequest

type DescribeAcListsRequest struct {
	*tchttp.BaseRequest

	// Protocol
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Policy
	Strategy *string `json:"Strategy,omitempty" name:"Strategy"`

	// Search value
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`

	// Number of entries per page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Indicates whether it is outbound or inbound. 1: inbound; 0: outbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// EdgeId value
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Indicates whether the rule is enabled. '0': disabled; '1': enabled. '0' by default
	Status *string `json:"Status,omitempty" name:"Status"`

	// Region
	Area *string `json:"Area,omitempty" name:"Area"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewDescribeAcListsRequest

func NewDescribeAcListsRequest() (request *DescribeAcListsRequest)

func (*DescribeAcListsRequest) FromJsonString

func (r *DescribeAcListsRequest) 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 (*DescribeAcListsRequest) ToJsonString

func (r *DescribeAcListsRequest) ToJsonString() string

type DescribeAcListsRequestParams

type DescribeAcListsRequestParams struct {
	// Protocol
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Policy
	Strategy *string `json:"Strategy,omitempty" name:"Strategy"`

	// Search value
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`

	// Number of entries per page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Indicates whether it is outbound or inbound. 1: inbound; 0: outbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// EdgeId value
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Indicates whether the rule is enabled. '0': disabled; '1': enabled. '0' by default
	Status *string `json:"Status,omitempty" name:"Status"`

	// Region
	Area *string `json:"Area,omitempty" name:"Area"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeAcListsResponse

type DescribeAcListsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAcListsResponseParams `json:"Response"`
}

func NewDescribeAcListsResponse

func NewDescribeAcListsResponse() (response *DescribeAcListsResponse)

func (*DescribeAcListsResponse) FromJsonString

func (r *DescribeAcListsResponse) 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 (*DescribeAcListsResponse) ToJsonString

func (r *DescribeAcListsResponse) ToJsonString() string

type DescribeAcListsResponseParams

type DescribeAcListsResponseParams struct {
	// Total entries
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// Access control list data
	Data []*AcListsData `json:"Data,omitempty" name:"Data"`

	// Total entries excluding the filtered ones
	AllTotal *uint64 `json:"AllTotal,omitempty" name:"AllTotal"`

	// All access control rules enabled/disabled
	// Note: This field may return `null`, indicating that no valid value was found.
	Enable *uint64 `json:"Enable,omitempty" name:"Enable"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAssociatedInstanceListRequest

type DescribeAssociatedInstanceListRequest struct {
	*tchttp.BaseRequest

	// List offset
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of records per page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Region code (e.g. ap-guangzhou). All Tencent Cloud regions are supported.
	Area *string `json:"Area,omitempty" name:"Area"`

	// Additional search criteria (JSON string)
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`

	// Sorting field
	By *string `json:"By,omitempty" name:"By"`

	// Sort order. asc: ascending; desc: descending
	Order *string `json:"Order,omitempty" name:"Order"`

	// Security group ID
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`

	// Instance type. '3': CVM instance; '4': CLB instance; '5': ENI instance; '6': Cloud database
	Type *string `json:"Type,omitempty" name:"Type"`
}

func NewDescribeAssociatedInstanceListRequest

func NewDescribeAssociatedInstanceListRequest() (request *DescribeAssociatedInstanceListRequest)

func (*DescribeAssociatedInstanceListRequest) FromJsonString

func (r *DescribeAssociatedInstanceListRequest) 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 (*DescribeAssociatedInstanceListRequest) ToJsonString

type DescribeAssociatedInstanceListRequestParams

type DescribeAssociatedInstanceListRequestParams struct {
	// List offset
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of records per page
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Region code (e.g. ap-guangzhou). All Tencent Cloud regions are supported.
	Area *string `json:"Area,omitempty" name:"Area"`

	// Additional search criteria (JSON string)
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`

	// Sorting field
	By *string `json:"By,omitempty" name:"By"`

	// Sort order. asc: ascending; desc: descending
	Order *string `json:"Order,omitempty" name:"Order"`

	// Security group ID
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`

	// Instance type. '3': CVM instance; '4': CLB instance; '5': ENI instance; '6': Cloud database
	Type *string `json:"Type,omitempty" name:"Type"`
}

Predefined struct for user

type DescribeAssociatedInstanceListResponse

type DescribeAssociatedInstanceListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAssociatedInstanceListResponseParams `json:"Response"`
}

func NewDescribeAssociatedInstanceListResponse

func NewDescribeAssociatedInstanceListResponse() (response *DescribeAssociatedInstanceListResponse)

func (*DescribeAssociatedInstanceListResponse) FromJsonString

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

func (*DescribeAssociatedInstanceListResponse) ToJsonString

type DescribeAssociatedInstanceListResponseParams

type DescribeAssociatedInstanceListResponseParams struct {
	// Number of instances
	// Note: This field may return `null`, indicating that no valid value was found.
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// Instance list
	// Note: This field may return `null`, indicating that no valid value was found.
	Data []*AssociatedInstanceInfo `json:"Data,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBlockByIpTimesListRequest

type DescribeBlockByIpTimesListRequest struct {
	*tchttp.BaseRequest

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// IP search criteria
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Region
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Direction
	Direction *string `json:"Direction,omitempty" name:"Direction"`

	// Source
	Source *string `json:"Source,omitempty" name:"Source"`

	// Inter-VPC firewall toggle edge ID
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Log source. move: inter-VPC firewall
	LogSource *string `json:"LogSource,omitempty" name:"LogSource"`
}

func NewDescribeBlockByIpTimesListRequest

func NewDescribeBlockByIpTimesListRequest() (request *DescribeBlockByIpTimesListRequest)

func (*DescribeBlockByIpTimesListRequest) FromJsonString

func (r *DescribeBlockByIpTimesListRequest) 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 (*DescribeBlockByIpTimesListRequest) ToJsonString

func (r *DescribeBlockByIpTimesListRequest) ToJsonString() string

type DescribeBlockByIpTimesListRequestParams

type DescribeBlockByIpTimesListRequestParams struct {
	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// IP search criteria
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Region
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Direction
	Direction *string `json:"Direction,omitempty" name:"Direction"`

	// Source
	Source *string `json:"Source,omitempty" name:"Source"`

	// Inter-VPC firewall toggle edge ID
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Log source. move: inter-VPC firewall
	LogSource *string `json:"LogSource,omitempty" name:"LogSource"`
}

Predefined struct for user

type DescribeBlockByIpTimesListResponse

type DescribeBlockByIpTimesListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBlockByIpTimesListResponseParams `json:"Response"`
}

func NewDescribeBlockByIpTimesListResponse

func NewDescribeBlockByIpTimesListResponse() (response *DescribeBlockByIpTimesListResponse)

func (*DescribeBlockByIpTimesListResponse) FromJsonString

func (r *DescribeBlockByIpTimesListResponse) 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 (*DescribeBlockByIpTimesListResponse) ToJsonString

func (r *DescribeBlockByIpTimesListResponse) ToJsonString() string

type DescribeBlockByIpTimesListResponseParams

type DescribeBlockByIpTimesListResponseParams struct {
	// Response data
	Data []*IpStatic `json:"Data,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBlockStaticListRequest

type DescribeBlockStaticListRequest struct {
	*tchttp.BaseRequest

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List type. Valid values: port, address, or IP
	QueryType *string `json:"QueryType,omitempty" name:"QueryType"`

	// Number of top results returned
	Top *int64 `json:"Top,omitempty" name:"Top"`

	// Search criteria
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`
}

func NewDescribeBlockStaticListRequest

func NewDescribeBlockStaticListRequest() (request *DescribeBlockStaticListRequest)

func (*DescribeBlockStaticListRequest) FromJsonString

func (r *DescribeBlockStaticListRequest) 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 (*DescribeBlockStaticListRequest) ToJsonString

func (r *DescribeBlockStaticListRequest) ToJsonString() string

type DescribeBlockStaticListRequestParams

type DescribeBlockStaticListRequestParams struct {
	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// List type. Valid values: port, address, or IP
	QueryType *string `json:"QueryType,omitempty" name:"QueryType"`

	// Number of top results returned
	Top *int64 `json:"Top,omitempty" name:"Top"`

	// Search criteria
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`
}

Predefined struct for user

type DescribeBlockStaticListResponse

type DescribeBlockStaticListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBlockStaticListResponseParams `json:"Response"`
}

func NewDescribeBlockStaticListResponse

func NewDescribeBlockStaticListResponse() (response *DescribeBlockStaticListResponse)

func (*DescribeBlockStaticListResponse) FromJsonString

func (r *DescribeBlockStaticListResponse) 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 (*DescribeBlockStaticListResponse) ToJsonString

func (r *DescribeBlockStaticListResponse) ToJsonString() string

type DescribeBlockStaticListResponseParams

type DescribeBlockStaticListResponseParams struct {
	// None
	Data []*StaticInfo `json:"Data,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDefenseSwitchRequest

type DescribeDefenseSwitchRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeDefenseSwitchRequest

func NewDescribeDefenseSwitchRequest() (request *DescribeDefenseSwitchRequest)

func (*DescribeDefenseSwitchRequest) FromJsonString

func (r *DescribeDefenseSwitchRequest) 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 (*DescribeDefenseSwitchRequest) ToJsonString

func (r *DescribeDefenseSwitchRequest) ToJsonString() string

type DescribeDefenseSwitchRequestParams

type DescribeDefenseSwitchRequestParams struct {
}

Predefined struct for user

type DescribeDefenseSwitchResponse

type DescribeDefenseSwitchResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDefenseSwitchResponseParams `json:"Response"`
}

func NewDescribeDefenseSwitchResponse

func NewDescribeDefenseSwitchResponse() (response *DescribeDefenseSwitchResponse)

func (*DescribeDefenseSwitchResponse) FromJsonString

func (r *DescribeDefenseSwitchResponse) 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 (*DescribeDefenseSwitchResponse) ToJsonString

func (r *DescribeDefenseSwitchResponse) ToJsonString() string

type DescribeDefenseSwitchResponseParams

type DescribeDefenseSwitchResponseParams struct {
	// Whether to enable the Basic Protection feature
	BasicRuleSwitch *int64 `json:"BasicRuleSwitch,omitempty" name:"BasicRuleSwitch"`

	// Whether to enable the Security Baseline feature
	BaselineAllSwitch *int64 `json:"BaselineAllSwitch,omitempty" name:"BaselineAllSwitch"`

	// Whether to enable the Treat Intelligence feature
	TiSwitch *int64 `json:"TiSwitch,omitempty" name:"TiSwitch"`

	// Whether to enable the Virtual Patch feature
	VirtualPatchSwitch *int64 `json:"VirtualPatchSwitch,omitempty" name:"VirtualPatchSwitch"`

	// Whether it has been enabled before
	HistoryOpen *int64 `json:"HistoryOpen,omitempty" name:"HistoryOpen"`

	// Status code. `0`: Succeeded. Others: Failed
	ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"`

	// Status message. `success` and `fail.
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEnterpriseSecurityGroupRuleRequest

type DescribeEnterpriseSecurityGroupRuleRequest struct {
	*tchttp.BaseRequest

	// Page number of the current page displayed for query by page number.
	//
	// 1 by default.
	PageNo *string `json:"PageNo,omitempty" name:"PageNo"`

	// Maximum number of entries per page displayed for query by page number.
	//
	// Maximum value: 50.
	PageSize *string `json:"PageSize,omitempty" name:"PageSize"`

	// Source example:
	// net: IP/CIDR (192.168.0.2)
	// template: parameter template (ipm-dyodhpby)
	// instance: asset instance (ins-123456)
	// resourcegroup: asset group (/all groups/group 1/subgroup 1)
	// tag: resource tag ({"Key":"tag key","Value":"tag value"})
	// region: region (ap-gaungzhou)
	// Wildcards are supported.
	SourceContent *string `json:"SourceContent,omitempty" name:"SourceContent"`

	// Destination example:
	// net: IP/CIDR (192.168.0.2)
	// template: parameter template (ipm-dyodhpby)
	// instance: asset instance (ins-123456)
	// resourcegroup: asset group (/all groups/group 1/subgroup 1)
	// tag: resource tag ({"Key":"tag key","Value":"tag value"})
	// region: region (ap-gaungzhou)
	// Wildcards are supported.
	DestContent *string `json:"DestContent,omitempty" name:"DestContent"`

	// Rule description. Wildcards are supported.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The action that Cloud Firewall performs on the traffic. Valid values:
	// accept: allow
	// drop: deny
	RuleAction *string `json:"RuleAction,omitempty" name:"RuleAction"`

	// Indicates whether to enable the rules. Default: enable. Valid values:
	// true: enable; false: disable
	Enable *string `json:"Enable,omitempty" name:"Enable"`

	// The port to apply access control rules. Valid values:
	// -1/-1: all ports
	// 80: port 80
	Port *string `json:"Port,omitempty" name:"Port"`

	// Protocol. TCP/UDP/ICMP/ANY
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Parameter template ID of port and protocol type; mutually exclusive with Protocol and Port
	ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"`
}

func NewDescribeEnterpriseSecurityGroupRuleRequest

func NewDescribeEnterpriseSecurityGroupRuleRequest() (request *DescribeEnterpriseSecurityGroupRuleRequest)

func (*DescribeEnterpriseSecurityGroupRuleRequest) FromJsonString

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

func (*DescribeEnterpriseSecurityGroupRuleRequest) ToJsonString

type DescribeEnterpriseSecurityGroupRuleRequestParams

type DescribeEnterpriseSecurityGroupRuleRequestParams struct {
	// Page number of the current page displayed for query by page number.
	//
	// 1 by default.
	PageNo *string `json:"PageNo,omitempty" name:"PageNo"`

	// Maximum number of entries per page displayed for query by page number.
	//
	// Maximum value: 50.
	PageSize *string `json:"PageSize,omitempty" name:"PageSize"`

	// Source example:
	// net: IP/CIDR (192.168.0.2)
	// template: parameter template (ipm-dyodhpby)
	// instance: asset instance (ins-123456)
	// resourcegroup: asset group (/all groups/group 1/subgroup 1)
	// tag: resource tag ({"Key":"tag key","Value":"tag value"})
	// region: region (ap-gaungzhou)
	// Wildcards are supported.
	SourceContent *string `json:"SourceContent,omitempty" name:"SourceContent"`

	// Destination example:
	// net: IP/CIDR (192.168.0.2)
	// template: parameter template (ipm-dyodhpby)
	// instance: asset instance (ins-123456)
	// resourcegroup: asset group (/all groups/group 1/subgroup 1)
	// tag: resource tag ({"Key":"tag key","Value":"tag value"})
	// region: region (ap-gaungzhou)
	// Wildcards are supported.
	DestContent *string `json:"DestContent,omitempty" name:"DestContent"`

	// Rule description. Wildcards are supported.
	Description *string `json:"Description,omitempty" name:"Description"`

	// The action that Cloud Firewall performs on the traffic. Valid values:
	// accept: allow
	// drop: deny
	RuleAction *string `json:"RuleAction,omitempty" name:"RuleAction"`

	// Indicates whether to enable the rules. Default: enable. Valid values:
	// true: enable; false: disable
	Enable *string `json:"Enable,omitempty" name:"Enable"`

	// The port to apply access control rules. Valid values:
	// -1/-1: all ports
	// 80: port 80
	Port *string `json:"Port,omitempty" name:"Port"`

	// Protocol. TCP/UDP/ICMP/ANY
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Parameter template ID of port and protocol type; mutually exclusive with Protocol and Port
	ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"`
}

Predefined struct for user

type DescribeEnterpriseSecurityGroupRuleResponse

type DescribeEnterpriseSecurityGroupRuleResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEnterpriseSecurityGroupRuleResponseParams `json:"Response"`
}

func NewDescribeEnterpriseSecurityGroupRuleResponse

func NewDescribeEnterpriseSecurityGroupRuleResponse() (response *DescribeEnterpriseSecurityGroupRuleResponse)

func (*DescribeEnterpriseSecurityGroupRuleResponse) FromJsonString

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

func (*DescribeEnterpriseSecurityGroupRuleResponse) ToJsonString

type DescribeEnterpriseSecurityGroupRuleResponseParams

type DescribeEnterpriseSecurityGroupRuleResponseParams struct {
	// Page number of the current page displayed for query by page number.
	PageNo *string `json:"PageNo,omitempty" name:"PageNo"`

	// Maximum number of entries per page displayed for query by page number.
	PageSize *string `json:"PageSize,omitempty" name:"PageSize"`

	// Access control rule list
	Rules []*SecurityGroupRule `json:"Rules,omitempty" name:"Rules"`

	// Total number of access control rules
	TotalCount *string `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeGuideScanInfoRequest

type DescribeGuideScanInfoRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeGuideScanInfoRequest

func NewDescribeGuideScanInfoRequest() (request *DescribeGuideScanInfoRequest)

func (*DescribeGuideScanInfoRequest) FromJsonString

func (r *DescribeGuideScanInfoRequest) 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 (*DescribeGuideScanInfoRequest) ToJsonString

func (r *DescribeGuideScanInfoRequest) ToJsonString() string

type DescribeGuideScanInfoRequestParams

type DescribeGuideScanInfoRequestParams struct {
}

Predefined struct for user

type DescribeGuideScanInfoResponse

type DescribeGuideScanInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeGuideScanInfoResponseParams `json:"Response"`
}

func NewDescribeGuideScanInfoResponse

func NewDescribeGuideScanInfoResponse() (response *DescribeGuideScanInfoResponse)

func (*DescribeGuideScanInfoResponse) FromJsonString

func (r *DescribeGuideScanInfoResponse) 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 (*DescribeGuideScanInfoResponse) ToJsonString

func (r *DescribeGuideScanInfoResponse) ToJsonString() string

type DescribeGuideScanInfoResponseParams

type DescribeGuideScanInfoResponseParams struct {
	// Scan information
	Data *ScanInfo `json:"Data,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIPStatusListRequest

type DescribeIPStatusListRequest struct {
	*tchttp.BaseRequest

	// Asset ID
	IPList []*string `json:"IPList,omitempty" name:"IPList"`
}

func NewDescribeIPStatusListRequest

func NewDescribeIPStatusListRequest() (request *DescribeIPStatusListRequest)

func (*DescribeIPStatusListRequest) FromJsonString

func (r *DescribeIPStatusListRequest) 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 (*DescribeIPStatusListRequest) ToJsonString

func (r *DescribeIPStatusListRequest) ToJsonString() string

type DescribeIPStatusListRequestParams

type DescribeIPStatusListRequestParams struct {
	// Asset ID
	IPList []*string `json:"IPList,omitempty" name:"IPList"`
}

Predefined struct for user

type DescribeIPStatusListResponse

type DescribeIPStatusListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIPStatusListResponseParams `json:"Response"`
}

func NewDescribeIPStatusListResponse

func NewDescribeIPStatusListResponse() (response *DescribeIPStatusListResponse)

func (*DescribeIPStatusListResponse) FromJsonString

func (r *DescribeIPStatusListResponse) 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 (*DescribeIPStatusListResponse) ToJsonString

func (r *DescribeIPStatusListResponse) ToJsonString() string

type DescribeIPStatusListResponseParams

type DescribeIPStatusListResponseParams struct {
	// IP status information
	StatusList []*IPDefendStatus `json:"StatusList,omitempty" name:"StatusList"`

	// Status code
	ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"`

	// Status information
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNatFwInfoCountRequest

type DescribeNatFwInfoCountRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeNatFwInfoCountRequest

func NewDescribeNatFwInfoCountRequest() (request *DescribeNatFwInfoCountRequest)

func (*DescribeNatFwInfoCountRequest) FromJsonString

func (r *DescribeNatFwInfoCountRequest) 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 (*DescribeNatFwInfoCountRequest) ToJsonString

func (r *DescribeNatFwInfoCountRequest) ToJsonString() string

type DescribeNatFwInfoCountRequestParams

type DescribeNatFwInfoCountRequestParams struct {
}

Predefined struct for user

type DescribeNatFwInfoCountResponse

type DescribeNatFwInfoCountResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNatFwInfoCountResponseParams `json:"Response"`
}

func NewDescribeNatFwInfoCountResponse

func NewDescribeNatFwInfoCountResponse() (response *DescribeNatFwInfoCountResponse)

func (*DescribeNatFwInfoCountResponse) FromJsonString

func (r *DescribeNatFwInfoCountResponse) 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 (*DescribeNatFwInfoCountResponse) ToJsonString

func (r *DescribeNatFwInfoCountResponse) ToJsonString() string

type DescribeNatFwInfoCountResponseParams

type DescribeNatFwInfoCountResponseParams struct {
	// Response parameter
	// Note: This field may return `null`, indicating that no valid value was found.
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// Number of NAT instances of the current tenant
	// Note: This field may return `null`, indicating that no valid value was found.
	NatFwInsCount *int64 `json:"NatFwInsCount,omitempty" name:"NatFwInsCount"`

	// Number of subnets connected by the current tenant
	// Note: This field may return `null`, indicating that no valid value was found.
	SubnetCount *int64 `json:"SubnetCount,omitempty" name:"SubnetCount"`

	// Number of firewalls enabled
	// Note: This field may return `null`, indicating that no valid value was found.
	OpenSwitchCount *int64 `json:"OpenSwitchCount,omitempty" name:"OpenSwitchCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNatFwInstanceRequest

type DescribeNatFwInstanceRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeNatFwInstanceRequest

func NewDescribeNatFwInstanceRequest() (request *DescribeNatFwInstanceRequest)

func (*DescribeNatFwInstanceRequest) FromJsonString

func (r *DescribeNatFwInstanceRequest) 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 (*DescribeNatFwInstanceRequest) ToJsonString

func (r *DescribeNatFwInstanceRequest) ToJsonString() string

type DescribeNatFwInstanceRequestParams

type DescribeNatFwInstanceRequestParams struct {
}

Predefined struct for user

type DescribeNatFwInstanceResponse

type DescribeNatFwInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNatFwInstanceResponseParams `json:"Response"`
}

func NewDescribeNatFwInstanceResponse

func NewDescribeNatFwInstanceResponse() (response *DescribeNatFwInstanceResponse)

func (*DescribeNatFwInstanceResponse) FromJsonString

func (r *DescribeNatFwInstanceResponse) 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 (*DescribeNatFwInstanceResponse) ToJsonString

func (r *DescribeNatFwInstanceResponse) ToJsonString() string

type DescribeNatFwInstanceResponseParams

type DescribeNatFwInstanceResponseParams struct {
	// Instance array
	NatinsLst []*NatFwInstance `json:"NatinsLst,omitempty" name:"NatinsLst"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNatFwInstanceWithRegionRequest

type DescribeNatFwInstanceWithRegionRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeNatFwInstanceWithRegionRequest

func NewDescribeNatFwInstanceWithRegionRequest() (request *DescribeNatFwInstanceWithRegionRequest)

func (*DescribeNatFwInstanceWithRegionRequest) FromJsonString

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

func (*DescribeNatFwInstanceWithRegionRequest) ToJsonString

type DescribeNatFwInstanceWithRegionRequestParams

type DescribeNatFwInstanceWithRegionRequestParams struct {
}

Predefined struct for user

type DescribeNatFwInstanceWithRegionResponse

type DescribeNatFwInstanceWithRegionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNatFwInstanceWithRegionResponseParams `json:"Response"`
}

func NewDescribeNatFwInstanceWithRegionResponse

func NewDescribeNatFwInstanceWithRegionResponse() (response *DescribeNatFwInstanceWithRegionResponse)

func (*DescribeNatFwInstanceWithRegionResponse) FromJsonString

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

func (*DescribeNatFwInstanceWithRegionResponse) ToJsonString

type DescribeNatFwInstanceWithRegionResponseParams

type DescribeNatFwInstanceWithRegionResponseParams struct {
	// Instance array
	// Note: This field may return `null`, indicating that no valid value was found.
	NatinsLst []*NatFwInstance `json:"NatinsLst,omitempty" name:"NatinsLst"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNatFwInstancesInfoRequest

type DescribeNatFwInstancesInfoRequest struct {
	*tchttp.BaseRequest

	// Gets filtering fields of instance list
	Filter []*NatFwFilter `json:"Filter,omitempty" name:"Filter"`

	// Page number
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Page length
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeNatFwInstancesInfoRequest

func NewDescribeNatFwInstancesInfoRequest() (request *DescribeNatFwInstancesInfoRequest)

func (*DescribeNatFwInstancesInfoRequest) FromJsonString

func (r *DescribeNatFwInstancesInfoRequest) 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 (*DescribeNatFwInstancesInfoRequest) ToJsonString

func (r *DescribeNatFwInstancesInfoRequest) ToJsonString() string

type DescribeNatFwInstancesInfoRequestParams

type DescribeNatFwInstancesInfoRequestParams struct {
	// Gets filtering fields of instance list
	Filter []*NatFwFilter `json:"Filter,omitempty" name:"Filter"`

	// Page number
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Page length
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeNatFwInstancesInfoResponse

type DescribeNatFwInstancesInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNatFwInstancesInfoResponseParams `json:"Response"`
}

func NewDescribeNatFwInstancesInfoResponse

func NewDescribeNatFwInstancesInfoResponse() (response *DescribeNatFwInstancesInfoResponse)

func (*DescribeNatFwInstancesInfoResponse) FromJsonString

func (r *DescribeNatFwInstancesInfoResponse) 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 (*DescribeNatFwInstancesInfoResponse) ToJsonString

func (r *DescribeNatFwInstancesInfoResponse) ToJsonString() string

type DescribeNatFwInstancesInfoResponseParams

type DescribeNatFwInstancesInfoResponseParams struct {
	// Instance card info array
	// Note: This field may return `null`, indicating that no valid value was found.
	NatinsLst []*NatInstanceInfo `json:"NatinsLst,omitempty" name:"NatinsLst"`

	// Number of NAT firewalls
	// Note: This field may return `null`, indicating that no valid value was found.
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNatFwVpcDnsLstRequest

type DescribeNatFwVpcDnsLstRequest struct {
	*tchttp.BaseRequest

	// NAT firewall instance ID
	NatFwInsId *string `json:"NatFwInsId,omitempty" name:"NatFwInsId"`

	// Content filtered by NAT firewall, separated with ","
	NatInsIdFilter *string `json:"NatInsIdFilter,omitempty" name:"NatInsIdFilter"`

	// Number of pages
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum entries per page
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeNatFwVpcDnsLstRequest

func NewDescribeNatFwVpcDnsLstRequest() (request *DescribeNatFwVpcDnsLstRequest)

func (*DescribeNatFwVpcDnsLstRequest) FromJsonString

func (r *DescribeNatFwVpcDnsLstRequest) 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 (*DescribeNatFwVpcDnsLstRequest) ToJsonString

func (r *DescribeNatFwVpcDnsLstRequest) ToJsonString() string

type DescribeNatFwVpcDnsLstRequestParams

type DescribeNatFwVpcDnsLstRequestParams struct {
	// NAT firewall instance ID
	NatFwInsId *string `json:"NatFwInsId,omitempty" name:"NatFwInsId"`

	// Content filtered by NAT firewall, separated with ","
	NatInsIdFilter *string `json:"NatInsIdFilter,omitempty" name:"NatInsIdFilter"`

	// Number of pages
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum entries per page
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeNatFwVpcDnsLstResponse

type DescribeNatFwVpcDnsLstResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNatFwVpcDnsLstResponseParams `json:"Response"`
}

func NewDescribeNatFwVpcDnsLstResponse

func NewDescribeNatFwVpcDnsLstResponse() (response *DescribeNatFwVpcDnsLstResponse)

func (*DescribeNatFwVpcDnsLstResponse) FromJsonString

func (r *DescribeNatFwVpcDnsLstResponse) 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 (*DescribeNatFwVpcDnsLstResponse) ToJsonString

func (r *DescribeNatFwVpcDnsLstResponse) ToJsonString() string

type DescribeNatFwVpcDnsLstResponseParams

type DescribeNatFwVpcDnsLstResponseParams struct {
	// VPC DNS info array of NAT firewall
	// Note: This field may return `null`, indicating that no valid value was found.
	VpcDnsSwitchLst []*VpcDnsInfo `json:"VpcDnsSwitchLst,omitempty" name:"VpcDnsSwitchLst"`

	// Response parameter
	// Note: This field may return `null`, indicating that no valid value was found.
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// Total number of toggles
	// Note: This field may return `null`, indicating that no valid value was found.
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeResourceGroupNewRequest

type DescribeResourceGroupNewRequest struct {
	*tchttp.BaseRequest

	// Query type. Network–VPC; business recognition–resource; resource tag–tag
	QueryType *string `json:"QueryType,omitempty" name:"QueryType"`

	// Asset group ID, 0: all asset group IDs
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// all: all, including subgroups; own: my asset groups only
	ShowType *string `json:"ShowType,omitempty" name:"ShowType"`
}

func NewDescribeResourceGroupNewRequest

func NewDescribeResourceGroupNewRequest() (request *DescribeResourceGroupNewRequest)

func (*DescribeResourceGroupNewRequest) FromJsonString

func (r *DescribeResourceGroupNewRequest) 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 (*DescribeResourceGroupNewRequest) ToJsonString

func (r *DescribeResourceGroupNewRequest) ToJsonString() string

type DescribeResourceGroupNewRequestParams

type DescribeResourceGroupNewRequestParams struct {
	// Query type. Network–VPC; business recognition–resource; resource tag–tag
	QueryType *string `json:"QueryType,omitempty" name:"QueryType"`

	// Asset group ID, 0: all asset group IDs
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// all: all, including subgroups; own: my asset groups only
	ShowType *string `json:"ShowType,omitempty" name:"ShowType"`
}

Predefined struct for user

type DescribeResourceGroupNewResponse

type DescribeResourceGroupNewResponse struct {
	*tchttp.BaseResponse
	Response *DescribeResourceGroupNewResponseParams `json:"Response"`
}

func NewDescribeResourceGroupNewResponse

func NewDescribeResourceGroupNewResponse() (response *DescribeResourceGroupNewResponse)

func (*DescribeResourceGroupNewResponse) FromJsonString

func (r *DescribeResourceGroupNewResponse) 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 (*DescribeResourceGroupNewResponse) ToJsonString

func (r *DescribeResourceGroupNewResponse) ToJsonString() string

type DescribeResourceGroupNewResponseParams

type DescribeResourceGroupNewResponseParams struct {
	// Returns a tree structure
	Data *string `json:"Data,omitempty" name:"Data"`

	// Number of uncategorizd instances
	UnResourceNum *int64 `json:"UnResourceNum,omitempty" name:"UnResourceNum"`

	// Response message
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// Return code. 0: Request successful
	ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRuleOverviewRequest

type DescribeRuleOverviewRequest struct {
	*tchttp.BaseRequest

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`
}

func NewDescribeRuleOverviewRequest

func NewDescribeRuleOverviewRequest() (request *DescribeRuleOverviewRequest)

func (*DescribeRuleOverviewRequest) FromJsonString

func (r *DescribeRuleOverviewRequest) 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 (*DescribeRuleOverviewRequest) ToJsonString

func (r *DescribeRuleOverviewRequest) ToJsonString() string

type DescribeRuleOverviewRequestParams

type DescribeRuleOverviewRequestParams struct {
	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`
}

Predefined struct for user

type DescribeRuleOverviewResponse

type DescribeRuleOverviewResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRuleOverviewResponseParams `json:"Response"`
}

func NewDescribeRuleOverviewResponse

func NewDescribeRuleOverviewResponse() (response *DescribeRuleOverviewResponse)

func (*DescribeRuleOverviewResponse) FromJsonString

func (r *DescribeRuleOverviewResponse) 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 (*DescribeRuleOverviewResponse) ToJsonString

func (r *DescribeRuleOverviewResponse) ToJsonString() string

type DescribeRuleOverviewResponseParams

type DescribeRuleOverviewResponseParams struct {
	// Total number of rules
	// Note: This field may return `null`, indicating that no valid value was found.
	AllTotal *uint64 `json:"AllTotal,omitempty" name:"AllTotal"`

	// Number of blocking rules
	// Note: This field may return `null`, indicating that no valid value was found.
	StrategyNum *uint64 `json:"StrategyNum,omitempty" name:"StrategyNum"`

	// Number of enabled rules
	// Note: This field may return `null`, indicating that no valid value was found.
	StartRuleNum *uint64 `json:"StartRuleNum,omitempty" name:"StartRuleNum"`

	// Number of disabled rules
	// Note: This field may return `null`, indicating that no valid value was found.
	StopRuleNum *uint64 `json:"StopRuleNum,omitempty" name:"StopRuleNum"`

	// Remaining quota
	// Note: This field may return `null`, indicating that no valid value was found.
	RemainingNum *int64 `json:"RemainingNum,omitempty" name:"RemainingNum"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSecurityGroupListRequest

type DescribeSecurityGroupListRequest struct {
	*tchttp.BaseRequest

	// 0: outbound rule; 1: inbound rule
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Region code (e.g. ap-guangzhou ). All Tencent Cloud regions are supported.
	Area *string `json:"Area,omitempty" name:"Area"`

	// Search value
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`

	// Number of entries per page. Default: 10
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default: 0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Status. Null: all; '0': filter disabled rules; '1': filter enabled rules
	Status *string `json:"Status,omitempty" name:"Status"`

	// 0: not filter; 1: filter out normal rules to retain abnormal rules
	Filter *uint64 `json:"Filter,omitempty" name:"Filter"`
}

func NewDescribeSecurityGroupListRequest

func NewDescribeSecurityGroupListRequest() (request *DescribeSecurityGroupListRequest)

func (*DescribeSecurityGroupListRequest) FromJsonString

func (r *DescribeSecurityGroupListRequest) 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 (*DescribeSecurityGroupListRequest) ToJsonString

func (r *DescribeSecurityGroupListRequest) ToJsonString() string

type DescribeSecurityGroupListRequestParams

type DescribeSecurityGroupListRequestParams struct {
	// 0: outbound rule; 1: inbound rule
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Region code (e.g. ap-guangzhou ). All Tencent Cloud regions are supported.
	Area *string `json:"Area,omitempty" name:"Area"`

	// Search value
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`

	// Number of entries per page. Default: 10
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default: 0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Status. Null: all; '0': filter disabled rules; '1': filter enabled rules
	Status *string `json:"Status,omitempty" name:"Status"`

	// 0: not filter; 1: filter out normal rules to retain abnormal rules
	Filter *uint64 `json:"Filter,omitempty" name:"Filter"`
}

Predefined struct for user

type DescribeSecurityGroupListResponse

type DescribeSecurityGroupListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSecurityGroupListResponseParams `json:"Response"`
}

func NewDescribeSecurityGroupListResponse

func NewDescribeSecurityGroupListResponse() (response *DescribeSecurityGroupListResponse)

func (*DescribeSecurityGroupListResponse) FromJsonString

func (r *DescribeSecurityGroupListResponse) 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 (*DescribeSecurityGroupListResponse) ToJsonString

func (r *DescribeSecurityGroupListResponse) ToJsonString() string

type DescribeSecurityGroupListResponseParams

type DescribeSecurityGroupListResponseParams struct {
	// Total rules in the list
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// Security group rule list data
	Data []*SecurityGroupListData `json:"Data,omitempty" name:"Data"`

	// Total entries excluding the filtered ones
	AllTotal *uint64 `json:"AllTotal,omitempty" name:"AllTotal"`

	// All access control rules enabled/disabled
	// Note: This field may return `null`, indicating that no valid value was found.
	Enable *uint64 `json:"Enable,omitempty" name:"Enable"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSourceAssetRequest

type DescribeSourceAssetRequest struct {
	*tchttp.BaseRequest

	// Fuzzy search
	FuzzySearch *string `json:"FuzzySearch,omitempty" name:"FuzzySearch"`

	// Asset type. 1: public network; 2: private network
	InsType *string `json:"InsType,omitempty" name:"InsType"`

	// If ChooseType is 1, grouped assets are queried; if ChooseType is not 1, non-grouped assets are queried
	ChooseType *string `json:"ChooseType,omitempty" name:"ChooseType"`

	// Region
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Maximum number of results returned per page. For example, if it is set to 10, 10 results will be returned at most.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Offset of search results
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

func NewDescribeSourceAssetRequest

func NewDescribeSourceAssetRequest() (request *DescribeSourceAssetRequest)

func (*DescribeSourceAssetRequest) FromJsonString

func (r *DescribeSourceAssetRequest) 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 (*DescribeSourceAssetRequest) ToJsonString

func (r *DescribeSourceAssetRequest) ToJsonString() string

type DescribeSourceAssetRequestParams

type DescribeSourceAssetRequestParams struct {
	// Fuzzy search
	FuzzySearch *string `json:"FuzzySearch,omitempty" name:"FuzzySearch"`

	// Asset type. 1: public network; 2: private network
	InsType *string `json:"InsType,omitempty" name:"InsType"`

	// If ChooseType is 1, grouped assets are queried; if ChooseType is not 1, non-grouped assets are queried
	ChooseType *string `json:"ChooseType,omitempty" name:"ChooseType"`

	// Region
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Maximum number of results returned per page. For example, if it is set to 10, 10 results will be returned at most.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Offset of search results
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeSourceAssetResponse

type DescribeSourceAssetResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSourceAssetResponseParams `json:"Response"`
}

func NewDescribeSourceAssetResponse

func NewDescribeSourceAssetResponse() (response *DescribeSourceAssetResponse)

func (*DescribeSourceAssetResponse) FromJsonString

func (r *DescribeSourceAssetResponse) 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 (*DescribeSourceAssetResponse) ToJsonString

func (r *DescribeSourceAssetResponse) ToJsonString() string

type DescribeSourceAssetResponseParams

type DescribeSourceAssetResponseParams struct {
	// Region collection
	ZoneList []*AssetZone `json:"ZoneList,omitempty" name:"ZoneList"`

	// Data
	Data []*InstanceInfo `json:"Data,omitempty" name:"Data"`

	// Total number of returned data
	Total *int64 `json:"Total,omitempty" name:"Total"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSwitchListsRequest

type DescribeSwitchListsRequest struct {
	*tchttp.BaseRequest

	// Firewall status. 0: disabled; 1: enabled
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// Asset type, e.g. CVM/NAT/VPN/CLB/others
	Type *string `json:"Type,omitempty" name:"Type"`

	// Region, e.g. Shanghai, Chongqing, Guangzhou, etc.
	Area *string `json:"Area,omitempty" name:"Area"`

	// Search value, e.g. "{"common":"106.54.189.45"}"
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`

	// Number of entries. Default: 10
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default: 0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Sort order. desc: descending; asc: ascending
	Order *string `json:"Order,omitempty" name:"Order"`

	// Sorting field. PortTimes (number of risky ports)
	By *string `json:"By,omitempty" name:"By"`
}

func NewDescribeSwitchListsRequest

func NewDescribeSwitchListsRequest() (request *DescribeSwitchListsRequest)

func (*DescribeSwitchListsRequest) FromJsonString

func (r *DescribeSwitchListsRequest) 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 (*DescribeSwitchListsRequest) ToJsonString

func (r *DescribeSwitchListsRequest) ToJsonString() string

type DescribeSwitchListsRequestParams

type DescribeSwitchListsRequestParams struct {
	// Firewall status. 0: disabled; 1: enabled
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// Asset type, e.g. CVM/NAT/VPN/CLB/others
	Type *string `json:"Type,omitempty" name:"Type"`

	// Region, e.g. Shanghai, Chongqing, Guangzhou, etc.
	Area *string `json:"Area,omitempty" name:"Area"`

	// Search value, e.g. "{"common":"106.54.189.45"}"
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`

	// Number of entries. Default: 10
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Offset. Default: 0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Sort order. desc: descending; asc: ascending
	Order *string `json:"Order,omitempty" name:"Order"`

	// Sorting field. PortTimes (number of risky ports)
	By *string `json:"By,omitempty" name:"By"`
}

Predefined struct for user

type DescribeSwitchListsResponse

type DescribeSwitchListsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSwitchListsResponseParams `json:"Response"`
}

func NewDescribeSwitchListsResponse

func NewDescribeSwitchListsResponse() (response *DescribeSwitchListsResponse)

func (*DescribeSwitchListsResponse) FromJsonString

func (r *DescribeSwitchListsResponse) 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 (*DescribeSwitchListsResponse) ToJsonString

func (r *DescribeSwitchListsResponse) ToJsonString() string

type DescribeSwitchListsResponseParams

type DescribeSwitchListsResponseParams struct {
	// Total entries
	Total *uint64 `json:"Total,omitempty" name:"Total"`

	// List data
	Data []*SwitchListsData `json:"Data,omitempty" name:"Data"`

	// Region list
	AreaLists []*string `json:"AreaLists,omitempty" name:"AreaLists"`

	// Number of enabled firewalls
	// Note: This field may return `null`, indicating that no valid value was found.
	OnNum *uint64 `json:"OnNum,omitempty" name:"OnNum"`

	// Number of disabled firewalls
	// Note: This field may return `null`, indicating that no valid value was found.
	OffNum *uint64 `json:"OffNum,omitempty" name:"OffNum"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTLogInfoRequest

type DescribeTLogInfoRequest struct {
	*tchttp.BaseRequest

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Type. 1: alert; 2: block
	QueryType *string `json:"QueryType,omitempty" name:"QueryType"`

	// Search criteria
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`
}

func NewDescribeTLogInfoRequest

func NewDescribeTLogInfoRequest() (request *DescribeTLogInfoRequest)

func (*DescribeTLogInfoRequest) FromJsonString

func (r *DescribeTLogInfoRequest) 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 (*DescribeTLogInfoRequest) ToJsonString

func (r *DescribeTLogInfoRequest) ToJsonString() string

type DescribeTLogInfoRequestParams

type DescribeTLogInfoRequestParams struct {
	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Type. 1: alert; 2: block
	QueryType *string `json:"QueryType,omitempty" name:"QueryType"`

	// Search criteria
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`
}

Predefined struct for user

type DescribeTLogInfoResponse

type DescribeTLogInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTLogInfoResponseParams `json:"Response"`
}

func NewDescribeTLogInfoResponse

func NewDescribeTLogInfoResponse() (response *DescribeTLogInfoResponse)

func (*DescribeTLogInfoResponse) FromJsonString

func (r *DescribeTLogInfoResponse) 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 (*DescribeTLogInfoResponse) ToJsonString

func (r *DescribeTLogInfoResponse) ToJsonString() string

type DescribeTLogInfoResponseParams

type DescribeTLogInfoResponseParams struct {
	// None
	Data *TLogInfo `json:"Data,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTLogIpListRequest

type DescribeTLogIpListRequest struct {
	*tchttp.BaseRequest

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Type. 1: alert; 2: block
	QueryType *string `json:"QueryType,omitempty" name:"QueryType"`

	// Number of top results returned
	Top *int64 `json:"Top,omitempty" name:"Top"`

	// Search criteria
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`
}

func NewDescribeTLogIpListRequest

func NewDescribeTLogIpListRequest() (request *DescribeTLogIpListRequest)

func (*DescribeTLogIpListRequest) FromJsonString

func (r *DescribeTLogIpListRequest) 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 (*DescribeTLogIpListRequest) ToJsonString

func (r *DescribeTLogIpListRequest) ToJsonString() string

type DescribeTLogIpListRequestParams

type DescribeTLogIpListRequestParams struct {
	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Type. 1: alert; 2: block
	QueryType *string `json:"QueryType,omitempty" name:"QueryType"`

	// Number of top results returned
	Top *int64 `json:"Top,omitempty" name:"Top"`

	// Search criteria
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`
}

Predefined struct for user

type DescribeTLogIpListResponse

type DescribeTLogIpListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTLogIpListResponseParams `json:"Response"`
}

func NewDescribeTLogIpListResponse

func NewDescribeTLogIpListResponse() (response *DescribeTLogIpListResponse)

func (*DescribeTLogIpListResponse) FromJsonString

func (r *DescribeTLogIpListResponse) 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 (*DescribeTLogIpListResponse) ToJsonString

func (r *DescribeTLogIpListResponse) ToJsonString() string

type DescribeTLogIpListResponseParams

type DescribeTLogIpListResponseParams struct {
	// Data collection
	Data []*StaticInfo `json:"Data,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTableStatusRequest

type DescribeTableStatusRequest struct {
	*tchttp.BaseRequest

	// Edge ID between two VPCs, required for VPCs
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Status value. 0: the only default value
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// NAT region, required for NAT
	Area *string `json:"Area,omitempty" name:"Area"`

	// Direction. 0: outbound; 1: inbound. 0 by default
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`
}

func NewDescribeTableStatusRequest

func NewDescribeTableStatusRequest() (request *DescribeTableStatusRequest)

func (*DescribeTableStatusRequest) FromJsonString

func (r *DescribeTableStatusRequest) 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 (*DescribeTableStatusRequest) ToJsonString

func (r *DescribeTableStatusRequest) ToJsonString() string

type DescribeTableStatusRequestParams

type DescribeTableStatusRequestParams struct {
	// Edge ID between two VPCs, required for VPCs
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Status value. 0: the only default value
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// NAT region, required for NAT
	Area *string `json:"Area,omitempty" name:"Area"`

	// Direction. 0: outbound; 1: inbound. 0 by default
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`
}

Predefined struct for user

type DescribeTableStatusResponse

type DescribeTableStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTableStatusResponseParams `json:"Response"`
}

func NewDescribeTableStatusResponse

func NewDescribeTableStatusResponse() (response *DescribeTableStatusResponse)

func (*DescribeTableStatusResponse) FromJsonString

func (r *DescribeTableStatusResponse) 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 (*DescribeTableStatusResponse) ToJsonString

func (r *DescribeTableStatusResponse) ToJsonString() string

type DescribeTableStatusResponseParams

type DescribeTableStatusResponseParams struct {
	// 0: normal; non-0: abnormal
	// Note: This field may return `null`, indicating that no valid value was found.
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUnHandleEventTabListRequest

type DescribeUnHandleEventTabListRequest struct {
	*tchttp.BaseRequest

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Gets example ID
	AssetID *string `json:"AssetID,omitempty" name:"AssetID"`
}

func NewDescribeUnHandleEventTabListRequest

func NewDescribeUnHandleEventTabListRequest() (request *DescribeUnHandleEventTabListRequest)

func (*DescribeUnHandleEventTabListRequest) FromJsonString

func (r *DescribeUnHandleEventTabListRequest) 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 (*DescribeUnHandleEventTabListRequest) ToJsonString

func (r *DescribeUnHandleEventTabListRequest) ToJsonString() string

type DescribeUnHandleEventTabListRequestParams

type DescribeUnHandleEventTabListRequestParams struct {
	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Gets example ID
	AssetID *string `json:"AssetID,omitempty" name:"AssetID"`
}

Predefined struct for user

type DescribeUnHandleEventTabListResponse

type DescribeUnHandleEventTabListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUnHandleEventTabListResponseParams `json:"Response"`
}

func NewDescribeUnHandleEventTabListResponse

func NewDescribeUnHandleEventTabListResponse() (response *DescribeUnHandleEventTabListResponse)

func (*DescribeUnHandleEventTabListResponse) FromJsonString

func (r *DescribeUnHandleEventTabListResponse) 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 (*DescribeUnHandleEventTabListResponse) ToJsonString

func (r *DescribeUnHandleEventTabListResponse) ToJsonString() string

type DescribeUnHandleEventTabListResponseParams

type DescribeUnHandleEventTabListResponseParams struct {
	// Gets unhandled security events
	// Note: This field may return `null`, indicating that no valid value was found.
	Data *UnHandleEvent `json:"Data,omitempty" name:"Data"`

	// Error code. 0: success; non-0: error
	ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"`

	// Return message: success
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DnsVpcSwitch

type DnsVpcSwitch struct {
	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// 0: off; 1: on
	Status *int64 `json:"Status,omitempty" name:"Status"`
}

type ExpandCfwVerticalRequest

type ExpandCfwVerticalRequest struct {
	*tchttp.BaseRequest

	// nat: NAT firewall, ew: east-west firewall
	FwType *string `json:"FwType,omitempty" name:"FwType"`

	// Bandwidth value
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Firewall instance ID
	CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"`
}

func NewExpandCfwVerticalRequest

func NewExpandCfwVerticalRequest() (request *ExpandCfwVerticalRequest)

func (*ExpandCfwVerticalRequest) FromJsonString

func (r *ExpandCfwVerticalRequest) 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 (*ExpandCfwVerticalRequest) ToJsonString

func (r *ExpandCfwVerticalRequest) ToJsonString() string

type ExpandCfwVerticalRequestParams

type ExpandCfwVerticalRequestParams struct {
	// nat: NAT firewall, ew: east-west firewall
	FwType *string `json:"FwType,omitempty" name:"FwType"`

	// Bandwidth value
	Width *uint64 `json:"Width,omitempty" name:"Width"`

	// Firewall instance ID
	CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"`
}

Predefined struct for user

type ExpandCfwVerticalResponse

type ExpandCfwVerticalResponse struct {
	*tchttp.BaseResponse
	Response *ExpandCfwVerticalResponseParams `json:"Response"`
}

func NewExpandCfwVerticalResponse

func NewExpandCfwVerticalResponse() (response *ExpandCfwVerticalResponse)

func (*ExpandCfwVerticalResponse) FromJsonString

func (r *ExpandCfwVerticalResponse) 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 (*ExpandCfwVerticalResponse) ToJsonString

func (r *ExpandCfwVerticalResponse) ToJsonString() string

type ExpandCfwVerticalResponseParams

type ExpandCfwVerticalResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type IPDefendStatus

type IPDefendStatus struct {
	// IP address
	IP *string `json:"IP,omitempty" name:"IP"`

	// Protection status. 1: enabled; -1: incorrect address; others: disabled
	Status *int64 `json:"Status,omitempty" name:"Status"`
}

type InstanceInfo

type InstanceInfo struct {
	// App ID
	AppId *string `json:"AppId,omitempty" name:"AppId"`

	// Region
	Region *string `json:"Region,omitempty" name:"Region"`

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPC name
	VPCName *string `json:"VPCName,omitempty" name:"VPCName"`

	// Subnet ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Asset ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Asset name
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// Asset type
	//  3: CVM instance; 4: CLB instance; 5: ENI instance; 6: MySQL; 7: Redis; 8: NAT; 9: VPN; 10: ES; 11: MariaDB; 12: Kafka; 13: NATFW
	InsType *int64 `json:"InsType,omitempty" name:"InsType"`

	// Public IP
	PublicIp *string `json:"PublicIp,omitempty" name:"PublicIp"`

	// Private IP
	PrivateIp *string `json:"PrivateIp,omitempty" name:"PrivateIp"`

	// Number of ports
	PortNum *string `json:"PortNum,omitempty" name:"PortNum"`

	// Number of vulnerabilities
	LeakNum *string `json:"LeakNum,omitempty" name:"LeakNum"`

	// 1: public network; 2: private network
	InsSource *string `json:"InsSource,omitempty" name:"InsSource"`

	// [a,b]
	// Note: This field may return `null`, indicating that no valid value was found.
	ResourcePath []*string `json:"ResourcePath,omitempty" name:"ResourcePath"`
}

type IocListData

type IocListData struct {
	// IP address to be handled. Either IP or Domain is required.
	IP *string `json:"IP,omitempty" name:"IP"`

	// 0 or 1. 0: outbound; 1: inbound
	Direction *int64 `json:"Direction,omitempty" name:"Direction"`

	// Domain name to be handled. Either IP or Domain is required.
	Domain *string `json:"Domain,omitempty" name:"Domain"`
}

type IpStatic

type IpStatic struct {
	// Value
	Num *int64 `json:"Num,omitempty" name:"Num"`

	// Time shown on the x-axis of the line graph
	StatTime *string `json:"StatTime,omitempty" name:"StatTime"`
}

type ModifyAcRuleRequest

type ModifyAcRuleRequest struct {
	*tchttp.BaseRequest

	// Array of rules
	Data []*RuleInfoData `json:"Data,omitempty" name:"Data"`

	// EdgeId value
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Access rule status
	Enable *int64 `json:"Enable,omitempty" name:"Enable"`

	// NAT region
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewModifyAcRuleRequest

func NewModifyAcRuleRequest() (request *ModifyAcRuleRequest)

func (*ModifyAcRuleRequest) FromJsonString

func (r *ModifyAcRuleRequest) 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 (*ModifyAcRuleRequest) ToJsonString

func (r *ModifyAcRuleRequest) ToJsonString() string

type ModifyAcRuleRequestParams

type ModifyAcRuleRequestParams struct {
	// Array of rules
	Data []*RuleInfoData `json:"Data,omitempty" name:"Data"`

	// EdgeId value
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Access rule status
	Enable *int64 `json:"Enable,omitempty" name:"Enable"`

	// NAT region
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type ModifyAcRuleResponse

type ModifyAcRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAcRuleResponseParams `json:"Response"`
}

func NewModifyAcRuleResponse

func NewModifyAcRuleResponse() (response *ModifyAcRuleResponse)

func (*ModifyAcRuleResponse) FromJsonString

func (r *ModifyAcRuleResponse) 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 (*ModifyAcRuleResponse) ToJsonString

func (r *ModifyAcRuleResponse) ToJsonString() string

type ModifyAcRuleResponseParams

type ModifyAcRuleResponseParams struct {
	// Status value. 0: operation successful; non-0: operation failed
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// Returns redundant information
	// Note: This field may return `null`, indicating that no valid value was found.
	Info *string `json:"Info,omitempty" name:"Info"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAllPublicIPSwitchStatusRequest

type ModifyAllPublicIPSwitchStatusRequest struct {
	*tchttp.BaseRequest

	// Status. 0: off; 1: on
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// ID of the selected firewall toggle
	FireWallPublicIPs []*string `json:"FireWallPublicIPs,omitempty" name:"FireWallPublicIPs"`
}

func NewModifyAllPublicIPSwitchStatusRequest

func NewModifyAllPublicIPSwitchStatusRequest() (request *ModifyAllPublicIPSwitchStatusRequest)

func (*ModifyAllPublicIPSwitchStatusRequest) FromJsonString

func (r *ModifyAllPublicIPSwitchStatusRequest) 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 (*ModifyAllPublicIPSwitchStatusRequest) ToJsonString

func (r *ModifyAllPublicIPSwitchStatusRequest) ToJsonString() string

type ModifyAllPublicIPSwitchStatusRequestParams

type ModifyAllPublicIPSwitchStatusRequestParams struct {
	// Status. 0: off; 1: on
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// ID of the selected firewall toggle
	FireWallPublicIPs []*string `json:"FireWallPublicIPs,omitempty" name:"FireWallPublicIPs"`
}

Predefined struct for user

type ModifyAllPublicIPSwitchStatusResponse

type ModifyAllPublicIPSwitchStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAllPublicIPSwitchStatusResponseParams `json:"Response"`
}

func NewModifyAllPublicIPSwitchStatusResponse

func NewModifyAllPublicIPSwitchStatusResponse() (response *ModifyAllPublicIPSwitchStatusResponse)

func (*ModifyAllPublicIPSwitchStatusResponse) FromJsonString

func (r *ModifyAllPublicIPSwitchStatusResponse) 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 (*ModifyAllPublicIPSwitchStatusResponse) ToJsonString

type ModifyAllPublicIPSwitchStatusResponseParams

type ModifyAllPublicIPSwitchStatusResponseParams struct {
	// Return message
	// Note: This field may return `null`, indicating that no valid value was found.
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// Error code. 0: success; non-0: failed
	// Note: This field may return `null`, indicating that no valid value was found.
	ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAllRuleStatusRequest

type ModifyAllRuleStatusRequest struct {
	*tchttp.BaseRequest

	// Status. 0: all disabled; 1: all enabled
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Edge ID value
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// NAT region
	Area *string `json:"Area,omitempty" name:"Area"`
}

func NewModifyAllRuleStatusRequest

func NewModifyAllRuleStatusRequest() (request *ModifyAllRuleStatusRequest)

func (*ModifyAllRuleStatusRequest) FromJsonString

func (r *ModifyAllRuleStatusRequest) 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 (*ModifyAllRuleStatusRequest) ToJsonString

func (r *ModifyAllRuleStatusRequest) ToJsonString() string

type ModifyAllRuleStatusRequestParams

type ModifyAllRuleStatusRequestParams struct {
	// Status. 0: all disabled; 1: all enabled
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Edge ID value
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// NAT region
	Area *string `json:"Area,omitempty" name:"Area"`
}

Predefined struct for user

type ModifyAllRuleStatusResponse

type ModifyAllRuleStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAllRuleStatusResponseParams `json:"Response"`
}

func NewModifyAllRuleStatusResponse

func NewModifyAllRuleStatusResponse() (response *ModifyAllRuleStatusResponse)

func (*ModifyAllRuleStatusResponse) FromJsonString

func (r *ModifyAllRuleStatusResponse) 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 (*ModifyAllRuleStatusResponse) ToJsonString

func (r *ModifyAllRuleStatusResponse) ToJsonString() string

type ModifyAllRuleStatusResponseParams

type ModifyAllRuleStatusResponseParams struct {
	// 0: modified successfully; non-0: modification failed
	// Note: This field may return `null`, indicating that no valid value was found.
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAllVPCSwitchStatusRequest

type ModifyAllVPCSwitchStatusRequest struct {
	*tchttp.BaseRequest

	// Status. 0: off; 1: on
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// ID of the selected firewall toggle
	FireWallVpcIds []*string `json:"FireWallVpcIds,omitempty" name:"FireWallVpcIds"`
}

func NewModifyAllVPCSwitchStatusRequest

func NewModifyAllVPCSwitchStatusRequest() (request *ModifyAllVPCSwitchStatusRequest)

func (*ModifyAllVPCSwitchStatusRequest) FromJsonString

func (r *ModifyAllVPCSwitchStatusRequest) 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 (*ModifyAllVPCSwitchStatusRequest) ToJsonString

func (r *ModifyAllVPCSwitchStatusRequest) ToJsonString() string

type ModifyAllVPCSwitchStatusRequestParams

type ModifyAllVPCSwitchStatusRequestParams struct {
	// Status. 0: off; 1: on
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// ID of the selected firewall toggle
	FireWallVpcIds []*string `json:"FireWallVpcIds,omitempty" name:"FireWallVpcIds"`
}

Predefined struct for user

type ModifyAllVPCSwitchStatusResponse

type ModifyAllVPCSwitchStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAllVPCSwitchStatusResponseParams `json:"Response"`
}

func NewModifyAllVPCSwitchStatusResponse

func NewModifyAllVPCSwitchStatusResponse() (response *ModifyAllVPCSwitchStatusResponse)

func (*ModifyAllVPCSwitchStatusResponse) FromJsonString

func (r *ModifyAllVPCSwitchStatusResponse) 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 (*ModifyAllVPCSwitchStatusResponse) ToJsonString

func (r *ModifyAllVPCSwitchStatusResponse) ToJsonString() string

type ModifyAllVPCSwitchStatusResponseParams

type ModifyAllVPCSwitchStatusResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyAssetScanRequest

type ModifyAssetScanRequest struct {
	*tchttp.BaseRequest

	// Scan range. 1: port; 2: port + vulnerability scan
	ScanRange *int64 `json:"ScanRange,omitempty" name:"ScanRange"`

	// Scan mode: 'heavy', 'medium', 'light'
	ScanDeep *string `json:"ScanDeep,omitempty" name:"ScanDeep"`

	// Scan type. 1: scan now; 2: periodic scan
	RangeType *int64 `json:"RangeType,omitempty" name:"RangeType"`

	// Scheduled task time, required when RangeType is 2
	ScanPeriod *string `json:"ScanPeriod,omitempty" name:"ScanPeriod"`

	// Scans this field now and passes the filtered IPs
	ScanFilterIp []*string `json:"ScanFilterIp,omitempty" name:"ScanFilterIp"`

	// 1: all; 2: single
	ScanType *int64 `json:"ScanType,omitempty" name:"ScanType"`
}

func NewModifyAssetScanRequest

func NewModifyAssetScanRequest() (request *ModifyAssetScanRequest)

func (*ModifyAssetScanRequest) FromJsonString

func (r *ModifyAssetScanRequest) 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 (*ModifyAssetScanRequest) ToJsonString

func (r *ModifyAssetScanRequest) ToJsonString() string

type ModifyAssetScanRequestParams

type ModifyAssetScanRequestParams struct {
	// Scan range. 1: port; 2: port + vulnerability scan
	ScanRange *int64 `json:"ScanRange,omitempty" name:"ScanRange"`

	// Scan mode: 'heavy', 'medium', 'light'
	ScanDeep *string `json:"ScanDeep,omitempty" name:"ScanDeep"`

	// Scan type. 1: scan now; 2: periodic scan
	RangeType *int64 `json:"RangeType,omitempty" name:"RangeType"`

	// Scheduled task time, required when RangeType is 2
	ScanPeriod *string `json:"ScanPeriod,omitempty" name:"ScanPeriod"`

	// Scans this field now and passes the filtered IPs
	ScanFilterIp []*string `json:"ScanFilterIp,omitempty" name:"ScanFilterIp"`

	// 1: all; 2: single
	ScanType *int64 `json:"ScanType,omitempty" name:"ScanType"`
}

Predefined struct for user

type ModifyAssetScanResponse

type ModifyAssetScanResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAssetScanResponseParams `json:"Response"`
}

func NewModifyAssetScanResponse

func NewModifyAssetScanResponse() (response *ModifyAssetScanResponse)

func (*ModifyAssetScanResponse) FromJsonString

func (r *ModifyAssetScanResponse) 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 (*ModifyAssetScanResponse) ToJsonString

func (r *ModifyAssetScanResponse) ToJsonString() string

type ModifyAssetScanResponseParams

type ModifyAssetScanResponseParams struct {
	// Return message
	// Note: This field may return `null`, indicating that no valid value was found.
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// Error code. 0: success; non-0: failed
	// Note: This field may return `null`, indicating that no valid value was found.
	ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"`

	// Status value. 0: success; 1: scanning; others: failed
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBlockIgnoreListRequest

type ModifyBlockIgnoreListRequest struct {
	*tchttp.BaseRequest

	// 1: blocklist; 2: ignore list
	RuleType *int64 `json:"RuleType,omitempty" name:"RuleType"`

	// Either IP or Domain is required
	IOC []*IocListData `json:"IOC,omitempty" name:"IOC"`

	// Optional values: delete, edit, and add
	IocAction *string `json:"IocAction,omitempty" name:"IocAction"`

	// Time format: yyyy-MM-dd HH:mm:ss. Required when IocAction is edit or add
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Time format: yyyy-MM-dd HH:mm:ss. Required when IocAction is edit or add
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

func NewModifyBlockIgnoreListRequest

func NewModifyBlockIgnoreListRequest() (request *ModifyBlockIgnoreListRequest)

func (*ModifyBlockIgnoreListRequest) FromJsonString

func (r *ModifyBlockIgnoreListRequest) 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 (*ModifyBlockIgnoreListRequest) ToJsonString

func (r *ModifyBlockIgnoreListRequest) ToJsonString() string

type ModifyBlockIgnoreListRequestParams

type ModifyBlockIgnoreListRequestParams struct {
	// 1: blocklist; 2: ignore list
	RuleType *int64 `json:"RuleType,omitempty" name:"RuleType"`

	// Either IP or Domain is required
	IOC []*IocListData `json:"IOC,omitempty" name:"IOC"`

	// Optional values: delete, edit, and add
	IocAction *string `json:"IocAction,omitempty" name:"IocAction"`

	// Time format: yyyy-MM-dd HH:mm:ss. Required when IocAction is edit or add
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Time format: yyyy-MM-dd HH:mm:ss. Required when IocAction is edit or add
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

Predefined struct for user

type ModifyBlockIgnoreListResponse

type ModifyBlockIgnoreListResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBlockIgnoreListResponseParams `json:"Response"`
}

func NewModifyBlockIgnoreListResponse

func NewModifyBlockIgnoreListResponse() (response *ModifyBlockIgnoreListResponse)

func (*ModifyBlockIgnoreListResponse) FromJsonString

func (r *ModifyBlockIgnoreListResponse) 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 (*ModifyBlockIgnoreListResponse) ToJsonString

func (r *ModifyBlockIgnoreListResponse) ToJsonString() string

type ModifyBlockIgnoreListResponseParams

type ModifyBlockIgnoreListResponseParams struct {
	// Return message
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// Error code. 0: success; non-0: failed
	ReturnCode *uint64 `json:"ReturnCode,omitempty" name:"ReturnCode"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyBlockTopRequest

type ModifyBlockTopRequest struct {
	*tchttp.BaseRequest

	// Record ID
	UniqueId *string `json:"UniqueId,omitempty" name:"UniqueId"`

	// Operation type. 1: pin to top; 0: unpin
	OpeType *string `json:"OpeType,omitempty" name:"OpeType"`
}

func NewModifyBlockTopRequest

func NewModifyBlockTopRequest() (request *ModifyBlockTopRequest)

func (*ModifyBlockTopRequest) FromJsonString

func (r *ModifyBlockTopRequest) 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 (*ModifyBlockTopRequest) ToJsonString

func (r *ModifyBlockTopRequest) ToJsonString() string

type ModifyBlockTopRequestParams

type ModifyBlockTopRequestParams struct {
	// Record ID
	UniqueId *string `json:"UniqueId,omitempty" name:"UniqueId"`

	// Operation type. 1: pin to top; 0: unpin
	OpeType *string `json:"OpeType,omitempty" name:"OpeType"`
}

Predefined struct for user

type ModifyBlockTopResponse

type ModifyBlockTopResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBlockTopResponseParams `json:"Response"`
}

func NewModifyBlockTopResponse

func NewModifyBlockTopResponse() (response *ModifyBlockTopResponse)

func (*ModifyBlockTopResponse) FromJsonString

func (r *ModifyBlockTopResponse) 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 (*ModifyBlockTopResponse) ToJsonString

func (r *ModifyBlockTopResponse) ToJsonString() string

type ModifyBlockTopResponseParams

type ModifyBlockTopResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyNatFwReSelectRequest

type ModifyNatFwReSelectRequest struct {
	*tchttp.BaseRequest

	// Mode. 1: use existing; 0: create new
	Mode *int64 `json:"Mode,omitempty" name:"Mode"`

	// Firewall instance ID
	CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"`

	// List of NAT gateways reconnected for the Using Existing mode. Only one of NatGwList and VpcList can be passed.
	NatGwList []*string `json:"NatGwList,omitempty" name:"NatGwList"`

	// List of VPCs reconnected for the Create New mode. Only one of NatGwList and VpcList can be passed.
	VpcList []*string `json:"VpcList,omitempty" name:"VpcList"`
}

func NewModifyNatFwReSelectRequest

func NewModifyNatFwReSelectRequest() (request *ModifyNatFwReSelectRequest)

func (*ModifyNatFwReSelectRequest) FromJsonString

func (r *ModifyNatFwReSelectRequest) 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 (*ModifyNatFwReSelectRequest) ToJsonString

func (r *ModifyNatFwReSelectRequest) ToJsonString() string

type ModifyNatFwReSelectRequestParams

type ModifyNatFwReSelectRequestParams struct {
	// Mode. 1: use existing; 0: create new
	Mode *int64 `json:"Mode,omitempty" name:"Mode"`

	// Firewall instance ID
	CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"`

	// List of NAT gateways reconnected for the Using Existing mode. Only one of NatGwList and VpcList can be passed.
	NatGwList []*string `json:"NatGwList,omitempty" name:"NatGwList"`

	// List of VPCs reconnected for the Create New mode. Only one of NatGwList and VpcList can be passed.
	VpcList []*string `json:"VpcList,omitempty" name:"VpcList"`
}

Predefined struct for user

type ModifyNatFwReSelectResponse

type ModifyNatFwReSelectResponse struct {
	*tchttp.BaseResponse
	Response *ModifyNatFwReSelectResponseParams `json:"Response"`
}

func NewModifyNatFwReSelectResponse

func NewModifyNatFwReSelectResponse() (response *ModifyNatFwReSelectResponse)

func (*ModifyNatFwReSelectResponse) FromJsonString

func (r *ModifyNatFwReSelectResponse) 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 (*ModifyNatFwReSelectResponse) ToJsonString

func (r *ModifyNatFwReSelectResponse) ToJsonString() string

type ModifyNatFwReSelectResponseParams

type ModifyNatFwReSelectResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyNatFwSwitchRequest

type ModifyNatFwSwitchRequest struct {
	*tchttp.BaseRequest

	// Status. 0: off; 1: on
	Enable *int64 `json:"Enable,omitempty" name:"Enable"`

	// List of firewall instance IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed.
	CfwInsIdList []*string `json:"CfwInsIdList,omitempty" name:"CfwInsIdList"`

	// List of subnet IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed.
	SubnetIdList []*string `json:"SubnetIdList,omitempty" name:"SubnetIdList"`

	// List of route table IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed.
	RouteTableIdList []*string `json:"RouteTableIdList,omitempty" name:"RouteTableIdList"`
}

func NewModifyNatFwSwitchRequest

func NewModifyNatFwSwitchRequest() (request *ModifyNatFwSwitchRequest)

func (*ModifyNatFwSwitchRequest) FromJsonString

func (r *ModifyNatFwSwitchRequest) 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 (*ModifyNatFwSwitchRequest) ToJsonString

func (r *ModifyNatFwSwitchRequest) ToJsonString() string

type ModifyNatFwSwitchRequestParams

type ModifyNatFwSwitchRequestParams struct {
	// Status. 0: off; 1: on
	Enable *int64 `json:"Enable,omitempty" name:"Enable"`

	// List of firewall instance IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed.
	CfwInsIdList []*string `json:"CfwInsIdList,omitempty" name:"CfwInsIdList"`

	// List of subnet IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed.
	SubnetIdList []*string `json:"SubnetIdList,omitempty" name:"SubnetIdList"`

	// List of route table IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed.
	RouteTableIdList []*string `json:"RouteTableIdList,omitempty" name:"RouteTableIdList"`
}

Predefined struct for user

type ModifyNatFwSwitchResponse

type ModifyNatFwSwitchResponse struct {
	*tchttp.BaseResponse
	Response *ModifyNatFwSwitchResponseParams `json:"Response"`
}

func NewModifyNatFwSwitchResponse

func NewModifyNatFwSwitchResponse() (response *ModifyNatFwSwitchResponse)

func (*ModifyNatFwSwitchResponse) FromJsonString

func (r *ModifyNatFwSwitchResponse) 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 (*ModifyNatFwSwitchResponse) ToJsonString

func (r *ModifyNatFwSwitchResponse) ToJsonString() string

type ModifyNatFwSwitchResponseParams

type ModifyNatFwSwitchResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyNatFwVpcDnsSwitchRequest

type ModifyNatFwVpcDnsSwitchRequest struct {
	*tchttp.BaseRequest

	// NAT firewall ID
	NatFwInsId *string `json:"NatFwInsId,omitempty" name:"NatFwInsId"`

	// DNS toggle list
	DnsVpcSwitchLst []*DnsVpcSwitch `json:"DnsVpcSwitchLst,omitempty" name:"DnsVpcSwitchLst"`
}

func NewModifyNatFwVpcDnsSwitchRequest

func NewModifyNatFwVpcDnsSwitchRequest() (request *ModifyNatFwVpcDnsSwitchRequest)

func (*ModifyNatFwVpcDnsSwitchRequest) FromJsonString

func (r *ModifyNatFwVpcDnsSwitchRequest) 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 (*ModifyNatFwVpcDnsSwitchRequest) ToJsonString

func (r *ModifyNatFwVpcDnsSwitchRequest) ToJsonString() string

type ModifyNatFwVpcDnsSwitchRequestParams

type ModifyNatFwVpcDnsSwitchRequestParams struct {
	// NAT firewall ID
	NatFwInsId *string `json:"NatFwInsId,omitempty" name:"NatFwInsId"`

	// DNS toggle list
	DnsVpcSwitchLst []*DnsVpcSwitch `json:"DnsVpcSwitchLst,omitempty" name:"DnsVpcSwitchLst"`
}

Predefined struct for user

type ModifyNatFwVpcDnsSwitchResponse

type ModifyNatFwVpcDnsSwitchResponse struct {
	*tchttp.BaseResponse
	Response *ModifyNatFwVpcDnsSwitchResponseParams `json:"Response"`
}

func NewModifyNatFwVpcDnsSwitchResponse

func NewModifyNatFwVpcDnsSwitchResponse() (response *ModifyNatFwVpcDnsSwitchResponse)

func (*ModifyNatFwVpcDnsSwitchResponse) FromJsonString

func (r *ModifyNatFwVpcDnsSwitchResponse) 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 (*ModifyNatFwVpcDnsSwitchResponse) ToJsonString

func (r *ModifyNatFwVpcDnsSwitchResponse) ToJsonString() string

type ModifyNatFwVpcDnsSwitchResponseParams

type ModifyNatFwVpcDnsSwitchResponseParams struct {
	// Modified successfully
	// Note: This field may return `null`, indicating that no valid value was found.
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPublicIPSwitchStatusRequest

type ModifyPublicIPSwitchStatusRequest struct {
	*tchttp.BaseRequest

	// Public IP
	FireWallPublicIP *string `json:"FireWallPublicIP,omitempty" name:"FireWallPublicIP"`

	// Status value. 0: off; 1: on
	Status *int64 `json:"Status,omitempty" name:"Status"`
}

func NewModifyPublicIPSwitchStatusRequest

func NewModifyPublicIPSwitchStatusRequest() (request *ModifyPublicIPSwitchStatusRequest)

func (*ModifyPublicIPSwitchStatusRequest) FromJsonString

func (r *ModifyPublicIPSwitchStatusRequest) 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 (*ModifyPublicIPSwitchStatusRequest) ToJsonString

func (r *ModifyPublicIPSwitchStatusRequest) ToJsonString() string

type ModifyPublicIPSwitchStatusRequestParams

type ModifyPublicIPSwitchStatusRequestParams struct {
	// Public IP
	FireWallPublicIP *string `json:"FireWallPublicIP,omitempty" name:"FireWallPublicIP"`

	// Status value. 0: off; 1: on
	Status *int64 `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyPublicIPSwitchStatusResponse

type ModifyPublicIPSwitchStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPublicIPSwitchStatusResponseParams `json:"Response"`
}

func NewModifyPublicIPSwitchStatusResponse

func NewModifyPublicIPSwitchStatusResponse() (response *ModifyPublicIPSwitchStatusResponse)

func (*ModifyPublicIPSwitchStatusResponse) FromJsonString

func (r *ModifyPublicIPSwitchStatusResponse) 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 (*ModifyPublicIPSwitchStatusResponse) ToJsonString

func (r *ModifyPublicIPSwitchStatusResponse) ToJsonString() string

type ModifyPublicIPSwitchStatusResponseParams

type ModifyPublicIPSwitchStatusResponseParams struct {
	// Return message
	// Note: This field may return `null`, indicating that no valid value was found.
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// Error code. 0: success; non-0: failed
	ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyResourceGroupRequest

type ModifyResourceGroupRequest struct {
	*tchttp.BaseRequest

	// Group ID
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Group name
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Parent group ID
	ParentId *string `json:"ParentId,omitempty" name:"ParentId"`
}

func NewModifyResourceGroupRequest

func NewModifyResourceGroupRequest() (request *ModifyResourceGroupRequest)

func (*ModifyResourceGroupRequest) FromJsonString

func (r *ModifyResourceGroupRequest) 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 (*ModifyResourceGroupRequest) ToJsonString

func (r *ModifyResourceGroupRequest) ToJsonString() string

type ModifyResourceGroupRequestParams

type ModifyResourceGroupRequestParams struct {
	// Group ID
	GroupId *string `json:"GroupId,omitempty" name:"GroupId"`

	// Group name
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Parent group ID
	ParentId *string `json:"ParentId,omitempty" name:"ParentId"`
}

Predefined struct for user

type ModifyResourceGroupResponse

type ModifyResourceGroupResponse struct {
	*tchttp.BaseResponse
	Response *ModifyResourceGroupResponseParams `json:"Response"`
}

func NewModifyResourceGroupResponse

func NewModifyResourceGroupResponse() (response *ModifyResourceGroupResponse)

func (*ModifyResourceGroupResponse) FromJsonString

func (r *ModifyResourceGroupResponse) 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 (*ModifyResourceGroupResponse) ToJsonString

func (r *ModifyResourceGroupResponse) ToJsonString() string

type ModifyResourceGroupResponseParams

type ModifyResourceGroupResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyRunSyncAssetRequest

type ModifyRunSyncAssetRequest struct {
	*tchttp.BaseRequest

	// 0: edge firewall toggle; 1: VPC firewall toggle
	Type *uint64 `json:"Type,omitempty" name:"Type"`
}

func NewModifyRunSyncAssetRequest

func NewModifyRunSyncAssetRequest() (request *ModifyRunSyncAssetRequest)

func (*ModifyRunSyncAssetRequest) FromJsonString

func (r *ModifyRunSyncAssetRequest) 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 (*ModifyRunSyncAssetRequest) ToJsonString

func (r *ModifyRunSyncAssetRequest) ToJsonString() string

type ModifyRunSyncAssetRequestParams

type ModifyRunSyncAssetRequestParams struct {
	// 0: edge firewall toggle; 1: VPC firewall toggle
	Type *uint64 `json:"Type,omitempty" name:"Type"`
}

Predefined struct for user

type ModifyRunSyncAssetResponse

type ModifyRunSyncAssetResponse struct {
	*tchttp.BaseResponse
	Response *ModifyRunSyncAssetResponseParams `json:"Response"`
}

func NewModifyRunSyncAssetResponse

func NewModifyRunSyncAssetResponse() (response *ModifyRunSyncAssetResponse)

func (*ModifyRunSyncAssetResponse) FromJsonString

func (r *ModifyRunSyncAssetResponse) 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 (*ModifyRunSyncAssetResponse) ToJsonString

func (r *ModifyRunSyncAssetResponse) ToJsonString() string

type ModifyRunSyncAssetResponseParams

type ModifyRunSyncAssetResponseParams struct {
	// 0: synced successfully, 1: updating assets, 2: failed to sync by calling the API at the backend
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifySecurityGroupItemRuleStatusRequest

type ModifySecurityGroupItemRuleStatusRequest struct {
	*tchttp.BaseRequest

	// Direction. 0: outbound; 1: inbound. 1 by default
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Toggle status. 0: off; 1: on
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Modified priority of enterprise security group rules
	RuleSequence *uint64 `json:"RuleSequence,omitempty" name:"RuleSequence"`
}

func NewModifySecurityGroupItemRuleStatusRequest

func NewModifySecurityGroupItemRuleStatusRequest() (request *ModifySecurityGroupItemRuleStatusRequest)

func (*ModifySecurityGroupItemRuleStatusRequest) FromJsonString

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

func (*ModifySecurityGroupItemRuleStatusRequest) ToJsonString

type ModifySecurityGroupItemRuleStatusRequestParams

type ModifySecurityGroupItemRuleStatusRequestParams struct {
	// Direction. 0: outbound; 1: inbound. 1 by default
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Toggle status. 0: off; 1: on
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Modified priority of enterprise security group rules
	RuleSequence *uint64 `json:"RuleSequence,omitempty" name:"RuleSequence"`
}

Predefined struct for user

type ModifySecurityGroupItemRuleStatusResponse

type ModifySecurityGroupItemRuleStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifySecurityGroupItemRuleStatusResponseParams `json:"Response"`
}

func NewModifySecurityGroupItemRuleStatusResponse

func NewModifySecurityGroupItemRuleStatusResponse() (response *ModifySecurityGroupItemRuleStatusResponse)

func (*ModifySecurityGroupItemRuleStatusResponse) FromJsonString

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

func (*ModifySecurityGroupItemRuleStatusResponse) ToJsonString

type ModifySecurityGroupItemRuleStatusResponseParams

type ModifySecurityGroupItemRuleStatusResponseParams struct {
	// Status value. 0: modified successfully; non-0: failed to modify
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifySecurityGroupSequenceRulesRequest

type ModifySecurityGroupSequenceRulesRequest struct {
	*tchttp.BaseRequest

	// Direction. 0: outbound; 1: inbound. 1 by default
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Sorting data of enterprise security group rules
	Data []*SecurityGroupOrderIndexData `json:"Data,omitempty" name:"Data"`
}

func NewModifySecurityGroupSequenceRulesRequest

func NewModifySecurityGroupSequenceRulesRequest() (request *ModifySecurityGroupSequenceRulesRequest)

func (*ModifySecurityGroupSequenceRulesRequest) FromJsonString

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

func (*ModifySecurityGroupSequenceRulesRequest) ToJsonString

type ModifySecurityGroupSequenceRulesRequestParams

type ModifySecurityGroupSequenceRulesRequestParams struct {
	// Direction. 0: outbound; 1: inbound. 1 by default
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Sorting data of enterprise security group rules
	Data []*SecurityGroupOrderIndexData `json:"Data,omitempty" name:"Data"`
}

Predefined struct for user

type ModifySecurityGroupSequenceRulesResponse

type ModifySecurityGroupSequenceRulesResponse struct {
	*tchttp.BaseResponse
	Response *ModifySecurityGroupSequenceRulesResponseParams `json:"Response"`
}

func NewModifySecurityGroupSequenceRulesResponse

func NewModifySecurityGroupSequenceRulesResponse() (response *ModifySecurityGroupSequenceRulesResponse)

func (*ModifySecurityGroupSequenceRulesResponse) FromJsonString

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

func (*ModifySecurityGroupSequenceRulesResponse) ToJsonString

type ModifySecurityGroupSequenceRulesResponseParams

type ModifySecurityGroupSequenceRulesResponseParams struct {
	// Status value. 0: modified successfully; non-0: failed to modify
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifySequenceRulesRequest

type ModifySequenceRulesRequest struct {
	*tchttp.BaseRequest

	// Edge ID value
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Modifies data
	Data []*SequenceData `json:"Data,omitempty" name:"Data"`

	// NAT region
	Area *string `json:"Area,omitempty" name:"Area"`

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`
}

func NewModifySequenceRulesRequest

func NewModifySequenceRulesRequest() (request *ModifySequenceRulesRequest)

func (*ModifySequenceRulesRequest) FromJsonString

func (r *ModifySequenceRulesRequest) 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 (*ModifySequenceRulesRequest) ToJsonString

func (r *ModifySequenceRulesRequest) ToJsonString() string

type ModifySequenceRulesRequestParams

type ModifySequenceRulesRequestParams struct {
	// Edge ID value
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Modifies data
	Data []*SequenceData `json:"Data,omitempty" name:"Data"`

	// NAT region
	Area *string `json:"Area,omitempty" name:"Area"`

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`
}

Predefined struct for user

type ModifySequenceRulesResponse

type ModifySequenceRulesResponse struct {
	*tchttp.BaseResponse
	Response *ModifySequenceRulesResponseParams `json:"Response"`
}

func NewModifySequenceRulesResponse

func NewModifySequenceRulesResponse() (response *ModifySequenceRulesResponse)

func (*ModifySequenceRulesResponse) FromJsonString

func (r *ModifySequenceRulesResponse) 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 (*ModifySequenceRulesResponse) ToJsonString

func (r *ModifySequenceRulesResponse) ToJsonString() string

type ModifySequenceRulesResponseParams

type ModifySequenceRulesResponseParams struct {
	// 0: modified successfully; non-0: modification failed
	// Note: This field may return `null`, indicating that no valid value was found.
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyTableStatusRequest

type ModifyTableStatusRequest struct {
	*tchttp.BaseRequest

	// Edge ID between two VPCs
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Status value. 1: table locked; 2: table unlocked
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// NAT region
	Area *string `json:"Area,omitempty" name:"Area"`

	// 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`
}

func NewModifyTableStatusRequest

func NewModifyTableStatusRequest() (request *ModifyTableStatusRequest)

func (*ModifyTableStatusRequest) FromJsonString

func (r *ModifyTableStatusRequest) 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 (*ModifyTableStatusRequest) ToJsonString

func (r *ModifyTableStatusRequest) ToJsonString() string

type ModifyTableStatusRequestParams

type ModifyTableStatusRequestParams struct {
	// Edge ID between two VPCs
	EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"`

	// Status value. 1: table locked; 2: table unlocked
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// NAT region
	Area *string `json:"Area,omitempty" name:"Area"`

	// 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`
}

Predefined struct for user

type ModifyTableStatusResponse

type ModifyTableStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTableStatusResponseParams `json:"Response"`
}

func NewModifyTableStatusResponse

func NewModifyTableStatusResponse() (response *ModifyTableStatusResponse)

func (*ModifyTableStatusResponse) FromJsonString

func (r *ModifyTableStatusResponse) 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 (*ModifyTableStatusResponse) ToJsonString

func (r *ModifyTableStatusResponse) ToJsonString() string

type ModifyTableStatusResponseParams

type ModifyTableStatusResponseParams struct {
	// 0: normal; -1: abnormal
	// Note: This field may return `null`, indicating that no valid value was found.
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type NatFwFilter

type NatFwFilter struct {
	// Filter type, e.g., instance ID
	FilterType *string `json:"FilterType,omitempty" name:"FilterType"`

	// Filtered content, separated with ","
	FilterContent *string `json:"FilterContent,omitempty" name:"FilterContent"`
}

type NatFwInstance

type NatFwInstance struct {
	// NAT instance ID
	NatinsId *string `json:"NatinsId,omitempty" name:"NatinsId"`

	// NAT instance name
	NatinsName *string `json:"NatinsName,omitempty" name:"NatinsName"`

	// Instance region
	// Note: This field may return `null`, indicating that no valid value was found.
	Region *string `json:"Region,omitempty" name:"Region"`

	// 0: create new; 1: use existing
	// Note: This field may return `null`, indicating that no valid value was found.
	FwMode *int64 `json:"FwMode,omitempty" name:"FwMode"`

	// 0: normal; 1: creating
	// Note: This field may return `null`, indicating that no valid value was found.
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// NAT public IP
	// Note: This field may return `null`, indicating that no valid value was found.
	NatIp *string `json:"NatIp,omitempty" name:"NatIp"`
}

type NatInstanceInfo

type NatInstanceInfo struct {
	// NAT instance ID
	NatinsId *string `json:"NatinsId,omitempty" name:"NatinsId"`

	// NAT instance name
	NatinsName *string `json:"NatinsName,omitempty" name:"NatinsName"`

	// Instance region
	Region *string `json:"Region,omitempty" name:"Region"`

	// 0: create new; 1: use existing
	FwMode *int64 `json:"FwMode,omitempty" name:"FwMode"`

	// Instance bandwidth (Mbps)
	BandWidth *int64 `json:"BandWidth,omitempty" name:"BandWidth"`

	// Inbound traffic peak bandwidth (bps)
	InFlowMax *int64 `json:"InFlowMax,omitempty" name:"InFlowMax"`

	// Outbound traffic peak bandwidth (bps)
	OutFlowMax *uint64 `json:"OutFlowMax,omitempty" name:"OutFlowMax"`

	// Chinese region information
	RegionZh *string `json:"RegionZh,omitempty" name:"RegionZh"`

	// Public IP array
	// Note: This field may return `null`, indicating that no valid value was found.
	EipAddress []*string `json:"EipAddress,omitempty" name:"EipAddress"`

	// Array of internal and external IPs
	// Note: This field may return `null`, indicating that no valid value was found.
	VpcIp []*string `json:"VpcIp,omitempty" name:"VpcIp"`

	// Array of subnets associated with an instance
	// Note: This field may return `null`, indicating that no valid value was found.
	Subnets []*string `json:"Subnets,omitempty" name:"Subnets"`

	// 0: normal 1: initializing
	// Note: This field may return `null`, indicating that no valid value was found.
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// Region information
	// Note: This field may return null, indicating that no valid values can be obtained.
	RegionDetail *string `json:"RegionDetail,omitempty" name:"RegionDetail"`

	// Availability zone of the instance
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneZh *string `json:"ZoneZh,omitempty" name:"ZoneZh"`

	// Availability zone of the instance
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneZhBak *string `json:"ZoneZhBak,omitempty" name:"ZoneZhBak"`
}

type NewModeItems

type NewModeItems struct {
	// VPC list for the Create New mode
	VpcList []*string `json:"VpcList,omitempty" name:"VpcList"`

	// The list of egress public EIPs bound for the Create New mode. Either Eips or AddCount is required.
	Eips []*string `json:"Eips,omitempty" name:"Eips"`

	// The number of egress public EIPs newly bound for the Create New mode. Either Eips or AddCount is required.
	AddCount *int64 `json:"AddCount,omitempty" name:"AddCount"`
}

type RemoveAcRuleRequest

type RemoveAcRuleRequest struct {
	*tchttp.BaseRequest

	// UUID of the rule, which can be obtained by querying the rule list
	RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"`
}

func NewRemoveAcRuleRequest

func NewRemoveAcRuleRequest() (request *RemoveAcRuleRequest)

func (*RemoveAcRuleRequest) FromJsonString

func (r *RemoveAcRuleRequest) 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 (*RemoveAcRuleRequest) ToJsonString

func (r *RemoveAcRuleRequest) ToJsonString() string

type RemoveAcRuleRequestParams

type RemoveAcRuleRequestParams struct {
	// UUID of the rule, which can be obtained by querying the rule list
	RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"`
}

Predefined struct for user

type RemoveAcRuleResponse

type RemoveAcRuleResponse struct {
	*tchttp.BaseResponse
	Response *RemoveAcRuleResponseParams `json:"Response"`
}

func NewRemoveAcRuleResponse

func NewRemoveAcRuleResponse() (response *RemoveAcRuleResponse)

func (*RemoveAcRuleResponse) FromJsonString

func (r *RemoveAcRuleResponse) 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 (*RemoveAcRuleResponse) ToJsonString

func (r *RemoveAcRuleResponse) ToJsonString() string

type RemoveAcRuleResponseParams

type RemoveAcRuleResponseParams struct {
	// Returns the UUID of the deleted policy after the deletion is successful
	RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"`

	// 0: operation successful; -1: operation failed
	// Note: This field may return `null`, indicating that no valid value was found.
	ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"`

	// success: operation successful; failed: operation failed
	// Note: This field may return `null`, indicating that no valid value was found.
	ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type RemoveEnterpriseSecurityGroupRuleRequest

type RemoveEnterpriseSecurityGroupRuleRequest struct {
	*tchttp.BaseRequest

	// UUID of the rule, which can be obtained by querying the rule list
	RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"`

	// Type of deletion. 0: delete a single entry, and enter ID of the deleted rule for RuleUuid; 1: delete all, and enter 0 for RuleUuid
	RemoveType *int64 `json:"RemoveType,omitempty" name:"RemoveType"`
}

func NewRemoveEnterpriseSecurityGroupRuleRequest

func NewRemoveEnterpriseSecurityGroupRuleRequest() (request *RemoveEnterpriseSecurityGroupRuleRequest)

func (*RemoveEnterpriseSecurityGroupRuleRequest) FromJsonString

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

func (*RemoveEnterpriseSecurityGroupRuleRequest) ToJsonString

type RemoveEnterpriseSecurityGroupRuleRequestParams

type RemoveEnterpriseSecurityGroupRuleRequestParams struct {
	// UUID of the rule, which can be obtained by querying the rule list
	RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"`

	// Type of deletion. 0: delete a single entry, and enter ID of the deleted rule for RuleUuid; 1: delete all, and enter 0 for RuleUuid
	RemoveType *int64 `json:"RemoveType,omitempty" name:"RemoveType"`
}

Predefined struct for user

type RemoveEnterpriseSecurityGroupRuleResponse

type RemoveEnterpriseSecurityGroupRuleResponse struct {
	*tchttp.BaseResponse
	Response *RemoveEnterpriseSecurityGroupRuleResponseParams `json:"Response"`
}

func NewRemoveEnterpriseSecurityGroupRuleResponse

func NewRemoveEnterpriseSecurityGroupRuleResponse() (response *RemoveEnterpriseSecurityGroupRuleResponse)

func (*RemoveEnterpriseSecurityGroupRuleResponse) FromJsonString

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

func (*RemoveEnterpriseSecurityGroupRuleResponse) ToJsonString

type RemoveEnterpriseSecurityGroupRuleResponseParams

type RemoveEnterpriseSecurityGroupRuleResponseParams struct {
	// Returns the UUID of the deleted policy after the deletion is successful
	RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"`

	// 0: operation successful; -1: operation failed
	// Note: This field may return `null`, indicating that no valid value was found.
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type RuleInfoData

type RuleInfoData struct {
	// Priority
	OrderIndex *uint64 `json:"OrderIndex,omitempty" name:"OrderIndex"`

	// Access source
	SourceIp *string `json:"SourceIp,omitempty" name:"SourceIp"`

	// Access destination
	TargetIp *string `json:"TargetIp,omitempty" name:"TargetIp"`

	// Protocol
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Policy. 0: observe; 1: block; 2: allow
	Strategy *string `json:"Strategy,omitempty" name:"Strategy"`

	// Access source type. 1: IP; 3: domain name; 4: IP address template; 5: domain name address template
	SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"`

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Description
	Detail *string `json:"Detail,omitempty" name:"Detail"`

	// Access destination type. 1: IP, 3: domain name; 4: IP address template; 5: domain name address template
	TargetType *uint64 `json:"TargetType,omitempty" name:"TargetType"`

	// Port
	Port *string `json:"Port,omitempty" name:"Port"`

	// ID value
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Log ID, required when an alert log is created
	LogId *string `json:"LogId,omitempty" name:"LogId"`

	// City code
	City *uint64 `json:"City,omitempty" name:"City"`

	// Country code
	Country *uint64 `json:"Country,omitempty" name:"Country"`

	// Cloud vendor. Multiple vendors are supported and separated with commas. 1: Tencent Cloud (only in Hong Kong, China and overseas); 2: Alibaba Cloud; 3: Amazon Cloud; 4: Huawei Cloud; 5: Microsoft Cloud
	CloudCode *string `json:"CloudCode,omitempty" name:"CloudCode"`

	// Indicates whether it is a region
	IsRegion *uint64 `json:"IsRegion,omitempty" name:"IsRegion"`

	// City name
	CityName *string `json:"CityName,omitempty" name:"CityName"`

	// Country name
	CountryName *string `json:"CountryName,omitempty" name:"CountryName"`
}

type ScanInfo

type ScanInfo struct {
	// Scanning result information
	ScanResultInfo *ScanResultInfo `json:"ScanResultInfo,omitempty" name:"ScanResultInfo"`

	// Scanning status. 0: scanning; 1: completed; 2: auto scanning unselected
	ScanStatus *int64 `json:"ScanStatus,omitempty" name:"ScanStatus"`

	// Progress
	ScanPercent *float64 `json:"ScanPercent,omitempty" name:"ScanPercent"`

	// Estimated completion time
	ScanTime *string `json:"ScanTime,omitempty" name:"ScanTime"`
}

type ScanResultInfo

type ScanResultInfo struct {
	// Number of vulnerability exploits
	LeakNum *uint64 `json:"LeakNum,omitempty" name:"LeakNum"`

	// Number of protected IPs
	IPNum *uint64 `json:"IPNum,omitempty" name:"IPNum"`

	// Number of exposed ports
	PortNum *uint64 `json:"PortNum,omitempty" name:"PortNum"`

	// Protection status
	IPStatus *bool `json:"IPStatus,omitempty" name:"IPStatus"`

	// Attack blocking status
	IdpStatus *bool `json:"IdpStatus,omitempty" name:"IdpStatus"`

	// Port blocking status
	BanStatus *bool `json:"BanStatus,omitempty" name:"BanStatus"`
}

type SecurityGroupBothWayInfo

type SecurityGroupBothWayInfo struct {
	// Priority
	// Note: This field may return `null`, indicating that no valid value was found.
	OrderIndex *uint64 `json:"OrderIndex,omitempty" name:"OrderIndex"`

	// Access source
	// Note: This field may return `null`, indicating that no valid value was found.
	SourceId *string `json:"SourceId,omitempty" name:"SourceId"`

	// Access source type. Default: 0. 0: IP; 1: VPC; 2: SUBNET; 3: CVM; 4: CLB; 5: ENI; 6: CDB; 7: Parameter template. 100: asset group
	// Note: This field may return `null`, indicating that no valid value was found.
	SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"`

	// Access destination
	// Note: This field may return `null`, indicating that no valid value was found.
	TargetId *string `json:"TargetId,omitempty" name:"TargetId"`

	// Access destination type. Default: 0. 0: IP; 1: VPC; 2: SUBNET; 3: CVM; 4: CLB; 5: ENI; 6: CDB; 7: Parameter template. 100: asset group
	// Note: This field may return `null`, indicating that no valid value was found.
	TargetType *uint64 `json:"TargetType,omitempty" name:"TargetType"`

	// Protocol
	// Note: This field may return `null`, indicating that no valid value was found.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Destination port
	// Note: This field may return `null`, indicating that no valid value was found.
	Port *string `json:"Port,omitempty" name:"Port"`

	// Policy. 1: block; 2: allow
	// Note: This field may return `null`, indicating that no valid value was found.
	Strategy *uint64 `json:"Strategy,omitempty" name:"Strategy"`

	// Direction. 0: outbound; 1: inbound. 1 by default
	// Note: This field may return `null`, indicating that no valid value was found.
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Region
	Region *string `json:"Region,omitempty" name:"Region"`

	// Description
	// Note: This field may return `null`, indicating that no valid value was found.
	Detail *string `json:"Detail,omitempty" name:"Detail"`

	// Toggle status. 0: off; 1: on
	// Note: This field may return `null`, indicating that no valid value was found.
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Indicates whether the rule is normal. 0: normal; 1: abnormal
	// Note: This field may return `null`, indicating that no valid value was found.
	IsNew *uint64 `json:"IsNew,omitempty" name:"IsNew"`

	// One-way/two-way. 0: one-way; 1: two-way
	// Note: This field may return `null`, indicating that no valid value was found.
	BothWay *uint64 `json:"BothWay,omitempty" name:"BothWay"`

	// VPC ID
	// Note: This field may return `null`, indicating that no valid value was found.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID
	// Note: This field may return `null`, indicating that no valid value was found.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Instance name
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// Public IP. Multiple IPs are separated by commas.
	// Note: This field may return `null`, indicating that no valid value was found.
	PublicIp *string `json:"PublicIp,omitempty" name:"PublicIp"`

	// Private IP. Multiple IPs are separated by commas.
	// Note: This field may return `null`, indicating that no valid value was found.
	PrivateIp *string `json:"PrivateIp,omitempty" name:"PrivateIp"`

	// Masked address. Multiple addresses are separated by commas.
	// Note: This field may return `null`, indicating that no valid value was found.
	Cidr *string `json:"Cidr,omitempty" name:"Cidr"`

	// Port protocol template ID
	// Note: This field may return `null`, indicating that no valid value was found.
	ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"`

	// Indicates whether to use the port protocol template. 0: no; 1: yes
	ProtocolPortType *uint64 `json:"ProtocolPortType,omitempty" name:"ProtocolPortType"`
}

type SecurityGroupListData

type SecurityGroupListData struct {
	// Priority
	OrderIndex *uint64 `json:"OrderIndex,omitempty" name:"OrderIndex"`

	// Access source
	SourceId *string `json:"SourceId,omitempty" name:"SourceId"`

	// Access source type. Default: 0. 1: VPC; 2: SUBNET; 3: CVM; 4: CLB; 5: ENI; 6: CDB; 7: Parameter template. 100: Resource group
	SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"`

	// Access destination
	TargetId *string `json:"TargetId,omitempty" name:"TargetId"`

	// Access destination type. Default: 0. 1: VPC; 2: SUBNET; 3: CVM; 4: CLB; 5: ENI; 6: CDB; 7: Parameter template; 100: resource group
	TargetType *uint64 `json:"TargetType,omitempty" name:"TargetType"`

	// Protocol
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Destination port
	Port *string `json:"Port,omitempty" name:"Port"`

	// Policy. 1: block; 2: allow
	Strategy *uint64 `json:"Strategy,omitempty" name:"Strategy"`

	// Description
	Detail *string `json:"Detail,omitempty" name:"Detail"`

	// One-way/two-way. 0: one-way; 1: two-way
	BothWay *uint64 `json:"BothWay,omitempty" name:"BothWay"`

	// Rule ID
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Toggle status. 0: off; 1: on
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Indicates whether the rule is normal. 0: normal; 1: abnormal
	IsNew *uint64 `json:"IsNew,omitempty" name:"IsNew"`

	// VPC ID
	// Note: This field may return `null`, indicating that no valid value was found.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID
	// Note: This field may return `null`, indicating that no valid value was found.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Instance name
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// Public IP. Multiple IPs are separated by commas.
	// Note: This field may return `null`, indicating that no valid value was found.
	PublicIp *string `json:"PublicIp,omitempty" name:"PublicIp"`

	// Private IP. Multiple IPs are separated by commas.
	// Note: This field may return `null`, indicating that no valid value was found.
	PrivateIp *string `json:"PrivateIp,omitempty" name:"PrivateIp"`

	// Masked address. Multiple addresses are separated by commas.
	// Note: This field may return `null`, indicating that no valid value was found.
	Cidr *string `json:"Cidr,omitempty" name:"Cidr"`

	// Port protocol template ID
	// Note: This field may return `null`, indicating that no valid value was found.
	ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"`

	// Two-way rules
	// Note: This field may return `null`, indicating that no valid value was found.
	BothWayInfo []*SecurityGroupBothWayInfo `json:"BothWayInfo,omitempty" name:"BothWayInfo"`

	// Direction. 0: outbound; 1: inbound. 1 by default
	Direction *uint64 `json:"Direction,omitempty" name:"Direction"`

	// Indicates whether to use the port protocol template. 0: no; 1: yes
	ProtocolPortType *uint64 `json:"ProtocolPortType,omitempty" name:"ProtocolPortType"`
}

type SecurityGroupOrderIndexData

type SecurityGroupOrderIndexData struct {
	// Current priority of enterprise security group rules
	OrderIndex *uint64 `json:"OrderIndex,omitempty" name:"OrderIndex"`

	// New priority of enterprise security group rules
	NewOrderIndex *uint64 `json:"NewOrderIndex,omitempty" name:"NewOrderIndex"`
}

type SecurityGroupRule

type SecurityGroupRule struct {
	// Source example:
	// net: IP/CIDR (192.168.0.2)
	// template: parameter template (ipm-dyodhpby)
	// instance: asset instance (ins-123456)
	// resourcegroup: asset group (/all groups/group 1/subgroup 1)
	// tag: resource tag ({"Key":"tag key","Value":"tag value"})
	// region: region (ap-gaungzhou)
	SourceContent *string `json:"SourceContent,omitempty" name:"SourceContent"`

	// Access source type. Valid values: net|template|instance|resourcegroup|tag|region
	SourceType *string `json:"SourceType,omitempty" name:"SourceType"`

	// Destination example:
	// net: IP/CIDR (192.168.0.2)
	// template: parameter template (ipm-dyodhpby)
	// instance: asset instance (ins-123456)
	// resourcegroup: asset group (/all groups/group 1/subgroup 1)
	// tag: resource tag ({"Key":"tag key","Value":"tag value"})
	// region: region (ap-gaungzhou)
	DestContent *string `json:"DestContent,omitempty" name:"DestContent"`

	// Access destination type. Valid values: net|template|instance|resourcegroup|tag|region
	DestType *string `json:"DestType,omitempty" name:"DestType"`

	// The action that Cloud Firewall performs on the traffic. Valid values:
	// accept: allow
	// drop: deny
	RuleAction *string `json:"RuleAction,omitempty" name:"RuleAction"`

	// Description
	Description *string `json:"Description,omitempty" name:"Description"`

	// Rule priority. -1: lowest; 1: highest
	OrderIndex *string `json:"OrderIndex,omitempty" name:"OrderIndex"`

	// Protocol. TCP/UDP/ICMP/ANY
	// Note: This field may return `null`, indicating that no valid value was found.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// The port to apply access control rules. Valid values:
	// -1/-1: all ports
	// 80: port 80
	// Note: This field may return `null`, indicating that no valid value was found.
	Port *string `json:"Port,omitempty" name:"Port"`

	// Parameter template ID of port and protocol type; mutually exclusive with Protocol and Port
	// Note: This field may return `null`, indicating that no valid value was found.
	ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"`

	// The unique ID of the rule
	Id *string `json:"Id,omitempty" name:"Id"`

	// Rule status. true: enabled; false: disabled
	Enable *string `json:"Enable,omitempty" name:"Enable"`
}

type SequenceData

type SequenceData struct {
	// Rule ID
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Rule priority before change
	OrderIndex *uint64 `json:"OrderIndex,omitempty" name:"OrderIndex"`

	// Rule priority after change
	NewOrderIndex *uint64 `json:"NewOrderIndex,omitempty" name:"NewOrderIndex"`
}

type SetNatFwDnatRuleRequest

type SetNatFwDnatRuleRequest struct {
	*tchttp.BaseRequest

	// 0: Create new; 1: Use existing
	Mode *uint64 `json:"Mode,omitempty" name:"Mode"`

	// Operation type. Valid values: add, del, and modify.
	OperationType *string `json:"OperationType,omitempty" name:"OperationType"`

	// Firewall instance ID. This field is required.
	CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"`

	// List of added/deleted DNAT rules
	AddOrDelDnatRules []*CfwNatDnatRule `json:"AddOrDelDnatRules,omitempty" name:"AddOrDelDnatRules"`

	// Original DNAT rule before change
	OriginDnat *CfwNatDnatRule `json:"OriginDnat,omitempty" name:"OriginDnat"`

	// New DNAT rule after change
	NewDnat *CfwNatDnatRule `json:"NewDnat,omitempty" name:"NewDnat"`
}

func NewSetNatFwDnatRuleRequest

func NewSetNatFwDnatRuleRequest() (request *SetNatFwDnatRuleRequest)

func (*SetNatFwDnatRuleRequest) FromJsonString

func (r *SetNatFwDnatRuleRequest) 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 (*SetNatFwDnatRuleRequest) ToJsonString

func (r *SetNatFwDnatRuleRequest) ToJsonString() string

type SetNatFwDnatRuleRequestParams

type SetNatFwDnatRuleRequestParams struct {
	// 0: Create new; 1: Use existing
	Mode *uint64 `json:"Mode,omitempty" name:"Mode"`

	// Operation type. Valid values: add, del, and modify.
	OperationType *string `json:"OperationType,omitempty" name:"OperationType"`

	// Firewall instance ID. This field is required.
	CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"`

	// List of added/deleted DNAT rules
	AddOrDelDnatRules []*CfwNatDnatRule `json:"AddOrDelDnatRules,omitempty" name:"AddOrDelDnatRules"`

	// Original DNAT rule before change
	OriginDnat *CfwNatDnatRule `json:"OriginDnat,omitempty" name:"OriginDnat"`

	// New DNAT rule after change
	NewDnat *CfwNatDnatRule `json:"NewDnat,omitempty" name:"NewDnat"`
}

Predefined struct for user

type SetNatFwDnatRuleResponse

type SetNatFwDnatRuleResponse struct {
	*tchttp.BaseResponse
	Response *SetNatFwDnatRuleResponseParams `json:"Response"`
}

func NewSetNatFwDnatRuleResponse

func NewSetNatFwDnatRuleResponse() (response *SetNatFwDnatRuleResponse)

func (*SetNatFwDnatRuleResponse) FromJsonString

func (r *SetNatFwDnatRuleResponse) 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 (*SetNatFwDnatRuleResponse) ToJsonString

func (r *SetNatFwDnatRuleResponse) ToJsonString() string

type SetNatFwDnatRuleResponseParams

type SetNatFwDnatRuleResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type SetNatFwEipRequest

type SetNatFwEipRequest struct {
	*tchttp.BaseRequest

	// bind: bind EIP; unbind: unbind EIP; newAdd: add firewall EIP
	OperationType *string `json:"OperationType,omitempty" name:"OperationType"`

	// Firewall instance ID
	CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"`

	// This field is required when OperationType is "bind" or "unbind".
	EipList []*string `json:"EipList,omitempty" name:"EipList"`
}

func NewSetNatFwEipRequest

func NewSetNatFwEipRequest() (request *SetNatFwEipRequest)

func (*SetNatFwEipRequest) FromJsonString

func (r *SetNatFwEipRequest) 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 (*SetNatFwEipRequest) ToJsonString

func (r *SetNatFwEipRequest) ToJsonString() string

type SetNatFwEipRequestParams

type SetNatFwEipRequestParams struct {
	// bind: bind EIP; unbind: unbind EIP; newAdd: add firewall EIP
	OperationType *string `json:"OperationType,omitempty" name:"OperationType"`

	// Firewall instance ID
	CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"`

	// This field is required when OperationType is "bind" or "unbind".
	EipList []*string `json:"EipList,omitempty" name:"EipList"`
}

Predefined struct for user

type SetNatFwEipResponse

type SetNatFwEipResponse struct {
	*tchttp.BaseResponse
	Response *SetNatFwEipResponseParams `json:"Response"`
}

func NewSetNatFwEipResponse

func NewSetNatFwEipResponse() (response *SetNatFwEipResponse)

func (*SetNatFwEipResponse) FromJsonString

func (r *SetNatFwEipResponse) 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 (*SetNatFwEipResponse) ToJsonString

func (r *SetNatFwEipResponse) ToJsonString() string

type SetNatFwEipResponseParams

type SetNatFwEipResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type StaticInfo

type StaticInfo struct {
	// Number
	Num *int64 `json:"Num,omitempty" name:"Num"`

	// Port
	Port *string `json:"Port,omitempty" name:"Port"`

	// IP
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Address
	Address *string `json:"Address,omitempty" name:"Address"`

	// Asset ID
	InsID *string `json:"InsID,omitempty" name:"InsID"`

	// Asset name
	InsName *string `json:"InsName,omitempty" name:"InsName"`
}

type StopSecurityGroupRuleDispatchRequest

type StopSecurityGroupRuleDispatchRequest struct {
	*tchttp.BaseRequest

	// Stops all if set to 1
	StopType *int64 `json:"StopType,omitempty" name:"StopType"`
}

func NewStopSecurityGroupRuleDispatchRequest

func NewStopSecurityGroupRuleDispatchRequest() (request *StopSecurityGroupRuleDispatchRequest)

func (*StopSecurityGroupRuleDispatchRequest) FromJsonString

func (r *StopSecurityGroupRuleDispatchRequest) 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 (*StopSecurityGroupRuleDispatchRequest) ToJsonString

func (r *StopSecurityGroupRuleDispatchRequest) ToJsonString() string

type StopSecurityGroupRuleDispatchRequestParams

type StopSecurityGroupRuleDispatchRequestParams struct {
	// Stops all if set to 1
	StopType *int64 `json:"StopType,omitempty" name:"StopType"`
}

Predefined struct for user

type StopSecurityGroupRuleDispatchResponse

type StopSecurityGroupRuleDispatchResponse struct {
	*tchttp.BaseResponse
	Response *StopSecurityGroupRuleDispatchResponseParams `json:"Response"`
}

func NewStopSecurityGroupRuleDispatchResponse

func NewStopSecurityGroupRuleDispatchResponse() (response *StopSecurityGroupRuleDispatchResponse)

func (*StopSecurityGroupRuleDispatchResponse) FromJsonString

func (r *StopSecurityGroupRuleDispatchResponse) 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 (*StopSecurityGroupRuleDispatchResponse) ToJsonString

type StopSecurityGroupRuleDispatchResponseParams

type StopSecurityGroupRuleDispatchResponseParams struct {
	// true: operation successful; false: error
	// Note: This field may return `null`, indicating that no valid value was found.
	Status *bool `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type SwitchListsData

type SwitchListsData struct {
	// Public IP
	// Note: This field may return `null`, indicating that no valid value was found.
	PublicIp *string `json:"PublicIp,omitempty" name:"PublicIp"`

	// Private IP
	// Note: This field may return `null`, indicating that no valid value was found.
	IntranetIp *string `json:"IntranetIp,omitempty" name:"IntranetIp"`

	// Instance name
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// Instance ID
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Asset type
	AssetType *string `json:"AssetType,omitempty" name:"AssetType"`

	// Region
	// Note: This field may return `null`, indicating that no valid value was found.
	Area *string `json:"Area,omitempty" name:"Area"`

	// Firewall toggle
	Switch *int64 `json:"Switch,omitempty" name:"Switch"`

	// ID value
	Id *uint64 `json:"Id,omitempty" name:"Id"`

	// Public IP type
	// Note: This field may return `null`, indicating that no valid value was found.
	PublicIpType *uint64 `json:"PublicIpType,omitempty" name:"PublicIpType"`

	// Number of risky ports
	// Note: This field may return `null`, indicating that no valid value was found.
	PortTimes *uint64 `json:"PortTimes,omitempty" name:"PortTimes"`

	// Last scan time
	// Note: This field may return `null`, indicating that no valid value was found.
	LastTime *string `json:"LastTime,omitempty" name:"LastTime"`

	// Scan mode
	// Note: This field may return `null`, indicating that no valid value was found.
	ScanMode *string `json:"ScanMode,omitempty" name:"ScanMode"`

	// Scan status
	// Note: This field may return `null`, indicating that no valid value was found.
	ScanStatus *uint64 `json:"ScanStatus,omitempty" name:"ScanStatus"`
}

type TLogInfo

type TLogInfo struct {
	// Compromised servers
	OutNum *int64 `json:"OutNum,omitempty" name:"OutNum"`

	// Unhandled alerts
	HandleNum *int64 `json:"HandleNum,omitempty" name:"HandleNum"`

	// Vulnerability attacks
	VulNum *int64 `json:"VulNum,omitempty" name:"VulNum"`

	// Detected networks
	NetworkNum *int64 `json:"NetworkNum,omitempty" name:"NetworkNum"`

	// Blocklist
	BanNum *int64 `json:"BanNum,omitempty" name:"BanNum"`

	// Brute force attacks
	BruteForceNum *int64 `json:"BruteForceNum,omitempty" name:"BruteForceNum"`
}

type UnHandleEvent

type UnHandleEvent struct {
	// Unhandled event type
	EventTableListStruct []*UnHandleEventDetail `json:"EventTableListStruct,omitempty" name:"EventTableListStruct"`

	// 1: yes; 0: no
	BaseLineUser *uint64 `json:"BaseLineUser,omitempty" name:"BaseLineUser"`

	// 1: on; 0: off
	BaseLineInSwitch *uint64 `json:"BaseLineInSwitch,omitempty" name:"BaseLineInSwitch"`

	// 1: on; 0: off
	BaseLineOutSwitch *uint64 `json:"BaseLineOutSwitch,omitempty" name:"BaseLineOutSwitch"`

	// Number of inter-VPC firewall instances
	// Note: This field may return `null`, indicating that no valid value was found.
	VpcFwCount *uint64 `json:"VpcFwCount,omitempty" name:"VpcFwCount"`
}

type UnHandleEventDetail

type UnHandleEventDetail struct {
	// Security event name
	EventName *string `json:"EventName,omitempty" name:"EventName"`

	// Number of unhandled events
	Total *uint64 `json:"Total,omitempty" name:"Total"`
}

type VpcDnsInfo

type VpcDnsInfo struct {
	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// VPC name
	VpcName *string `json:"VpcName,omitempty" name:"VpcName"`

	// NAT firewall mode. 0: Create new; 1: Use existing
	FwMode *int64 `json:"FwMode,omitempty" name:"FwMode"`

	// VPC IPv4 CIDR block (Classless Inter-Domain Routing)
	VpcIpv4Cidr *string `json:"VpcIpv4Cidr,omitempty" name:"VpcIpv4Cidr"`

	// Public EIP, which is the firewall DNS resolution address
	DNSEip *string `json:"DNSEip,omitempty" name:"DNSEip"`

	// NAT gateway ID
	// Note: This field may return `null`, indicating that no valid value was found.
	NatInsId *string `json:"NatInsId,omitempty" name:"NatInsId"`

	// NAT gateway name
	// Note: This field may return `null`, indicating that no valid value was found.
	NatInsName *string `json:"NatInsName,omitempty" name:"NatInsName"`

	// 0: off; 1: on
	SwitchStatus *int64 `json:"SwitchStatus,omitempty" name:"SwitchStatus"`
}

Jump to

Keyboard shortcuts

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