v20190904

package
v3.0.918+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 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,omitnil,omitempty" name:"Id"`

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

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

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

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

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

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

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

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

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

type AddAcRuleRequest

type AddAcRuleRequest struct {
	*tchttp.BaseRequest

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

	// The action that Cloud Firewall performs on the traffic. Valid values:
	// accept: allow
	// drop: deny
	// log: observe
	RuleAction *string `json:"RuleAction,omitnil,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,omitnil,omitempty" name:"Direction"`

	// The description of access control rules.
	Description *string `json:"Description,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"Protocol"`

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

	// Indicates whether to enable the rules. Default: enable. Valid values:
	// true: enable; false: disable
	Enable *string `json:"Enable,omitnil,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,omitnil,omitempty" name:"OrderIndex"`

	// The action that Cloud Firewall performs on the traffic. Valid values:
	// accept: allow
	// drop: deny
	// log: observe
	RuleAction *string `json:"RuleAction,omitnil,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,omitnil,omitempty" name:"Direction"`

	// The description of access control rules.
	Description *string `json:"Description,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"Protocol"`

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

	// Indicates whether to enable the rules. Default: enable. Valid values:
	// true: enable; false: disable
	Enable *string `json:"Enable,omitnil,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,omitnil,omitempty" name:"RuleUuid"`

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

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

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

Predefined struct for user

type AddEnterpriseSecurityGroupRulesRequest

type AddEnterpriseSecurityGroupRulesRequest struct {
	*tchttp.BaseRequest

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

	// Adding type. 0: add to the end; 1: add to the front; 2: insert. Default: 0
	Type *uint64 `json:"Type,omitnil,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,omitnil,omitempty" name:"ClientToken"`

	// Indicates whether to delay publishing. 1: delay; other values: do not delay
	IsDelay *uint64 `json:"IsDelay,omitnil,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,omitnil,omitempty" name:"Data"`

	// Adding type. 0: add to the end; 1: add to the front; 2: insert. Default: 0
	Type *uint64 `json:"Type,omitnil,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,omitnil,omitempty" name:"ClientToken"`

	// Indicates whether to delay publishing. 1: delay; other values: do not delay
	IsDelay *uint64 `json:"IsDelay,omitnil,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,omitnil,omitempty" name:"Status"`

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

Predefined struct for user

type AddNatAcRuleRequest

type AddNatAcRuleRequest struct {
	*tchttp.BaseRequest

	// NAT access control rules to be added.
	Rules []*CreateNatRuleItem `json:"Rules,omitnil,omitempty" name:"Rules"`

	// Source of the rules to be added. Generally, this parameter is not used. The value insert_rule indicates that rules in the specified location are inserted, and the value batch_import indicates that rules are imported in batches. If the parameter is left empty, rules defined in the API request are added.
	From *string `json:"From,omitnil,omitempty" name:"From"`
}

func NewAddNatAcRuleRequest

func NewAddNatAcRuleRequest() (request *AddNatAcRuleRequest)

func (*AddNatAcRuleRequest) FromJsonString

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

func (r *AddNatAcRuleRequest) ToJsonString() string

type AddNatAcRuleRequestParams

type AddNatAcRuleRequestParams struct {
	// NAT access control rules to be added.
	Rules []*CreateNatRuleItem `json:"Rules,omitnil,omitempty" name:"Rules"`

	// Source of the rules to be added. Generally, this parameter is not used. The value insert_rule indicates that rules in the specified location are inserted, and the value batch_import indicates that rules are imported in batches. If the parameter is left empty, rules defined in the API request are added.
	From *string `json:"From,omitnil,omitempty" name:"From"`
}

Predefined struct for user

type AddNatAcRuleResponse

type AddNatAcRuleResponse struct {
	*tchttp.BaseResponse
	Response *AddNatAcRuleResponseParams `json:"Response"`
}

func NewAddNatAcRuleResponse

func NewAddNatAcRuleResponse() (response *AddNatAcRuleResponse)

func (*AddNatAcRuleResponse) FromJsonString

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

func (r *AddNatAcRuleResponse) ToJsonString() string

type AddNatAcRuleResponseParams

type AddNatAcRuleResponseParams struct {
	// ID list of new rules.
	RuleUuid []*int64 `json:"RuleUuid,omitnil,omitempty" name:"RuleUuid"`

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

Predefined struct for user

type AssetZone

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

	// Region
	ZoneEng *string `json:"ZoneEng,omitnil,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,omitnil,omitempty" name:"InstanceId"`

	// Instance name
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceName *string `json:"InstanceName,omitnil,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,omitnil,omitempty" name:"Type"`

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

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

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

	// Private IP
	// Note: This field may return `null`, indicating that no valid value was found.
	Ip *string `json:"Ip,omitnil,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,omitnil,omitempty" name:"SecurityGroupCount"`
}

type BetaInfoByACL

type BetaInfoByACL struct {
	// Task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Last execution time
	// Note: This field may return null, indicating that no valid values can be obtained.
	LastTime *string `json:"LastTime,omitnil,omitempty" name:"LastTime"`
}

type BlockIgnoreRule

type BlockIgnoreRule struct {
	// Domain name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Rule IP.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Ioc *string `json:"Ioc,omitnil,omitempty" name:"Ioc"`

	// Threat level.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Level *string `json:"Level,omitnil,omitempty" name:"Level"`

	// Source event name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	EventName *string `json:"EventName,omitnil,omitempty" name:"EventName"`

	// Direction. Valid values: 0: outbound; 1: inbound.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Direction *int64 `json:"Direction,omitnil,omitempty" name:"Direction"`

	// Protocol.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Address.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`

	// Rule type. Valid values: 1: block; 2: allow.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Action *int64 `json:"Action,omitnil,omitempty" name:"Action"`

	// Time when a rule starts to take effect.
	// Note: This field may return null, indicating that no valid values can be obtained.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Time when a rule expires.
	// Note: This field may return null, indicating that no valid values can be obtained.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Reason for ignoring.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IgnoreReason *string `json:"IgnoreReason,omitnil,omitempty" name:"IgnoreReason"`

	// Security event source.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Source *string `json:"Source,omitnil,omitempty" name:"Source"`

	// Rule ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UniqueId *string `json:"UniqueId,omitnil,omitempty" name:"UniqueId"`

	// Number of rule matching times.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MatchTimes *int64 `json:"MatchTimes,omitnil,omitempty" name:"MatchTimes"`

	// Country.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Country *string `json:"Country,omitnil,omitempty" name:"Country"`

	Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"`
}

type CfwNatDnatRule

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

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

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

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

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

	// The description of NAT firewall forwarding rules.
	Description *string `json:"Description,omitnil,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) AddNatAcRule

func (c *Client) AddNatAcRule(request *AddNatAcRuleRequest) (response *AddNatAcRuleResponse, err error)

AddNatAcRule This API is used to add NAT access control 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) AddNatAcRuleWithContext

func (c *Client) AddNatAcRuleWithContext(ctx context.Context, request *AddNatAcRuleRequest) (response *AddNatAcRuleResponse, err error)

AddNatAcRule This API is used to add NAT access control 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) CreateAcRules

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

CreateAcRules This API is used to create access control 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 access control 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) DescribeBlockIgnoreList

func (c *Client) DescribeBlockIgnoreList(request *DescribeBlockIgnoreListRequest) (response *DescribeBlockIgnoreListResponse, err error)

DescribeBlockIgnoreList This API is used to get allowlists or blocklists for intrusion prevention.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeBlockIgnoreListWithContext

func (c *Client) DescribeBlockIgnoreListWithContext(ctx context.Context, request *DescribeBlockIgnoreListRequest) (response *DescribeBlockIgnoreListResponse, err error)

DescribeBlockIgnoreList This API is used to get allowlists or blocklists for intrusion prevention.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

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

func (c *Client) DescribeNatAcRule(request *DescribeNatAcRuleRequest) (response *DescribeNatAcRuleResponse, err error)

DescribeNatAcRule This API is used to get the NAT access control list.

error code that may be returned:

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

func (*Client) DescribeNatAcRuleWithContext

func (c *Client) DescribeNatAcRuleWithContext(ctx context.Context, request *DescribeNatAcRuleRequest) (response *DescribeNatAcRuleResponse, err error)

DescribeNatAcRule This API is used to get the NAT access control list.

error code that may be returned:

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

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 manage blocked/allowed IPs and domains.

Add IPs/domains to the blocked/allowed list

Remove IPs/domains from the blocked/allowed list

Modify events related with the IPs/domains in the blocked/allowed 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 manage blocked/allowed IPs and domains.

Add IPs/domains to the blocked/allowed list

Remove IPs/domains from the blocked/allowed list

Modify events related with the IPs/domains in the blocked/allowed 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) ModifyEnterpriseSecurityDispatchStatus

func (c *Client) ModifyEnterpriseSecurityDispatchStatus(request *ModifyEnterpriseSecurityDispatchStatusRequest) (response *ModifyEnterpriseSecurityDispatchStatusResponse, err error)

ModifyEnterpriseSecurityDispatchStatus This API is used to modify the publishing status of an enterprise security group.

error code that may be returned:

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

func (*Client) ModifyEnterpriseSecurityDispatchStatusWithContext

func (c *Client) ModifyEnterpriseSecurityDispatchStatusWithContext(ctx context.Context, request *ModifyEnterpriseSecurityDispatchStatusRequest) (response *ModifyEnterpriseSecurityDispatchStatusResponse, err error)

ModifyEnterpriseSecurityDispatchStatus This API is used to modify the publishing status of an enterprise security group.

error code that may be returned:

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

func (*Client) ModifyEnterpriseSecurityGroupRule

func (c *Client) ModifyEnterpriseSecurityGroupRule(request *ModifyEnterpriseSecurityGroupRuleRequest) (response *ModifyEnterpriseSecurityGroupRuleResponse, err error)

ModifyEnterpriseSecurityGroupRule This API is used to modify a new enterprise security group rule.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyEnterpriseSecurityGroupRuleWithContext

func (c *Client) ModifyEnterpriseSecurityGroupRuleWithContext(ctx context.Context, request *ModifyEnterpriseSecurityGroupRuleRequest) (response *ModifyEnterpriseSecurityGroupRuleResponse, err error)

ModifyEnterpriseSecurityGroupRule This API is used to modify a new enterprise security group rule.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyNatAcRule

func (c *Client) ModifyNatAcRule(request *ModifyNatAcRuleRequest) (response *ModifyNatAcRuleResponse, err error)

ModifyNatAcRule This API is used to modify NAT access control rules.

error code that may be returned:

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

func (*Client) ModifyNatAcRuleWithContext

func (c *Client) ModifyNatAcRuleWithContext(ctx context.Context, request *ModifyNatAcRuleRequest) (response *ModifyNatAcRuleResponse, err error)

ModifyNatAcRule This API is used to modify NAT access control rules.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
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) ModifyNatSequenceRules

func (c *Client) ModifyNatSequenceRules(request *ModifyNatSequenceRulesRequest) (response *ModifyNatSequenceRulesResponse, err error)

ModifyNatSequenceRules This API is used to change the sequence number of NAT 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) ModifyNatSequenceRulesWithContext

func (c *Client) ModifyNatSequenceRulesWithContext(ctx context.Context, request *ModifyNatSequenceRulesRequest) (response *ModifyNatSequenceRulesResponse, err error)

ModifyNatSequenceRules This API is used to change the sequence number of NAT 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) 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) ModifyStorageSetting

func (c *Client) ModifyStorageSetting(request *ModifyStorageSettingRequest) (response *ModifyStorageSettingResponse, err error)

ModifyStorageSetting This API is used to modify the log retention period or to clear logs.

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

func (c *Client) ModifyStorageSettingWithContext(ctx context.Context, request *ModifyStorageSettingRequest) (response *ModifyStorageSettingResponse, err error)

ModifyStorageSetting This API is used to modify the log retention period or to clear logs.

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

func (c *Client) RemoveNatAcRule(request *RemoveNatAcRuleRequest) (response *RemoveNatAcRuleResponse, err error)

RemoveNatAcRule This API is used to delete NAT access control 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) RemoveNatAcRuleWithContext

func (c *Client) RemoveNatAcRuleWithContext(ctx context.Context, request *RemoveNatAcRuleRequest) (response *RemoveNatAcRuleResponse, err error)

RemoveNatAcRule This API is used to delete NAT access control 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) 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 CommonFilter

type CommonFilter struct {
	// Search key.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Search values.
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`

	// Enum of integers that represent relations between Name and Values.
	// enum FilterOperatorType {
	//     // Invalid
	//     FILTER_OPERATOR_TYPE_INVALID = 0;
	//     // Equal to
	//     FILTER_OPERATOR_TYPE_EQUAL = 1;
	//     // Greater than
	//     FILTER_OPERATOR_TYPE_GREATER = 2;
	//     // Less than
	//     FILTER_OPERATOR_TYPE_LESS = 3;
	//     // Greater than or equal to
	//     FILTER_OPERATOR_TYPE_GREATER_EQ = 4;
	//     // Less than or equal to
	//     FILTER_OPERATOR_TYPE_LESS_EQ = 5;
	//     // Not equal to
	//     FILTER_OPERATOR_TYPE_NO_EQ = 6;
	//     // In (contained in the array)
	//     FILTER_OPERATOR_TYPE_IN = 7;
	//     // Not in
	//     FILTER_OPERATOR_TYPE_NOT_IN = 8;
	//     // Fuzzily matched
	//     FILTER_OPERATOR_TYPE_FUZZINESS = 9;
	//     // Existing
	//     FILTER_OPERATOR_TYPE_EXIST = 10;
	//     // Not existing
	//     FILTER_OPERATOR_TYPE_NOT_EXIST = 11;
	//     // Regular
	//     FILTER_OPERATOR_TYPE_REGULAR = 12;
	// }
	OperatorType *int64 `json:"OperatorType,omitnil,omitempty" name:"OperatorType"`
}

type CreateAcRulesRequest

type CreateAcRulesRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

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

	// NAT region
	Area *string `json:"Area,omitnil,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,omitnil,omitempty" name:"Data"`

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

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

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

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

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

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

	// NAT region
	Area *string `json:"Area,omitnil,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,omitnil,omitempty" name:"Status"`

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

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

Predefined struct for user

type CreateNatFwInstanceRequest

type CreateNatFwInstanceRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

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

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

	// IP range of the firewall
	FwCidrInfo *FwCidrInfo `json:"FwCidrInfo,omitnil,omitempty" name:"FwCidrInfo"`
}

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,omitnil,omitempty" name:"Name"`

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

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

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

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

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

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

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

	// IP range of the firewall
	FwCidrInfo *FwCidrInfo `json:"FwCidrInfo,omitnil,omitempty" name:"FwCidrInfo"`
}

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,omitnil,omitempty" name:"CfwInsId"`

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

Predefined struct for user

type CreateNatFwInstanceWithDomainRequest

type CreateNatFwInstanceWithDomainRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

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

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

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

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

	// IP range of the firewall
	FwCidrInfo *FwCidrInfo `json:"FwCidrInfo,omitnil,omitempty" name:"FwCidrInfo"`
}

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,omitnil,omitempty" name:"Name"`

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

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

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

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

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

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

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

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

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

	// IP range of the firewall
	FwCidrInfo *FwCidrInfo `json:"FwCidrInfo,omitnil,omitempty" name:"FwCidrInfo"`
}

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,omitnil,omitempty" name:"CfwInsId"`

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

Predefined struct for user

type CreateNatRuleItem

type CreateNatRuleItem struct {
	// Access source. Example: `net: IP/CIDR(192.168.0.2)`
	SourceContent *string `json:"SourceContent,omitnil,omitempty" name:"SourceContent"`

	// Access source type. Values for inbound rules: `ip`, `net`, `template`, and `location`. Values for outbound rules: `ip`, `net`, `template`, `instance`, `group`, and `tag`.
	SourceType *string `json:"SourceType,omitnil,omitempty" name:"SourceType"`

	// Access target. Example: `net: IP/CIDR(192.168.0.2); domain: domain name rule, e.g., *.qq.com
	TargetContent *string `json:"TargetContent,omitnil,omitempty" name:"TargetContent"`

	// Access target type. Values for inbound rules: `ip`, `net`, `template`, `instance`, `group`, and `tag`. Values for outbound rules: `ip`, `net`, `domain`, `template`, and `location`.
	TargetType *string `json:"TargetType,omitnil,omitempty" name:"TargetType"`

	// Protocol. Values: `TCP`, `UDP`, `ICMP`, `ANY`, `HTTP`, `HTTPS`, `HTTP/HTTPS`, `SMTP`, `SMTPS`, `SMTP/SMTPS`, `FTP`, and `DNS`.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Specify how the CFW instance deals with the traffic hit the access control rule. Values: `accept` (allow), `drop` (reject), and `log` (observe).
	RuleAction *string `json:"RuleAction,omitnil,omitempty" name:"RuleAction"`

	// The port of the access control rule. Values: `-1/-1` (all ports) and `80` (Port 80)
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

	// Rule direction. Values: `1` (Inbound) and `0` (Outbound)
	Direction *uint64 `json:"Direction,omitnil,omitempty" name:"Direction"`

	// Rule sequence number
	OrderIndex *int64 `json:"OrderIndex,omitnil,omitempty" name:"OrderIndex"`

	// Rule status. `true` (Enabled); `false` (Disabled)
	Enable *string `json:"Enable,omitnil,omitempty" name:"Enable"`

	// The unique ID of the rule, which is not required when you create a rule.
	Uuid *int64 `json:"Uuid,omitnil,omitempty" name:"Uuid"`

	// Description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type CreateSecurityGroupRulesRequest

type CreateSecurityGroupRulesRequest struct {
	*tchttp.BaseRequest

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

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

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

	// Indicates whether to enable rules after addition. 0: disable; 1: enable. 1 by default
	Enable *uint64 `json:"Enable,omitnil,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,omitnil,omitempty" name:"Data"`

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

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

	// Indicates whether to enable rules after addition. 0: disable; 1: enable. 1 by default
	Enable *uint64 `json:"Enable,omitnil,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,omitnil,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"Id"`

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

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

	// NAT region, e.g. ap-shanghai/ap-guangzhou/ap-chongqing
	Area *string `json:"Area,omitnil,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,omitnil,omitempty" name:"Id"`

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

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

	// NAT region, e.g. ap-shanghai/ap-guangzhou/ap-chongqing
	Area *string `json:"Area,omitnil,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,omitnil,omitempty" name:"Status"`

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

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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 of the task. `0`: Modified successfully; Others: Modification failed
	Status *int64 `json:"Status,omitnil,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,omitnil,omitempty" name:"Info"`

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

Predefined struct for user

type DeleteResourceGroupRequest

type DeleteResourceGroupRequest struct {
	*tchttp.BaseRequest

	// Group ID
	GroupId *string `json:"GroupId,omitnil,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,omitnil,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,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteSecurityGroupRuleRequest

type DeleteSecurityGroupRuleRequest struct {
	*tchttp.BaseRequest

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

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

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

	// Indicates whether to delete the reverse rule. 0: no; 1: yes
	IsDelReverse *uint64 `json:"IsDelReverse,omitnil,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,omitnil,omitempty" name:"Id"`

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

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

	// Indicates whether to delete the reverse rule. 0: no; 1: yes
	IsDelReverse *uint64 `json:"IsDelReverse,omitnil,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,omitnil,omitempty" name:"Status"`

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

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescAcItem

type DescAcItem struct {
	// Access source.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SourceContent *string `json:"SourceContent,omitnil,omitempty" name:"SourceContent"`

	// Access destination.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetContent *string `json:"TargetContent,omitnil,omitempty" name:"TargetContent"`

	// Protocol.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Port.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

	// Action that Cloud Firewall performs on the traffic. Valid values: accept (allow), drop (reject), and log (monitor).
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleAction *string `json:"RuleAction,omitnil,omitempty" name:"RuleAction"`

	// Description.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Number of rule matching times.
	Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"`

	// Rule sequence number.
	OrderIndex *uint64 `json:"OrderIndex,omitnil,omitempty" name:"OrderIndex"`

	// Access source type. Valid values for an inbound rule: ip, net, template, and location; valid values for an outbound rule: ip, net, template, instance, group, and tag.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SourceType *string `json:"SourceType,omitnil,omitempty" name:"SourceType"`

	// Access destination type. Valid values for an inbound rule: ip, net, template, instance, group, and tag; valid values for an outbound rule: ip, net, domain, template, and location.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetType *string `json:"TargetType,omitnil,omitempty" name:"TargetType"`

	// Unique ID of the rule.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Uuid *uint64 `json:"Uuid,omitnil,omitempty" name:"Uuid"`

	// Rule validity.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Invalid *uint64 `json:"Invalid,omitnil,omitempty" name:"Invalid"`

	// Valid values: 0: common rules; 1: regional rules.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsRegion *uint64 `json:"IsRegion,omitnil,omitempty" name:"IsRegion"`

	// Country ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CountryCode *uint64 `json:"CountryCode,omitnil,omitempty" name:"CountryCode"`

	// City ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CityCode *uint64 `json:"CityCode,omitnil,omitempty" name:"CityCode"`

	// Country name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CountryName *string `json:"CountryName,omitnil,omitempty" name:"CountryName"`

	// City name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CityName *string `json:"CityName,omitnil,omitempty" name:"CityName"`

	// Cloud provider code.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CloudCode *string `json:"CloudCode,omitnil,omitempty" name:"CloudCode"`

	// Valid values: 0: common rules; 1: cloud provider rules.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsCloud *uint64 `json:"IsCloud,omitnil,omitempty" name:"IsCloud"`

	// Rule status. Valid values: true: enabled; false: disabled.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Enable *string `json:"Enable,omitnil,omitempty" name:"Enable"`

	// Rule direction. Valid values: 1: inbound; 0: outbound.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Direction *uint64 `json:"Direction,omitnil,omitempty" name:"Direction"`

	// Instance name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// UUID for internal use. Generally, this field is not required.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InternalUuid *int64 `json:"InternalUuid,omitnil,omitempty" name:"InternalUuid"`

	// Rule status. This field is valid when you query rule matching details. Valid values: 0: new; 1: deleted; 2: edited and deleted.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Details of associated tasks
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	BetaList []*BetaInfoByACL `json:"BetaList,omitnil,omitempty" name:"BetaList"`
}

type DescribeAcListsRequest

type DescribeAcListsRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

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

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

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

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,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,omitnil,omitempty" name:"Protocol"`

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

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

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

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

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

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

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

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

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,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,omitnil,omitempty" name:"Total"`

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

	// Total entries excluding the filtered ones
	AllTotal *uint64 `json:"AllTotal,omitnil,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,omitnil,omitempty" name:"Enable"`

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

Predefined struct for user

type DescribeAssociatedInstanceListRequest

type DescribeAssociatedInstanceListRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

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

	// Instance type. '3': CVM instance; '4': CLB instance; '5': ENI instance; '6': Cloud database
	Type *string `json:"Type,omitnil,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,omitnil,omitempty" name:"Offset"`

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

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

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

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

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

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

	// Instance type. '3': CVM instance; '4': CLB instance; '5': ENI instance; '6': Cloud database
	Type *string `json:"Type,omitnil,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,omitnil,omitempty" name:"Total"`

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

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

Predefined struct for user

type DescribeBlockByIpTimesListRequest

type DescribeBlockByIpTimesListRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

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

	// Log source. move: inter-VPC firewall
	LogSource *string `json:"LogSource,omitnil,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,omitnil,omitempty" name:"StartTime"`

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

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

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

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

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

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

	// Log source. move: inter-VPC firewall
	LogSource *string `json:"LogSource,omitnil,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,omitnil,omitempty" name:"Data"`

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

Predefined struct for user

type DescribeBlockIgnoreListRequest

type DescribeBlockIgnoreListRequest struct {
	*tchttp.BaseRequest

	// Number of entries per page.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page offset.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Direction. Valid values: 1: inbound public access; 0: outbound public access; 3: private network access; empty string: all access.
	Direction *string `json:"Direction,omitnil,omitempty" name:"Direction"`

	// Rule type. Valid values: 1: block; 2: allow.
	RuleType *uint64 `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Column by which rules are sorted. Valid values: EndTime: end time; StartTime: start time; MatchTimes: number of matching times.
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// Sort order. Valid values: desc: descending; asc: ascending.
	By *string `json:"By,omitnil,omitempty" name:"By"`

	// Search keys, in a JSON string. Valid values: {}: empty; domain: domain name; level: threat level; ignore_reason: reason for allowing access; rule_source: source of a security event; address: geographical location; common: fuzzy search.
	SearchValue *string `json:"SearchValue,omitnil,omitempty" name:"SearchValue"`
}

func NewDescribeBlockIgnoreListRequest

func NewDescribeBlockIgnoreListRequest() (request *DescribeBlockIgnoreListRequest)

func (*DescribeBlockIgnoreListRequest) FromJsonString

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

func (r *DescribeBlockIgnoreListRequest) ToJsonString() string

type DescribeBlockIgnoreListRequestParams

type DescribeBlockIgnoreListRequestParams struct {
	// Number of entries per page.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page offset.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Direction. Valid values: 1: inbound public access; 0: outbound public access; 3: private network access; empty string: all access.
	Direction *string `json:"Direction,omitnil,omitempty" name:"Direction"`

	// Rule type. Valid values: 1: block; 2: allow.
	RuleType *uint64 `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Column by which rules are sorted. Valid values: EndTime: end time; StartTime: start time; MatchTimes: number of matching times.
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// Sort order. Valid values: desc: descending; asc: ascending.
	By *string `json:"By,omitnil,omitempty" name:"By"`

	// Search keys, in a JSON string. Valid values: {}: empty; domain: domain name; level: threat level; ignore_reason: reason for allowing access; rule_source: source of a security event; address: geographical location; common: fuzzy search.
	SearchValue *string `json:"SearchValue,omitnil,omitempty" name:"SearchValue"`
}

Predefined struct for user

type DescribeBlockIgnoreListResponse

type DescribeBlockIgnoreListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBlockIgnoreListResponseParams `json:"Response"`
}

func NewDescribeBlockIgnoreListResponse

func NewDescribeBlockIgnoreListResponse() (response *DescribeBlockIgnoreListResponse)

func (*DescribeBlockIgnoreListResponse) FromJsonString

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

func (r *DescribeBlockIgnoreListResponse) ToJsonString() string

type DescribeBlockIgnoreListResponseParams

type DescribeBlockIgnoreListResponseParams struct {
	// List data.
	Data []*BlockIgnoreRule `json:"Data,omitnil,omitempty" name:"Data"`

	// Total number of results, which is used for pagination.
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// Status code. Valid values: 0: successful; others: failed.
	ReturnCode *int64 `json:"ReturnCode,omitnil,omitempty" name:"ReturnCode"`

	// Status message. Valid values: success: successful query; fail: failed query.
	ReturnMsg *string `json:"ReturnMsg,omitnil,omitempty" name:"ReturnMsg"`

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

Predefined struct for user

type DescribeBlockStaticListRequest

type DescribeBlockStaticListRequest struct {
	*tchttp.BaseRequest

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

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

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

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

	// Search criteria
	SearchValue *string `json:"SearchValue,omitnil,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,omitnil,omitempty" name:"StartTime"`

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

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

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

	// Search criteria
	SearchValue *string `json:"SearchValue,omitnil,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,omitnil,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"BasicRuleSwitch"`

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

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

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

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

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

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

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"PageNo"`

	// Maximum number of entries per page displayed for query by page number.
	//
	// Maximum value: 50.
	PageSize *string `json:"PageSize,omitnil,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,omitnil,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,omitnil,omitempty" name:"DestContent"`

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

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

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

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

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

	// Parameter template ID of port and protocol type; mutually exclusive with Protocol and Port
	ServiceTemplateId *string `json:"ServiceTemplateId,omitnil,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,omitnil,omitempty" name:"PageNo"`

	// Maximum number of entries per page displayed for query by page number.
	//
	// Maximum value: 50.
	PageSize *string `json:"PageSize,omitnil,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,omitnil,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,omitnil,omitempty" name:"DestContent"`

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

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

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

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

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

	// Parameter template ID of port and protocol type; mutually exclusive with Protocol and Port
	ServiceTemplateId *string `json:"ServiceTemplateId,omitnil,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,omitnil,omitempty" name:"PageNo"`

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

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

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

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"Data"`

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

Predefined struct for user

type DescribeIPStatusListRequest

type DescribeIPStatusListRequest struct {
	*tchttp.BaseRequest

	// Asset ID
	IPList []*string `json:"IPList,omitnil,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,omitnil,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,omitnil,omitempty" name:"StatusList"`

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

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

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

Predefined struct for user

type DescribeNatAcRuleRequest

type DescribeNatAcRuleRequest struct {
	*tchttp.BaseRequest

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

	// Page offset.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Index to be queried. This parameter is optional, and is used only in specific cases.
	Index *string `json:"Index,omitnil,omitempty" name:"Index"`

	// Filter condition combination.
	Filters []*CommonFilter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Start time for search. This parameter is optional.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time for search. This parameter is optional.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Valid values: desc: descending; asc: ascending. The returned results are sorted by the value of By. If this parameter is specified, By is also required.
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// Field by which the returned results are sorted.
	By *string `json:"By,omitnil,omitempty" name:"By"`
}

func NewDescribeNatAcRuleRequest

func NewDescribeNatAcRuleRequest() (request *DescribeNatAcRuleRequest)

func (*DescribeNatAcRuleRequest) FromJsonString

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

func (r *DescribeNatAcRuleRequest) ToJsonString() string

type DescribeNatAcRuleRequestParams

type DescribeNatAcRuleRequestParams struct {
	// Number of entries per page.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Page offset.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Index to be queried. This parameter is optional, and is used only in specific cases.
	Index *string `json:"Index,omitnil,omitempty" name:"Index"`

	// Filter condition combination.
	Filters []*CommonFilter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Start time for search. This parameter is optional.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time for search. This parameter is optional.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Valid values: desc: descending; asc: ascending. The returned results are sorted by the value of By. If this parameter is specified, By is also required.
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// Field by which the returned results are sorted.
	By *string `json:"By,omitnil,omitempty" name:"By"`
}

Predefined struct for user

type DescribeNatAcRuleResponse

type DescribeNatAcRuleResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNatAcRuleResponseParams `json:"Response"`
}

func NewDescribeNatAcRuleResponse

func NewDescribeNatAcRuleResponse() (response *DescribeNatAcRuleResponse)

func (*DescribeNatAcRuleResponse) FromJsonString

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

func (r *DescribeNatAcRuleResponse) ToJsonString() string

type DescribeNatAcRuleResponseParams

type DescribeNatAcRuleResponseParams struct {
	// Total number of entries.
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// NAT access control list data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*DescAcItem `json:"Data,omitnil,omitempty" name:"Data"`

	// Total number of entries returned without filtering.
	AllTotal *uint64 `json:"AllTotal,omitnil,omitempty" name:"AllTotal"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"SubnetCount"`

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

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"NatinsLst"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"NatinsLst"`

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

Predefined struct for user

type DescribeNatFwInstancesInfoRequest

type DescribeNatFwInstancesInfoRequest struct {
	*tchttp.BaseRequest

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

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

	// Page length
	Limit *int64 `json:"Limit,omitnil,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,omitnil,omitempty" name:"Filter"`

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

	// Page length
	Limit *int64 `json:"Limit,omitnil,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,omitnil,omitempty" name:"NatinsLst"`

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

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

Predefined struct for user

type DescribeNatFwVpcDnsLstRequest

type DescribeNatFwVpcDnsLstRequest struct {
	*tchttp.BaseRequest

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

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

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

	// Maximum entries per page
	Limit *int64 `json:"Limit,omitnil,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,omitnil,omitempty" name:"NatFwInsId"`

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

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

	// Maximum entries per page
	Limit *int64 `json:"Limit,omitnil,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,omitnil,omitempty" name:"VpcDnsSwitchLst"`

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

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

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"QueryType"`

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

	// all: all, including subgroups; own: my asset groups only
	ShowType *string `json:"ShowType,omitnil,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,omitnil,omitempty" name:"QueryType"`

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

	// all: all, including subgroups; own: my asset groups only
	ShowType *string `json:"ShowType,omitnil,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,omitnil,omitempty" name:"Data"`

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

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

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

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

Predefined struct for user

type DescribeRuleOverviewRequest

type DescribeRuleOverviewRequest struct {
	*tchttp.BaseRequest

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitnil,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,omitnil,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,omitnil,omitempty" name:"AllTotal"`

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

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

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

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

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

Predefined struct for user

type DescribeSecurityGroupListRequest

type DescribeSecurityGroupListRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

	// 0: not filter; 1: filter out normal rules to retain abnormal rules
	Filter *uint64 `json:"Filter,omitnil,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,omitnil,omitempty" name:"Direction"`

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

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

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

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

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

	// 0: not filter; 1: filter out normal rules to retain abnormal rules
	Filter *uint64 `json:"Filter,omitnil,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,omitnil,omitempty" name:"Total"`

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

	// Total entries excluding the filtered ones
	AllTotal *uint64 `json:"AllTotal,omitnil,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,omitnil,omitempty" name:"Enable"`

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

Predefined struct for user

type DescribeSourceAssetRequest

type DescribeSourceAssetRequest struct {
	*tchttp.BaseRequest

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

	// Asset type. 1: public network; 2: private network
	InsType *string `json:"InsType,omitnil,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,omitnil,omitempty" name:"ChooseType"`

	// Region
	Zone *string `json:"Zone,omitnil,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,omitnil,omitempty" name:"Limit"`

	// Offset of search results
	Offset *int64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"FuzzySearch"`

	// Asset type. 1: public network; 2: private network
	InsType *string `json:"InsType,omitnil,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,omitnil,omitempty" name:"ChooseType"`

	// Region
	Zone *string `json:"Zone,omitnil,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,omitnil,omitempty" name:"Limit"`

	// Offset of search results
	Offset *int64 `json:"Offset,omitnil,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,omitnil,omitempty" name:"ZoneList"`

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

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

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

Predefined struct for user

type DescribeSwitchListsRequest

type DescribeSwitchListsRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

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

	// Sorting field. PortTimes (number of risky ports)
	By *string `json:"By,omitnil,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,omitnil,omitempty" name:"Status"`

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

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

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

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

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

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

	// Sorting field. PortTimes (number of risky ports)
	By *string `json:"By,omitnil,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,omitnil,omitempty" name:"Total"`

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

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

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

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

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

Predefined struct for user

type DescribeTLogInfoRequest

type DescribeTLogInfoRequest struct {
	*tchttp.BaseRequest

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

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

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

	// Search criteria
	SearchValue *string `json:"SearchValue,omitnil,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,omitnil,omitempty" name:"StartTime"`

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

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

	// Search criteria
	SearchValue *string `json:"SearchValue,omitnil,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 {
	// `NetworkNum`: Number of detected network scans
	//  `HandleNum`: Number of pending processing events
	// "BanNum":
	//   `VulNum`: Number of vulnerability exploits
	//   "OutNum`: Number of compromised servers
	// "BruteForceNum": 0
	Data *TLogInfo `json:"Data,omitnil,omitempty" name:"Data"`

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

Predefined struct for user

type DescribeTLogIpListRequest

type DescribeTLogIpListRequest struct {
	*tchttp.BaseRequest

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

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

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

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

	// Search criteria
	SearchValue *string `json:"SearchValue,omitnil,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,omitnil,omitempty" name:"StartTime"`

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

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

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

	// Search criteria
	SearchValue *string `json:"SearchValue,omitnil,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,omitnil,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"EdgeId"`

	// Status value. 0: the only default value
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// NAT region, required for NAT
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Direction. 0: outbound; 1: inbound. 0 by default
	Direction *uint64 `json:"Direction,omitnil,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,omitnil,omitempty" name:"EdgeId"`

	// Status value. 0: the only default value
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// NAT region, required for NAT
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Direction. 0: outbound; 1: inbound. 0 by default
	Direction *uint64 `json:"Direction,omitnil,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,omitnil,omitempty" name:"Status"`

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

Predefined struct for user

type DescribeUnHandleEventTabListRequest

type DescribeUnHandleEventTabListRequest struct {
	*tchttp.BaseRequest

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

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

	// Gets example ID
	AssetID *string `json:"AssetID,omitnil,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,omitnil,omitempty" name:"StartTime"`

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

	// Gets example ID
	AssetID *string `json:"AssetID,omitnil,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,omitnil,omitempty" name:"Data"`

	// Error code. 0: success; non-0: error
	ReturnCode *int64 `json:"ReturnCode,omitnil,omitempty" name:"ReturnCode"`

	// Return message: success
	ReturnMsg *string `json:"ReturnMsg,omitnil,omitempty" name:"ReturnMsg"`

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

Predefined struct for user

type DnsVpcSwitch

type DnsVpcSwitch struct {
	// VPC ID
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 0: off; 1: on
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type ExpandCfwVerticalRequest

type ExpandCfwVerticalRequest struct {
	*tchttp.BaseRequest

	// nat: NAT firewall, ew: east-west firewall
	FwType *string `json:"FwType,omitnil,omitempty" name:"FwType"`

	// Bandwidth value
	Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"`

	// Firewall instance ID
	CfwInstance *string `json:"CfwInstance,omitnil,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,omitnil,omitempty" name:"FwType"`

	// Bandwidth value
	Width *uint64 `json:"Width,omitnil,omitempty" name:"Width"`

	// Firewall instance ID
	CfwInstance *string `json:"CfwInstance,omitnil,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,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type FwCidrInfo

type FwCidrInfo struct {
	// The IP range type of the firewall. Values: `VpcSelf` (VPC IP range preferred); `Assis` (Secondary IP range preferred); `Custom` (Custom IP range)
	FwCidrType *string `json:"FwCidrType,omitnil,omitempty" name:"FwCidrType"`

	// The IP segment assigned for each VPC.
	FwCidrLst []*FwVpcCidr `json:"FwCidrLst,omitnil,omitempty" name:"FwCidrLst"`

	// The IP segment used by other firewalls. Specify this if you want to assign a dedicated segment for the firewall.
	ComFwCidr *string `json:"ComFwCidr,omitnil,omitempty" name:"ComFwCidr"`
}

type FwVpcCidr

type FwVpcCidr struct {
	// VPC ID
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// IP range of the firewall. The mask must be at least /24.
	FwCidr *string `json:"FwCidr,omitnil,omitempty" name:"FwCidr"`
}

type IPDefendStatus

type IPDefendStatus struct {
	// IP address
	IP *string `json:"IP,omitnil,omitempty" name:"IP"`

	// Protection status. 1: enabled; -1: incorrect address; others: disabled
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type InstanceInfo

type InstanceInfo struct {
	// App ID
	AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"`

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

	// VPC ID
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// VPC name
	VPCName *string `json:"VPCName,omitnil,omitempty" name:"VPCName"`

	// Subnet ID
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// Asset ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Asset name
	InstanceName *string `json:"InstanceName,omitnil,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,omitnil,omitempty" name:"InsType"`

	// Public IP
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// Private IP
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// Number of ports
	PortNum *string `json:"PortNum,omitnil,omitempty" name:"PortNum"`

	// Number of vulnerabilities
	LeakNum *string `json:"LeakNum,omitnil,omitempty" name:"LeakNum"`

	// 1: public network; 2: private network
	InsSource *string `json:"InsSource,omitnil,omitempty" name:"InsSource"`

	// [a,b]
	// Note: This field may return `null`, indicating that no valid value was found.
	ResourcePath []*string `json:"ResourcePath,omitnil,omitempty" name:"ResourcePath"`
}

type IocListData

type IocListData struct {
	// IP address to be handled. Either IP or Domain is required.
	IP *string `json:"IP,omitnil,omitempty" name:"IP"`

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

	// Domain name to be handled. Either IP or Domain is required.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

type IpStatic

type IpStatic struct {
	// Value
	Num *int64 `json:"Num,omitnil,omitempty" name:"Num"`

	// Time shown on the x-axis of the line graph
	StatTime *string `json:"StatTime,omitnil,omitempty" name:"StatTime"`
}

type ModifyAcRuleRequest

type ModifyAcRuleRequest struct {
	*tchttp.BaseRequest

	// Array of rules
	Data []*RuleInfoData `json:"Data,omitnil,omitempty" name:"Data"`

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

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

	// NAT region
	Area *string `json:"Area,omitnil,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,omitnil,omitempty" name:"Data"`

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

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

	// NAT region
	Area *string `json:"Area,omitnil,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,omitnil,omitempty" name:"Status"`

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

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

Predefined struct for user

type ModifyAllPublicIPSwitchStatusRequest

type ModifyAllPublicIPSwitchStatusRequest struct {
	*tchttp.BaseRequest

	// Status. 0: off; 1: on
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// ID of the selected firewall toggle
	FireWallPublicIPs []*string `json:"FireWallPublicIPs,omitnil,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,omitnil,omitempty" name:"Status"`

	// ID of the selected firewall toggle
	FireWallPublicIPs []*string `json:"FireWallPublicIPs,omitnil,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,omitnil,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,omitnil,omitempty" name:"ReturnCode"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"Status"`

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

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

	// NAT region
	Area *string `json:"Area,omitnil,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,omitnil,omitempty" name:"Status"`

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

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

	// NAT region
	Area *string `json:"Area,omitnil,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,omitnil,omitempty" name:"Status"`

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

Predefined struct for user

type ModifyAllVPCSwitchStatusRequest

type ModifyAllVPCSwitchStatusRequest struct {
	*tchttp.BaseRequest

	// Status. 0: off; 1: on
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// ID of the selected firewall toggle
	FireWallVpcIds []*string `json:"FireWallVpcIds,omitnil,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,omitnil,omitempty" name:"Status"`

	// ID of the selected firewall toggle
	FireWallVpcIds []*string `json:"FireWallVpcIds,omitnil,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,omitnil,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,omitnil,omitempty" name:"ScanRange"`

	// Scan mode: 'heavy', 'medium', 'light'
	ScanDeep *string `json:"ScanDeep,omitnil,omitempty" name:"ScanDeep"`

	// Scan type. 1: scan now; 2: periodic scan
	RangeType *int64 `json:"RangeType,omitnil,omitempty" name:"RangeType"`

	// Scheduled task time, required when RangeType is 2
	ScanPeriod *string `json:"ScanPeriod,omitnil,omitempty" name:"ScanPeriod"`

	// Scans this field now and passes the filtered IPs
	ScanFilterIp []*string `json:"ScanFilterIp,omitnil,omitempty" name:"ScanFilterIp"`

	// 1: all; 2: single
	ScanType *int64 `json:"ScanType,omitnil,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,omitnil,omitempty" name:"ScanRange"`

	// Scan mode: 'heavy', 'medium', 'light'
	ScanDeep *string `json:"ScanDeep,omitnil,omitempty" name:"ScanDeep"`

	// Scan type. 1: scan now; 2: periodic scan
	RangeType *int64 `json:"RangeType,omitnil,omitempty" name:"RangeType"`

	// Scheduled task time, required when RangeType is 2
	ScanPeriod *string `json:"ScanPeriod,omitnil,omitempty" name:"ScanPeriod"`

	// Scans this field now and passes the filtered IPs
	ScanFilterIp []*string `json:"ScanFilterIp,omitnil,omitempty" name:"ScanFilterIp"`

	// 1: all; 2: single
	ScanType *int64 `json:"ScanType,omitnil,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,omitnil,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,omitnil,omitempty" name:"ReturnCode"`

	// Status value. 0: success; 1: scanning; others: failed
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

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

Predefined struct for user

type ModifyBlockIgnoreListRequest

type ModifyBlockIgnoreListRequest struct {
	*tchttp.BaseRequest

	// Type of the rule. Values: `1` (Blocklist); `2` (Allowlist)
	RuleType *int64 `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Either IP or Domain is required
	IOC []*IocListData `json:"IOC,omitnil,omitempty" name:"IOC"`

	// Optional values: delete, edit, and add
	IocAction *string `json:"IocAction,omitnil,omitempty" name:"IocAction"`

	// Time format: yyyy-MM-dd HH:mm:ss. Required when IocAction is edit or add
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of the period in the format of yyyy-MM-dd HH:mm:ss. It must be later than both the start time and the current time. It’s required when `IocAction` is `edit` or `add`.
	EndTime *string `json:"EndTime,omitnil,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 {
	// Type of the rule. Values: `1` (Blocklist); `2` (Allowlist)
	RuleType *int64 `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Either IP or Domain is required
	IOC []*IocListData `json:"IOC,omitnil,omitempty" name:"IOC"`

	// Optional values: delete, edit, and add
	IocAction *string `json:"IocAction,omitnil,omitempty" name:"IocAction"`

	// Time format: yyyy-MM-dd HH:mm:ss. Required when IocAction is edit or add
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of the period in the format of yyyy-MM-dd HH:mm:ss. It must be later than both the start time and the current time. It’s required when `IocAction` is `edit` or `add`.
	EndTime *string `json:"EndTime,omitnil,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,omitnil,omitempty" name:"ReturnMsg"`

	// Error code. 0: success; non-0: failed
	ReturnCode *uint64 `json:"ReturnCode,omitnil,omitempty" name:"ReturnCode"`

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

Predefined struct for user

type ModifyBlockTopRequest

type ModifyBlockTopRequest struct {
	*tchttp.BaseRequest

	// Record ID
	UniqueId *string `json:"UniqueId,omitnil,omitempty" name:"UniqueId"`

	// Operation type. 1: pin to top; 0: unpin
	OpeType *string `json:"OpeType,omitnil,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,omitnil,omitempty" name:"UniqueId"`

	// Operation type. 1: pin to top; 0: unpin
	OpeType *string `json:"OpeType,omitnil,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,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyEnterpriseSecurityDispatchStatusRequest

type ModifyEnterpriseSecurityDispatchStatusRequest struct {
	*tchttp.BaseRequest

	// Status. Values: `0` (Publish now), `1` (Stop publishing)
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}

func NewModifyEnterpriseSecurityDispatchStatusRequest

func NewModifyEnterpriseSecurityDispatchStatusRequest() (request *ModifyEnterpriseSecurityDispatchStatusRequest)

func (*ModifyEnterpriseSecurityDispatchStatusRequest) FromJsonString

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

func (*ModifyEnterpriseSecurityDispatchStatusRequest) ToJsonString

type ModifyEnterpriseSecurityDispatchStatusRequestParams

type ModifyEnterpriseSecurityDispatchStatusRequestParams struct {
	// Status. Values: `0` (Publish now), `1` (Stop publishing)
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyEnterpriseSecurityDispatchStatusResponse

type ModifyEnterpriseSecurityDispatchStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyEnterpriseSecurityDispatchStatusResponseParams `json:"Response"`
}

func NewModifyEnterpriseSecurityDispatchStatusResponse

func NewModifyEnterpriseSecurityDispatchStatusResponse() (response *ModifyEnterpriseSecurityDispatchStatusResponse)

func (*ModifyEnterpriseSecurityDispatchStatusResponse) FromJsonString

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

func (*ModifyEnterpriseSecurityDispatchStatusResponse) ToJsonString

type ModifyEnterpriseSecurityDispatchStatusResponseParams

type ModifyEnterpriseSecurityDispatchStatusResponseParams struct {
	// `0`: Modified successfully; Others: Modification failed
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

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

Predefined struct for user

type ModifyEnterpriseSecurityGroupRuleRequest

type ModifyEnterpriseSecurityGroupRuleRequest struct {
	*tchttp.BaseRequest

	// UUID of the rule, which can be obtained by querying the rule list
	RuleUuid *uint64 `json:"RuleUuid,omitnil,omitempty" name:"RuleUuid"`

	// Modification type. Values: `0` (Modify rule content), `1` (Toggle on/off a rule) and `2` (Toggle on/off all rules)
	ModifyType *uint64 `json:"ModifyType,omitnil,omitempty" name:"ModifyType"`

	// The new rule content you want. It’s only required when you want to modify the rule content (`ModifyType=0`)
	Data *SecurityGroupRule `json:"Data,omitnil,omitempty" name:"Data"`

	// `0`: Do not enable; `1`: Enable
	Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"`
}

func NewModifyEnterpriseSecurityGroupRuleRequest

func NewModifyEnterpriseSecurityGroupRuleRequest() (request *ModifyEnterpriseSecurityGroupRuleRequest)

func (*ModifyEnterpriseSecurityGroupRuleRequest) FromJsonString

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

func (*ModifyEnterpriseSecurityGroupRuleRequest) ToJsonString

type ModifyEnterpriseSecurityGroupRuleRequestParams

type ModifyEnterpriseSecurityGroupRuleRequestParams struct {
	// UUID of the rule, which can be obtained by querying the rule list
	RuleUuid *uint64 `json:"RuleUuid,omitnil,omitempty" name:"RuleUuid"`

	// Modification type. Values: `0` (Modify rule content), `1` (Toggle on/off a rule) and `2` (Toggle on/off all rules)
	ModifyType *uint64 `json:"ModifyType,omitnil,omitempty" name:"ModifyType"`

	// The new rule content you want. It’s only required when you want to modify the rule content (`ModifyType=0`)
	Data *SecurityGroupRule `json:"Data,omitnil,omitempty" name:"Data"`

	// `0`: Do not enable; `1`: Enable
	Enable *uint64 `json:"Enable,omitnil,omitempty" name:"Enable"`
}

Predefined struct for user

type ModifyEnterpriseSecurityGroupRuleResponse

type ModifyEnterpriseSecurityGroupRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyEnterpriseSecurityGroupRuleResponseParams `json:"Response"`
}

func NewModifyEnterpriseSecurityGroupRuleResponse

func NewModifyEnterpriseSecurityGroupRuleResponse() (response *ModifyEnterpriseSecurityGroupRuleResponse)

func (*ModifyEnterpriseSecurityGroupRuleResponse) FromJsonString

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

func (*ModifyEnterpriseSecurityGroupRuleResponse) ToJsonString

type ModifyEnterpriseSecurityGroupRuleResponseParams

type ModifyEnterpriseSecurityGroupRuleResponseParams struct {
	// Status value. `0`: Edited successfully; Others: Failed to edit
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// ID of new rule generated after the modification
	NewRuleUuid *uint64 `json:"NewRuleUuid,omitnil,omitempty" name:"NewRuleUuid"`

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

Predefined struct for user

type ModifyNatAcRuleRequest

type ModifyNatAcRuleRequest struct {
	*tchttp.BaseRequest

	// Array of rules to be modified.
	Rules []*CreateNatRuleItem `json:"Rules,omitnil,omitempty" name:"Rules"`
}

func NewModifyNatAcRuleRequest

func NewModifyNatAcRuleRequest() (request *ModifyNatAcRuleRequest)

func (*ModifyNatAcRuleRequest) FromJsonString

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

func (r *ModifyNatAcRuleRequest) ToJsonString() string

type ModifyNatAcRuleRequestParams

type ModifyNatAcRuleRequestParams struct {
	// Array of rules to be modified.
	Rules []*CreateNatRuleItem `json:"Rules,omitnil,omitempty" name:"Rules"`
}

Predefined struct for user

type ModifyNatAcRuleResponse

type ModifyNatAcRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyNatAcRuleResponseParams `json:"Response"`
}

func NewModifyNatAcRuleResponse

func NewModifyNatAcRuleResponse() (response *ModifyNatAcRuleResponse)

func (*ModifyNatAcRuleResponse) FromJsonString

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

func (r *ModifyNatAcRuleResponse) ToJsonString() string

type ModifyNatAcRuleResponseParams

type ModifyNatAcRuleResponseParams struct {
	// ID list of new rules that have been successfully modified.
	RuleUuid []*int64 `json:"RuleUuid,omitnil,omitempty" name:"RuleUuid"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"Mode"`

	// Firewall instance ID
	CfwInstance *string `json:"CfwInstance,omitnil,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,omitnil,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,omitnil,omitempty" name:"VpcList"`

	// IP range of the firewall
	FwCidrInfo *FwCidrInfo `json:"FwCidrInfo,omitnil,omitempty" name:"FwCidrInfo"`
}

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,omitnil,omitempty" name:"Mode"`

	// Firewall instance ID
	CfwInstance *string `json:"CfwInstance,omitnil,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,omitnil,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,omitnil,omitempty" name:"VpcList"`

	// IP range of the firewall
	FwCidrInfo *FwCidrInfo `json:"FwCidrInfo,omitnil,omitempty" name:"FwCidrInfo"`
}

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,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyNatFwSwitchRequest

type ModifyNatFwSwitchRequest struct {
	*tchttp.BaseRequest

	// Status. 0: off; 1: on
	Enable *int64 `json:"Enable,omitnil,omitempty" name:"Enable"`

	// List of firewall instance IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed.
	CfwInsIdList []*string `json:"CfwInsIdList,omitnil,omitempty" name:"CfwInsIdList"`

	// List of subnet IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed.
	SubnetIdList []*string `json:"SubnetIdList,omitnil,omitempty" name:"SubnetIdList"`

	// List of route table IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed.
	RouteTableIdList []*string `json:"RouteTableIdList,omitnil,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,omitnil,omitempty" name:"Enable"`

	// List of firewall instance IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed.
	CfwInsIdList []*string `json:"CfwInsIdList,omitnil,omitempty" name:"CfwInsIdList"`

	// List of subnet IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed.
	SubnetIdList []*string `json:"SubnetIdList,omitnil,omitempty" name:"SubnetIdList"`

	// List of route table IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed.
	RouteTableIdList []*string `json:"RouteTableIdList,omitnil,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,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyNatFwVpcDnsSwitchRequest

type ModifyNatFwVpcDnsSwitchRequest struct {
	*tchttp.BaseRequest

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

	// DNS toggle list
	DnsVpcSwitchLst []*DnsVpcSwitch `json:"DnsVpcSwitchLst,omitnil,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,omitnil,omitempty" name:"NatFwInsId"`

	// DNS toggle list
	DnsVpcSwitchLst []*DnsVpcSwitch `json:"DnsVpcSwitchLst,omitnil,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,omitnil,omitempty" name:"ReturnMsg"`

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

Predefined struct for user

type ModifyNatSequenceRulesRequest

type ModifyNatSequenceRulesRequest struct {
	*tchttp.BaseRequest

	// Rule sequence number. Values: `OrderIndex` (Original sequence number), `NewOrderIndex` (New sequence number)
	RuleChangeItems []*RuleChangeItem `json:"RuleChangeItems,omitnil,omitempty" name:"RuleChangeItems"`

	// Rule direction. Values: `1` (Inbound) and `0` (Outbound)
	Direction *uint64 `json:"Direction,omitnil,omitempty" name:"Direction"`
}

func NewModifyNatSequenceRulesRequest

func NewModifyNatSequenceRulesRequest() (request *ModifyNatSequenceRulesRequest)

func (*ModifyNatSequenceRulesRequest) FromJsonString

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

func (r *ModifyNatSequenceRulesRequest) ToJsonString() string

type ModifyNatSequenceRulesRequestParams

type ModifyNatSequenceRulesRequestParams struct {
	// Rule sequence number. Values: `OrderIndex` (Original sequence number), `NewOrderIndex` (New sequence number)
	RuleChangeItems []*RuleChangeItem `json:"RuleChangeItems,omitnil,omitempty" name:"RuleChangeItems"`

	// Rule direction. Values: `1` (Inbound) and `0` (Outbound)
	Direction *uint64 `json:"Direction,omitnil,omitempty" name:"Direction"`
}

Predefined struct for user

type ModifyNatSequenceRulesResponse

type ModifyNatSequenceRulesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyNatSequenceRulesResponseParams `json:"Response"`
}

func NewModifyNatSequenceRulesResponse

func NewModifyNatSequenceRulesResponse() (response *ModifyNatSequenceRulesResponse)

func (*ModifyNatSequenceRulesResponse) FromJsonString

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

func (r *ModifyNatSequenceRulesResponse) ToJsonString() string

type ModifyNatSequenceRulesResponseParams

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

Predefined struct for user

type ModifyPublicIPSwitchStatusRequest

type ModifyPublicIPSwitchStatusRequest struct {
	*tchttp.BaseRequest

	// Public IP
	FireWallPublicIP *string `json:"FireWallPublicIP,omitnil,omitempty" name:"FireWallPublicIP"`

	// Status value. 0: off; 1: on
	Status *int64 `json:"Status,omitnil,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,omitnil,omitempty" name:"FireWallPublicIP"`

	// Status value. 0: off; 1: on
	Status *int64 `json:"Status,omitnil,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,omitnil,omitempty" name:"ReturnMsg"`

	// Error code. 0: success; non-0: failed
	ReturnCode *int64 `json:"ReturnCode,omitnil,omitempty" name:"ReturnCode"`

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

Predefined struct for user

type ModifyResourceGroupRequest

type ModifyResourceGroupRequest struct {
	*tchttp.BaseRequest

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

	// Group name
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// Parent group ID
	ParentId *string `json:"ParentId,omitnil,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,omitnil,omitempty" name:"GroupId"`

	// Group name
	GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`

	// Parent group ID
	ParentId *string `json:"ParentId,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"Direction"`

	// Toggle status. 0: off; 1: on
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Modified priority of enterprise security group rules
	RuleSequence *uint64 `json:"RuleSequence,omitnil,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,omitnil,omitempty" name:"Direction"`

	// Toggle status. 0: off; 1: on
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Modified priority of enterprise security group rules
	RuleSequence *uint64 `json:"RuleSequence,omitnil,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,omitnil,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"Direction"`

	// Sorting data of enterprise security group rules
	Data []*SecurityGroupOrderIndexData `json:"Data,omitnil,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,omitnil,omitempty" name:"Direction"`

	// Sorting data of enterprise security group rules
	Data []*SecurityGroupOrderIndexData `json:"Data,omitnil,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,omitnil,omitempty" name:"Status"`

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

Predefined struct for user

type ModifySequenceRulesRequest

type ModifySequenceRulesRequest struct {
	*tchttp.BaseRequest

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

	// Modifies data
	Data []*SequenceData `json:"Data,omitnil,omitempty" name:"Data"`

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

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitnil,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,omitnil,omitempty" name:"EdgeId"`

	// Modifies data
	Data []*SequenceData `json:"Data,omitnil,omitempty" name:"Data"`

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

	// Direction. 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitnil,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,omitnil,omitempty" name:"Status"`

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

Predefined struct for user

type ModifyStorageSettingRequest

type ModifyStorageSettingRequest struct {
	*tchttp.BaseRequest
}

func NewModifyStorageSettingRequest

func NewModifyStorageSettingRequest() (request *ModifyStorageSettingRequest)

func (*ModifyStorageSettingRequest) FromJsonString

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

func (r *ModifyStorageSettingRequest) ToJsonString() string

type ModifyStorageSettingRequestParams

type ModifyStorageSettingRequestParams struct {
}

Predefined struct for user

type ModifyStorageSettingResponse

type ModifyStorageSettingResponse struct {
	*tchttp.BaseResponse
	Response *ModifyStorageSettingResponseParams `json:"Response"`
}

func NewModifyStorageSettingResponse

func NewModifyStorageSettingResponse() (response *ModifyStorageSettingResponse)

func (*ModifyStorageSettingResponse) FromJsonString

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

func (r *ModifyStorageSettingResponse) ToJsonString() string

type ModifyStorageSettingResponseParams

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

Predefined struct for user

type ModifyTableStatusRequest

type ModifyTableStatusRequest struct {
	*tchttp.BaseRequest

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

	// Status value. 1: table locked; 2: table unlocked
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

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

	// 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitnil,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,omitnil,omitempty" name:"EdgeId"`

	// Status value. 1: table locked; 2: table unlocked
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

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

	// 0: outbound; 1: inbound
	Direction *uint64 `json:"Direction,omitnil,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,omitnil,omitempty" name:"Status"`

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

Predefined struct for user

type NatFwFilter

type NatFwFilter struct {
	// Filter type, e.g., instance ID
	FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"`

	// Filtered content, separated with ","
	FilterContent *string `json:"FilterContent,omitnil,omitempty" name:"FilterContent"`
}

type NatFwInstance

type NatFwInstance struct {
	// NAT instance ID
	NatinsId *string `json:"NatinsId,omitnil,omitempty" name:"NatinsId"`

	// NAT instance name
	NatinsName *string `json:"NatinsName,omitnil,omitempty" name:"NatinsName"`

	// Instance region
	// Note: This field may return `null`, indicating that no valid value was found.
	Region *string `json:"Region,omitnil,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,omitnil,omitempty" name:"FwMode"`

	// 0: normal; 1: creating
	// Note: This field may return `null`, indicating that no valid value was found.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// NAT public IP
	// Note: This field may return `null`, indicating that no valid value was found.
	NatIp *string `json:"NatIp,omitnil,omitempty" name:"NatIp"`
}

type NatInstanceInfo

type NatInstanceInfo struct {
	// NAT instance ID
	NatinsId *string `json:"NatinsId,omitnil,omitempty" name:"NatinsId"`

	// NAT instance name
	NatinsName *string `json:"NatinsName,omitnil,omitempty" name:"NatinsName"`

	// Instance region
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

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

	// Instance bandwidth (Mbps)
	BandWidth *int64 `json:"BandWidth,omitnil,omitempty" name:"BandWidth"`

	// Inbound traffic peak bandwidth (bps)
	InFlowMax *int64 `json:"InFlowMax,omitnil,omitempty" name:"InFlowMax"`

	// Outbound traffic peak bandwidth (bps)
	OutFlowMax *uint64 `json:"OutFlowMax,omitnil,omitempty" name:"OutFlowMax"`

	// Chinese region information
	RegionZh *string `json:"RegionZh,omitnil,omitempty" name:"RegionZh"`

	// Public IP array
	// Note: This field may return `null`, indicating that no valid value was found.
	EipAddress []*string `json:"EipAddress,omitnil,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,omitnil,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,omitnil,omitempty" name:"Subnets"`

	// 0: normal 1: initializing
	// Note: This field may return `null`, indicating that no valid value was found.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Region information
	// Note: This field may return null, indicating that no valid values can be obtained.
	RegionDetail *string `json:"RegionDetail,omitnil,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,omitnil,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,omitnil,omitempty" name:"ZoneZhBak"`

	// Number of used rules.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleUsed *uint64 `json:"RuleUsed,omitnil,omitempty" name:"RuleUsed"`

	// The maximum number of rules allowed in the instance.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RuleMax *uint64 `json:"RuleMax,omitnil,omitempty" name:"RuleMax"`
}

type NewModeItems

type NewModeItems struct {
	// VPC list for the Create New mode
	VpcList []*string `json:"VpcList,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"ReturnMsg"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"Status"`

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

Predefined struct for user

type RemoveNatAcRuleRequest

type RemoveNatAcRuleRequest struct {
	*tchttp.BaseRequest

	// UUIDs of the rules to delete, which can be obtained by querying the rule list. Note: If [-1] is passed in, all rules are deleted.
	RuleUuid []*int64 `json:"RuleUuid,omitnil,omitempty" name:"RuleUuid"`

	// Rule direction. Valid values: 1: inbound; 0: outbound.
	Direction *uint64 `json:"Direction,omitnil,omitempty" name:"Direction"`
}

func NewRemoveNatAcRuleRequest

func NewRemoveNatAcRuleRequest() (request *RemoveNatAcRuleRequest)

func (*RemoveNatAcRuleRequest) FromJsonString

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

func (r *RemoveNatAcRuleRequest) ToJsonString() string

type RemoveNatAcRuleRequestParams

type RemoveNatAcRuleRequestParams struct {
	// UUIDs of the rules to delete, which can be obtained by querying the rule list. Note: If [-1] is passed in, all rules are deleted.
	RuleUuid []*int64 `json:"RuleUuid,omitnil,omitempty" name:"RuleUuid"`

	// Rule direction. Valid values: 1: inbound; 0: outbound.
	Direction *uint64 `json:"Direction,omitnil,omitempty" name:"Direction"`
}

Predefined struct for user

type RemoveNatAcRuleResponse

type RemoveNatAcRuleResponse struct {
	*tchttp.BaseResponse
	Response *RemoveNatAcRuleResponseParams `json:"Response"`
}

func NewRemoveNatAcRuleResponse

func NewRemoveNatAcRuleResponse() (response *RemoveNatAcRuleResponse)

func (*RemoveNatAcRuleResponse) FromJsonString

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

func (r *RemoveNatAcRuleResponse) ToJsonString() string

type RemoveNatAcRuleResponseParams

type RemoveNatAcRuleResponseParams struct {
	// UUID list of the deleted rules.
	RuleUuid []*int64 `json:"RuleUuid,omitnil,omitempty" name:"RuleUuid"`

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

Predefined struct for user

type RuleChangeItem

type RuleChangeItem struct {
	// Original sequence number
	OrderIndex *int64 `json:"OrderIndex,omitnil,omitempty" name:"OrderIndex"`

	// New sequence number
	NewOrderIndex *int64 `json:"NewOrderIndex,omitnil,omitempty" name:"NewOrderIndex"`
}

type RuleInfoData

type RuleInfoData struct {
	// Priority
	OrderIndex *uint64 `json:"OrderIndex,omitnil,omitempty" name:"OrderIndex"`

	// Access source
	SourceIp *string `json:"SourceIp,omitnil,omitempty" name:"SourceIp"`

	// Access destination
	TargetIp *string `json:"TargetIp,omitnil,omitempty" name:"TargetIp"`

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

	// Policy. 0: observe; 1: block; 2: allow
	Strategy *string `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// Access source type. 1: IP; 3: domain name; 4: IP address template; 5: domain name address template
	SourceType *uint64 `json:"SourceType,omitnil,omitempty" name:"SourceType"`

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

	// Description
	Detail *string `json:"Detail,omitnil,omitempty" name:"Detail"`

	// Access destination type. 1: IP, 3: domain name; 4: IP address template; 5: domain name address template
	TargetType *uint64 `json:"TargetType,omitnil,omitempty" name:"TargetType"`

	// Port
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

	// ID value
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Log ID, required when an alert log is created
	LogId *string `json:"LogId,omitnil,omitempty" name:"LogId"`

	// City code
	City *uint64 `json:"City,omitnil,omitempty" name:"City"`

	// Country code
	Country *uint64 `json:"Country,omitnil,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,omitnil,omitempty" name:"CloudCode"`

	// Indicates whether it is a region
	IsRegion *uint64 `json:"IsRegion,omitnil,omitempty" name:"IsRegion"`

	// City name
	CityName *string `json:"CityName,omitnil,omitempty" name:"CityName"`

	// Country name
	CountryName *string `json:"CountryName,omitnil,omitempty" name:"CountryName"`
}

type ScanInfo

type ScanInfo struct {
	// Scanning result information
	ScanResultInfo *ScanResultInfo `json:"ScanResultInfo,omitnil,omitempty" name:"ScanResultInfo"`

	// Scanning status. 0: scanning; 1: completed; 2: auto scanning unselected
	ScanStatus *int64 `json:"ScanStatus,omitnil,omitempty" name:"ScanStatus"`

	// Progress
	ScanPercent *float64 `json:"ScanPercent,omitnil,omitempty" name:"ScanPercent"`

	// Estimated completion time
	ScanTime *string `json:"ScanTime,omitnil,omitempty" name:"ScanTime"`
}

type ScanResultInfo

type ScanResultInfo struct {
	// Number of vulnerability exploits
	LeakNum *uint64 `json:"LeakNum,omitnil,omitempty" name:"LeakNum"`

	// Number of protected IPs
	IPNum *uint64 `json:"IPNum,omitnil,omitempty" name:"IPNum"`

	// Number of exposed ports
	PortNum *uint64 `json:"PortNum,omitnil,omitempty" name:"PortNum"`

	// Protection status
	IPStatus *bool `json:"IPStatus,omitnil,omitempty" name:"IPStatus"`

	// Attack blocking status
	IdpStatus *bool `json:"IdpStatus,omitnil,omitempty" name:"IdpStatus"`

	// Port blocking status
	BanStatus *bool `json:"BanStatus,omitnil,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,omitnil,omitempty" name:"OrderIndex"`

	// Access source
	// Note: This field may return `null`, indicating that no valid value was found.
	SourceId *string `json:"SourceId,omitnil,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,omitnil,omitempty" name:"SourceType"`

	// Access destination
	// Note: This field may return `null`, indicating that no valid value was found.
	TargetId *string `json:"TargetId,omitnil,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,omitnil,omitempty" name:"TargetType"`

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

	// Destination port
	// Note: This field may return `null`, indicating that no valid value was found.
	Port *string `json:"Port,omitnil,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,omitnil,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,omitnil,omitempty" name:"Direction"`

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

	// Description
	// Note: This field may return `null`, indicating that no valid value was found.
	Detail *string `json:"Detail,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"BothWay"`

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

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

	// Instance name
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceName *string `json:"InstanceName,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"Cidr"`

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

	// Indicates whether to use the port protocol template. 0: no; 1: yes
	ProtocolPortType *uint64 `json:"ProtocolPortType,omitnil,omitempty" name:"ProtocolPortType"`
}

type SecurityGroupListData

type SecurityGroupListData struct {
	// Priority
	OrderIndex *uint64 `json:"OrderIndex,omitnil,omitempty" name:"OrderIndex"`

	// Access source
	SourceId *string `json:"SourceId,omitnil,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,omitnil,omitempty" name:"SourceType"`

	// Access destination
	TargetId *string `json:"TargetId,omitnil,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,omitnil,omitempty" name:"TargetType"`

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

	// Destination port
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

	// Policy. 1: block; 2: allow
	Strategy *uint64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`

	// Description
	Detail *string `json:"Detail,omitnil,omitempty" name:"Detail"`

	// One-way/two-way. 0: one-way; 1: two-way
	BothWay *uint64 `json:"BothWay,omitnil,omitempty" name:"BothWay"`

	// Rule ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Toggle status. 0: off; 1: on
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Indicates whether the rule is normal. 0: normal; 1: abnormal
	IsNew *uint64 `json:"IsNew,omitnil,omitempty" name:"IsNew"`

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

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

	// Instance name
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceName *string `json:"InstanceName,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"Cidr"`

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

	// Two-way rules
	// Note: This field may return `null`, indicating that no valid value was found.
	BothWayInfo []*SecurityGroupBothWayInfo `json:"BothWayInfo,omitnil,omitempty" name:"BothWayInfo"`

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

	// Indicates whether to use the port protocol template. 0: no; 1: yes
	ProtocolPortType *uint64 `json:"ProtocolPortType,omitnil,omitempty" name:"ProtocolPortType"`
}

type SecurityGroupOrderIndexData

type SecurityGroupOrderIndexData struct {
	// Current priority of enterprise security group rules
	OrderIndex *uint64 `json:"OrderIndex,omitnil,omitempty" name:"OrderIndex"`

	// New priority of enterprise security group rules
	NewOrderIndex *uint64 `json:"NewOrderIndex,omitnil,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,omitnil,omitempty" name:"SourceContent"`

	// Access source type. Valid values: net|template|instance|resourcegroup|tag|region
	SourceType *string `json:"SourceType,omitnil,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,omitnil,omitempty" name:"DestContent"`

	// Access destination type. Valid values: net|template|instance|resourcegroup|tag|region
	DestType *string `json:"DestType,omitnil,omitempty" name:"DestType"`

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

	// Description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Rule priority. -1: lowest; 1: highest
	OrderIndex *string `json:"OrderIndex,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"ServiceTemplateId"`

	// The unique ID of the rule
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Rule status. true: enabled; false: disabled
	Enable *string `json:"Enable,omitnil,omitempty" name:"Enable"`
}

type SequenceData

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

	// Rule priority before change
	OrderIndex *uint64 `json:"OrderIndex,omitnil,omitempty" name:"OrderIndex"`

	// Rule priority after change
	NewOrderIndex *uint64 `json:"NewOrderIndex,omitnil,omitempty" name:"NewOrderIndex"`
}

type SetNatFwDnatRuleRequest

type SetNatFwDnatRuleRequest struct {
	*tchttp.BaseRequest

	// 0: Create new; 1: Use existing
	Mode *uint64 `json:"Mode,omitnil,omitempty" name:"Mode"`

	// Operation type. Valid values: add, del, and modify.
	OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"`

	// Firewall instance ID. This field is required.
	CfwInstance *string `json:"CfwInstance,omitnil,omitempty" name:"CfwInstance"`

	// List of added/deleted DNAT rules
	AddOrDelDnatRules []*CfwNatDnatRule `json:"AddOrDelDnatRules,omitnil,omitempty" name:"AddOrDelDnatRules"`

	// Original DNAT rule before change
	OriginDnat *CfwNatDnatRule `json:"OriginDnat,omitnil,omitempty" name:"OriginDnat"`

	// New DNAT rule after change
	NewDnat *CfwNatDnatRule `json:"NewDnat,omitnil,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,omitnil,omitempty" name:"Mode"`

	// Operation type. Valid values: add, del, and modify.
	OperationType *string `json:"OperationType,omitnil,omitempty" name:"OperationType"`

	// Firewall instance ID. This field is required.
	CfwInstance *string `json:"CfwInstance,omitnil,omitempty" name:"CfwInstance"`

	// List of added/deleted DNAT rules
	AddOrDelDnatRules []*CfwNatDnatRule `json:"AddOrDelDnatRules,omitnil,omitempty" name:"AddOrDelDnatRules"`

	// Original DNAT rule before change
	OriginDnat *CfwNatDnatRule `json:"OriginDnat,omitnil,omitempty" name:"OriginDnat"`

	// New DNAT rule after change
	NewDnat *CfwNatDnatRule `json:"NewDnat,omitnil,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,omitnil,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,omitnil,omitempty" name:"OperationType"`

	// Firewall instance ID
	CfwInstance *string `json:"CfwInstance,omitnil,omitempty" name:"CfwInstance"`

	// This field is required when OperationType is "bind" or "unbind".
	EipList []*string `json:"EipList,omitnil,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,omitnil,omitempty" name:"OperationType"`

	// Firewall instance ID
	CfwInstance *string `json:"CfwInstance,omitnil,omitempty" name:"CfwInstance"`

	// This field is required when OperationType is "bind" or "unbind".
	EipList []*string `json:"EipList,omitnil,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,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StaticInfo

type StaticInfo struct {
	// Number
	Num *int64 `json:"Num,omitnil,omitempty" name:"Num"`

	// Port
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

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

	// Address
	Address *string `json:"Address,omitnil,omitempty" name:"Address"`

	// Asset ID
	InsID *string `json:"InsID,omitnil,omitempty" name:"InsID"`

	// Asset name
	InsName *string `json:"InsName,omitnil,omitempty" name:"InsName"`
}

type StopSecurityGroupRuleDispatchRequest

type StopSecurityGroupRuleDispatchRequest struct {
	*tchttp.BaseRequest

	// Stops all if set to 1
	StopType *int64 `json:"StopType,omitnil,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,omitnil,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,omitnil,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,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,omitnil,omitempty" name:"PublicIp"`

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

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

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

	// Asset type
	AssetType *string `json:"AssetType,omitnil,omitempty" name:"AssetType"`

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

	// Firewall toggle
	Switch *int64 `json:"Switch,omitnil,omitempty" name:"Switch"`

	// ID value
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

	// Number of risky ports
	// Note: This field may return `null`, indicating that no valid value was found.
	PortTimes *uint64 `json:"PortTimes,omitnil,omitempty" name:"PortTimes"`

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

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

	// Scan status
	// Note: This field may return `null`, indicating that no valid value was found.
	ScanStatus *uint64 `json:"ScanStatus,omitnil,omitempty" name:"ScanStatus"`
}

type TLogInfo

type TLogInfo struct {
	// Compromised servers
	OutNum *int64 `json:"OutNum,omitnil,omitempty" name:"OutNum"`

	// Unhandled alerts
	HandleNum *int64 `json:"HandleNum,omitnil,omitempty" name:"HandleNum"`

	// Vulnerability attacks
	VulNum *int64 `json:"VulNum,omitnil,omitempty" name:"VulNum"`

	// Detected networks
	NetworkNum *int64 `json:"NetworkNum,omitnil,omitempty" name:"NetworkNum"`

	// Blocklist
	BanNum *int64 `json:"BanNum,omitnil,omitempty" name:"BanNum"`

	// Brute force attacks
	BruteForceNum *int64 `json:"BruteForceNum,omitnil,omitempty" name:"BruteForceNum"`
}

type UnHandleEvent

type UnHandleEvent struct {
	// Unhandled event type
	EventTableListStruct []*UnHandleEventDetail `json:"EventTableListStruct,omitnil,omitempty" name:"EventTableListStruct"`

	// 1: yes; 0: no
	BaseLineUser *uint64 `json:"BaseLineUser,omitnil,omitempty" name:"BaseLineUser"`

	// 1: on; 0: off
	BaseLineInSwitch *uint64 `json:"BaseLineInSwitch,omitnil,omitempty" name:"BaseLineInSwitch"`

	// 1: on; 0: off
	BaseLineOutSwitch *uint64 `json:"BaseLineOutSwitch,omitnil,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,omitnil,omitempty" name:"VpcFwCount"`
}

type UnHandleEventDetail

type UnHandleEventDetail struct {
	// Security event name
	EventName *string `json:"EventName,omitnil,omitempty" name:"EventName"`

	// Number of unhandled events
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`
}

type VpcDnsInfo

type VpcDnsInfo struct {
	// VPC ID
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// VPC name
	VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"`

	// NAT firewall mode. 0: Create new; 1: Use existing
	FwMode *int64 `json:"FwMode,omitnil,omitempty" name:"FwMode"`

	// VPC IPv4 CIDR block (Classless Inter-Domain Routing)
	VpcIpv4Cidr *string `json:"VpcIpv4Cidr,omitnil,omitempty" name:"VpcIpv4Cidr"`

	// Public EIP, which is the firewall DNS resolution address
	DNSEip *string `json:"DNSEip,omitnil,omitempty" name:"DNSEip"`

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

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

	// 0: off; 1: on
	SwitchStatus *int64 `json:"SwitchStatus,omitnil,omitempty" name:"SwitchStatus"`
}

Jump to

Keyboard shortcuts

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