Documentation ¶
Index ¶
- Constants
- type AcListsData
- type AddAcRuleRequest
- type AddAcRuleRequestParams
- type AddAcRuleResponse
- type AddAcRuleResponseParams
- type AddEnterpriseSecurityGroupRulesRequest
- type AddEnterpriseSecurityGroupRulesRequestParams
- type AddEnterpriseSecurityGroupRulesResponse
- type AddEnterpriseSecurityGroupRulesResponseParams
- type AddNatAcRuleRequest
- type AddNatAcRuleRequestParams
- type AddNatAcRuleResponse
- type AddNatAcRuleResponseParams
- type AssetZone
- type AssociatedInstanceInfo
- type BetaInfoByACL
- type BlockIgnoreRule
- type CfwNatDnatRule
- type Client
- func (c *Client) AddAcRule(request *AddAcRuleRequest) (response *AddAcRuleResponse, err error)
- func (c *Client) AddAcRuleWithContext(ctx context.Context, request *AddAcRuleRequest) (response *AddAcRuleResponse, err error)
- func (c *Client) AddEnterpriseSecurityGroupRules(request *AddEnterpriseSecurityGroupRulesRequest) (response *AddEnterpriseSecurityGroupRulesResponse, err error)
- func (c *Client) AddEnterpriseSecurityGroupRulesWithContext(ctx context.Context, request *AddEnterpriseSecurityGroupRulesRequest) (response *AddEnterpriseSecurityGroupRulesResponse, err error)
- func (c *Client) AddNatAcRule(request *AddNatAcRuleRequest) (response *AddNatAcRuleResponse, err error)
- func (c *Client) AddNatAcRuleWithContext(ctx context.Context, request *AddNatAcRuleRequest) (response *AddNatAcRuleResponse, err error)
- func (c *Client) CreateAcRules(request *CreateAcRulesRequest) (response *CreateAcRulesResponse, err error)
- func (c *Client) CreateAcRulesWithContext(ctx context.Context, request *CreateAcRulesRequest) (response *CreateAcRulesResponse, err error)
- func (c *Client) CreateNatFwInstance(request *CreateNatFwInstanceRequest) (response *CreateNatFwInstanceResponse, err error)
- func (c *Client) CreateNatFwInstanceWithContext(ctx context.Context, request *CreateNatFwInstanceRequest) (response *CreateNatFwInstanceResponse, err error)
- func (c *Client) CreateNatFwInstanceWithDomain(request *CreateNatFwInstanceWithDomainRequest) (response *CreateNatFwInstanceWithDomainResponse, err error)
- func (c *Client) CreateNatFwInstanceWithDomainWithContext(ctx context.Context, request *CreateNatFwInstanceWithDomainRequest) (response *CreateNatFwInstanceWithDomainResponse, err error)
- func (c *Client) CreateSecurityGroupRules(request *CreateSecurityGroupRulesRequest) (response *CreateSecurityGroupRulesResponse, err error)
- func (c *Client) CreateSecurityGroupRulesWithContext(ctx context.Context, request *CreateSecurityGroupRulesRequest) (response *CreateSecurityGroupRulesResponse, err error)
- func (c *Client) DeleteAcRule(request *DeleteAcRuleRequest) (response *DeleteAcRuleResponse, err error)
- func (c *Client) DeleteAcRuleWithContext(ctx context.Context, request *DeleteAcRuleRequest) (response *DeleteAcRuleResponse, err error)
- func (c *Client) DeleteAllAccessControlRule(request *DeleteAllAccessControlRuleRequest) (response *DeleteAllAccessControlRuleResponse, err error)
- func (c *Client) DeleteAllAccessControlRuleWithContext(ctx context.Context, request *DeleteAllAccessControlRuleRequest) (response *DeleteAllAccessControlRuleResponse, err error)
- func (c *Client) DeleteResourceGroup(request *DeleteResourceGroupRequest) (response *DeleteResourceGroupResponse, err error)
- func (c *Client) DeleteResourceGroupWithContext(ctx context.Context, request *DeleteResourceGroupRequest) (response *DeleteResourceGroupResponse, err error)
- func (c *Client) DeleteSecurityGroupRule(request *DeleteSecurityGroupRuleRequest) (response *DeleteSecurityGroupRuleResponse, err error)
- func (c *Client) DeleteSecurityGroupRuleWithContext(ctx context.Context, request *DeleteSecurityGroupRuleRequest) (response *DeleteSecurityGroupRuleResponse, err error)
- func (c *Client) DeleteVpcInstance(request *DeleteVpcInstanceRequest) (response *DeleteVpcInstanceResponse, err error)
- func (c *Client) DeleteVpcInstanceWithContext(ctx context.Context, request *DeleteVpcInstanceRequest) (response *DeleteVpcInstanceResponse, err error)
- func (c *Client) DescribeAcLists(request *DescribeAcListsRequest) (response *DescribeAcListsResponse, err error)
- func (c *Client) DescribeAcListsWithContext(ctx context.Context, request *DescribeAcListsRequest) (response *DescribeAcListsResponse, err error)
- func (c *Client) DescribeAssociatedInstanceList(request *DescribeAssociatedInstanceListRequest) (response *DescribeAssociatedInstanceListResponse, err error)
- func (c *Client) DescribeAssociatedInstanceListWithContext(ctx context.Context, request *DescribeAssociatedInstanceListRequest) (response *DescribeAssociatedInstanceListResponse, err error)
- func (c *Client) DescribeBlockByIpTimesList(request *DescribeBlockByIpTimesListRequest) (response *DescribeBlockByIpTimesListResponse, err error)
- func (c *Client) DescribeBlockByIpTimesListWithContext(ctx context.Context, request *DescribeBlockByIpTimesListRequest) (response *DescribeBlockByIpTimesListResponse, err error)
- func (c *Client) DescribeBlockIgnoreList(request *DescribeBlockIgnoreListRequest) (response *DescribeBlockIgnoreListResponse, err error)
- func (c *Client) DescribeBlockIgnoreListWithContext(ctx context.Context, request *DescribeBlockIgnoreListRequest) (response *DescribeBlockIgnoreListResponse, err error)
- func (c *Client) DescribeBlockStaticList(request *DescribeBlockStaticListRequest) (response *DescribeBlockStaticListResponse, err error)
- func (c *Client) DescribeBlockStaticListWithContext(ctx context.Context, request *DescribeBlockStaticListRequest) (response *DescribeBlockStaticListResponse, err error)
- func (c *Client) DescribeDefenseSwitch(request *DescribeDefenseSwitchRequest) (response *DescribeDefenseSwitchResponse, err error)
- func (c *Client) DescribeDefenseSwitchWithContext(ctx context.Context, request *DescribeDefenseSwitchRequest) (response *DescribeDefenseSwitchResponse, err error)
- func (c *Client) DescribeEnterpriseSecurityGroupRule(request *DescribeEnterpriseSecurityGroupRuleRequest) (response *DescribeEnterpriseSecurityGroupRuleResponse, err error)
- func (c *Client) DescribeEnterpriseSecurityGroupRuleWithContext(ctx context.Context, request *DescribeEnterpriseSecurityGroupRuleRequest) (response *DescribeEnterpriseSecurityGroupRuleResponse, err error)
- func (c *Client) DescribeGuideScanInfo(request *DescribeGuideScanInfoRequest) (response *DescribeGuideScanInfoResponse, err error)
- func (c *Client) DescribeGuideScanInfoWithContext(ctx context.Context, request *DescribeGuideScanInfoRequest) (response *DescribeGuideScanInfoResponse, err error)
- func (c *Client) DescribeIPStatusList(request *DescribeIPStatusListRequest) (response *DescribeIPStatusListResponse, err error)
- func (c *Client) DescribeIPStatusListWithContext(ctx context.Context, request *DescribeIPStatusListRequest) (response *DescribeIPStatusListResponse, err error)
- func (c *Client) DescribeNatAcRule(request *DescribeNatAcRuleRequest) (response *DescribeNatAcRuleResponse, err error)
- func (c *Client) DescribeNatAcRuleWithContext(ctx context.Context, request *DescribeNatAcRuleRequest) (response *DescribeNatAcRuleResponse, err error)
- func (c *Client) DescribeNatFwInfoCount(request *DescribeNatFwInfoCountRequest) (response *DescribeNatFwInfoCountResponse, err error)
- func (c *Client) DescribeNatFwInfoCountWithContext(ctx context.Context, request *DescribeNatFwInfoCountRequest) (response *DescribeNatFwInfoCountResponse, err error)
- func (c *Client) DescribeNatFwInstance(request *DescribeNatFwInstanceRequest) (response *DescribeNatFwInstanceResponse, err error)
- func (c *Client) DescribeNatFwInstanceWithContext(ctx context.Context, request *DescribeNatFwInstanceRequest) (response *DescribeNatFwInstanceResponse, err error)
- func (c *Client) DescribeNatFwInstanceWithRegion(request *DescribeNatFwInstanceWithRegionRequest) (response *DescribeNatFwInstanceWithRegionResponse, err error)
- func (c *Client) DescribeNatFwInstanceWithRegionWithContext(ctx context.Context, request *DescribeNatFwInstanceWithRegionRequest) (response *DescribeNatFwInstanceWithRegionResponse, err error)
- func (c *Client) DescribeNatFwInstancesInfo(request *DescribeNatFwInstancesInfoRequest) (response *DescribeNatFwInstancesInfoResponse, err error)
- func (c *Client) DescribeNatFwInstancesInfoWithContext(ctx context.Context, request *DescribeNatFwInstancesInfoRequest) (response *DescribeNatFwInstancesInfoResponse, err error)
- func (c *Client) DescribeNatFwVpcDnsLst(request *DescribeNatFwVpcDnsLstRequest) (response *DescribeNatFwVpcDnsLstResponse, err error)
- func (c *Client) DescribeNatFwVpcDnsLstWithContext(ctx context.Context, request *DescribeNatFwVpcDnsLstRequest) (response *DescribeNatFwVpcDnsLstResponse, err error)
- func (c *Client) DescribeResourceGroupNew(request *DescribeResourceGroupNewRequest) (response *DescribeResourceGroupNewResponse, err error)
- func (c *Client) DescribeResourceGroupNewWithContext(ctx context.Context, request *DescribeResourceGroupNewRequest) (response *DescribeResourceGroupNewResponse, err error)
- func (c *Client) DescribeRuleOverview(request *DescribeRuleOverviewRequest) (response *DescribeRuleOverviewResponse, err error)
- func (c *Client) DescribeRuleOverviewWithContext(ctx context.Context, request *DescribeRuleOverviewRequest) (response *DescribeRuleOverviewResponse, err error)
- func (c *Client) DescribeSecurityGroupList(request *DescribeSecurityGroupListRequest) (response *DescribeSecurityGroupListResponse, err error)
- func (c *Client) DescribeSecurityGroupListWithContext(ctx context.Context, request *DescribeSecurityGroupListRequest) (response *DescribeSecurityGroupListResponse, err error)
- func (c *Client) DescribeSourceAsset(request *DescribeSourceAssetRequest) (response *DescribeSourceAssetResponse, err error)
- func (c *Client) DescribeSourceAssetWithContext(ctx context.Context, request *DescribeSourceAssetRequest) (response *DescribeSourceAssetResponse, err error)
- func (c *Client) DescribeSwitchLists(request *DescribeSwitchListsRequest) (response *DescribeSwitchListsResponse, err error)
- func (c *Client) DescribeSwitchListsWithContext(ctx context.Context, request *DescribeSwitchListsRequest) (response *DescribeSwitchListsResponse, err error)
- func (c *Client) DescribeTLogInfo(request *DescribeTLogInfoRequest) (response *DescribeTLogInfoResponse, err error)
- func (c *Client) DescribeTLogInfoWithContext(ctx context.Context, request *DescribeTLogInfoRequest) (response *DescribeTLogInfoResponse, err error)
- func (c *Client) DescribeTLogIpList(request *DescribeTLogIpListRequest) (response *DescribeTLogIpListResponse, err error)
- func (c *Client) DescribeTLogIpListWithContext(ctx context.Context, request *DescribeTLogIpListRequest) (response *DescribeTLogIpListResponse, err error)
- func (c *Client) DescribeTableStatus(request *DescribeTableStatusRequest) (response *DescribeTableStatusResponse, err error)
- func (c *Client) DescribeTableStatusWithContext(ctx context.Context, request *DescribeTableStatusRequest) (response *DescribeTableStatusResponse, err error)
- func (c *Client) DescribeUnHandleEventTabList(request *DescribeUnHandleEventTabListRequest) (response *DescribeUnHandleEventTabListResponse, err error)
- func (c *Client) DescribeUnHandleEventTabListWithContext(ctx context.Context, request *DescribeUnHandleEventTabListRequest) (response *DescribeUnHandleEventTabListResponse, err error)
- func (c *Client) ExpandCfwVertical(request *ExpandCfwVerticalRequest) (response *ExpandCfwVerticalResponse, err error)
- func (c *Client) ExpandCfwVerticalWithContext(ctx context.Context, request *ExpandCfwVerticalRequest) (response *ExpandCfwVerticalResponse, err error)
- func (c *Client) ModifyAcRule(request *ModifyAcRuleRequest) (response *ModifyAcRuleResponse, err error)
- func (c *Client) ModifyAcRuleWithContext(ctx context.Context, request *ModifyAcRuleRequest) (response *ModifyAcRuleResponse, err error)
- func (c *Client) ModifyAllPublicIPSwitchStatus(request *ModifyAllPublicIPSwitchStatusRequest) (response *ModifyAllPublicIPSwitchStatusResponse, err error)
- func (c *Client) ModifyAllPublicIPSwitchStatusWithContext(ctx context.Context, request *ModifyAllPublicIPSwitchStatusRequest) (response *ModifyAllPublicIPSwitchStatusResponse, err error)
- func (c *Client) ModifyAllRuleStatus(request *ModifyAllRuleStatusRequest) (response *ModifyAllRuleStatusResponse, err error)
- func (c *Client) ModifyAllRuleStatusWithContext(ctx context.Context, request *ModifyAllRuleStatusRequest) (response *ModifyAllRuleStatusResponse, err error)
- func (c *Client) ModifyAllVPCSwitchStatus(request *ModifyAllVPCSwitchStatusRequest) (response *ModifyAllVPCSwitchStatusResponse, err error)
- func (c *Client) ModifyAllVPCSwitchStatusWithContext(ctx context.Context, request *ModifyAllVPCSwitchStatusRequest) (response *ModifyAllVPCSwitchStatusResponse, err error)
- func (c *Client) ModifyAssetScan(request *ModifyAssetScanRequest) (response *ModifyAssetScanResponse, err error)
- func (c *Client) ModifyAssetScanWithContext(ctx context.Context, request *ModifyAssetScanRequest) (response *ModifyAssetScanResponse, err error)
- func (c *Client) ModifyBlockIgnoreList(request *ModifyBlockIgnoreListRequest) (response *ModifyBlockIgnoreListResponse, err error)
- func (c *Client) ModifyBlockIgnoreListWithContext(ctx context.Context, request *ModifyBlockIgnoreListRequest) (response *ModifyBlockIgnoreListResponse, err error)
- func (c *Client) ModifyBlockTop(request *ModifyBlockTopRequest) (response *ModifyBlockTopResponse, err error)
- func (c *Client) ModifyBlockTopWithContext(ctx context.Context, request *ModifyBlockTopRequest) (response *ModifyBlockTopResponse, err error)
- func (c *Client) ModifyEnterpriseSecurityDispatchStatus(request *ModifyEnterpriseSecurityDispatchStatusRequest) (response *ModifyEnterpriseSecurityDispatchStatusResponse, err error)
- func (c *Client) ModifyEnterpriseSecurityDispatchStatusWithContext(ctx context.Context, request *ModifyEnterpriseSecurityDispatchStatusRequest) (response *ModifyEnterpriseSecurityDispatchStatusResponse, err error)
- func (c *Client) ModifyEnterpriseSecurityGroupRule(request *ModifyEnterpriseSecurityGroupRuleRequest) (response *ModifyEnterpriseSecurityGroupRuleResponse, err error)
- func (c *Client) ModifyEnterpriseSecurityGroupRuleWithContext(ctx context.Context, request *ModifyEnterpriseSecurityGroupRuleRequest) (response *ModifyEnterpriseSecurityGroupRuleResponse, err error)
- func (c *Client) ModifyNatAcRule(request *ModifyNatAcRuleRequest) (response *ModifyNatAcRuleResponse, err error)
- func (c *Client) ModifyNatAcRuleWithContext(ctx context.Context, request *ModifyNatAcRuleRequest) (response *ModifyNatAcRuleResponse, err error)
- func (c *Client) ModifyNatFwReSelect(request *ModifyNatFwReSelectRequest) (response *ModifyNatFwReSelectResponse, err error)
- func (c *Client) ModifyNatFwReSelectWithContext(ctx context.Context, request *ModifyNatFwReSelectRequest) (response *ModifyNatFwReSelectResponse, err error)
- func (c *Client) ModifyNatFwSwitch(request *ModifyNatFwSwitchRequest) (response *ModifyNatFwSwitchResponse, err error)
- func (c *Client) ModifyNatFwSwitchWithContext(ctx context.Context, request *ModifyNatFwSwitchRequest) (response *ModifyNatFwSwitchResponse, err error)
- func (c *Client) ModifyNatFwVpcDnsSwitch(request *ModifyNatFwVpcDnsSwitchRequest) (response *ModifyNatFwVpcDnsSwitchResponse, err error)
- func (c *Client) ModifyNatFwVpcDnsSwitchWithContext(ctx context.Context, request *ModifyNatFwVpcDnsSwitchRequest) (response *ModifyNatFwVpcDnsSwitchResponse, err error)
- func (c *Client) ModifyNatSequenceRules(request *ModifyNatSequenceRulesRequest) (response *ModifyNatSequenceRulesResponse, err error)
- func (c *Client) ModifyNatSequenceRulesWithContext(ctx context.Context, request *ModifyNatSequenceRulesRequest) (response *ModifyNatSequenceRulesResponse, err error)
- func (c *Client) ModifyPublicIPSwitchStatus(request *ModifyPublicIPSwitchStatusRequest) (response *ModifyPublicIPSwitchStatusResponse, err error)
- func (c *Client) ModifyPublicIPSwitchStatusWithContext(ctx context.Context, request *ModifyPublicIPSwitchStatusRequest) (response *ModifyPublicIPSwitchStatusResponse, err error)
- func (c *Client) ModifyResourceGroup(request *ModifyResourceGroupRequest) (response *ModifyResourceGroupResponse, err error)
- func (c *Client) ModifyResourceGroupWithContext(ctx context.Context, request *ModifyResourceGroupRequest) (response *ModifyResourceGroupResponse, err error)
- func (c *Client) ModifyRunSyncAsset(request *ModifyRunSyncAssetRequest) (response *ModifyRunSyncAssetResponse, err error)
- func (c *Client) ModifyRunSyncAssetWithContext(ctx context.Context, request *ModifyRunSyncAssetRequest) (response *ModifyRunSyncAssetResponse, err error)
- func (c *Client) ModifySecurityGroupItemRuleStatus(request *ModifySecurityGroupItemRuleStatusRequest) (response *ModifySecurityGroupItemRuleStatusResponse, err error)
- func (c *Client) ModifySecurityGroupItemRuleStatusWithContext(ctx context.Context, request *ModifySecurityGroupItemRuleStatusRequest) (response *ModifySecurityGroupItemRuleStatusResponse, err error)
- func (c *Client) ModifySecurityGroupSequenceRules(request *ModifySecurityGroupSequenceRulesRequest) (response *ModifySecurityGroupSequenceRulesResponse, err error)
- func (c *Client) ModifySecurityGroupSequenceRulesWithContext(ctx context.Context, request *ModifySecurityGroupSequenceRulesRequest) (response *ModifySecurityGroupSequenceRulesResponse, err error)
- func (c *Client) ModifySequenceRules(request *ModifySequenceRulesRequest) (response *ModifySequenceRulesResponse, err error)
- func (c *Client) ModifySequenceRulesWithContext(ctx context.Context, request *ModifySequenceRulesRequest) (response *ModifySequenceRulesResponse, err error)
- func (c *Client) ModifyStorageSetting(request *ModifyStorageSettingRequest) (response *ModifyStorageSettingResponse, err error)
- func (c *Client) ModifyStorageSettingWithContext(ctx context.Context, request *ModifyStorageSettingRequest) (response *ModifyStorageSettingResponse, err error)
- func (c *Client) ModifyTableStatus(request *ModifyTableStatusRequest) (response *ModifyTableStatusResponse, err error)
- func (c *Client) ModifyTableStatusWithContext(ctx context.Context, request *ModifyTableStatusRequest) (response *ModifyTableStatusResponse, err error)
- func (c *Client) RemoveAcRule(request *RemoveAcRuleRequest) (response *RemoveAcRuleResponse, err error)
- func (c *Client) RemoveAcRuleWithContext(ctx context.Context, request *RemoveAcRuleRequest) (response *RemoveAcRuleResponse, err error)
- func (c *Client) RemoveEnterpriseSecurityGroupRule(request *RemoveEnterpriseSecurityGroupRuleRequest) (response *RemoveEnterpriseSecurityGroupRuleResponse, err error)
- func (c *Client) RemoveEnterpriseSecurityGroupRuleWithContext(ctx context.Context, request *RemoveEnterpriseSecurityGroupRuleRequest) (response *RemoveEnterpriseSecurityGroupRuleResponse, err error)
- func (c *Client) RemoveNatAcRule(request *RemoveNatAcRuleRequest) (response *RemoveNatAcRuleResponse, err error)
- func (c *Client) RemoveNatAcRuleWithContext(ctx context.Context, request *RemoveNatAcRuleRequest) (response *RemoveNatAcRuleResponse, err error)
- func (c *Client) SetNatFwDnatRule(request *SetNatFwDnatRuleRequest) (response *SetNatFwDnatRuleResponse, err error)
- func (c *Client) SetNatFwDnatRuleWithContext(ctx context.Context, request *SetNatFwDnatRuleRequest) (response *SetNatFwDnatRuleResponse, err error)
- func (c *Client) SetNatFwEip(request *SetNatFwEipRequest) (response *SetNatFwEipResponse, err error)
- func (c *Client) SetNatFwEipWithContext(ctx context.Context, request *SetNatFwEipRequest) (response *SetNatFwEipResponse, err error)
- func (c *Client) StopSecurityGroupRuleDispatch(request *StopSecurityGroupRuleDispatchRequest) (response *StopSecurityGroupRuleDispatchResponse, err error)
- func (c *Client) StopSecurityGroupRuleDispatchWithContext(ctx context.Context, request *StopSecurityGroupRuleDispatchRequest) (response *StopSecurityGroupRuleDispatchResponse, err error)
- type CommonFilter
- type CreateAcRulesRequest
- type CreateAcRulesRequestParams
- type CreateAcRulesResponse
- type CreateAcRulesResponseParams
- type CreateNatFwInstanceRequest
- type CreateNatFwInstanceRequestParams
- type CreateNatFwInstanceResponse
- type CreateNatFwInstanceResponseParams
- type CreateNatFwInstanceWithDomainRequest
- type CreateNatFwInstanceWithDomainRequestParams
- type CreateNatFwInstanceWithDomainResponse
- type CreateNatFwInstanceWithDomainResponseParams
- type CreateNatRuleItem
- type CreateSecurityGroupRulesRequest
- type CreateSecurityGroupRulesRequestParams
- type CreateSecurityGroupRulesResponse
- type CreateSecurityGroupRulesResponseParams
- type DeleteAcRuleRequest
- type DeleteAcRuleRequestParams
- type DeleteAcRuleResponse
- type DeleteAcRuleResponseParams
- type DeleteAllAccessControlRuleRequest
- type DeleteAllAccessControlRuleRequestParams
- type DeleteAllAccessControlRuleResponse
- type DeleteAllAccessControlRuleResponseParams
- type DeleteResourceGroupRequest
- type DeleteResourceGroupRequestParams
- type DeleteResourceGroupResponse
- type DeleteResourceGroupResponseParams
- type DeleteSecurityGroupRuleRequest
- type DeleteSecurityGroupRuleRequestParams
- type DeleteSecurityGroupRuleResponse
- type DeleteSecurityGroupRuleResponseParams
- type DeleteVpcInstanceRequest
- type DeleteVpcInstanceRequestParams
- type DeleteVpcInstanceResponse
- type DeleteVpcInstanceResponseParams
- type DescAcItem
- type DescribeAcListsRequest
- type DescribeAcListsRequestParams
- type DescribeAcListsResponse
- type DescribeAcListsResponseParams
- type DescribeAssociatedInstanceListRequest
- type DescribeAssociatedInstanceListRequestParams
- type DescribeAssociatedInstanceListResponse
- type DescribeAssociatedInstanceListResponseParams
- type DescribeBlockByIpTimesListRequest
- type DescribeBlockByIpTimesListRequestParams
- type DescribeBlockByIpTimesListResponse
- type DescribeBlockByIpTimesListResponseParams
- type DescribeBlockIgnoreListRequest
- type DescribeBlockIgnoreListRequestParams
- type DescribeBlockIgnoreListResponse
- type DescribeBlockIgnoreListResponseParams
- type DescribeBlockStaticListRequest
- type DescribeBlockStaticListRequestParams
- type DescribeBlockStaticListResponse
- type DescribeBlockStaticListResponseParams
- type DescribeDefenseSwitchRequest
- type DescribeDefenseSwitchRequestParams
- type DescribeDefenseSwitchResponse
- type DescribeDefenseSwitchResponseParams
- type DescribeEnterpriseSecurityGroupRuleRequest
- type DescribeEnterpriseSecurityGroupRuleRequestParams
- type DescribeEnterpriseSecurityGroupRuleResponse
- type DescribeEnterpriseSecurityGroupRuleResponseParams
- type DescribeGuideScanInfoRequest
- type DescribeGuideScanInfoRequestParams
- type DescribeGuideScanInfoResponse
- type DescribeGuideScanInfoResponseParams
- type DescribeIPStatusListRequest
- type DescribeIPStatusListRequestParams
- type DescribeIPStatusListResponse
- type DescribeIPStatusListResponseParams
- type DescribeNatAcRuleRequest
- type DescribeNatAcRuleRequestParams
- type DescribeNatAcRuleResponse
- type DescribeNatAcRuleResponseParams
- type DescribeNatFwInfoCountRequest
- type DescribeNatFwInfoCountRequestParams
- type DescribeNatFwInfoCountResponse
- type DescribeNatFwInfoCountResponseParams
- type DescribeNatFwInstanceRequest
- type DescribeNatFwInstanceRequestParams
- type DescribeNatFwInstanceResponse
- type DescribeNatFwInstanceResponseParams
- type DescribeNatFwInstanceWithRegionRequest
- type DescribeNatFwInstanceWithRegionRequestParams
- type DescribeNatFwInstanceWithRegionResponse
- type DescribeNatFwInstanceWithRegionResponseParams
- type DescribeNatFwInstancesInfoRequest
- type DescribeNatFwInstancesInfoRequestParams
- type DescribeNatFwInstancesInfoResponse
- type DescribeNatFwInstancesInfoResponseParams
- type DescribeNatFwVpcDnsLstRequest
- type DescribeNatFwVpcDnsLstRequestParams
- type DescribeNatFwVpcDnsLstResponse
- type DescribeNatFwVpcDnsLstResponseParams
- type DescribeResourceGroupNewRequest
- type DescribeResourceGroupNewRequestParams
- type DescribeResourceGroupNewResponse
- type DescribeResourceGroupNewResponseParams
- type DescribeRuleOverviewRequest
- type DescribeRuleOverviewRequestParams
- type DescribeRuleOverviewResponse
- type DescribeRuleOverviewResponseParams
- type DescribeSecurityGroupListRequest
- type DescribeSecurityGroupListRequestParams
- type DescribeSecurityGroupListResponse
- type DescribeSecurityGroupListResponseParams
- type DescribeSourceAssetRequest
- type DescribeSourceAssetRequestParams
- type DescribeSourceAssetResponse
- type DescribeSourceAssetResponseParams
- type DescribeSwitchListsRequest
- type DescribeSwitchListsRequestParams
- type DescribeSwitchListsResponse
- type DescribeSwitchListsResponseParams
- type DescribeTLogInfoRequest
- type DescribeTLogInfoRequestParams
- type DescribeTLogInfoResponse
- type DescribeTLogInfoResponseParams
- type DescribeTLogIpListRequest
- type DescribeTLogIpListRequestParams
- type DescribeTLogIpListResponse
- type DescribeTLogIpListResponseParams
- type DescribeTableStatusRequest
- type DescribeTableStatusRequestParams
- type DescribeTableStatusResponse
- type DescribeTableStatusResponseParams
- type DescribeUnHandleEventTabListRequest
- type DescribeUnHandleEventTabListRequestParams
- type DescribeUnHandleEventTabListResponse
- type DescribeUnHandleEventTabListResponseParams
- type DnsVpcSwitch
- type ExpandCfwVerticalRequest
- type ExpandCfwVerticalRequestParams
- type ExpandCfwVerticalResponse
- type ExpandCfwVerticalResponseParams
- type FwCidrInfo
- type FwVpcCidr
- type IPDefendStatus
- type InstanceInfo
- type IocListData
- type IpStatic
- type ModifyAcRuleRequest
- type ModifyAcRuleRequestParams
- type ModifyAcRuleResponse
- type ModifyAcRuleResponseParams
- type ModifyAllPublicIPSwitchStatusRequest
- type ModifyAllPublicIPSwitchStatusRequestParams
- type ModifyAllPublicIPSwitchStatusResponse
- type ModifyAllPublicIPSwitchStatusResponseParams
- type ModifyAllRuleStatusRequest
- type ModifyAllRuleStatusRequestParams
- type ModifyAllRuleStatusResponse
- type ModifyAllRuleStatusResponseParams
- type ModifyAllVPCSwitchStatusRequest
- type ModifyAllVPCSwitchStatusRequestParams
- type ModifyAllVPCSwitchStatusResponse
- type ModifyAllVPCSwitchStatusResponseParams
- type ModifyAssetScanRequest
- type ModifyAssetScanRequestParams
- type ModifyAssetScanResponse
- type ModifyAssetScanResponseParams
- type ModifyBlockIgnoreListRequest
- type ModifyBlockIgnoreListRequestParams
- type ModifyBlockIgnoreListResponse
- type ModifyBlockIgnoreListResponseParams
- type ModifyBlockTopRequest
- type ModifyBlockTopRequestParams
- type ModifyBlockTopResponse
- type ModifyBlockTopResponseParams
- type ModifyEnterpriseSecurityDispatchStatusRequest
- type ModifyEnterpriseSecurityDispatchStatusRequestParams
- type ModifyEnterpriseSecurityDispatchStatusResponse
- type ModifyEnterpriseSecurityDispatchStatusResponseParams
- type ModifyEnterpriseSecurityGroupRuleRequest
- type ModifyEnterpriseSecurityGroupRuleRequestParams
- type ModifyEnterpriseSecurityGroupRuleResponse
- type ModifyEnterpriseSecurityGroupRuleResponseParams
- type ModifyNatAcRuleRequest
- type ModifyNatAcRuleRequestParams
- type ModifyNatAcRuleResponse
- type ModifyNatAcRuleResponseParams
- type ModifyNatFwReSelectRequest
- type ModifyNatFwReSelectRequestParams
- type ModifyNatFwReSelectResponse
- type ModifyNatFwReSelectResponseParams
- type ModifyNatFwSwitchRequest
- type ModifyNatFwSwitchRequestParams
- type ModifyNatFwSwitchResponse
- type ModifyNatFwSwitchResponseParams
- type ModifyNatFwVpcDnsSwitchRequest
- type ModifyNatFwVpcDnsSwitchRequestParams
- type ModifyNatFwVpcDnsSwitchResponse
- type ModifyNatFwVpcDnsSwitchResponseParams
- type ModifyNatSequenceRulesRequest
- type ModifyNatSequenceRulesRequestParams
- type ModifyNatSequenceRulesResponse
- type ModifyNatSequenceRulesResponseParams
- type ModifyPublicIPSwitchStatusRequest
- type ModifyPublicIPSwitchStatusRequestParams
- type ModifyPublicIPSwitchStatusResponse
- type ModifyPublicIPSwitchStatusResponseParams
- type ModifyResourceGroupRequest
- type ModifyResourceGroupRequestParams
- type ModifyResourceGroupResponse
- type ModifyResourceGroupResponseParams
- type ModifyRunSyncAssetRequest
- type ModifyRunSyncAssetRequestParams
- type ModifyRunSyncAssetResponse
- type ModifyRunSyncAssetResponseParams
- type ModifySecurityGroupItemRuleStatusRequest
- type ModifySecurityGroupItemRuleStatusRequestParams
- type ModifySecurityGroupItemRuleStatusResponse
- type ModifySecurityGroupItemRuleStatusResponseParams
- type ModifySecurityGroupSequenceRulesRequest
- type ModifySecurityGroupSequenceRulesRequestParams
- type ModifySecurityGroupSequenceRulesResponse
- type ModifySecurityGroupSequenceRulesResponseParams
- type ModifySequenceRulesRequest
- type ModifySequenceRulesRequestParams
- type ModifySequenceRulesResponse
- type ModifySequenceRulesResponseParams
- type ModifyStorageSettingRequest
- type ModifyStorageSettingRequestParams
- type ModifyStorageSettingResponse
- type ModifyStorageSettingResponseParams
- type ModifyTableStatusRequest
- type ModifyTableStatusRequestParams
- type ModifyTableStatusResponse
- type ModifyTableStatusResponseParams
- type NatFwFilter
- type NatFwInstance
- type NatInstanceInfo
- type NewModeItems
- type RemoveAcRuleRequest
- type RemoveAcRuleRequestParams
- type RemoveAcRuleResponse
- type RemoveAcRuleResponseParams
- type RemoveEnterpriseSecurityGroupRuleRequest
- type RemoveEnterpriseSecurityGroupRuleRequestParams
- type RemoveEnterpriseSecurityGroupRuleResponse
- type RemoveEnterpriseSecurityGroupRuleResponseParams
- type RemoveNatAcRuleRequest
- type RemoveNatAcRuleRequestParams
- type RemoveNatAcRuleResponse
- type RemoveNatAcRuleResponseParams
- type RuleChangeItem
- type RuleInfoData
- type ScanInfo
- type ScanResultInfo
- type SecurityGroupBothWayInfo
- type SecurityGroupListData
- type SecurityGroupOrderIndexData
- type SecurityGroupRule
- type SequenceData
- type SetNatFwDnatRuleRequest
- type SetNatFwDnatRuleRequestParams
- type SetNatFwDnatRuleResponse
- type SetNatFwDnatRuleResponseParams
- type SetNatFwEipRequest
- type SetNatFwEipRequestParams
- type SetNatFwEipResponse
- type SetNatFwEipResponseParams
- type StaticInfo
- type StopSecurityGroupRuleDispatchRequest
- type StopSecurityGroupRuleDispatchRequestParams
- type StopSecurityGroupRuleDispatchResponse
- type StopSecurityGroupRuleDispatchResponseParams
- type SwitchListsData
- type TLogInfo
- type UnHandleEvent
- type UnHandleEventDetail
- type VpcDnsInfo
Constants ¶
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" )
const APIVersion = "2019-09-04"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcListsData ¶
type AcListsData struct { // Rule ID Id *uint64 `json:"Id,omitempty" name:"Id"` // Access source // Note: This field may return `null`, indicating that no valid value was found. SourceIp *string `json:"SourceIp,omitempty" name:"SourceIp"` // Access destination // Note: This field may return `null`, indicating that no valid value was found. TargetIp *string `json:"TargetIp,omitempty" name:"TargetIp"` // Protocol // Note: This field may return `null`, indicating that no valid value was found. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Port // Note: This field may return `null`, indicating that no valid value was found. Port *string `json:"Port,omitempty" name:"Port"` // Policy // Note: This field may return `null`, indicating that no valid value was found. Strategy *uint64 `json:"Strategy,omitempty" name:"Strategy"` // Description // Note: This field may return `null`, indicating that no valid value was found. Detail *string `json:"Detail,omitempty" name:"Detail"` // Hit count Count *uint64 `json:"Count,omitempty" name:"Count"` // Priority OrderIndex *uint64 `json:"OrderIndex,omitempty" name:"OrderIndex"` // Alert rule ID // Note: This field may return `null`, indicating that no valid value was found. LogId *string `json:"LogId,omitempty" name:"LogId"` }
type AddAcRuleRequest ¶
type AddAcRuleRequest struct { *tchttp.BaseRequest // -1: lowest priority; 1: highest priority OrderIndex *string `json:"OrderIndex,omitempty" name:"OrderIndex"` // The action that Cloud Firewall performs on the traffic. Valid values: // accept: allow // drop: deny // log: observe RuleAction *string `json:"RuleAction,omitempty" name:"RuleAction"` // The traffic direction for access control rules. Valid values: // in: incoming traffic access control // out: outgoing traffic access control Direction *string `json:"Direction,omitempty" name:"Direction"` // The description of access control rules. Description *string `json:"Description,omitempty" name:"Description"` // The type of source address in access control rules. Valid values: // net: source IP or range (IP or CIDR) // location: source region // template: CFW address template // instance: instance ID // vendor: Cloud vendor SourceType *string `json:"SourceType,omitempty" name:"SourceType"` // The source address in the access control policy. // When `SourceType` is `net`, `SourceContent` is the source IP or CIDR block. // For example: 1.1.1.0/24 // // When `SourceType` is `template`, `SourceContent` must be the source address template ID. // // When `SourceType` is `location`, `SourceContent` is the source region. // For example, ["BJ11", "ZB"] // // When `SourceType` is `instance`, `SourceContent` is the public IP of the instance. // For example, ins-xxxxx // // When `SourceType` is `vendor`, `SourceContent` is the cloud service provider. // Values: `aws`, `huawei`, `tencent`, `aliyun`, `azure` and `all`. SourceContent *string `json:"SourceContent,omitempty" name:"SourceContent"` // The type of destination address in access control rules. Valid values: // net: destination IP or range (IP or CIDR) // location: source region // template: CFW address template // instance: instance ID // vendor: Cloud vendor // domain: Domain name or IP. DestType *string `json:"DestType,omitempty" name:"DestType"` // The destination address in the access control policy. // When `DestType` is `net`, `DestContent` is the destination IP or CIDR block. // For example: 1.1.1.0/24 // // When `DestType` is `template`, `DestContent` is the destination address template ID. // // When `DestType` is `location`, `DestContent` is the destination region. // For example, ["BJ11", "ZB"] // // When `DestType` is `instance`, `DestContent` is the public IP of the instance. // For example, ins-xxxxx // // When `DestType` is `domain`, `DestContent` is the domain name associated with the instance. // For example, *.qq.com // // When `DestType`, `DestContent` is the selected cloud service provider. // Values: `aws`, `huawei`, `tencent`, `aliyun`, `azure` and `all`. DestContent *string `json:"DestContent,omitempty" name:"DestContent"` // The port to apply access control rules. Valid values: // -1/-1: all ports // 80,443: 80 or 443 Port *string `json:"Port,omitempty" name:"Port"` // The protocol type of traffic in access control rules. Valid value: TCP. Only TCP is supported for edge firewall rules. If this parameter is not specified, it defaults to TCP. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // The Layer 7 protocol. Valid values: // HTTP/HTTPS // TLS/SSL ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` // Indicates whether to enable the rules. Default: enable. Valid values: // true: enable; false: disable Enable *string `json:"Enable,omitempty" name:"Enable"` }
func NewAddAcRuleRequest ¶
func NewAddAcRuleRequest() (request *AddAcRuleRequest)
func (*AddAcRuleRequest) FromJsonString ¶
func (r *AddAcRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddAcRuleRequest) ToJsonString ¶
func (r *AddAcRuleRequest) ToJsonString() string
type AddAcRuleRequestParams ¶
type AddAcRuleRequestParams struct { // -1: lowest priority; 1: highest priority OrderIndex *string `json:"OrderIndex,omitempty" name:"OrderIndex"` // The action that Cloud Firewall performs on the traffic. Valid values: // accept: allow // drop: deny // log: observe RuleAction *string `json:"RuleAction,omitempty" name:"RuleAction"` // The traffic direction for access control rules. Valid values: // in: incoming traffic access control // out: outgoing traffic access control Direction *string `json:"Direction,omitempty" name:"Direction"` // The description of access control rules. Description *string `json:"Description,omitempty" name:"Description"` // The type of source address in access control rules. Valid values: // net: source IP or range (IP or CIDR) // location: source region // template: CFW address template // instance: instance ID // vendor: Cloud vendor SourceType *string `json:"SourceType,omitempty" name:"SourceType"` // The source address in the access control policy. // When `SourceType` is `net`, `SourceContent` is the source IP or CIDR block. // For example: 1.1.1.0/24 // // When `SourceType` is `template`, `SourceContent` must be the source address template ID. // // When `SourceType` is `location`, `SourceContent` is the source region. // For example, ["BJ11", "ZB"] // // When `SourceType` is `instance`, `SourceContent` is the public IP of the instance. // For example, ins-xxxxx // // When `SourceType` is `vendor`, `SourceContent` is the cloud service provider. // Values: `aws`, `huawei`, `tencent`, `aliyun`, `azure` and `all`. SourceContent *string `json:"SourceContent,omitempty" name:"SourceContent"` // The type of destination address in access control rules. Valid values: // net: destination IP or range (IP or CIDR) // location: source region // template: CFW address template // instance: instance ID // vendor: Cloud vendor // domain: Domain name or IP. DestType *string `json:"DestType,omitempty" name:"DestType"` // The destination address in the access control policy. // When `DestType` is `net`, `DestContent` is the destination IP or CIDR block. // For example: 1.1.1.0/24 // // When `DestType` is `template`, `DestContent` is the destination address template ID. // // When `DestType` is `location`, `DestContent` is the destination region. // For example, ["BJ11", "ZB"] // // When `DestType` is `instance`, `DestContent` is the public IP of the instance. // For example, ins-xxxxx // // When `DestType` is `domain`, `DestContent` is the domain name associated with the instance. // For example, *.qq.com // // When `DestType`, `DestContent` is the selected cloud service provider. // Values: `aws`, `huawei`, `tencent`, `aliyun`, `azure` and `all`. DestContent *string `json:"DestContent,omitempty" name:"DestContent"` // The port to apply access control rules. Valid values: // -1/-1: all ports // 80,443: 80 or 443 Port *string `json:"Port,omitempty" name:"Port"` // The protocol type of traffic in access control rules. Valid value: TCP. Only TCP is supported for edge firewall rules. If this parameter is not specified, it defaults to TCP. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // The Layer 7 protocol. Valid values: // HTTP/HTTPS // TLS/SSL ApplicationName *string `json:"ApplicationName,omitempty" name:"ApplicationName"` // Indicates whether to enable the rules. Default: enable. Valid values: // true: enable; false: disable Enable *string `json:"Enable,omitempty" name:"Enable"` }
Predefined struct for user
type AddAcRuleResponse ¶
type AddAcRuleResponse struct { *tchttp.BaseResponse Response *AddAcRuleResponseParams `json:"Response"` }
func NewAddAcRuleResponse ¶
func NewAddAcRuleResponse() (response *AddAcRuleResponse)
func (*AddAcRuleResponse) FromJsonString ¶
func (r *AddAcRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddAcRuleResponse) ToJsonString ¶
func (r *AddAcRuleResponse) ToJsonString() string
type AddAcRuleResponseParams ¶
type AddAcRuleResponseParams struct { // UUID of the new rule RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"` // 0: operation successful; -1: operation failed ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"` // success: operation successful; failed: operation failed ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AddEnterpriseSecurityGroupRulesRequest ¶
type AddEnterpriseSecurityGroupRulesRequest struct { *tchttp.BaseRequest // Creates rule data Data []*SecurityGroupRule `json:"Data,omitempty" name:"Data"` // Adding type. 0: add to the end; 1: add to the front; 2: insert. Default: 0 Type *uint64 `json:"Type,omitempty" name:"Type"` // An identifier to ensure the idempotency of the request. The value of the ClientToken parameter is a unique string that is generated by your client and can contain up to 64 ASCII characters in length. ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // Indicates whether to delay publishing. 1: delay; other values: do not delay IsDelay *uint64 `json:"IsDelay,omitempty" name:"IsDelay"` }
func NewAddEnterpriseSecurityGroupRulesRequest ¶
func NewAddEnterpriseSecurityGroupRulesRequest() (request *AddEnterpriseSecurityGroupRulesRequest)
func (*AddEnterpriseSecurityGroupRulesRequest) FromJsonString ¶
func (r *AddEnterpriseSecurityGroupRulesRequest) 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 (*AddEnterpriseSecurityGroupRulesRequest) ToJsonString ¶
func (r *AddEnterpriseSecurityGroupRulesRequest) ToJsonString() string
type AddEnterpriseSecurityGroupRulesRequestParams ¶
type AddEnterpriseSecurityGroupRulesRequestParams struct { // Creates rule data Data []*SecurityGroupRule `json:"Data,omitempty" name:"Data"` // Adding type. 0: add to the end; 1: add to the front; 2: insert. Default: 0 Type *uint64 `json:"Type,omitempty" name:"Type"` // An identifier to ensure the idempotency of the request. The value of the ClientToken parameter is a unique string that is generated by your client and can contain up to 64 ASCII characters in length. ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // Indicates whether to delay publishing. 1: delay; other values: do not delay IsDelay *uint64 `json:"IsDelay,omitempty" name:"IsDelay"` }
Predefined struct for user
type AddEnterpriseSecurityGroupRulesResponse ¶
type AddEnterpriseSecurityGroupRulesResponse struct { *tchttp.BaseResponse Response *AddEnterpriseSecurityGroupRulesResponseParams `json:"Response"` }
func NewAddEnterpriseSecurityGroupRulesResponse ¶
func NewAddEnterpriseSecurityGroupRulesResponse() (response *AddEnterpriseSecurityGroupRulesResponse)
func (*AddEnterpriseSecurityGroupRulesResponse) FromJsonString ¶
func (r *AddEnterpriseSecurityGroupRulesResponse) 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 (*AddEnterpriseSecurityGroupRulesResponse) ToJsonString ¶
func (r *AddEnterpriseSecurityGroupRulesResponse) ToJsonString() string
type AddEnterpriseSecurityGroupRulesResponseParams ¶
type AddEnterpriseSecurityGroupRulesResponseParams struct { // Status value. 0: added successfully; non-0: failed to add Status *uint64 `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AddNatAcRuleRequest ¶
type AddNatAcRuleRequest struct { *tchttp.BaseRequest // NAT access control rules to be added. Rules []*CreateNatRuleItem `json:"Rules,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,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,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,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,omitempty" name:"RuleUuid"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type AssociatedInstanceInfo ¶
type AssociatedInstanceInfo struct { // Instance ID // Note: This field may return `null`, indicating that no valid value was found. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Instance name // Note: This field may return `null`, indicating that no valid value was found. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance type. 3: CVM instance; 4: CLB instance; 5: ENI instance; 6: Cloud database // Note: This field may return `null`, indicating that no valid value was found. Type *uint64 `json:"Type,omitempty" name:"Type"` // VPC ID // Note: This field may return `null`, indicating that no valid value was found. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPC name // Note: This field may return `null`, indicating that no valid value was found. VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // Public IP // Note: This field may return `null`, indicating that no valid value was found. PublicIp *string `json:"PublicIp,omitempty" name:"PublicIp"` // Private IP // Note: This field may return `null`, indicating that no valid value was found. Ip *string `json:"Ip,omitempty" name:"Ip"` // The number of associated security groups // Note: This field may return `null`, indicating that no valid value was found. SecurityGroupCount *uint64 `json:"SecurityGroupCount,omitempty" name:"SecurityGroupCount"` }
type BetaInfoByACL ¶
type BetaInfoByACL struct { // Task ID. // Note: This field may return null, indicating that no valid values can be obtained. TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"` // Task name. // Note: This field may return null, indicating that no valid values can be obtained. TaskName *string `json:"TaskName,omitempty" name:"TaskName"` // Last execution time // Note: This field may return null, indicating that no valid values can be obtained. LastTime *string `json:"LastTime,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,omitempty" name:"Domain"` // Rule IP. // Note: This field may return null, indicating that no valid values can be obtained. Ioc *string `json:"Ioc,omitempty" name:"Ioc"` // Threat level. // Note: This field may return null, indicating that no valid values can be obtained. Level *string `json:"Level,omitempty" name:"Level"` // Source event name. // Note: This field may return null, indicating that no valid values can be obtained. EventName *string `json:"EventName,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,omitempty" name:"Direction"` // Protocol. // Note: This field may return null, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Address. // Note: This field may return null, indicating that no valid values can be obtained. Address *string `json:"Address,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,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,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,omitempty" name:"EndTime"` // Reason for ignoring. // Note: This field may return null, indicating that no valid values can be obtained. IgnoreReason *string `json:"IgnoreReason,omitempty" name:"IgnoreReason"` // Security event source. // Note: This field may return null, indicating that no valid values can be obtained. Source *string `json:"Source,omitempty" name:"Source"` // Rule ID. // Note: This field may return null, indicating that no valid values can be obtained. UniqueId *string `json:"UniqueId,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,omitempty" name:"MatchTimes"` // Country. // Note: This field may return null, indicating that no valid values can be obtained. Country *string `json:"Country,omitempty" name:"Country"` Comment *string `json:"Comment,omitempty" name:"Comment"` }
type CfwNatDnatRule ¶
type CfwNatDnatRule struct { // Network protocol. Valid values: TCP or UDP. IpProtocol *string `json:"IpProtocol,omitempty" name:"IpProtocol"` // Elastic IP. PublicIpAddress *string `json:"PublicIpAddress,omitempty" name:"PublicIpAddress"` // Public port. PublicPort *int64 `json:"PublicPort,omitempty" name:"PublicPort"` // Private address. PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"` // Private port. PrivatePort *int64 `json:"PrivatePort,omitempty" name:"PrivatePort"` // The description of NAT firewall forwarding rules. Description *string `json:"Description,omitempty" name:"Description"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
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,omitempty" name:"Name"` // Search values. Values []*string `json:"Values,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,omitempty" name:"OperatorType"` }
type CreateAcRulesRequest ¶
type CreateAcRulesRequest struct { *tchttp.BaseRequest // Creates rule data Data []*RuleInfoData `json:"Data,omitempty" name:"Data"` // 0: add (default); 1: insert Type *uint64 `json:"Type,omitempty" name:"Type"` // Edge ID EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Access control rule status Enable *int64 `json:"Enable,omitempty" name:"Enable"` // 0: add; 1: overwrite Overwrite *uint64 `json:"Overwrite,omitempty" name:"Overwrite"` // NAT instance ID, required when the parameter Area exists InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // portScan: from port scanning; patchImport: from batch import From *string `json:"From,omitempty" name:"From"` // NAT region Area *string `json:"Area,omitempty" name:"Area"` }
func NewCreateAcRulesRequest ¶
func NewCreateAcRulesRequest() (request *CreateAcRulesRequest)
func (*CreateAcRulesRequest) FromJsonString ¶
func (r *CreateAcRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAcRulesRequest) ToJsonString ¶
func (r *CreateAcRulesRequest) ToJsonString() string
type CreateAcRulesRequestParams ¶
type CreateAcRulesRequestParams struct { // Creates rule data Data []*RuleInfoData `json:"Data,omitempty" name:"Data"` // 0: add (default); 1: insert Type *uint64 `json:"Type,omitempty" name:"Type"` // Edge ID EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Access control rule status Enable *int64 `json:"Enable,omitempty" name:"Enable"` // 0: add; 1: overwrite Overwrite *uint64 `json:"Overwrite,omitempty" name:"Overwrite"` // NAT instance ID, required when the parameter Area exists InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // portScan: from port scanning; patchImport: from batch import From *string `json:"From,omitempty" name:"From"` // NAT region Area *string `json:"Area,omitempty" name:"Area"` }
Predefined struct for user
type CreateAcRulesResponse ¶
type CreateAcRulesResponse struct { *tchttp.BaseResponse Response *CreateAcRulesResponseParams `json:"Response"` }
func NewCreateAcRulesResponse ¶
func NewCreateAcRulesResponse() (response *CreateAcRulesResponse)
func (*CreateAcRulesResponse) FromJsonString ¶
func (r *CreateAcRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAcRulesResponse) ToJsonString ¶
func (r *CreateAcRulesResponse) ToJsonString() string
type CreateAcRulesResponseParams ¶
type CreateAcRulesResponseParams struct { // Status value. 0: operation successful Status *int64 `json:"Status,omitempty" name:"Status"` // Returns redundant information // Note: This field may return `null`, indicating that no valid value was found. Info *string `json:"Info,omitempty" name:"Info"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateNatFwInstanceRequest ¶
type CreateNatFwInstanceRequest struct { *tchttp.BaseRequest // Firewall instance name Name *string `json:"Name,omitempty" name:"Name"` // Bandwidth Width *int64 `json:"Width,omitempty" name:"Width"` // Mode. 1: use existing; 0: create new Mode *int64 `json:"Mode,omitempty" name:"Mode"` // Parameter passed for the Create New mode. Either NewModeItems or NatgwList is required. NewModeItems *NewModeItems `json:"NewModeItems,omitempty" name:"NewModeItems"` // NAT gateway list for the Using Existing mode. Either NewModeItems or NatgwList is required. NatGwList []*string `json:"NatGwList,omitempty" name:"NatGwList"` // Primary zone. The default zone is selected if it is empty. Zone *string `json:"Zone,omitempty" name:"Zone"` // Secondary zone. The default zone is selected if it is empty. ZoneBak *string `json:"ZoneBak,omitempty" name:"ZoneBak"` // Remote disaster recovery. 1: enable; 0: disable; empty: disable by default CrossAZone *int64 `json:"CrossAZone,omitempty" name:"CrossAZone"` // IP range of the firewall FwCidrInfo *FwCidrInfo `json:"FwCidrInfo,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,omitempty" name:"Name"` // Bandwidth Width *int64 `json:"Width,omitempty" name:"Width"` // Mode. 1: use existing; 0: create new Mode *int64 `json:"Mode,omitempty" name:"Mode"` // Parameter passed for the Create New mode. Either NewModeItems or NatgwList is required. NewModeItems *NewModeItems `json:"NewModeItems,omitempty" name:"NewModeItems"` // NAT gateway list for the Using Existing mode. Either NewModeItems or NatgwList is required. NatGwList []*string `json:"NatGwList,omitempty" name:"NatGwList"` // Primary zone. The default zone is selected if it is empty. Zone *string `json:"Zone,omitempty" name:"Zone"` // Secondary zone. The default zone is selected if it is empty. ZoneBak *string `json:"ZoneBak,omitempty" name:"ZoneBak"` // Remote disaster recovery. 1: enable; 0: disable; empty: disable by default CrossAZone *int64 `json:"CrossAZone,omitempty" name:"CrossAZone"` // IP range of the firewall FwCidrInfo *FwCidrInfo `json:"FwCidrInfo,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,omitempty" name:"CfwInsId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateNatFwInstanceWithDomainRequest ¶
type CreateNatFwInstanceWithDomainRequest struct { *tchttp.BaseRequest // Firewall instance name Name *string `json:"Name,omitempty" name:"Name"` // Bandwidth Width *int64 `json:"Width,omitempty" name:"Width"` // Mode. 1: use existing; 0: create new Mode *int64 `json:"Mode,omitempty" name:"Mode"` // Parameter passed for the Create New mode. Either NewModeItems or NatgwList is required. NewModeItems *NewModeItems `json:"NewModeItems,omitempty" name:"NewModeItems"` // NAT gateway list for the Using Existing mode. Either NewModeItems or NatgwList is required. NatGwList []*string `json:"NatGwList,omitempty" name:"NatGwList"` // Primary zone. The default zone is selected if it is empty. Zone *string `json:"Zone,omitempty" name:"Zone"` // Secondary zone. The default zone is selected if it is empty. ZoneBak *string `json:"ZoneBak,omitempty" name:"ZoneBak"` // Remote disaster recovery. 1: enable; 0: disable; empty: disable by default CrossAZone *int64 `json:"CrossAZone,omitempty" name:"CrossAZone"` // 0: not create; 1: create IsCreateDomain *int64 `json:"IsCreateDomain,omitempty" name:"IsCreateDomain"` // Required for creating a domain name Domain *string `json:"Domain,omitempty" name:"Domain"` // IP range of the firewall FwCidrInfo *FwCidrInfo `json:"FwCidrInfo,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,omitempty" name:"Name"` // Bandwidth Width *int64 `json:"Width,omitempty" name:"Width"` // Mode. 1: use existing; 0: create new Mode *int64 `json:"Mode,omitempty" name:"Mode"` // Parameter passed for the Create New mode. Either NewModeItems or NatgwList is required. NewModeItems *NewModeItems `json:"NewModeItems,omitempty" name:"NewModeItems"` // NAT gateway list for the Using Existing mode. Either NewModeItems or NatgwList is required. NatGwList []*string `json:"NatGwList,omitempty" name:"NatGwList"` // Primary zone. The default zone is selected if it is empty. Zone *string `json:"Zone,omitempty" name:"Zone"` // Secondary zone. The default zone is selected if it is empty. ZoneBak *string `json:"ZoneBak,omitempty" name:"ZoneBak"` // Remote disaster recovery. 1: enable; 0: disable; empty: disable by default CrossAZone *int64 `json:"CrossAZone,omitempty" name:"CrossAZone"` // 0: not create; 1: create IsCreateDomain *int64 `json:"IsCreateDomain,omitempty" name:"IsCreateDomain"` // Required for creating a domain name Domain *string `json:"Domain,omitempty" name:"Domain"` // IP range of the firewall FwCidrInfo *FwCidrInfo `json:"FwCidrInfo,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 ¶
func (r *CreateNatFwInstanceWithDomainResponse) ToJsonString() string
type CreateNatFwInstanceWithDomainResponseParams ¶
type CreateNatFwInstanceWithDomainResponseParams struct { // NAT instance info // Note: This field may return `null`, indicating that no valid value was found. CfwInsId *string `json:"CfwInsId,omitempty" name:"CfwInsId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateNatRuleItem ¶
type CreateNatRuleItem struct { // Access source. Example: `net: IP/CIDR(192.168.0.2)` SourceContent *string `json:"SourceContent,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,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,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,omitempty" name:"TargetType"` // Protocol. Values: `TCP`, `UDP`, `ICMP`, `ANY`, `HTTP`, `HTTPS`, `HTTP/HTTPS`, `SMTP`, `SMTPS`, `SMTP/SMTPS`, `FTP`, and `DNS`. Protocol *string `json:"Protocol,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,omitempty" name:"RuleAction"` // The port of the access control rule. Values: `-1/-1` (all ports) and `80` (Port 80) Port *string `json:"Port,omitempty" name:"Port"` // Rule direction. Values: `1` (Inbound) and `0` (Outbound) Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Rule sequence number OrderIndex *int64 `json:"OrderIndex,omitempty" name:"OrderIndex"` // Rule status. `true` (Enabled); `false` (Disabled) Enable *string `json:"Enable,omitempty" name:"Enable"` // The unique ID of the rule, which is not required when you create a rule. Uuid *int64 `json:"Uuid,omitempty" name:"Uuid"` // Description Description *string `json:"Description,omitempty" name:"Description"` }
type CreateSecurityGroupRulesRequest ¶
type CreateSecurityGroupRulesRequest struct { *tchttp.BaseRequest // Added enterprise security group rule data Data []*SecurityGroupListData `json:"Data,omitempty" name:"Data"` // Direction. 0: outbound; 1: inbound. 1 by default Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // 0: at the end; 1: at the top; 2: in the middle. 0 by default Type *uint64 `json:"Type,omitempty" name:"Type"` // Indicates whether to enable rules after addition. 0: disable; 1: enable. 1 by default Enable *uint64 `json:"Enable,omitempty" name:"Enable"` }
func NewCreateSecurityGroupRulesRequest ¶
func NewCreateSecurityGroupRulesRequest() (request *CreateSecurityGroupRulesRequest)
func (*CreateSecurityGroupRulesRequest) FromJsonString ¶
func (r *CreateSecurityGroupRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityGroupRulesRequest) ToJsonString ¶
func (r *CreateSecurityGroupRulesRequest) ToJsonString() string
type CreateSecurityGroupRulesRequestParams ¶
type CreateSecurityGroupRulesRequestParams struct { // Added enterprise security group rule data Data []*SecurityGroupListData `json:"Data,omitempty" name:"Data"` // Direction. 0: outbound; 1: inbound. 1 by default Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // 0: at the end; 1: at the top; 2: in the middle. 0 by default Type *uint64 `json:"Type,omitempty" name:"Type"` // Indicates whether to enable rules after addition. 0: disable; 1: enable. 1 by default Enable *uint64 `json:"Enable,omitempty" name:"Enable"` }
Predefined struct for user
type CreateSecurityGroupRulesResponse ¶
type CreateSecurityGroupRulesResponse struct { *tchttp.BaseResponse Response *CreateSecurityGroupRulesResponseParams `json:"Response"` }
func NewCreateSecurityGroupRulesResponse ¶
func NewCreateSecurityGroupRulesResponse() (response *CreateSecurityGroupRulesResponse)
func (*CreateSecurityGroupRulesResponse) FromJsonString ¶
func (r *CreateSecurityGroupRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityGroupRulesResponse) ToJsonString ¶
func (r *CreateSecurityGroupRulesResponse) ToJsonString() string
type CreateSecurityGroupRulesResponseParams ¶
type CreateSecurityGroupRulesResponseParams struct { // Status value. 0: added successfully; non-0: failed to add Status *uint64 `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAcRuleRequest ¶
type DeleteAcRuleRequest struct { *tchttp.BaseRequest // The ID of the rule to delete. It can be queried via the DescribeAcLists API. Id *uint64 `json:"Id,omitempty" name:"Id"` // Direction. 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Edge ID between two VPCs EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // NAT region, e.g. ap-shanghai/ap-guangzhou/ap-chongqing Area *string `json:"Area,omitempty" name:"Area"` }
func NewDeleteAcRuleRequest ¶
func NewDeleteAcRuleRequest() (request *DeleteAcRuleRequest)
func (*DeleteAcRuleRequest) FromJsonString ¶
func (r *DeleteAcRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAcRuleRequest) ToJsonString ¶
func (r *DeleteAcRuleRequest) ToJsonString() string
type DeleteAcRuleRequestParams ¶
type DeleteAcRuleRequestParams struct { // The ID of the rule to delete. It can be queried via the DescribeAcLists API. Id *uint64 `json:"Id,omitempty" name:"Id"` // Direction. 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Edge ID between two VPCs EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // NAT region, e.g. ap-shanghai/ap-guangzhou/ap-chongqing Area *string `json:"Area,omitempty" name:"Area"` }
Predefined struct for user
type DeleteAcRuleResponse ¶
type DeleteAcRuleResponse struct { *tchttp.BaseResponse Response *DeleteAcRuleResponseParams `json:"Response"` }
func NewDeleteAcRuleResponse ¶
func NewDeleteAcRuleResponse() (response *DeleteAcRuleResponse)
func (*DeleteAcRuleResponse) FromJsonString ¶
func (r *DeleteAcRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAcRuleResponse) ToJsonString ¶
func (r *DeleteAcRuleResponse) ToJsonString() string
type DeleteAcRuleResponseParams ¶
type DeleteAcRuleResponseParams struct { // Status value. 0: deleted successfully; !0: deletion failed Status *int64 `json:"Status,omitempty" name:"Status"` // Returns redundant information // Note: This field may return `null`, indicating that no valid value was found. Info *string `json:"Info,omitempty" name:"Info"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAllAccessControlRuleRequest ¶
type DeleteAllAccessControlRuleRequest struct { *tchttp.BaseRequest // Direction. 0: outbound; 1: inbound. 0 by default Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Deletes all the access control rules for inter-VPC firewall toggles associated with the EdgeId. It is empty by default. Enter either EdgeId or Area. EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Deletes all the access control rules for NAT firewalls of this region. It is empty by default. Enter either EdgeId or Area. Area *string `json:"Area,omitempty" name:"Area"` }
func NewDeleteAllAccessControlRuleRequest ¶
func NewDeleteAllAccessControlRuleRequest() (request *DeleteAllAccessControlRuleRequest)
func (*DeleteAllAccessControlRuleRequest) FromJsonString ¶
func (r *DeleteAllAccessControlRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAllAccessControlRuleRequest) ToJsonString ¶
func (r *DeleteAllAccessControlRuleRequest) ToJsonString() string
type DeleteAllAccessControlRuleRequestParams ¶
type DeleteAllAccessControlRuleRequestParams struct { // Direction. 0: outbound; 1: inbound. 0 by default Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Deletes all the access control rules for inter-VPC firewall toggles associated with the EdgeId. It is empty by default. Enter either EdgeId or Area. EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Deletes all the access control rules for NAT firewalls of this region. It is empty by default. Enter either EdgeId or Area. Area *string `json:"Area,omitempty" name:"Area"` }
Predefined struct for user
type DeleteAllAccessControlRuleResponse ¶
type DeleteAllAccessControlRuleResponse struct { *tchttp.BaseResponse Response *DeleteAllAccessControlRuleResponseParams `json:"Response"` }
func NewDeleteAllAccessControlRuleResponse ¶
func NewDeleteAllAccessControlRuleResponse() (response *DeleteAllAccessControlRuleResponse)
func (*DeleteAllAccessControlRuleResponse) FromJsonString ¶
func (r *DeleteAllAccessControlRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAllAccessControlRuleResponse) ToJsonString ¶
func (r *DeleteAllAccessControlRuleResponse) ToJsonString() string
type DeleteAllAccessControlRuleResponseParams ¶
type DeleteAllAccessControlRuleResponseParams struct { // Status of the task. `0`: Modified successfully; Others: Modification failed Status *int64 `json:"Status,omitempty" name:"Status"` // Number of access control rules deleted. // Note: This field may return `null`, indicating that no valid value was found. Info *int64 `json:"Info,omitempty" name:"Info"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteResourceGroupRequest ¶
type DeleteResourceGroupRequest struct { *tchttp.BaseRequest // Group ID GroupId *string `json:"GroupId,omitempty" name:"GroupId"` }
func NewDeleteResourceGroupRequest ¶
func NewDeleteResourceGroupRequest() (request *DeleteResourceGroupRequest)
func (*DeleteResourceGroupRequest) FromJsonString ¶
func (r *DeleteResourceGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteResourceGroupRequest) ToJsonString ¶
func (r *DeleteResourceGroupRequest) ToJsonString() string
type DeleteResourceGroupRequestParams ¶
type DeleteResourceGroupRequestParams struct { // Group ID GroupId *string `json:"GroupId,omitempty" name:"GroupId"` }
Predefined struct for user
type DeleteResourceGroupResponse ¶
type DeleteResourceGroupResponse struct { *tchttp.BaseResponse Response *DeleteResourceGroupResponseParams `json:"Response"` }
func NewDeleteResourceGroupResponse ¶
func NewDeleteResourceGroupResponse() (response *DeleteResourceGroupResponse)
func (*DeleteResourceGroupResponse) FromJsonString ¶
func (r *DeleteResourceGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteResourceGroupResponse) ToJsonString ¶
func (r *DeleteResourceGroupResponse) ToJsonString() string
type DeleteResourceGroupResponseParams ¶
type DeleteResourceGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSecurityGroupRuleRequest ¶
type DeleteSecurityGroupRuleRequest struct { *tchttp.BaseRequest // ID of the rule to delete Id *uint64 `json:"Id,omitempty" name:"Id"` // Tencent Cloud region (abbreviation) Area *string `json:"Area,omitempty" name:"Area"` // Direction. 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Indicates whether to delete the reverse rule. 0: no; 1: yes IsDelReverse *uint64 `json:"IsDelReverse,omitempty" name:"IsDelReverse"` }
func NewDeleteSecurityGroupRuleRequest ¶
func NewDeleteSecurityGroupRuleRequest() (request *DeleteSecurityGroupRuleRequest)
func (*DeleteSecurityGroupRuleRequest) FromJsonString ¶
func (r *DeleteSecurityGroupRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityGroupRuleRequest) ToJsonString ¶
func (r *DeleteSecurityGroupRuleRequest) ToJsonString() string
type DeleteSecurityGroupRuleRequestParams ¶
type DeleteSecurityGroupRuleRequestParams struct { // ID of the rule to delete Id *uint64 `json:"Id,omitempty" name:"Id"` // Tencent Cloud region (abbreviation) Area *string `json:"Area,omitempty" name:"Area"` // Direction. 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Indicates whether to delete the reverse rule. 0: no; 1: yes IsDelReverse *uint64 `json:"IsDelReverse,omitempty" name:"IsDelReverse"` }
Predefined struct for user
type DeleteSecurityGroupRuleResponse ¶
type DeleteSecurityGroupRuleResponse struct { *tchttp.BaseResponse Response *DeleteSecurityGroupRuleResponseParams `json:"Response"` }
func NewDeleteSecurityGroupRuleResponse ¶
func NewDeleteSecurityGroupRuleResponse() (response *DeleteSecurityGroupRuleResponse)
func (*DeleteSecurityGroupRuleResponse) FromJsonString ¶
func (r *DeleteSecurityGroupRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityGroupRuleResponse) ToJsonString ¶
func (r *DeleteSecurityGroupRuleResponse) ToJsonString() string
type DeleteSecurityGroupRuleResponseParams ¶
type DeleteSecurityGroupRuleResponseParams struct { // Status value. 0: operation successful; non-0: operation failed Status *int64 `json:"Status,omitempty" name:"Status"` // Returns redundant information // Note: This field may return `null`, indicating that no valid value was found. Info *string `json:"Info,omitempty" name:"Info"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteVpcInstanceRequest ¶
type DeleteVpcInstanceRequest struct {
*tchttp.BaseRequest
}
func NewDeleteVpcInstanceRequest ¶
func NewDeleteVpcInstanceRequest() (request *DeleteVpcInstanceRequest)
func (*DeleteVpcInstanceRequest) FromJsonString ¶
func (r *DeleteVpcInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteVpcInstanceRequest) ToJsonString ¶
func (r *DeleteVpcInstanceRequest) ToJsonString() string
type DeleteVpcInstanceRequestParams ¶
type DeleteVpcInstanceRequestParams struct { }
Predefined struct for user
type DeleteVpcInstanceResponse ¶
type DeleteVpcInstanceResponse struct { *tchttp.BaseResponse Response *DeleteVpcInstanceResponseParams `json:"Response"` }
func NewDeleteVpcInstanceResponse ¶
func NewDeleteVpcInstanceResponse() (response *DeleteVpcInstanceResponse)
func (*DeleteVpcInstanceResponse) FromJsonString ¶
func (r *DeleteVpcInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteVpcInstanceResponse) ToJsonString ¶
func (r *DeleteVpcInstanceResponse) ToJsonString() string
type DeleteVpcInstanceResponseParams ¶
type DeleteVpcInstanceResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescAcItem ¶
type DescAcItem struct { // Access source. // Note: This field may return null, indicating that no valid values can be obtained. SourceContent *string `json:"SourceContent,omitempty" name:"SourceContent"` // Access destination. // Note: This field may return null, indicating that no valid values can be obtained. TargetContent *string `json:"TargetContent,omitempty" name:"TargetContent"` // Protocol. // Note: This field may return null, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Port. // Note: This field may return null, indicating that no valid values can be obtained. Port *string `json:"Port,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,omitempty" name:"RuleAction"` // Description. // Note: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitempty" name:"Description"` // Number of rule matching times. Count *uint64 `json:"Count,omitempty" name:"Count"` // Rule sequence number. OrderIndex *uint64 `json:"OrderIndex,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,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,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,omitempty" name:"Uuid"` // Rule validity. // Note: This field may return null, indicating that no valid values can be obtained. Invalid *uint64 `json:"Invalid,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,omitempty" name:"IsRegion"` // Country ID. // Note: This field may return null, indicating that no valid values can be obtained. CountryCode *uint64 `json:"CountryCode,omitempty" name:"CountryCode"` // City ID. // Note: This field may return null, indicating that no valid values can be obtained. CityCode *uint64 `json:"CityCode,omitempty" name:"CityCode"` // Country name. // Note: This field may return null, indicating that no valid values can be obtained. CountryName *string `json:"CountryName,omitempty" name:"CountryName"` // City name. // Note: This field may return null, indicating that no valid values can be obtained. CityName *string `json:"CityName,omitempty" name:"CityName"` // Cloud provider code. // Note: This field may return null, indicating that no valid values can be obtained. CloudCode *string `json:"CloudCode,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,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,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,omitempty" name:"Direction"` // Instance name. // Note: This field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,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,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,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,omitempty" name:"BetaList"` }
type DescribeAcListsRequest ¶
type DescribeAcListsRequest struct { *tchttp.BaseRequest // Protocol Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Policy Strategy *string `json:"Strategy,omitempty" name:"Strategy"` // Search value SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` // Number of entries per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Indicates whether it is outbound or inbound. 1: inbound; 0: outbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // EdgeId value EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Indicates whether the rule is enabled. '0': disabled; '1': enabled. '0' by default Status *string `json:"Status,omitempty" name:"Status"` // Region Area *string `json:"Area,omitempty" name:"Area"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
func NewDescribeAcListsRequest ¶
func NewDescribeAcListsRequest() (request *DescribeAcListsRequest)
func (*DescribeAcListsRequest) FromJsonString ¶
func (r *DescribeAcListsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAcListsRequest) ToJsonString ¶
func (r *DescribeAcListsRequest) ToJsonString() string
type DescribeAcListsRequestParams ¶
type DescribeAcListsRequestParams struct { // Protocol Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Policy Strategy *string `json:"Strategy,omitempty" name:"Strategy"` // Search value SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` // Number of entries per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Indicates whether it is outbound or inbound. 1: inbound; 0: outbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // EdgeId value EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Indicates whether the rule is enabled. '0': disabled; '1': enabled. '0' by default Status *string `json:"Status,omitempty" name:"Status"` // Region Area *string `json:"Area,omitempty" name:"Area"` // Instance ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeAcListsResponse ¶
type DescribeAcListsResponse struct { *tchttp.BaseResponse Response *DescribeAcListsResponseParams `json:"Response"` }
func NewDescribeAcListsResponse ¶
func NewDescribeAcListsResponse() (response *DescribeAcListsResponse)
func (*DescribeAcListsResponse) FromJsonString ¶
func (r *DescribeAcListsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAcListsResponse) ToJsonString ¶
func (r *DescribeAcListsResponse) ToJsonString() string
type DescribeAcListsResponseParams ¶
type DescribeAcListsResponseParams struct { // Total entries Total *uint64 `json:"Total,omitempty" name:"Total"` // Access control list data Data []*AcListsData `json:"Data,omitempty" name:"Data"` // Total entries excluding the filtered ones AllTotal *uint64 `json:"AllTotal,omitempty" name:"AllTotal"` // All access control rules enabled/disabled // Note: This field may return `null`, indicating that no valid value was found. Enable *uint64 `json:"Enable,omitempty" name:"Enable"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAssociatedInstanceListRequest ¶
type DescribeAssociatedInstanceListRequest struct { *tchttp.BaseRequest // List offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of records per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Region code (e.g. ap-guangzhou). All Tencent Cloud regions are supported. Area *string `json:"Area,omitempty" name:"Area"` // Additional search criteria (JSON string) SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` // Sorting field By *string `json:"By,omitempty" name:"By"` // Sort order. asc: ascending; desc: descending Order *string `json:"Order,omitempty" name:"Order"` // Security group ID SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // Instance type. '3': CVM instance; '4': CLB instance; '5': ENI instance; '6': Cloud database Type *string `json:"Type,omitempty" name:"Type"` }
func NewDescribeAssociatedInstanceListRequest ¶
func NewDescribeAssociatedInstanceListRequest() (request *DescribeAssociatedInstanceListRequest)
func (*DescribeAssociatedInstanceListRequest) FromJsonString ¶
func (r *DescribeAssociatedInstanceListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAssociatedInstanceListRequest) ToJsonString ¶
func (r *DescribeAssociatedInstanceListRequest) ToJsonString() string
type DescribeAssociatedInstanceListRequestParams ¶
type DescribeAssociatedInstanceListRequestParams struct { // List offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Number of records per page Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Region code (e.g. ap-guangzhou). All Tencent Cloud regions are supported. Area *string `json:"Area,omitempty" name:"Area"` // Additional search criteria (JSON string) SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` // Sorting field By *string `json:"By,omitempty" name:"By"` // Sort order. asc: ascending; desc: descending Order *string `json:"Order,omitempty" name:"Order"` // Security group ID SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"` // Instance type. '3': CVM instance; '4': CLB instance; '5': ENI instance; '6': Cloud database Type *string `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type DescribeAssociatedInstanceListResponse ¶
type DescribeAssociatedInstanceListResponse struct { *tchttp.BaseResponse Response *DescribeAssociatedInstanceListResponseParams `json:"Response"` }
func NewDescribeAssociatedInstanceListResponse ¶
func NewDescribeAssociatedInstanceListResponse() (response *DescribeAssociatedInstanceListResponse)
func (*DescribeAssociatedInstanceListResponse) FromJsonString ¶
func (r *DescribeAssociatedInstanceListResponse) 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 (*DescribeAssociatedInstanceListResponse) ToJsonString ¶
func (r *DescribeAssociatedInstanceListResponse) ToJsonString() string
type DescribeAssociatedInstanceListResponseParams ¶
type DescribeAssociatedInstanceListResponseParams struct { // Number of instances // Note: This field may return `null`, indicating that no valid value was found. Total *uint64 `json:"Total,omitempty" name:"Total"` // Instance list // Note: This field may return `null`, indicating that no valid value was found. Data []*AssociatedInstanceInfo `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBlockByIpTimesListRequest ¶
type DescribeBlockByIpTimesListRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // IP search criteria Ip *string `json:"Ip,omitempty" name:"Ip"` // Region Zone *string `json:"Zone,omitempty" name:"Zone"` // Direction Direction *string `json:"Direction,omitempty" name:"Direction"` // Source Source *string `json:"Source,omitempty" name:"Source"` // Inter-VPC firewall toggle edge ID EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Log source. move: inter-VPC firewall LogSource *string `json:"LogSource,omitempty" name:"LogSource"` }
func NewDescribeBlockByIpTimesListRequest ¶
func NewDescribeBlockByIpTimesListRequest() (request *DescribeBlockByIpTimesListRequest)
func (*DescribeBlockByIpTimesListRequest) FromJsonString ¶
func (r *DescribeBlockByIpTimesListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlockByIpTimesListRequest) ToJsonString ¶
func (r *DescribeBlockByIpTimesListRequest) ToJsonString() string
type DescribeBlockByIpTimesListRequestParams ¶
type DescribeBlockByIpTimesListRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // IP search criteria Ip *string `json:"Ip,omitempty" name:"Ip"` // Region Zone *string `json:"Zone,omitempty" name:"Zone"` // Direction Direction *string `json:"Direction,omitempty" name:"Direction"` // Source Source *string `json:"Source,omitempty" name:"Source"` // Inter-VPC firewall toggle edge ID EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Log source. move: inter-VPC firewall LogSource *string `json:"LogSource,omitempty" name:"LogSource"` }
Predefined struct for user
type DescribeBlockByIpTimesListResponse ¶
type DescribeBlockByIpTimesListResponse struct { *tchttp.BaseResponse Response *DescribeBlockByIpTimesListResponseParams `json:"Response"` }
func NewDescribeBlockByIpTimesListResponse ¶
func NewDescribeBlockByIpTimesListResponse() (response *DescribeBlockByIpTimesListResponse)
func (*DescribeBlockByIpTimesListResponse) FromJsonString ¶
func (r *DescribeBlockByIpTimesListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlockByIpTimesListResponse) ToJsonString ¶
func (r *DescribeBlockByIpTimesListResponse) ToJsonString() string
type DescribeBlockByIpTimesListResponseParams ¶
type DescribeBlockByIpTimesListResponseParams struct { // Response data Data []*IpStatic `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBlockIgnoreListRequest ¶
type DescribeBlockIgnoreListRequest struct { *tchttp.BaseRequest // Number of entries per page. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Page offset. Offset *int64 `json:"Offset,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,omitempty" name:"Direction"` // Rule type. Valid values: 1: block; 2: allow. RuleType *uint64 `json:"RuleType,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,omitempty" name:"Order"` // Sort order. Valid values: desc: descending; asc: ascending. By *string `json:"By,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,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,omitempty" name:"Limit"` // Page offset. Offset *int64 `json:"Offset,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,omitempty" name:"Direction"` // Rule type. Valid values: 1: block; 2: allow. RuleType *uint64 `json:"RuleType,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,omitempty" name:"Order"` // Sort order. Valid values: desc: descending; asc: ascending. By *string `json:"By,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,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,omitempty" name:"Data"` // Total number of results, which is used for pagination. Total *int64 `json:"Total,omitempty" name:"Total"` // Status code. Valid values: 0: successful; others: failed. ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"` // Status message. Valid values: success: successful query; fail: failed query. ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBlockStaticListRequest ¶
type DescribeBlockStaticListRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // List type. Valid values: port, address, or IP QueryType *string `json:"QueryType,omitempty" name:"QueryType"` // Number of top results returned Top *int64 `json:"Top,omitempty" name:"Top"` // Search criteria SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` }
func NewDescribeBlockStaticListRequest ¶
func NewDescribeBlockStaticListRequest() (request *DescribeBlockStaticListRequest)
func (*DescribeBlockStaticListRequest) FromJsonString ¶
func (r *DescribeBlockStaticListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlockStaticListRequest) ToJsonString ¶
func (r *DescribeBlockStaticListRequest) ToJsonString() string
type DescribeBlockStaticListRequestParams ¶
type DescribeBlockStaticListRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // List type. Valid values: port, address, or IP QueryType *string `json:"QueryType,omitempty" name:"QueryType"` // Number of top results returned Top *int64 `json:"Top,omitempty" name:"Top"` // Search criteria SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` }
Predefined struct for user
type DescribeBlockStaticListResponse ¶
type DescribeBlockStaticListResponse struct { *tchttp.BaseResponse Response *DescribeBlockStaticListResponseParams `json:"Response"` }
func NewDescribeBlockStaticListResponse ¶
func NewDescribeBlockStaticListResponse() (response *DescribeBlockStaticListResponse)
func (*DescribeBlockStaticListResponse) FromJsonString ¶
func (r *DescribeBlockStaticListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlockStaticListResponse) ToJsonString ¶
func (r *DescribeBlockStaticListResponse) ToJsonString() string
type DescribeBlockStaticListResponseParams ¶
type DescribeBlockStaticListResponseParams struct { // None Data []*StaticInfo `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDefenseSwitchRequest ¶
type DescribeDefenseSwitchRequest struct {
*tchttp.BaseRequest
}
func NewDescribeDefenseSwitchRequest ¶
func NewDescribeDefenseSwitchRequest() (request *DescribeDefenseSwitchRequest)
func (*DescribeDefenseSwitchRequest) FromJsonString ¶
func (r *DescribeDefenseSwitchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDefenseSwitchRequest) ToJsonString ¶
func (r *DescribeDefenseSwitchRequest) ToJsonString() string
type DescribeDefenseSwitchRequestParams ¶
type DescribeDefenseSwitchRequestParams struct { }
Predefined struct for user
type DescribeDefenseSwitchResponse ¶
type DescribeDefenseSwitchResponse struct { *tchttp.BaseResponse Response *DescribeDefenseSwitchResponseParams `json:"Response"` }
func NewDescribeDefenseSwitchResponse ¶
func NewDescribeDefenseSwitchResponse() (response *DescribeDefenseSwitchResponse)
func (*DescribeDefenseSwitchResponse) FromJsonString ¶
func (r *DescribeDefenseSwitchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDefenseSwitchResponse) ToJsonString ¶
func (r *DescribeDefenseSwitchResponse) ToJsonString() string
type DescribeDefenseSwitchResponseParams ¶
type DescribeDefenseSwitchResponseParams struct { // Whether to enable the Basic Protection feature BasicRuleSwitch *int64 `json:"BasicRuleSwitch,omitempty" name:"BasicRuleSwitch"` // Whether to enable the Security Baseline feature BaselineAllSwitch *int64 `json:"BaselineAllSwitch,omitempty" name:"BaselineAllSwitch"` // Whether to enable the Treat Intelligence feature TiSwitch *int64 `json:"TiSwitch,omitempty" name:"TiSwitch"` // Whether to enable the Virtual Patch feature VirtualPatchSwitch *int64 `json:"VirtualPatchSwitch,omitempty" name:"VirtualPatchSwitch"` // Whether it has been enabled before HistoryOpen *int64 `json:"HistoryOpen,omitempty" name:"HistoryOpen"` // Status code. `0`: Succeeded. Others: Failed ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"` // Status message. `success` and `fail. ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEnterpriseSecurityGroupRuleRequest ¶
type DescribeEnterpriseSecurityGroupRuleRequest struct { *tchttp.BaseRequest // Page number of the current page displayed for query by page number. // // 1 by default. PageNo *string `json:"PageNo,omitempty" name:"PageNo"` // Maximum number of entries per page displayed for query by page number. // // Maximum value: 50. PageSize *string `json:"PageSize,omitempty" name:"PageSize"` // Source example: // net: IP/CIDR (192.168.0.2) // template: parameter template (ipm-dyodhpby) // instance: asset instance (ins-123456) // resourcegroup: asset group (/all groups/group 1/subgroup 1) // tag: resource tag ({"Key":"tag key","Value":"tag value"}) // region: region (ap-gaungzhou) // Wildcards are supported. SourceContent *string `json:"SourceContent,omitempty" name:"SourceContent"` // Destination example: // net: IP/CIDR (192.168.0.2) // template: parameter template (ipm-dyodhpby) // instance: asset instance (ins-123456) // resourcegroup: asset group (/all groups/group 1/subgroup 1) // tag: resource tag ({"Key":"tag key","Value":"tag value"}) // region: region (ap-gaungzhou) // Wildcards are supported. DestContent *string `json:"DestContent,omitempty" name:"DestContent"` // Rule description. Wildcards are supported. Description *string `json:"Description,omitempty" name:"Description"` // The action that Cloud Firewall performs on the traffic. Valid values: // accept: allow // drop: deny RuleAction *string `json:"RuleAction,omitempty" name:"RuleAction"` // Indicates whether to enable the rules. Default: enable. Valid values: // true: enable; false: disable Enable *string `json:"Enable,omitempty" name:"Enable"` // The port to apply access control rules. Valid values: // -1/-1: all ports // 80: port 80 Port *string `json:"Port,omitempty" name:"Port"` // Protocol. TCP/UDP/ICMP/ANY Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Parameter template ID of port and protocol type; mutually exclusive with Protocol and Port ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"` }
func NewDescribeEnterpriseSecurityGroupRuleRequest ¶
func NewDescribeEnterpriseSecurityGroupRuleRequest() (request *DescribeEnterpriseSecurityGroupRuleRequest)
func (*DescribeEnterpriseSecurityGroupRuleRequest) FromJsonString ¶
func (r *DescribeEnterpriseSecurityGroupRuleRequest) 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 (*DescribeEnterpriseSecurityGroupRuleRequest) ToJsonString ¶
func (r *DescribeEnterpriseSecurityGroupRuleRequest) ToJsonString() string
type DescribeEnterpriseSecurityGroupRuleRequestParams ¶
type DescribeEnterpriseSecurityGroupRuleRequestParams struct { // Page number of the current page displayed for query by page number. // // 1 by default. PageNo *string `json:"PageNo,omitempty" name:"PageNo"` // Maximum number of entries per page displayed for query by page number. // // Maximum value: 50. PageSize *string `json:"PageSize,omitempty" name:"PageSize"` // Source example: // net: IP/CIDR (192.168.0.2) // template: parameter template (ipm-dyodhpby) // instance: asset instance (ins-123456) // resourcegroup: asset group (/all groups/group 1/subgroup 1) // tag: resource tag ({"Key":"tag key","Value":"tag value"}) // region: region (ap-gaungzhou) // Wildcards are supported. SourceContent *string `json:"SourceContent,omitempty" name:"SourceContent"` // Destination example: // net: IP/CIDR (192.168.0.2) // template: parameter template (ipm-dyodhpby) // instance: asset instance (ins-123456) // resourcegroup: asset group (/all groups/group 1/subgroup 1) // tag: resource tag ({"Key":"tag key","Value":"tag value"}) // region: region (ap-gaungzhou) // Wildcards are supported. DestContent *string `json:"DestContent,omitempty" name:"DestContent"` // Rule description. Wildcards are supported. Description *string `json:"Description,omitempty" name:"Description"` // The action that Cloud Firewall performs on the traffic. Valid values: // accept: allow // drop: deny RuleAction *string `json:"RuleAction,omitempty" name:"RuleAction"` // Indicates whether to enable the rules. Default: enable. Valid values: // true: enable; false: disable Enable *string `json:"Enable,omitempty" name:"Enable"` // The port to apply access control rules. Valid values: // -1/-1: all ports // 80: port 80 Port *string `json:"Port,omitempty" name:"Port"` // Protocol. TCP/UDP/ICMP/ANY Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Parameter template ID of port and protocol type; mutually exclusive with Protocol and Port ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"` }
Predefined struct for user
type DescribeEnterpriseSecurityGroupRuleResponse ¶
type DescribeEnterpriseSecurityGroupRuleResponse struct { *tchttp.BaseResponse Response *DescribeEnterpriseSecurityGroupRuleResponseParams `json:"Response"` }
func NewDescribeEnterpriseSecurityGroupRuleResponse ¶
func NewDescribeEnterpriseSecurityGroupRuleResponse() (response *DescribeEnterpriseSecurityGroupRuleResponse)
func (*DescribeEnterpriseSecurityGroupRuleResponse) FromJsonString ¶
func (r *DescribeEnterpriseSecurityGroupRuleResponse) 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 (*DescribeEnterpriseSecurityGroupRuleResponse) ToJsonString ¶
func (r *DescribeEnterpriseSecurityGroupRuleResponse) ToJsonString() string
type DescribeEnterpriseSecurityGroupRuleResponseParams ¶
type DescribeEnterpriseSecurityGroupRuleResponseParams struct { // Page number of the current page displayed for query by page number. PageNo *string `json:"PageNo,omitempty" name:"PageNo"` // Maximum number of entries per page displayed for query by page number. PageSize *string `json:"PageSize,omitempty" name:"PageSize"` // Access control rule list Rules []*SecurityGroupRule `json:"Rules,omitempty" name:"Rules"` // Total number of access control rules TotalCount *string `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGuideScanInfoRequest ¶
type DescribeGuideScanInfoRequest struct {
*tchttp.BaseRequest
}
func NewDescribeGuideScanInfoRequest ¶
func NewDescribeGuideScanInfoRequest() (request *DescribeGuideScanInfoRequest)
func (*DescribeGuideScanInfoRequest) FromJsonString ¶
func (r *DescribeGuideScanInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGuideScanInfoRequest) ToJsonString ¶
func (r *DescribeGuideScanInfoRequest) ToJsonString() string
type DescribeGuideScanInfoRequestParams ¶
type DescribeGuideScanInfoRequestParams struct { }
Predefined struct for user
type DescribeGuideScanInfoResponse ¶
type DescribeGuideScanInfoResponse struct { *tchttp.BaseResponse Response *DescribeGuideScanInfoResponseParams `json:"Response"` }
func NewDescribeGuideScanInfoResponse ¶
func NewDescribeGuideScanInfoResponse() (response *DescribeGuideScanInfoResponse)
func (*DescribeGuideScanInfoResponse) FromJsonString ¶
func (r *DescribeGuideScanInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGuideScanInfoResponse) ToJsonString ¶
func (r *DescribeGuideScanInfoResponse) ToJsonString() string
type DescribeGuideScanInfoResponseParams ¶
type DescribeGuideScanInfoResponseParams struct { // Scan information Data *ScanInfo `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIPStatusListRequest ¶
type DescribeIPStatusListRequest struct { *tchttp.BaseRequest // Asset ID IPList []*string `json:"IPList,omitempty" name:"IPList"` }
func NewDescribeIPStatusListRequest ¶
func NewDescribeIPStatusListRequest() (request *DescribeIPStatusListRequest)
func (*DescribeIPStatusListRequest) FromJsonString ¶
func (r *DescribeIPStatusListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIPStatusListRequest) ToJsonString ¶
func (r *DescribeIPStatusListRequest) ToJsonString() string
type DescribeIPStatusListRequestParams ¶
type DescribeIPStatusListRequestParams struct { // Asset ID IPList []*string `json:"IPList,omitempty" name:"IPList"` }
Predefined struct for user
type DescribeIPStatusListResponse ¶
type DescribeIPStatusListResponse struct { *tchttp.BaseResponse Response *DescribeIPStatusListResponseParams `json:"Response"` }
func NewDescribeIPStatusListResponse ¶
func NewDescribeIPStatusListResponse() (response *DescribeIPStatusListResponse)
func (*DescribeIPStatusListResponse) FromJsonString ¶
func (r *DescribeIPStatusListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIPStatusListResponse) ToJsonString ¶
func (r *DescribeIPStatusListResponse) ToJsonString() string
type DescribeIPStatusListResponseParams ¶
type DescribeIPStatusListResponseParams struct { // IP status information StatusList []*IPDefendStatus `json:"StatusList,omitempty" name:"StatusList"` // Status code ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"` // Status information ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNatAcRuleRequest ¶
type DescribeNatAcRuleRequest struct { *tchttp.BaseRequest // Number of entries per page. Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Page offset. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Index to be queried. This parameter is optional, and is used only in specific cases. Index *string `json:"Index,omitempty" name:"Index"` // Filter condition combination. Filters []*CommonFilter `json:"Filters,omitempty" name:"Filters"` // Start time for search. This parameter is optional. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time for search. This parameter is optional. EndTime *string `json:"EndTime,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,omitempty" name:"Order"` // Field by which the returned results are sorted. By *string `json:"By,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,omitempty" name:"Limit"` // Page offset. Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Index to be queried. This parameter is optional, and is used only in specific cases. Index *string `json:"Index,omitempty" name:"Index"` // Filter condition combination. Filters []*CommonFilter `json:"Filters,omitempty" name:"Filters"` // Start time for search. This parameter is optional. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time for search. This parameter is optional. EndTime *string `json:"EndTime,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,omitempty" name:"Order"` // Field by which the returned results are sorted. By *string `json:"By,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,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,omitempty" name:"Data"` // Total number of entries returned without filtering. AllTotal *uint64 `json:"AllTotal,omitempty" name:"AllTotal"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNatFwInfoCountRequest ¶
type DescribeNatFwInfoCountRequest struct {
*tchttp.BaseRequest
}
func NewDescribeNatFwInfoCountRequest ¶
func NewDescribeNatFwInfoCountRequest() (request *DescribeNatFwInfoCountRequest)
func (*DescribeNatFwInfoCountRequest) FromJsonString ¶
func (r *DescribeNatFwInfoCountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNatFwInfoCountRequest) ToJsonString ¶
func (r *DescribeNatFwInfoCountRequest) ToJsonString() string
type DescribeNatFwInfoCountRequestParams ¶
type DescribeNatFwInfoCountRequestParams struct { }
Predefined struct for user
type DescribeNatFwInfoCountResponse ¶
type DescribeNatFwInfoCountResponse struct { *tchttp.BaseResponse Response *DescribeNatFwInfoCountResponseParams `json:"Response"` }
func NewDescribeNatFwInfoCountResponse ¶
func NewDescribeNatFwInfoCountResponse() (response *DescribeNatFwInfoCountResponse)
func (*DescribeNatFwInfoCountResponse) FromJsonString ¶
func (r *DescribeNatFwInfoCountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNatFwInfoCountResponse) ToJsonString ¶
func (r *DescribeNatFwInfoCountResponse) ToJsonString() string
type DescribeNatFwInfoCountResponseParams ¶
type DescribeNatFwInfoCountResponseParams struct { // Response parameter // Note: This field may return `null`, indicating that no valid value was found. ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // Number of NAT instances of the current tenant // Note: This field may return `null`, indicating that no valid value was found. NatFwInsCount *int64 `json:"NatFwInsCount,omitempty" name:"NatFwInsCount"` // Number of subnets connected by the current tenant // Note: This field may return `null`, indicating that no valid value was found. SubnetCount *int64 `json:"SubnetCount,omitempty" name:"SubnetCount"` // Number of firewalls enabled // Note: This field may return `null`, indicating that no valid value was found. OpenSwitchCount *int64 `json:"OpenSwitchCount,omitempty" name:"OpenSwitchCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNatFwInstanceRequest ¶
type DescribeNatFwInstanceRequest struct {
*tchttp.BaseRequest
}
func NewDescribeNatFwInstanceRequest ¶
func NewDescribeNatFwInstanceRequest() (request *DescribeNatFwInstanceRequest)
func (*DescribeNatFwInstanceRequest) FromJsonString ¶
func (r *DescribeNatFwInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNatFwInstanceRequest) ToJsonString ¶
func (r *DescribeNatFwInstanceRequest) ToJsonString() string
type DescribeNatFwInstanceRequestParams ¶
type DescribeNatFwInstanceRequestParams struct { }
Predefined struct for user
type DescribeNatFwInstanceResponse ¶
type DescribeNatFwInstanceResponse struct { *tchttp.BaseResponse Response *DescribeNatFwInstanceResponseParams `json:"Response"` }
func NewDescribeNatFwInstanceResponse ¶
func NewDescribeNatFwInstanceResponse() (response *DescribeNatFwInstanceResponse)
func (*DescribeNatFwInstanceResponse) FromJsonString ¶
func (r *DescribeNatFwInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNatFwInstanceResponse) ToJsonString ¶
func (r *DescribeNatFwInstanceResponse) ToJsonString() string
type DescribeNatFwInstanceResponseParams ¶
type DescribeNatFwInstanceResponseParams struct { // Instance array NatinsLst []*NatFwInstance `json:"NatinsLst,omitempty" name:"NatinsLst"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNatFwInstanceWithRegionRequest ¶
type DescribeNatFwInstanceWithRegionRequest struct {
*tchttp.BaseRequest
}
func NewDescribeNatFwInstanceWithRegionRequest ¶
func NewDescribeNatFwInstanceWithRegionRequest() (request *DescribeNatFwInstanceWithRegionRequest)
func (*DescribeNatFwInstanceWithRegionRequest) FromJsonString ¶
func (r *DescribeNatFwInstanceWithRegionRequest) 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 (*DescribeNatFwInstanceWithRegionRequest) ToJsonString ¶
func (r *DescribeNatFwInstanceWithRegionRequest) ToJsonString() string
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 ¶
func (r *DescribeNatFwInstanceWithRegionResponse) 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 (*DescribeNatFwInstanceWithRegionResponse) ToJsonString ¶
func (r *DescribeNatFwInstanceWithRegionResponse) ToJsonString() string
type DescribeNatFwInstanceWithRegionResponseParams ¶
type DescribeNatFwInstanceWithRegionResponseParams struct { // Instance array // Note: This field may return `null`, indicating that no valid value was found. NatinsLst []*NatFwInstance `json:"NatinsLst,omitempty" name:"NatinsLst"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNatFwInstancesInfoRequest ¶
type DescribeNatFwInstancesInfoRequest struct { *tchttp.BaseRequest // Gets filtering fields of instance list Filter []*NatFwFilter `json:"Filter,omitempty" name:"Filter"` // Page number Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Page length Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeNatFwInstancesInfoRequest ¶
func NewDescribeNatFwInstancesInfoRequest() (request *DescribeNatFwInstancesInfoRequest)
func (*DescribeNatFwInstancesInfoRequest) FromJsonString ¶
func (r *DescribeNatFwInstancesInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNatFwInstancesInfoRequest) ToJsonString ¶
func (r *DescribeNatFwInstancesInfoRequest) ToJsonString() string
type DescribeNatFwInstancesInfoRequestParams ¶
type DescribeNatFwInstancesInfoRequestParams struct { // Gets filtering fields of instance list Filter []*NatFwFilter `json:"Filter,omitempty" name:"Filter"` // Page number Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Page length Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeNatFwInstancesInfoResponse ¶
type DescribeNatFwInstancesInfoResponse struct { *tchttp.BaseResponse Response *DescribeNatFwInstancesInfoResponseParams `json:"Response"` }
func NewDescribeNatFwInstancesInfoResponse ¶
func NewDescribeNatFwInstancesInfoResponse() (response *DescribeNatFwInstancesInfoResponse)
func (*DescribeNatFwInstancesInfoResponse) FromJsonString ¶
func (r *DescribeNatFwInstancesInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNatFwInstancesInfoResponse) ToJsonString ¶
func (r *DescribeNatFwInstancesInfoResponse) ToJsonString() string
type DescribeNatFwInstancesInfoResponseParams ¶
type DescribeNatFwInstancesInfoResponseParams struct { // Instance card info array // Note: This field may return `null`, indicating that no valid value was found. NatinsLst []*NatInstanceInfo `json:"NatinsLst,omitempty" name:"NatinsLst"` // Number of NAT firewalls // Note: This field may return `null`, indicating that no valid value was found. Total *int64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNatFwVpcDnsLstRequest ¶
type DescribeNatFwVpcDnsLstRequest struct { *tchttp.BaseRequest // NAT firewall instance ID NatFwInsId *string `json:"NatFwInsId,omitempty" name:"NatFwInsId"` // Content filtered by NAT firewall, separated with "," NatInsIdFilter *string `json:"NatInsIdFilter,omitempty" name:"NatInsIdFilter"` // Number of pages Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum entries per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeNatFwVpcDnsLstRequest ¶
func NewDescribeNatFwVpcDnsLstRequest() (request *DescribeNatFwVpcDnsLstRequest)
func (*DescribeNatFwVpcDnsLstRequest) FromJsonString ¶
func (r *DescribeNatFwVpcDnsLstRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNatFwVpcDnsLstRequest) ToJsonString ¶
func (r *DescribeNatFwVpcDnsLstRequest) ToJsonString() string
type DescribeNatFwVpcDnsLstRequestParams ¶
type DescribeNatFwVpcDnsLstRequestParams struct { // NAT firewall instance ID NatFwInsId *string `json:"NatFwInsId,omitempty" name:"NatFwInsId"` // Content filtered by NAT firewall, separated with "," NatInsIdFilter *string `json:"NatInsIdFilter,omitempty" name:"NatInsIdFilter"` // Number of pages Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum entries per page Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeNatFwVpcDnsLstResponse ¶
type DescribeNatFwVpcDnsLstResponse struct { *tchttp.BaseResponse Response *DescribeNatFwVpcDnsLstResponseParams `json:"Response"` }
func NewDescribeNatFwVpcDnsLstResponse ¶
func NewDescribeNatFwVpcDnsLstResponse() (response *DescribeNatFwVpcDnsLstResponse)
func (*DescribeNatFwVpcDnsLstResponse) FromJsonString ¶
func (r *DescribeNatFwVpcDnsLstResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNatFwVpcDnsLstResponse) ToJsonString ¶
func (r *DescribeNatFwVpcDnsLstResponse) ToJsonString() string
type DescribeNatFwVpcDnsLstResponseParams ¶
type DescribeNatFwVpcDnsLstResponseParams struct { // VPC DNS info array of NAT firewall // Note: This field may return `null`, indicating that no valid value was found. VpcDnsSwitchLst []*VpcDnsInfo `json:"VpcDnsSwitchLst,omitempty" name:"VpcDnsSwitchLst"` // Response parameter // Note: This field may return `null`, indicating that no valid value was found. ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // Total number of toggles // Note: This field may return `null`, indicating that no valid value was found. Total *int64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourceGroupNewRequest ¶
type DescribeResourceGroupNewRequest struct { *tchttp.BaseRequest // Query type. Network–VPC; business recognition–resource; resource tag–tag QueryType *string `json:"QueryType,omitempty" name:"QueryType"` // Asset group ID, 0: all asset group IDs GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // all: all, including subgroups; own: my asset groups only ShowType *string `json:"ShowType,omitempty" name:"ShowType"` }
func NewDescribeResourceGroupNewRequest ¶
func NewDescribeResourceGroupNewRequest() (request *DescribeResourceGroupNewRequest)
func (*DescribeResourceGroupNewRequest) FromJsonString ¶
func (r *DescribeResourceGroupNewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceGroupNewRequest) ToJsonString ¶
func (r *DescribeResourceGroupNewRequest) ToJsonString() string
type DescribeResourceGroupNewRequestParams ¶
type DescribeResourceGroupNewRequestParams struct { // Query type. Network–VPC; business recognition–resource; resource tag–tag QueryType *string `json:"QueryType,omitempty" name:"QueryType"` // Asset group ID, 0: all asset group IDs GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // all: all, including subgroups; own: my asset groups only ShowType *string `json:"ShowType,omitempty" name:"ShowType"` }
Predefined struct for user
type DescribeResourceGroupNewResponse ¶
type DescribeResourceGroupNewResponse struct { *tchttp.BaseResponse Response *DescribeResourceGroupNewResponseParams `json:"Response"` }
func NewDescribeResourceGroupNewResponse ¶
func NewDescribeResourceGroupNewResponse() (response *DescribeResourceGroupNewResponse)
func (*DescribeResourceGroupNewResponse) FromJsonString ¶
func (r *DescribeResourceGroupNewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourceGroupNewResponse) ToJsonString ¶
func (r *DescribeResourceGroupNewResponse) ToJsonString() string
type DescribeResourceGroupNewResponseParams ¶
type DescribeResourceGroupNewResponseParams struct { // Returns a tree structure Data *string `json:"Data,omitempty" name:"Data"` // Number of uncategorizd instances UnResourceNum *int64 `json:"UnResourceNum,omitempty" name:"UnResourceNum"` // Response message ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // Return code. 0: Request successful ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRuleOverviewRequest ¶
type DescribeRuleOverviewRequest struct { *tchttp.BaseRequest // Direction. 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` }
func NewDescribeRuleOverviewRequest ¶
func NewDescribeRuleOverviewRequest() (request *DescribeRuleOverviewRequest)
func (*DescribeRuleOverviewRequest) FromJsonString ¶
func (r *DescribeRuleOverviewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRuleOverviewRequest) ToJsonString ¶
func (r *DescribeRuleOverviewRequest) ToJsonString() string
type DescribeRuleOverviewRequestParams ¶
type DescribeRuleOverviewRequestParams struct { // Direction. 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` }
Predefined struct for user
type DescribeRuleOverviewResponse ¶
type DescribeRuleOverviewResponse struct { *tchttp.BaseResponse Response *DescribeRuleOverviewResponseParams `json:"Response"` }
func NewDescribeRuleOverviewResponse ¶
func NewDescribeRuleOverviewResponse() (response *DescribeRuleOverviewResponse)
func (*DescribeRuleOverviewResponse) FromJsonString ¶
func (r *DescribeRuleOverviewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRuleOverviewResponse) ToJsonString ¶
func (r *DescribeRuleOverviewResponse) ToJsonString() string
type DescribeRuleOverviewResponseParams ¶
type DescribeRuleOverviewResponseParams struct { // Total number of rules // Note: This field may return `null`, indicating that no valid value was found. AllTotal *uint64 `json:"AllTotal,omitempty" name:"AllTotal"` // Number of blocking rules // Note: This field may return `null`, indicating that no valid value was found. StrategyNum *uint64 `json:"StrategyNum,omitempty" name:"StrategyNum"` // Number of enabled rules // Note: This field may return `null`, indicating that no valid value was found. StartRuleNum *uint64 `json:"StartRuleNum,omitempty" name:"StartRuleNum"` // Number of disabled rules // Note: This field may return `null`, indicating that no valid value was found. StopRuleNum *uint64 `json:"StopRuleNum,omitempty" name:"StopRuleNum"` // Remaining quota // Note: This field may return `null`, indicating that no valid value was found. RemainingNum *int64 `json:"RemainingNum,omitempty" name:"RemainingNum"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityGroupListRequest ¶
type DescribeSecurityGroupListRequest struct { *tchttp.BaseRequest // 0: outbound rule; 1: inbound rule Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Region code (e.g. ap-guangzhou ). All Tencent Cloud regions are supported. Area *string `json:"Area,omitempty" name:"Area"` // Search value SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` // Number of entries per page. Default: 10 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Status. Null: all; '0': filter disabled rules; '1': filter enabled rules Status *string `json:"Status,omitempty" name:"Status"` // 0: not filter; 1: filter out normal rules to retain abnormal rules Filter *uint64 `json:"Filter,omitempty" name:"Filter"` }
func NewDescribeSecurityGroupListRequest ¶
func NewDescribeSecurityGroupListRequest() (request *DescribeSecurityGroupListRequest)
func (*DescribeSecurityGroupListRequest) FromJsonString ¶
func (r *DescribeSecurityGroupListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupListRequest) ToJsonString ¶
func (r *DescribeSecurityGroupListRequest) ToJsonString() string
type DescribeSecurityGroupListRequestParams ¶
type DescribeSecurityGroupListRequestParams struct { // 0: outbound rule; 1: inbound rule Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Region code (e.g. ap-guangzhou ). All Tencent Cloud regions are supported. Area *string `json:"Area,omitempty" name:"Area"` // Search value SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` // Number of entries per page. Default: 10 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Status. Null: all; '0': filter disabled rules; '1': filter enabled rules Status *string `json:"Status,omitempty" name:"Status"` // 0: not filter; 1: filter out normal rules to retain abnormal rules Filter *uint64 `json:"Filter,omitempty" name:"Filter"` }
Predefined struct for user
type DescribeSecurityGroupListResponse ¶
type DescribeSecurityGroupListResponse struct { *tchttp.BaseResponse Response *DescribeSecurityGroupListResponseParams `json:"Response"` }
func NewDescribeSecurityGroupListResponse ¶
func NewDescribeSecurityGroupListResponse() (response *DescribeSecurityGroupListResponse)
func (*DescribeSecurityGroupListResponse) FromJsonString ¶
func (r *DescribeSecurityGroupListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupListResponse) ToJsonString ¶
func (r *DescribeSecurityGroupListResponse) ToJsonString() string
type DescribeSecurityGroupListResponseParams ¶
type DescribeSecurityGroupListResponseParams struct { // Total rules in the list Total *uint64 `json:"Total,omitempty" name:"Total"` // Security group rule list data Data []*SecurityGroupListData `json:"Data,omitempty" name:"Data"` // Total entries excluding the filtered ones AllTotal *uint64 `json:"AllTotal,omitempty" name:"AllTotal"` // All access control rules enabled/disabled // Note: This field may return `null`, indicating that no valid value was found. Enable *uint64 `json:"Enable,omitempty" name:"Enable"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSourceAssetRequest ¶
type DescribeSourceAssetRequest struct { *tchttp.BaseRequest // Fuzzy search FuzzySearch *string `json:"FuzzySearch,omitempty" name:"FuzzySearch"` // Asset type. 1: public network; 2: private network InsType *string `json:"InsType,omitempty" name:"InsType"` // If ChooseType is 1, grouped assets are queried; if ChooseType is not 1, non-grouped assets are queried ChooseType *string `json:"ChooseType,omitempty" name:"ChooseType"` // Region Zone *string `json:"Zone,omitempty" name:"Zone"` // Maximum number of results returned per page. For example, if it is set to 10, 10 results will be returned at most. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset of search results Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
func NewDescribeSourceAssetRequest ¶
func NewDescribeSourceAssetRequest() (request *DescribeSourceAssetRequest)
func (*DescribeSourceAssetRequest) FromJsonString ¶
func (r *DescribeSourceAssetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSourceAssetRequest) ToJsonString ¶
func (r *DescribeSourceAssetRequest) ToJsonString() string
type DescribeSourceAssetRequestParams ¶
type DescribeSourceAssetRequestParams struct { // Fuzzy search FuzzySearch *string `json:"FuzzySearch,omitempty" name:"FuzzySearch"` // Asset type. 1: public network; 2: private network InsType *string `json:"InsType,omitempty" name:"InsType"` // If ChooseType is 1, grouped assets are queried; if ChooseType is not 1, non-grouped assets are queried ChooseType *string `json:"ChooseType,omitempty" name:"ChooseType"` // Region Zone *string `json:"Zone,omitempty" name:"Zone"` // Maximum number of results returned per page. For example, if it is set to 10, 10 results will be returned at most. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset of search results Offset *int64 `json:"Offset,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeSourceAssetResponse ¶
type DescribeSourceAssetResponse struct { *tchttp.BaseResponse Response *DescribeSourceAssetResponseParams `json:"Response"` }
func NewDescribeSourceAssetResponse ¶
func NewDescribeSourceAssetResponse() (response *DescribeSourceAssetResponse)
func (*DescribeSourceAssetResponse) FromJsonString ¶
func (r *DescribeSourceAssetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSourceAssetResponse) ToJsonString ¶
func (r *DescribeSourceAssetResponse) ToJsonString() string
type DescribeSourceAssetResponseParams ¶
type DescribeSourceAssetResponseParams struct { // Region collection ZoneList []*AssetZone `json:"ZoneList,omitempty" name:"ZoneList"` // Data Data []*InstanceInfo `json:"Data,omitempty" name:"Data"` // Total number of returned data Total *int64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSwitchListsRequest ¶
type DescribeSwitchListsRequest struct { *tchttp.BaseRequest // Firewall status. 0: disabled; 1: enabled Status *int64 `json:"Status,omitempty" name:"Status"` // Asset type, e.g. CVM/NAT/VPN/CLB/others Type *string `json:"Type,omitempty" name:"Type"` // Region, e.g. Shanghai, Chongqing, Guangzhou, etc. Area *string `json:"Area,omitempty" name:"Area"` // Search value, e.g. "{"common":"106.54.189.45"}" SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` // Number of entries. Default: 10 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Sort order. desc: descending; asc: ascending Order *string `json:"Order,omitempty" name:"Order"` // Sorting field. PortTimes (number of risky ports) By *string `json:"By,omitempty" name:"By"` }
func NewDescribeSwitchListsRequest ¶
func NewDescribeSwitchListsRequest() (request *DescribeSwitchListsRequest)
func (*DescribeSwitchListsRequest) FromJsonString ¶
func (r *DescribeSwitchListsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSwitchListsRequest) ToJsonString ¶
func (r *DescribeSwitchListsRequest) ToJsonString() string
type DescribeSwitchListsRequestParams ¶
type DescribeSwitchListsRequestParams struct { // Firewall status. 0: disabled; 1: enabled Status *int64 `json:"Status,omitempty" name:"Status"` // Asset type, e.g. CVM/NAT/VPN/CLB/others Type *string `json:"Type,omitempty" name:"Type"` // Region, e.g. Shanghai, Chongqing, Guangzhou, etc. Area *string `json:"Area,omitempty" name:"Area"` // Search value, e.g. "{"common":"106.54.189.45"}" SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` // Number of entries. Default: 10 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Offset. Default: 0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Sort order. desc: descending; asc: ascending Order *string `json:"Order,omitempty" name:"Order"` // Sorting field. PortTimes (number of risky ports) By *string `json:"By,omitempty" name:"By"` }
Predefined struct for user
type DescribeSwitchListsResponse ¶
type DescribeSwitchListsResponse struct { *tchttp.BaseResponse Response *DescribeSwitchListsResponseParams `json:"Response"` }
func NewDescribeSwitchListsResponse ¶
func NewDescribeSwitchListsResponse() (response *DescribeSwitchListsResponse)
func (*DescribeSwitchListsResponse) FromJsonString ¶
func (r *DescribeSwitchListsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSwitchListsResponse) ToJsonString ¶
func (r *DescribeSwitchListsResponse) ToJsonString() string
type DescribeSwitchListsResponseParams ¶
type DescribeSwitchListsResponseParams struct { // Total entries Total *uint64 `json:"Total,omitempty" name:"Total"` // List data Data []*SwitchListsData `json:"Data,omitempty" name:"Data"` // Region list AreaLists []*string `json:"AreaLists,omitempty" name:"AreaLists"` // Number of enabled firewalls // Note: This field may return `null`, indicating that no valid value was found. OnNum *uint64 `json:"OnNum,omitempty" name:"OnNum"` // Number of disabled firewalls // Note: This field may return `null`, indicating that no valid value was found. OffNum *uint64 `json:"OffNum,omitempty" name:"OffNum"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTLogInfoRequest ¶
type DescribeTLogInfoRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Type. 1: alert; 2: block QueryType *string `json:"QueryType,omitempty" name:"QueryType"` // Search criteria SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` }
func NewDescribeTLogInfoRequest ¶
func NewDescribeTLogInfoRequest() (request *DescribeTLogInfoRequest)
func (*DescribeTLogInfoRequest) FromJsonString ¶
func (r *DescribeTLogInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTLogInfoRequest) ToJsonString ¶
func (r *DescribeTLogInfoRequest) ToJsonString() string
type DescribeTLogInfoRequestParams ¶
type DescribeTLogInfoRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Type. 1: alert; 2: block QueryType *string `json:"QueryType,omitempty" name:"QueryType"` // Search criteria SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` }
Predefined struct for user
type DescribeTLogInfoResponse ¶
type DescribeTLogInfoResponse struct { *tchttp.BaseResponse Response *DescribeTLogInfoResponseParams `json:"Response"` }
func NewDescribeTLogInfoResponse ¶
func NewDescribeTLogInfoResponse() (response *DescribeTLogInfoResponse)
func (*DescribeTLogInfoResponse) FromJsonString ¶
func (r *DescribeTLogInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTLogInfoResponse) ToJsonString ¶
func (r *DescribeTLogInfoResponse) ToJsonString() string
type DescribeTLogInfoResponseParams ¶
type DescribeTLogInfoResponseParams struct { // `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,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTLogIpListRequest ¶
type DescribeTLogIpListRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Type. 1: alert; 2: block QueryType *string `json:"QueryType,omitempty" name:"QueryType"` // Number of top results returned Top *int64 `json:"Top,omitempty" name:"Top"` // Search criteria SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` }
func NewDescribeTLogIpListRequest ¶
func NewDescribeTLogIpListRequest() (request *DescribeTLogIpListRequest)
func (*DescribeTLogIpListRequest) FromJsonString ¶
func (r *DescribeTLogIpListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTLogIpListRequest) ToJsonString ¶
func (r *DescribeTLogIpListRequest) ToJsonString() string
type DescribeTLogIpListRequestParams ¶
type DescribeTLogIpListRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Type. 1: alert; 2: block QueryType *string `json:"QueryType,omitempty" name:"QueryType"` // Number of top results returned Top *int64 `json:"Top,omitempty" name:"Top"` // Search criteria SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"` }
Predefined struct for user
type DescribeTLogIpListResponse ¶
type DescribeTLogIpListResponse struct { *tchttp.BaseResponse Response *DescribeTLogIpListResponseParams `json:"Response"` }
func NewDescribeTLogIpListResponse ¶
func NewDescribeTLogIpListResponse() (response *DescribeTLogIpListResponse)
func (*DescribeTLogIpListResponse) FromJsonString ¶
func (r *DescribeTLogIpListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTLogIpListResponse) ToJsonString ¶
func (r *DescribeTLogIpListResponse) ToJsonString() string
type DescribeTLogIpListResponseParams ¶
type DescribeTLogIpListResponseParams struct { // Data collection Data []*StaticInfo `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTableStatusRequest ¶
type DescribeTableStatusRequest struct { *tchttp.BaseRequest // Edge ID between two VPCs, required for VPCs EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Status value. 0: the only default value Status *uint64 `json:"Status,omitempty" name:"Status"` // NAT region, required for NAT Area *string `json:"Area,omitempty" name:"Area"` // Direction. 0: outbound; 1: inbound. 0 by default Direction *uint64 `json:"Direction,omitempty" name:"Direction"` }
func NewDescribeTableStatusRequest ¶
func NewDescribeTableStatusRequest() (request *DescribeTableStatusRequest)
func (*DescribeTableStatusRequest) FromJsonString ¶
func (r *DescribeTableStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTableStatusRequest) ToJsonString ¶
func (r *DescribeTableStatusRequest) ToJsonString() string
type DescribeTableStatusRequestParams ¶
type DescribeTableStatusRequestParams struct { // Edge ID between two VPCs, required for VPCs EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Status value. 0: the only default value Status *uint64 `json:"Status,omitempty" name:"Status"` // NAT region, required for NAT Area *string `json:"Area,omitempty" name:"Area"` // Direction. 0: outbound; 1: inbound. 0 by default Direction *uint64 `json:"Direction,omitempty" name:"Direction"` }
Predefined struct for user
type DescribeTableStatusResponse ¶
type DescribeTableStatusResponse struct { *tchttp.BaseResponse Response *DescribeTableStatusResponseParams `json:"Response"` }
func NewDescribeTableStatusResponse ¶
func NewDescribeTableStatusResponse() (response *DescribeTableStatusResponse)
func (*DescribeTableStatusResponse) FromJsonString ¶
func (r *DescribeTableStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTableStatusResponse) ToJsonString ¶
func (r *DescribeTableStatusResponse) ToJsonString() string
type DescribeTableStatusResponseParams ¶
type DescribeTableStatusResponseParams struct { // 0: normal; non-0: abnormal // Note: This field may return `null`, indicating that no valid value was found. Status *int64 `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUnHandleEventTabListRequest ¶
type DescribeUnHandleEventTabListRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Gets example ID AssetID *string `json:"AssetID,omitempty" name:"AssetID"` }
func NewDescribeUnHandleEventTabListRequest ¶
func NewDescribeUnHandleEventTabListRequest() (request *DescribeUnHandleEventTabListRequest)
func (*DescribeUnHandleEventTabListRequest) FromJsonString ¶
func (r *DescribeUnHandleEventTabListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUnHandleEventTabListRequest) ToJsonString ¶
func (r *DescribeUnHandleEventTabListRequest) ToJsonString() string
type DescribeUnHandleEventTabListRequestParams ¶
type DescribeUnHandleEventTabListRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Gets example ID AssetID *string `json:"AssetID,omitempty" name:"AssetID"` }
Predefined struct for user
type DescribeUnHandleEventTabListResponse ¶
type DescribeUnHandleEventTabListResponse struct { *tchttp.BaseResponse Response *DescribeUnHandleEventTabListResponseParams `json:"Response"` }
func NewDescribeUnHandleEventTabListResponse ¶
func NewDescribeUnHandleEventTabListResponse() (response *DescribeUnHandleEventTabListResponse)
func (*DescribeUnHandleEventTabListResponse) FromJsonString ¶
func (r *DescribeUnHandleEventTabListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUnHandleEventTabListResponse) ToJsonString ¶
func (r *DescribeUnHandleEventTabListResponse) ToJsonString() string
type DescribeUnHandleEventTabListResponseParams ¶
type DescribeUnHandleEventTabListResponseParams struct { // Gets unhandled security events // Note: This field may return `null`, indicating that no valid value was found. Data *UnHandleEvent `json:"Data,omitempty" name:"Data"` // Error code. 0: success; non-0: error ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"` // Return message: success ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DnsVpcSwitch ¶
type ExpandCfwVerticalRequest ¶
type ExpandCfwVerticalRequest struct { *tchttp.BaseRequest // nat: NAT firewall, ew: east-west firewall FwType *string `json:"FwType,omitempty" name:"FwType"` // Bandwidth value Width *uint64 `json:"Width,omitempty" name:"Width"` // Firewall instance ID CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"` }
func NewExpandCfwVerticalRequest ¶
func NewExpandCfwVerticalRequest() (request *ExpandCfwVerticalRequest)
func (*ExpandCfwVerticalRequest) FromJsonString ¶
func (r *ExpandCfwVerticalRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExpandCfwVerticalRequest) ToJsonString ¶
func (r *ExpandCfwVerticalRequest) ToJsonString() string
type ExpandCfwVerticalRequestParams ¶
type ExpandCfwVerticalRequestParams struct { // nat: NAT firewall, ew: east-west firewall FwType *string `json:"FwType,omitempty" name:"FwType"` // Bandwidth value Width *uint64 `json:"Width,omitempty" name:"Width"` // Firewall instance ID CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"` }
Predefined struct for user
type ExpandCfwVerticalResponse ¶
type ExpandCfwVerticalResponse struct { *tchttp.BaseResponse Response *ExpandCfwVerticalResponseParams `json:"Response"` }
func NewExpandCfwVerticalResponse ¶
func NewExpandCfwVerticalResponse() (response *ExpandCfwVerticalResponse)
func (*ExpandCfwVerticalResponse) FromJsonString ¶
func (r *ExpandCfwVerticalResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExpandCfwVerticalResponse) ToJsonString ¶
func (r *ExpandCfwVerticalResponse) ToJsonString() string
type ExpandCfwVerticalResponseParams ¶
type ExpandCfwVerticalResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type 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,omitempty" name:"FwCidrType"` // The IP segment assigned for each VPC. FwCidrLst []*FwVpcCidr `json:"FwCidrLst,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,omitempty" name:"ComFwCidr"` }
type IPDefendStatus ¶
type InstanceInfo ¶
type InstanceInfo struct { // App ID AppId *string `json:"AppId,omitempty" name:"AppId"` // Region Region *string `json:"Region,omitempty" name:"Region"` // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPC name VPCName *string `json:"VPCName,omitempty" name:"VPCName"` // Subnet ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Asset ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Asset name InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Asset type // 3: CVM instance; 4: CLB instance; 5: ENI instance; 6: MySQL; 7: Redis; 8: NAT; 9: VPN; 10: ES; 11: MariaDB; 12: Kafka; 13: NATFW InsType *int64 `json:"InsType,omitempty" name:"InsType"` // Public IP PublicIp *string `json:"PublicIp,omitempty" name:"PublicIp"` // Private IP PrivateIp *string `json:"PrivateIp,omitempty" name:"PrivateIp"` // Number of ports PortNum *string `json:"PortNum,omitempty" name:"PortNum"` // Number of vulnerabilities LeakNum *string `json:"LeakNum,omitempty" name:"LeakNum"` // 1: public network; 2: private network InsSource *string `json:"InsSource,omitempty" name:"InsSource"` // [a,b] // Note: This field may return `null`, indicating that no valid value was found. ResourcePath []*string `json:"ResourcePath,omitempty" name:"ResourcePath"` }
type IocListData ¶
type IocListData struct { // IP address to be handled. Either IP or Domain is required. IP *string `json:"IP,omitempty" name:"IP"` // 0 or 1. 0: outbound; 1: inbound Direction *int64 `json:"Direction,omitempty" name:"Direction"` // Domain name to be handled. Either IP or Domain is required. Domain *string `json:"Domain,omitempty" name:"Domain"` }
type ModifyAcRuleRequest ¶
type ModifyAcRuleRequest struct { *tchttp.BaseRequest // Array of rules Data []*RuleInfoData `json:"Data,omitempty" name:"Data"` // EdgeId value EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Access rule status Enable *int64 `json:"Enable,omitempty" name:"Enable"` // NAT region Area *string `json:"Area,omitempty" name:"Area"` }
func NewModifyAcRuleRequest ¶
func NewModifyAcRuleRequest() (request *ModifyAcRuleRequest)
func (*ModifyAcRuleRequest) FromJsonString ¶
func (r *ModifyAcRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAcRuleRequest) ToJsonString ¶
func (r *ModifyAcRuleRequest) ToJsonString() string
type ModifyAcRuleRequestParams ¶
type ModifyAcRuleRequestParams struct { // Array of rules Data []*RuleInfoData `json:"Data,omitempty" name:"Data"` // EdgeId value EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Access rule status Enable *int64 `json:"Enable,omitempty" name:"Enable"` // NAT region Area *string `json:"Area,omitempty" name:"Area"` }
Predefined struct for user
type ModifyAcRuleResponse ¶
type ModifyAcRuleResponse struct { *tchttp.BaseResponse Response *ModifyAcRuleResponseParams `json:"Response"` }
func NewModifyAcRuleResponse ¶
func NewModifyAcRuleResponse() (response *ModifyAcRuleResponse)
func (*ModifyAcRuleResponse) FromJsonString ¶
func (r *ModifyAcRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAcRuleResponse) ToJsonString ¶
func (r *ModifyAcRuleResponse) ToJsonString() string
type ModifyAcRuleResponseParams ¶
type ModifyAcRuleResponseParams struct { // Status value. 0: operation successful; non-0: operation failed Status *int64 `json:"Status,omitempty" name:"Status"` // Returns redundant information // Note: This field may return `null`, indicating that no valid value was found. Info *string `json:"Info,omitempty" name:"Info"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAllPublicIPSwitchStatusRequest ¶
type ModifyAllPublicIPSwitchStatusRequest struct { *tchttp.BaseRequest // Status. 0: off; 1: on Status *int64 `json:"Status,omitempty" name:"Status"` // ID of the selected firewall toggle FireWallPublicIPs []*string `json:"FireWallPublicIPs,omitempty" name:"FireWallPublicIPs"` }
func NewModifyAllPublicIPSwitchStatusRequest ¶
func NewModifyAllPublicIPSwitchStatusRequest() (request *ModifyAllPublicIPSwitchStatusRequest)
func (*ModifyAllPublicIPSwitchStatusRequest) FromJsonString ¶
func (r *ModifyAllPublicIPSwitchStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAllPublicIPSwitchStatusRequest) ToJsonString ¶
func (r *ModifyAllPublicIPSwitchStatusRequest) ToJsonString() string
type ModifyAllPublicIPSwitchStatusRequestParams ¶
type ModifyAllPublicIPSwitchStatusRequestParams struct { // Status. 0: off; 1: on Status *int64 `json:"Status,omitempty" name:"Status"` // ID of the selected firewall toggle FireWallPublicIPs []*string `json:"FireWallPublicIPs,omitempty" name:"FireWallPublicIPs"` }
Predefined struct for user
type ModifyAllPublicIPSwitchStatusResponse ¶
type ModifyAllPublicIPSwitchStatusResponse struct { *tchttp.BaseResponse Response *ModifyAllPublicIPSwitchStatusResponseParams `json:"Response"` }
func NewModifyAllPublicIPSwitchStatusResponse ¶
func NewModifyAllPublicIPSwitchStatusResponse() (response *ModifyAllPublicIPSwitchStatusResponse)
func (*ModifyAllPublicIPSwitchStatusResponse) FromJsonString ¶
func (r *ModifyAllPublicIPSwitchStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAllPublicIPSwitchStatusResponse) ToJsonString ¶
func (r *ModifyAllPublicIPSwitchStatusResponse) ToJsonString() string
type ModifyAllPublicIPSwitchStatusResponseParams ¶
type ModifyAllPublicIPSwitchStatusResponseParams struct { // Return message // Note: This field may return `null`, indicating that no valid value was found. ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // Error code. 0: success; non-0: failed // Note: This field may return `null`, indicating that no valid value was found. ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAllRuleStatusRequest ¶
type ModifyAllRuleStatusRequest struct { *tchttp.BaseRequest // Status. 0: all disabled; 1: all enabled Status *uint64 `json:"Status,omitempty" name:"Status"` // Direction. 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Edge ID value EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // NAT region Area *string `json:"Area,omitempty" name:"Area"` }
func NewModifyAllRuleStatusRequest ¶
func NewModifyAllRuleStatusRequest() (request *ModifyAllRuleStatusRequest)
func (*ModifyAllRuleStatusRequest) FromJsonString ¶
func (r *ModifyAllRuleStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAllRuleStatusRequest) ToJsonString ¶
func (r *ModifyAllRuleStatusRequest) ToJsonString() string
type ModifyAllRuleStatusRequestParams ¶
type ModifyAllRuleStatusRequestParams struct { // Status. 0: all disabled; 1: all enabled Status *uint64 `json:"Status,omitempty" name:"Status"` // Direction. 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Edge ID value EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // NAT region Area *string `json:"Area,omitempty" name:"Area"` }
Predefined struct for user
type ModifyAllRuleStatusResponse ¶
type ModifyAllRuleStatusResponse struct { *tchttp.BaseResponse Response *ModifyAllRuleStatusResponseParams `json:"Response"` }
func NewModifyAllRuleStatusResponse ¶
func NewModifyAllRuleStatusResponse() (response *ModifyAllRuleStatusResponse)
func (*ModifyAllRuleStatusResponse) FromJsonString ¶
func (r *ModifyAllRuleStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAllRuleStatusResponse) ToJsonString ¶
func (r *ModifyAllRuleStatusResponse) ToJsonString() string
type ModifyAllRuleStatusResponseParams ¶
type ModifyAllRuleStatusResponseParams struct { // 0: modified successfully; non-0: modification failed // Note: This field may return `null`, indicating that no valid value was found. Status *int64 `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAllVPCSwitchStatusRequest ¶
type ModifyAllVPCSwitchStatusRequest struct { *tchttp.BaseRequest // Status. 0: off; 1: on Status *int64 `json:"Status,omitempty" name:"Status"` // ID of the selected firewall toggle FireWallVpcIds []*string `json:"FireWallVpcIds,omitempty" name:"FireWallVpcIds"` }
func NewModifyAllVPCSwitchStatusRequest ¶
func NewModifyAllVPCSwitchStatusRequest() (request *ModifyAllVPCSwitchStatusRequest)
func (*ModifyAllVPCSwitchStatusRequest) FromJsonString ¶
func (r *ModifyAllVPCSwitchStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAllVPCSwitchStatusRequest) ToJsonString ¶
func (r *ModifyAllVPCSwitchStatusRequest) ToJsonString() string
type ModifyAllVPCSwitchStatusRequestParams ¶
type ModifyAllVPCSwitchStatusRequestParams struct { // Status. 0: off; 1: on Status *int64 `json:"Status,omitempty" name:"Status"` // ID of the selected firewall toggle FireWallVpcIds []*string `json:"FireWallVpcIds,omitempty" name:"FireWallVpcIds"` }
Predefined struct for user
type ModifyAllVPCSwitchStatusResponse ¶
type ModifyAllVPCSwitchStatusResponse struct { *tchttp.BaseResponse Response *ModifyAllVPCSwitchStatusResponseParams `json:"Response"` }
func NewModifyAllVPCSwitchStatusResponse ¶
func NewModifyAllVPCSwitchStatusResponse() (response *ModifyAllVPCSwitchStatusResponse)
func (*ModifyAllVPCSwitchStatusResponse) FromJsonString ¶
func (r *ModifyAllVPCSwitchStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAllVPCSwitchStatusResponse) ToJsonString ¶
func (r *ModifyAllVPCSwitchStatusResponse) ToJsonString() string
type ModifyAllVPCSwitchStatusResponseParams ¶
type ModifyAllVPCSwitchStatusResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAssetScanRequest ¶
type ModifyAssetScanRequest struct { *tchttp.BaseRequest // Scan range. 1: port; 2: port + vulnerability scan ScanRange *int64 `json:"ScanRange,omitempty" name:"ScanRange"` // Scan mode: 'heavy', 'medium', 'light' ScanDeep *string `json:"ScanDeep,omitempty" name:"ScanDeep"` // Scan type. 1: scan now; 2: periodic scan RangeType *int64 `json:"RangeType,omitempty" name:"RangeType"` // Scheduled task time, required when RangeType is 2 ScanPeriod *string `json:"ScanPeriod,omitempty" name:"ScanPeriod"` // Scans this field now and passes the filtered IPs ScanFilterIp []*string `json:"ScanFilterIp,omitempty" name:"ScanFilterIp"` // 1: all; 2: single ScanType *int64 `json:"ScanType,omitempty" name:"ScanType"` }
func NewModifyAssetScanRequest ¶
func NewModifyAssetScanRequest() (request *ModifyAssetScanRequest)
func (*ModifyAssetScanRequest) FromJsonString ¶
func (r *ModifyAssetScanRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAssetScanRequest) ToJsonString ¶
func (r *ModifyAssetScanRequest) ToJsonString() string
type ModifyAssetScanRequestParams ¶
type ModifyAssetScanRequestParams struct { // Scan range. 1: port; 2: port + vulnerability scan ScanRange *int64 `json:"ScanRange,omitempty" name:"ScanRange"` // Scan mode: 'heavy', 'medium', 'light' ScanDeep *string `json:"ScanDeep,omitempty" name:"ScanDeep"` // Scan type. 1: scan now; 2: periodic scan RangeType *int64 `json:"RangeType,omitempty" name:"RangeType"` // Scheduled task time, required when RangeType is 2 ScanPeriod *string `json:"ScanPeriod,omitempty" name:"ScanPeriod"` // Scans this field now and passes the filtered IPs ScanFilterIp []*string `json:"ScanFilterIp,omitempty" name:"ScanFilterIp"` // 1: all; 2: single ScanType *int64 `json:"ScanType,omitempty" name:"ScanType"` }
Predefined struct for user
type ModifyAssetScanResponse ¶
type ModifyAssetScanResponse struct { *tchttp.BaseResponse Response *ModifyAssetScanResponseParams `json:"Response"` }
func NewModifyAssetScanResponse ¶
func NewModifyAssetScanResponse() (response *ModifyAssetScanResponse)
func (*ModifyAssetScanResponse) FromJsonString ¶
func (r *ModifyAssetScanResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAssetScanResponse) ToJsonString ¶
func (r *ModifyAssetScanResponse) ToJsonString() string
type ModifyAssetScanResponseParams ¶
type ModifyAssetScanResponseParams struct { // Return message // Note: This field may return `null`, indicating that no valid value was found. ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // Error code. 0: success; non-0: failed // Note: This field may return `null`, indicating that no valid value was found. ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"` // Status value. 0: success; 1: scanning; others: failed Status *int64 `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBlockIgnoreListRequest ¶
type ModifyBlockIgnoreListRequest struct { *tchttp.BaseRequest // Type of the rule. Values: `1` (Blocklist); `2` (Allowlist) RuleType *int64 `json:"RuleType,omitempty" name:"RuleType"` // Either IP or Domain is required IOC []*IocListData `json:"IOC,omitempty" name:"IOC"` // Optional values: delete, edit, and add IocAction *string `json:"IocAction,omitempty" name:"IocAction"` // Time format: yyyy-MM-dd HH:mm:ss. Required when IocAction is edit or add StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 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,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,omitempty" name:"RuleType"` // Either IP or Domain is required IOC []*IocListData `json:"IOC,omitempty" name:"IOC"` // Optional values: delete, edit, and add IocAction *string `json:"IocAction,omitempty" name:"IocAction"` // Time format: yyyy-MM-dd HH:mm:ss. Required when IocAction is edit or add StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 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,omitempty" name:"EndTime"` }
Predefined struct for user
type ModifyBlockIgnoreListResponse ¶
type ModifyBlockIgnoreListResponse struct { *tchttp.BaseResponse Response *ModifyBlockIgnoreListResponseParams `json:"Response"` }
func NewModifyBlockIgnoreListResponse ¶
func NewModifyBlockIgnoreListResponse() (response *ModifyBlockIgnoreListResponse)
func (*ModifyBlockIgnoreListResponse) FromJsonString ¶
func (r *ModifyBlockIgnoreListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBlockIgnoreListResponse) ToJsonString ¶
func (r *ModifyBlockIgnoreListResponse) ToJsonString() string
type ModifyBlockIgnoreListResponseParams ¶
type ModifyBlockIgnoreListResponseParams struct { // Return message ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // Error code. 0: success; non-0: failed ReturnCode *uint64 `json:"ReturnCode,omitempty" name:"ReturnCode"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyBlockTopRequest ¶
type ModifyBlockTopRequest struct { *tchttp.BaseRequest // Record ID UniqueId *string `json:"UniqueId,omitempty" name:"UniqueId"` // Operation type. 1: pin to top; 0: unpin OpeType *string `json:"OpeType,omitempty" name:"OpeType"` }
func NewModifyBlockTopRequest ¶
func NewModifyBlockTopRequest() (request *ModifyBlockTopRequest)
func (*ModifyBlockTopRequest) FromJsonString ¶
func (r *ModifyBlockTopRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBlockTopRequest) ToJsonString ¶
func (r *ModifyBlockTopRequest) ToJsonString() string
type ModifyBlockTopRequestParams ¶
type ModifyBlockTopRequestParams struct { // Record ID UniqueId *string `json:"UniqueId,omitempty" name:"UniqueId"` // Operation type. 1: pin to top; 0: unpin OpeType *string `json:"OpeType,omitempty" name:"OpeType"` }
Predefined struct for user
type ModifyBlockTopResponse ¶
type ModifyBlockTopResponse struct { *tchttp.BaseResponse Response *ModifyBlockTopResponseParams `json:"Response"` }
func NewModifyBlockTopResponse ¶
func NewModifyBlockTopResponse() (response *ModifyBlockTopResponse)
func (*ModifyBlockTopResponse) FromJsonString ¶
func (r *ModifyBlockTopResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyBlockTopResponse) ToJsonString ¶
func (r *ModifyBlockTopResponse) ToJsonString() string
type ModifyBlockTopResponseParams ¶
type ModifyBlockTopResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyEnterpriseSecurityDispatchStatusRequest ¶
type ModifyEnterpriseSecurityDispatchStatusRequest struct { *tchttp.BaseRequest // Status. Values: `0` (Publish now), `1` (Stop publishing) Status *uint64 `json:"Status,omitempty" name:"Status"` }
func NewModifyEnterpriseSecurityDispatchStatusRequest ¶
func NewModifyEnterpriseSecurityDispatchStatusRequest() (request *ModifyEnterpriseSecurityDispatchStatusRequest)
func (*ModifyEnterpriseSecurityDispatchStatusRequest) FromJsonString ¶
func (r *ModifyEnterpriseSecurityDispatchStatusRequest) 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 (*ModifyEnterpriseSecurityDispatchStatusRequest) ToJsonString ¶
func (r *ModifyEnterpriseSecurityDispatchStatusRequest) ToJsonString() string
type ModifyEnterpriseSecurityDispatchStatusRequestParams ¶
type ModifyEnterpriseSecurityDispatchStatusRequestParams struct { // Status. Values: `0` (Publish now), `1` (Stop publishing) Status *uint64 `json:"Status,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 ¶
func (r *ModifyEnterpriseSecurityDispatchStatusResponse) 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 (*ModifyEnterpriseSecurityDispatchStatusResponse) ToJsonString ¶
func (r *ModifyEnterpriseSecurityDispatchStatusResponse) ToJsonString() string
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,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyEnterpriseSecurityGroupRuleRequest ¶
type ModifyEnterpriseSecurityGroupRuleRequest struct { *tchttp.BaseRequest // UUID of the rule, which can be obtained by querying the rule list RuleUuid *uint64 `json:"RuleUuid,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,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,omitempty" name:"Data"` // `0`: Do not enable; `1`: Enable Enable *uint64 `json:"Enable,omitempty" name:"Enable"` }
func NewModifyEnterpriseSecurityGroupRuleRequest ¶
func NewModifyEnterpriseSecurityGroupRuleRequest() (request *ModifyEnterpriseSecurityGroupRuleRequest)
func (*ModifyEnterpriseSecurityGroupRuleRequest) FromJsonString ¶
func (r *ModifyEnterpriseSecurityGroupRuleRequest) 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 (*ModifyEnterpriseSecurityGroupRuleRequest) ToJsonString ¶
func (r *ModifyEnterpriseSecurityGroupRuleRequest) ToJsonString() string
type ModifyEnterpriseSecurityGroupRuleRequestParams ¶
type ModifyEnterpriseSecurityGroupRuleRequestParams struct { // UUID of the rule, which can be obtained by querying the rule list RuleUuid *uint64 `json:"RuleUuid,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,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,omitempty" name:"Data"` // `0`: Do not enable; `1`: Enable Enable *uint64 `json:"Enable,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 ¶
func (r *ModifyEnterpriseSecurityGroupRuleResponse) 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 (*ModifyEnterpriseSecurityGroupRuleResponse) ToJsonString ¶
func (r *ModifyEnterpriseSecurityGroupRuleResponse) ToJsonString() string
type ModifyEnterpriseSecurityGroupRuleResponseParams ¶
type ModifyEnterpriseSecurityGroupRuleResponseParams struct { // Status value. `0`: Edited successfully; Others: Failed to edit Status *uint64 `json:"Status,omitempty" name:"Status"` // ID of new rule generated after the modification NewRuleUuid *uint64 `json:"NewRuleUuid,omitempty" name:"NewRuleUuid"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyNatAcRuleRequest ¶
type ModifyNatAcRuleRequest struct { *tchttp.BaseRequest // Array of rules to be modified. Rules []*CreateNatRuleItem `json:"Rules,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,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,omitempty" name:"RuleUuid"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyNatFwReSelectRequest ¶
type ModifyNatFwReSelectRequest struct { *tchttp.BaseRequest // Mode. 1: use existing; 0: create new Mode *int64 `json:"Mode,omitempty" name:"Mode"` // Firewall instance ID CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"` // List of NAT gateways reconnected for the Using Existing mode. Only one of NatGwList and VpcList can be passed. NatGwList []*string `json:"NatGwList,omitempty" name:"NatGwList"` // List of VPCs reconnected for the Create New mode. Only one of NatGwList and VpcList can be passed. VpcList []*string `json:"VpcList,omitempty" name:"VpcList"` // IP range of the firewall FwCidrInfo *FwCidrInfo `json:"FwCidrInfo,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,omitempty" name:"Mode"` // Firewall instance ID CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"` // List of NAT gateways reconnected for the Using Existing mode. Only one of NatGwList and VpcList can be passed. NatGwList []*string `json:"NatGwList,omitempty" name:"NatGwList"` // List of VPCs reconnected for the Create New mode. Only one of NatGwList and VpcList can be passed. VpcList []*string `json:"VpcList,omitempty" name:"VpcList"` // IP range of the firewall FwCidrInfo *FwCidrInfo `json:"FwCidrInfo,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyNatFwSwitchRequest ¶
type ModifyNatFwSwitchRequest struct { *tchttp.BaseRequest // Status. 0: off; 1: on Enable *int64 `json:"Enable,omitempty" name:"Enable"` // List of firewall instance IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed. CfwInsIdList []*string `json:"CfwInsIdList,omitempty" name:"CfwInsIdList"` // List of subnet IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed. SubnetIdList []*string `json:"SubnetIdList,omitempty" name:"SubnetIdList"` // List of route table IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed. RouteTableIdList []*string `json:"RouteTableIdList,omitempty" name:"RouteTableIdList"` }
func NewModifyNatFwSwitchRequest ¶
func NewModifyNatFwSwitchRequest() (request *ModifyNatFwSwitchRequest)
func (*ModifyNatFwSwitchRequest) FromJsonString ¶
func (r *ModifyNatFwSwitchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNatFwSwitchRequest) ToJsonString ¶
func (r *ModifyNatFwSwitchRequest) ToJsonString() string
type ModifyNatFwSwitchRequestParams ¶
type ModifyNatFwSwitchRequestParams struct { // Status. 0: off; 1: on Enable *int64 `json:"Enable,omitempty" name:"Enable"` // List of firewall instance IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed. CfwInsIdList []*string `json:"CfwInsIdList,omitempty" name:"CfwInsIdList"` // List of subnet IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed. SubnetIdList []*string `json:"SubnetIdList,omitempty" name:"SubnetIdList"` // List of route table IDs. Only one of CfwInsIdList, SubnetIdList, and RouteTableIdList can be passed. RouteTableIdList []*string `json:"RouteTableIdList,omitempty" name:"RouteTableIdList"` }
Predefined struct for user
type ModifyNatFwSwitchResponse ¶
type ModifyNatFwSwitchResponse struct { *tchttp.BaseResponse Response *ModifyNatFwSwitchResponseParams `json:"Response"` }
func NewModifyNatFwSwitchResponse ¶
func NewModifyNatFwSwitchResponse() (response *ModifyNatFwSwitchResponse)
func (*ModifyNatFwSwitchResponse) FromJsonString ¶
func (r *ModifyNatFwSwitchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNatFwSwitchResponse) ToJsonString ¶
func (r *ModifyNatFwSwitchResponse) ToJsonString() string
type ModifyNatFwSwitchResponseParams ¶
type ModifyNatFwSwitchResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyNatFwVpcDnsSwitchRequest ¶
type ModifyNatFwVpcDnsSwitchRequest struct { *tchttp.BaseRequest // NAT firewall ID NatFwInsId *string `json:"NatFwInsId,omitempty" name:"NatFwInsId"` // DNS toggle list DnsVpcSwitchLst []*DnsVpcSwitch `json:"DnsVpcSwitchLst,omitempty" name:"DnsVpcSwitchLst"` }
func NewModifyNatFwVpcDnsSwitchRequest ¶
func NewModifyNatFwVpcDnsSwitchRequest() (request *ModifyNatFwVpcDnsSwitchRequest)
func (*ModifyNatFwVpcDnsSwitchRequest) FromJsonString ¶
func (r *ModifyNatFwVpcDnsSwitchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNatFwVpcDnsSwitchRequest) ToJsonString ¶
func (r *ModifyNatFwVpcDnsSwitchRequest) ToJsonString() string
type ModifyNatFwVpcDnsSwitchRequestParams ¶
type ModifyNatFwVpcDnsSwitchRequestParams struct { // NAT firewall ID NatFwInsId *string `json:"NatFwInsId,omitempty" name:"NatFwInsId"` // DNS toggle list DnsVpcSwitchLst []*DnsVpcSwitch `json:"DnsVpcSwitchLst,omitempty" name:"DnsVpcSwitchLst"` }
Predefined struct for user
type ModifyNatFwVpcDnsSwitchResponse ¶
type ModifyNatFwVpcDnsSwitchResponse struct { *tchttp.BaseResponse Response *ModifyNatFwVpcDnsSwitchResponseParams `json:"Response"` }
func NewModifyNatFwVpcDnsSwitchResponse ¶
func NewModifyNatFwVpcDnsSwitchResponse() (response *ModifyNatFwVpcDnsSwitchResponse)
func (*ModifyNatFwVpcDnsSwitchResponse) FromJsonString ¶
func (r *ModifyNatFwVpcDnsSwitchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNatFwVpcDnsSwitchResponse) ToJsonString ¶
func (r *ModifyNatFwVpcDnsSwitchResponse) ToJsonString() string
type ModifyNatFwVpcDnsSwitchResponseParams ¶
type ModifyNatFwVpcDnsSwitchResponseParams struct { // Modified successfully // Note: This field may return `null`, indicating that no valid value was found. ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyNatSequenceRulesRequest ¶
type ModifyNatSequenceRulesRequest struct { *tchttp.BaseRequest // Rule sequence number. Values: `OrderIndex` (Original sequence number), `NewOrderIndex` (New sequence number) RuleChangeItems []*RuleChangeItem `json:"RuleChangeItems,omitempty" name:"RuleChangeItems"` // Rule direction. Values: `1` (Inbound) and `0` (Outbound) Direction *uint64 `json:"Direction,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,omitempty" name:"RuleChangeItems"` // Rule direction. Values: `1` (Inbound) and `0` (Outbound) Direction *uint64 `json:"Direction,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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyPublicIPSwitchStatusRequest ¶
type ModifyPublicIPSwitchStatusRequest struct { *tchttp.BaseRequest // Public IP FireWallPublicIP *string `json:"FireWallPublicIP,omitempty" name:"FireWallPublicIP"` // Status value. 0: off; 1: on Status *int64 `json:"Status,omitempty" name:"Status"` }
func NewModifyPublicIPSwitchStatusRequest ¶
func NewModifyPublicIPSwitchStatusRequest() (request *ModifyPublicIPSwitchStatusRequest)
func (*ModifyPublicIPSwitchStatusRequest) FromJsonString ¶
func (r *ModifyPublicIPSwitchStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPublicIPSwitchStatusRequest) ToJsonString ¶
func (r *ModifyPublicIPSwitchStatusRequest) ToJsonString() string
type ModifyPublicIPSwitchStatusRequestParams ¶
type ModifyPublicIPSwitchStatusRequestParams struct { // Public IP FireWallPublicIP *string `json:"FireWallPublicIP,omitempty" name:"FireWallPublicIP"` // Status value. 0: off; 1: on Status *int64 `json:"Status,omitempty" name:"Status"` }
Predefined struct for user
type ModifyPublicIPSwitchStatusResponse ¶
type ModifyPublicIPSwitchStatusResponse struct { *tchttp.BaseResponse Response *ModifyPublicIPSwitchStatusResponseParams `json:"Response"` }
func NewModifyPublicIPSwitchStatusResponse ¶
func NewModifyPublicIPSwitchStatusResponse() (response *ModifyPublicIPSwitchStatusResponse)
func (*ModifyPublicIPSwitchStatusResponse) FromJsonString ¶
func (r *ModifyPublicIPSwitchStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPublicIPSwitchStatusResponse) ToJsonString ¶
func (r *ModifyPublicIPSwitchStatusResponse) ToJsonString() string
type ModifyPublicIPSwitchStatusResponseParams ¶
type ModifyPublicIPSwitchStatusResponseParams struct { // Return message // Note: This field may return `null`, indicating that no valid value was found. ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // Error code. 0: success; non-0: failed ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyResourceGroupRequest ¶
type ModifyResourceGroupRequest struct { *tchttp.BaseRequest // Group ID GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // Group name GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Parent group ID ParentId *string `json:"ParentId,omitempty" name:"ParentId"` }
func NewModifyResourceGroupRequest ¶
func NewModifyResourceGroupRequest() (request *ModifyResourceGroupRequest)
func (*ModifyResourceGroupRequest) FromJsonString ¶
func (r *ModifyResourceGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceGroupRequest) ToJsonString ¶
func (r *ModifyResourceGroupRequest) ToJsonString() string
type ModifyResourceGroupRequestParams ¶
type ModifyResourceGroupRequestParams struct { // Group ID GroupId *string `json:"GroupId,omitempty" name:"GroupId"` // Group name GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // Parent group ID ParentId *string `json:"ParentId,omitempty" name:"ParentId"` }
Predefined struct for user
type ModifyResourceGroupResponse ¶
type ModifyResourceGroupResponse struct { *tchttp.BaseResponse Response *ModifyResourceGroupResponseParams `json:"Response"` }
func NewModifyResourceGroupResponse ¶
func NewModifyResourceGroupResponse() (response *ModifyResourceGroupResponse)
func (*ModifyResourceGroupResponse) FromJsonString ¶
func (r *ModifyResourceGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyResourceGroupResponse) ToJsonString ¶
func (r *ModifyResourceGroupResponse) ToJsonString() string
type ModifyResourceGroupResponseParams ¶
type ModifyResourceGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRunSyncAssetRequest ¶
type ModifyRunSyncAssetRequest struct { *tchttp.BaseRequest // 0: edge firewall toggle; 1: VPC firewall toggle Type *uint64 `json:"Type,omitempty" name:"Type"` }
func NewModifyRunSyncAssetRequest ¶
func NewModifyRunSyncAssetRequest() (request *ModifyRunSyncAssetRequest)
func (*ModifyRunSyncAssetRequest) FromJsonString ¶
func (r *ModifyRunSyncAssetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRunSyncAssetRequest) ToJsonString ¶
func (r *ModifyRunSyncAssetRequest) ToJsonString() string
type ModifyRunSyncAssetRequestParams ¶
type ModifyRunSyncAssetRequestParams struct { // 0: edge firewall toggle; 1: VPC firewall toggle Type *uint64 `json:"Type,omitempty" name:"Type"` }
Predefined struct for user
type ModifyRunSyncAssetResponse ¶
type ModifyRunSyncAssetResponse struct { *tchttp.BaseResponse Response *ModifyRunSyncAssetResponseParams `json:"Response"` }
func NewModifyRunSyncAssetResponse ¶
func NewModifyRunSyncAssetResponse() (response *ModifyRunSyncAssetResponse)
func (*ModifyRunSyncAssetResponse) FromJsonString ¶
func (r *ModifyRunSyncAssetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRunSyncAssetResponse) ToJsonString ¶
func (r *ModifyRunSyncAssetResponse) ToJsonString() string
type ModifyRunSyncAssetResponseParams ¶
type ModifyRunSyncAssetResponseParams struct { // 0: synced successfully, 1: updating assets, 2: failed to sync by calling the API at the backend Status *int64 `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySecurityGroupItemRuleStatusRequest ¶
type ModifySecurityGroupItemRuleStatusRequest struct { *tchttp.BaseRequest // Direction. 0: outbound; 1: inbound. 1 by default Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Toggle status. 0: off; 1: on Status *uint64 `json:"Status,omitempty" name:"Status"` // Modified priority of enterprise security group rules RuleSequence *uint64 `json:"RuleSequence,omitempty" name:"RuleSequence"` }
func NewModifySecurityGroupItemRuleStatusRequest ¶
func NewModifySecurityGroupItemRuleStatusRequest() (request *ModifySecurityGroupItemRuleStatusRequest)
func (*ModifySecurityGroupItemRuleStatusRequest) FromJsonString ¶
func (r *ModifySecurityGroupItemRuleStatusRequest) 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 (*ModifySecurityGroupItemRuleStatusRequest) ToJsonString ¶
func (r *ModifySecurityGroupItemRuleStatusRequest) ToJsonString() string
type ModifySecurityGroupItemRuleStatusRequestParams ¶
type ModifySecurityGroupItemRuleStatusRequestParams struct { // Direction. 0: outbound; 1: inbound. 1 by default Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Toggle status. 0: off; 1: on Status *uint64 `json:"Status,omitempty" name:"Status"` // Modified priority of enterprise security group rules RuleSequence *uint64 `json:"RuleSequence,omitempty" name:"RuleSequence"` }
Predefined struct for user
type ModifySecurityGroupItemRuleStatusResponse ¶
type ModifySecurityGroupItemRuleStatusResponse struct { *tchttp.BaseResponse Response *ModifySecurityGroupItemRuleStatusResponseParams `json:"Response"` }
func NewModifySecurityGroupItemRuleStatusResponse ¶
func NewModifySecurityGroupItemRuleStatusResponse() (response *ModifySecurityGroupItemRuleStatusResponse)
func (*ModifySecurityGroupItemRuleStatusResponse) FromJsonString ¶
func (r *ModifySecurityGroupItemRuleStatusResponse) 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 (*ModifySecurityGroupItemRuleStatusResponse) ToJsonString ¶
func (r *ModifySecurityGroupItemRuleStatusResponse) ToJsonString() string
type ModifySecurityGroupItemRuleStatusResponseParams ¶
type ModifySecurityGroupItemRuleStatusResponseParams struct { // Status value. 0: modified successfully; non-0: failed to modify Status *int64 `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySecurityGroupSequenceRulesRequest ¶
type ModifySecurityGroupSequenceRulesRequest struct { *tchttp.BaseRequest // Direction. 0: outbound; 1: inbound. 1 by default Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Sorting data of enterprise security group rules Data []*SecurityGroupOrderIndexData `json:"Data,omitempty" name:"Data"` }
func NewModifySecurityGroupSequenceRulesRequest ¶
func NewModifySecurityGroupSequenceRulesRequest() (request *ModifySecurityGroupSequenceRulesRequest)
func (*ModifySecurityGroupSequenceRulesRequest) FromJsonString ¶
func (r *ModifySecurityGroupSequenceRulesRequest) 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 (*ModifySecurityGroupSequenceRulesRequest) ToJsonString ¶
func (r *ModifySecurityGroupSequenceRulesRequest) ToJsonString() string
type ModifySecurityGroupSequenceRulesRequestParams ¶
type ModifySecurityGroupSequenceRulesRequestParams struct { // Direction. 0: outbound; 1: inbound. 1 by default Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Sorting data of enterprise security group rules Data []*SecurityGroupOrderIndexData `json:"Data,omitempty" name:"Data"` }
Predefined struct for user
type ModifySecurityGroupSequenceRulesResponse ¶
type ModifySecurityGroupSequenceRulesResponse struct { *tchttp.BaseResponse Response *ModifySecurityGroupSequenceRulesResponseParams `json:"Response"` }
func NewModifySecurityGroupSequenceRulesResponse ¶
func NewModifySecurityGroupSequenceRulesResponse() (response *ModifySecurityGroupSequenceRulesResponse)
func (*ModifySecurityGroupSequenceRulesResponse) FromJsonString ¶
func (r *ModifySecurityGroupSequenceRulesResponse) 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 (*ModifySecurityGroupSequenceRulesResponse) ToJsonString ¶
func (r *ModifySecurityGroupSequenceRulesResponse) ToJsonString() string
type ModifySecurityGroupSequenceRulesResponseParams ¶
type ModifySecurityGroupSequenceRulesResponseParams struct { // Status value. 0: modified successfully; non-0: failed to modify Status *uint64 `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySequenceRulesRequest ¶
type ModifySequenceRulesRequest struct { *tchttp.BaseRequest // Edge ID value EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Modifies data Data []*SequenceData `json:"Data,omitempty" name:"Data"` // NAT region Area *string `json:"Area,omitempty" name:"Area"` // Direction. 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` }
func NewModifySequenceRulesRequest ¶
func NewModifySequenceRulesRequest() (request *ModifySequenceRulesRequest)
func (*ModifySequenceRulesRequest) FromJsonString ¶
func (r *ModifySequenceRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySequenceRulesRequest) ToJsonString ¶
func (r *ModifySequenceRulesRequest) ToJsonString() string
type ModifySequenceRulesRequestParams ¶
type ModifySequenceRulesRequestParams struct { // Edge ID value EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Modifies data Data []*SequenceData `json:"Data,omitempty" name:"Data"` // NAT region Area *string `json:"Area,omitempty" name:"Area"` // Direction. 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` }
Predefined struct for user
type ModifySequenceRulesResponse ¶
type ModifySequenceRulesResponse struct { *tchttp.BaseResponse Response *ModifySequenceRulesResponseParams `json:"Response"` }
func NewModifySequenceRulesResponse ¶
func NewModifySequenceRulesResponse() (response *ModifySequenceRulesResponse)
func (*ModifySequenceRulesResponse) FromJsonString ¶
func (r *ModifySequenceRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySequenceRulesResponse) ToJsonString ¶
func (r *ModifySequenceRulesResponse) ToJsonString() string
type ModifySequenceRulesResponseParams ¶
type ModifySequenceRulesResponseParams struct { // 0: modified successfully; non-0: modification failed // Note: This field may return `null`, indicating that no valid value was found. Status *int64 `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type 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,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTableStatusRequest ¶
type ModifyTableStatusRequest struct { *tchttp.BaseRequest // Edge ID between two VPCs EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Status value. 1: table locked; 2: table unlocked Status *uint64 `json:"Status,omitempty" name:"Status"` // NAT region Area *string `json:"Area,omitempty" name:"Area"` // 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` }
func NewModifyTableStatusRequest ¶
func NewModifyTableStatusRequest() (request *ModifyTableStatusRequest)
func (*ModifyTableStatusRequest) FromJsonString ¶
func (r *ModifyTableStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTableStatusRequest) ToJsonString ¶
func (r *ModifyTableStatusRequest) ToJsonString() string
type ModifyTableStatusRequestParams ¶
type ModifyTableStatusRequestParams struct { // Edge ID between two VPCs EdgeId *string `json:"EdgeId,omitempty" name:"EdgeId"` // Status value. 1: table locked; 2: table unlocked Status *uint64 `json:"Status,omitempty" name:"Status"` // NAT region Area *string `json:"Area,omitempty" name:"Area"` // 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` }
Predefined struct for user
type ModifyTableStatusResponse ¶
type ModifyTableStatusResponse struct { *tchttp.BaseResponse Response *ModifyTableStatusResponseParams `json:"Response"` }
func NewModifyTableStatusResponse ¶
func NewModifyTableStatusResponse() (response *ModifyTableStatusResponse)
func (*ModifyTableStatusResponse) FromJsonString ¶
func (r *ModifyTableStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTableStatusResponse) ToJsonString ¶
func (r *ModifyTableStatusResponse) ToJsonString() string
type ModifyTableStatusResponseParams ¶
type ModifyTableStatusResponseParams struct { // 0: normal; -1: abnormal // Note: This field may return `null`, indicating that no valid value was found. Status *int64 `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type NatFwFilter ¶
type NatFwInstance ¶
type NatFwInstance struct { // NAT instance ID NatinsId *string `json:"NatinsId,omitempty" name:"NatinsId"` // NAT instance name NatinsName *string `json:"NatinsName,omitempty" name:"NatinsName"` // Instance region // Note: This field may return `null`, indicating that no valid value was found. Region *string `json:"Region,omitempty" name:"Region"` // 0: create new; 1: use existing // Note: This field may return `null`, indicating that no valid value was found. FwMode *int64 `json:"FwMode,omitempty" name:"FwMode"` // 0: normal; 1: creating // Note: This field may return `null`, indicating that no valid value was found. Status *int64 `json:"Status,omitempty" name:"Status"` // NAT public IP // Note: This field may return `null`, indicating that no valid value was found. NatIp *string `json:"NatIp,omitempty" name:"NatIp"` }
type NatInstanceInfo ¶
type NatInstanceInfo struct { // NAT instance ID NatinsId *string `json:"NatinsId,omitempty" name:"NatinsId"` // NAT instance name NatinsName *string `json:"NatinsName,omitempty" name:"NatinsName"` // Instance region Region *string `json:"Region,omitempty" name:"Region"` // 0: create new; 1: use existing FwMode *int64 `json:"FwMode,omitempty" name:"FwMode"` // Instance bandwidth (Mbps) BandWidth *int64 `json:"BandWidth,omitempty" name:"BandWidth"` // Inbound traffic peak bandwidth (bps) InFlowMax *int64 `json:"InFlowMax,omitempty" name:"InFlowMax"` // Outbound traffic peak bandwidth (bps) OutFlowMax *uint64 `json:"OutFlowMax,omitempty" name:"OutFlowMax"` // Chinese region information RegionZh *string `json:"RegionZh,omitempty" name:"RegionZh"` // Public IP array // Note: This field may return `null`, indicating that no valid value was found. EipAddress []*string `json:"EipAddress,omitempty" name:"EipAddress"` // Array of internal and external IPs // Note: This field may return `null`, indicating that no valid value was found. VpcIp []*string `json:"VpcIp,omitempty" name:"VpcIp"` // Array of subnets associated with an instance // Note: This field may return `null`, indicating that no valid value was found. Subnets []*string `json:"Subnets,omitempty" name:"Subnets"` // 0: normal 1: initializing // Note: This field may return `null`, indicating that no valid value was found. Status *int64 `json:"Status,omitempty" name:"Status"` // Region information // Note: This field may return null, indicating that no valid values can be obtained. RegionDetail *string `json:"RegionDetail,omitempty" name:"RegionDetail"` // Availability zone of the instance // Note: This field may return null, indicating that no valid values can be obtained. ZoneZh *string `json:"ZoneZh,omitempty" name:"ZoneZh"` // Availability zone of the instance // Note: This field may return null, indicating that no valid values can be obtained. ZoneZhBak *string `json:"ZoneZhBak,omitempty" name:"ZoneZhBak"` // Number of used rules. // Note: This field may return null, indicating that no valid values can be obtained. RuleUsed *uint64 `json:"RuleUsed,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,omitempty" name:"RuleMax"` }
type NewModeItems ¶
type NewModeItems struct { // VPC list for the Create New mode VpcList []*string `json:"VpcList,omitempty" name:"VpcList"` // The list of egress public EIPs bound for the Create New mode. Either Eips or AddCount is required. Eips []*string `json:"Eips,omitempty" name:"Eips"` // The number of egress public EIPs newly bound for the Create New mode. Either Eips or AddCount is required. AddCount *int64 `json:"AddCount,omitempty" name:"AddCount"` }
type RemoveAcRuleRequest ¶
type RemoveAcRuleRequest struct { *tchttp.BaseRequest // UUID of the rule, which can be obtained by querying the rule list RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"` }
func NewRemoveAcRuleRequest ¶
func NewRemoveAcRuleRequest() (request *RemoveAcRuleRequest)
func (*RemoveAcRuleRequest) FromJsonString ¶
func (r *RemoveAcRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveAcRuleRequest) ToJsonString ¶
func (r *RemoveAcRuleRequest) ToJsonString() string
type RemoveAcRuleRequestParams ¶
type RemoveAcRuleRequestParams struct { // UUID of the rule, which can be obtained by querying the rule list RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"` }
Predefined struct for user
type RemoveAcRuleResponse ¶
type RemoveAcRuleResponse struct { *tchttp.BaseResponse Response *RemoveAcRuleResponseParams `json:"Response"` }
func NewRemoveAcRuleResponse ¶
func NewRemoveAcRuleResponse() (response *RemoveAcRuleResponse)
func (*RemoveAcRuleResponse) FromJsonString ¶
func (r *RemoveAcRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveAcRuleResponse) ToJsonString ¶
func (r *RemoveAcRuleResponse) ToJsonString() string
type RemoveAcRuleResponseParams ¶
type RemoveAcRuleResponseParams struct { // Returns the UUID of the deleted policy after the deletion is successful RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"` // 0: operation successful; -1: operation failed // Note: This field may return `null`, indicating that no valid value was found. ReturnCode *int64 `json:"ReturnCode,omitempty" name:"ReturnCode"` // success: operation successful; failed: operation failed // Note: This field may return `null`, indicating that no valid value was found. ReturnMsg *string `json:"ReturnMsg,omitempty" name:"ReturnMsg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RemoveEnterpriseSecurityGroupRuleRequest ¶
type RemoveEnterpriseSecurityGroupRuleRequest struct { *tchttp.BaseRequest // UUID of the rule, which can be obtained by querying the rule list RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"` // Type of deletion. 0: delete a single entry, and enter ID of the deleted rule for RuleUuid; 1: delete all, and enter 0 for RuleUuid RemoveType *int64 `json:"RemoveType,omitempty" name:"RemoveType"` }
func NewRemoveEnterpriseSecurityGroupRuleRequest ¶
func NewRemoveEnterpriseSecurityGroupRuleRequest() (request *RemoveEnterpriseSecurityGroupRuleRequest)
func (*RemoveEnterpriseSecurityGroupRuleRequest) FromJsonString ¶
func (r *RemoveEnterpriseSecurityGroupRuleRequest) 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 (*RemoveEnterpriseSecurityGroupRuleRequest) ToJsonString ¶
func (r *RemoveEnterpriseSecurityGroupRuleRequest) ToJsonString() string
type RemoveEnterpriseSecurityGroupRuleRequestParams ¶
type RemoveEnterpriseSecurityGroupRuleRequestParams struct { // UUID of the rule, which can be obtained by querying the rule list RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"` // Type of deletion. 0: delete a single entry, and enter ID of the deleted rule for RuleUuid; 1: delete all, and enter 0 for RuleUuid RemoveType *int64 `json:"RemoveType,omitempty" name:"RemoveType"` }
Predefined struct for user
type RemoveEnterpriseSecurityGroupRuleResponse ¶
type RemoveEnterpriseSecurityGroupRuleResponse struct { *tchttp.BaseResponse Response *RemoveEnterpriseSecurityGroupRuleResponseParams `json:"Response"` }
func NewRemoveEnterpriseSecurityGroupRuleResponse ¶
func NewRemoveEnterpriseSecurityGroupRuleResponse() (response *RemoveEnterpriseSecurityGroupRuleResponse)
func (*RemoveEnterpriseSecurityGroupRuleResponse) FromJsonString ¶
func (r *RemoveEnterpriseSecurityGroupRuleResponse) 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 (*RemoveEnterpriseSecurityGroupRuleResponse) ToJsonString ¶
func (r *RemoveEnterpriseSecurityGroupRuleResponse) ToJsonString() string
type RemoveEnterpriseSecurityGroupRuleResponseParams ¶
type RemoveEnterpriseSecurityGroupRuleResponseParams struct { // Returns the UUID of the deleted policy after the deletion is successful RuleUuid *int64 `json:"RuleUuid,omitempty" name:"RuleUuid"` // 0: operation successful; -1: operation failed // Note: This field may return `null`, indicating that no valid value was found. Status *int64 `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type 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,omitempty" name:"RuleUuid"` // Rule direction. Valid values: 1: inbound; 0: outbound. Direction *uint64 `json:"Direction,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,omitempty" name:"RuleUuid"` // Rule direction. Valid values: 1: inbound; 0: outbound. Direction *uint64 `json:"Direction,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,omitempty" name:"RuleUuid"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type RuleChangeItem ¶
type RuleInfoData ¶
type RuleInfoData struct { // Priority OrderIndex *uint64 `json:"OrderIndex,omitempty" name:"OrderIndex"` // Access source SourceIp *string `json:"SourceIp,omitempty" name:"SourceIp"` // Access destination TargetIp *string `json:"TargetIp,omitempty" name:"TargetIp"` // Protocol Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Policy. 0: observe; 1: block; 2: allow Strategy *string `json:"Strategy,omitempty" name:"Strategy"` // Access source type. 1: IP; 3: domain name; 4: IP address template; 5: domain name address template SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` // Direction. 0: outbound; 1: inbound Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Description Detail *string `json:"Detail,omitempty" name:"Detail"` // Access destination type. 1: IP, 3: domain name; 4: IP address template; 5: domain name address template TargetType *uint64 `json:"TargetType,omitempty" name:"TargetType"` // Port Port *string `json:"Port,omitempty" name:"Port"` // ID value Id *uint64 `json:"Id,omitempty" name:"Id"` // Log ID, required when an alert log is created LogId *string `json:"LogId,omitempty" name:"LogId"` // City code City *uint64 `json:"City,omitempty" name:"City"` // Country code Country *uint64 `json:"Country,omitempty" name:"Country"` // Cloud vendor. Multiple vendors are supported and separated with commas. 1: Tencent Cloud (only in Hong Kong, China and overseas); 2: Alibaba Cloud; 3: Amazon Cloud; 4: Huawei Cloud; 5: Microsoft Cloud CloudCode *string `json:"CloudCode,omitempty" name:"CloudCode"` // Indicates whether it is a region IsRegion *uint64 `json:"IsRegion,omitempty" name:"IsRegion"` // City name CityName *string `json:"CityName,omitempty" name:"CityName"` // Country name CountryName *string `json:"CountryName,omitempty" name:"CountryName"` }
type ScanInfo ¶
type ScanInfo struct { // Scanning result information ScanResultInfo *ScanResultInfo `json:"ScanResultInfo,omitempty" name:"ScanResultInfo"` // Scanning status. 0: scanning; 1: completed; 2: auto scanning unselected ScanStatus *int64 `json:"ScanStatus,omitempty" name:"ScanStatus"` // Progress ScanPercent *float64 `json:"ScanPercent,omitempty" name:"ScanPercent"` // Estimated completion time ScanTime *string `json:"ScanTime,omitempty" name:"ScanTime"` }
type ScanResultInfo ¶
type ScanResultInfo struct { // Number of vulnerability exploits LeakNum *uint64 `json:"LeakNum,omitempty" name:"LeakNum"` // Number of protected IPs IPNum *uint64 `json:"IPNum,omitempty" name:"IPNum"` // Number of exposed ports PortNum *uint64 `json:"PortNum,omitempty" name:"PortNum"` // Protection status IPStatus *bool `json:"IPStatus,omitempty" name:"IPStatus"` // Attack blocking status IdpStatus *bool `json:"IdpStatus,omitempty" name:"IdpStatus"` // Port blocking status BanStatus *bool `json:"BanStatus,omitempty" name:"BanStatus"` }
type SecurityGroupBothWayInfo ¶
type SecurityGroupBothWayInfo struct { // Priority // Note: This field may return `null`, indicating that no valid value was found. OrderIndex *uint64 `json:"OrderIndex,omitempty" name:"OrderIndex"` // Access source // Note: This field may return `null`, indicating that no valid value was found. SourceId *string `json:"SourceId,omitempty" name:"SourceId"` // Access source type. Default: 0. 0: IP; 1: VPC; 2: SUBNET; 3: CVM; 4: CLB; 5: ENI; 6: CDB; 7: Parameter template. 100: asset group // Note: This field may return `null`, indicating that no valid value was found. SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` // Access destination // Note: This field may return `null`, indicating that no valid value was found. TargetId *string `json:"TargetId,omitempty" name:"TargetId"` // Access destination type. Default: 0. 0: IP; 1: VPC; 2: SUBNET; 3: CVM; 4: CLB; 5: ENI; 6: CDB; 7: Parameter template. 100: asset group // Note: This field may return `null`, indicating that no valid value was found. TargetType *uint64 `json:"TargetType,omitempty" name:"TargetType"` // Protocol // Note: This field may return `null`, indicating that no valid value was found. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Destination port // Note: This field may return `null`, indicating that no valid value was found. Port *string `json:"Port,omitempty" name:"Port"` // Policy. 1: block; 2: allow // Note: This field may return `null`, indicating that no valid value was found. Strategy *uint64 `json:"Strategy,omitempty" name:"Strategy"` // Direction. 0: outbound; 1: inbound. 1 by default // Note: This field may return `null`, indicating that no valid value was found. Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Region Region *string `json:"Region,omitempty" name:"Region"` // Description // Note: This field may return `null`, indicating that no valid value was found. Detail *string `json:"Detail,omitempty" name:"Detail"` // Toggle status. 0: off; 1: on // Note: This field may return `null`, indicating that no valid value was found. Status *uint64 `json:"Status,omitempty" name:"Status"` // Indicates whether the rule is normal. 0: normal; 1: abnormal // Note: This field may return `null`, indicating that no valid value was found. IsNew *uint64 `json:"IsNew,omitempty" name:"IsNew"` // One-way/two-way. 0: one-way; 1: two-way // Note: This field may return `null`, indicating that no valid value was found. BothWay *uint64 `json:"BothWay,omitempty" name:"BothWay"` // VPC ID // Note: This field may return `null`, indicating that no valid value was found. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID // Note: This field may return `null`, indicating that no valid value was found. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Instance name // Note: This field may return `null`, indicating that no valid value was found. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Public IP. Multiple IPs are separated by commas. // Note: This field may return `null`, indicating that no valid value was found. PublicIp *string `json:"PublicIp,omitempty" name:"PublicIp"` // Private IP. Multiple IPs are separated by commas. // Note: This field may return `null`, indicating that no valid value was found. PrivateIp *string `json:"PrivateIp,omitempty" name:"PrivateIp"` // Masked address. Multiple addresses are separated by commas. // Note: This field may return `null`, indicating that no valid value was found. Cidr *string `json:"Cidr,omitempty" name:"Cidr"` // Port protocol template ID // Note: This field may return `null`, indicating that no valid value was found. ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"` // Indicates whether to use the port protocol template. 0: no; 1: yes ProtocolPortType *uint64 `json:"ProtocolPortType,omitempty" name:"ProtocolPortType"` }
type SecurityGroupListData ¶
type SecurityGroupListData struct { // Priority OrderIndex *uint64 `json:"OrderIndex,omitempty" name:"OrderIndex"` // Access source SourceId *string `json:"SourceId,omitempty" name:"SourceId"` // Access source type. Default: 0. 1: VPC; 2: SUBNET; 3: CVM; 4: CLB; 5: ENI; 6: CDB; 7: Parameter template. 100: Resource group SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` // Access destination TargetId *string `json:"TargetId,omitempty" name:"TargetId"` // Access destination type. Default: 0. 1: VPC; 2: SUBNET; 3: CVM; 4: CLB; 5: ENI; 6: CDB; 7: Parameter template; 100: resource group TargetType *uint64 `json:"TargetType,omitempty" name:"TargetType"` // Protocol Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Destination port Port *string `json:"Port,omitempty" name:"Port"` // Policy. 1: block; 2: allow Strategy *uint64 `json:"Strategy,omitempty" name:"Strategy"` // Description Detail *string `json:"Detail,omitempty" name:"Detail"` // One-way/two-way. 0: one-way; 1: two-way BothWay *uint64 `json:"BothWay,omitempty" name:"BothWay"` // Rule ID Id *uint64 `json:"Id,omitempty" name:"Id"` // Toggle status. 0: off; 1: on Status *uint64 `json:"Status,omitempty" name:"Status"` // Indicates whether the rule is normal. 0: normal; 1: abnormal IsNew *uint64 `json:"IsNew,omitempty" name:"IsNew"` // VPC ID // Note: This field may return `null`, indicating that no valid value was found. VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Subnet ID // Note: This field may return `null`, indicating that no valid value was found. SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // Instance name // Note: This field may return `null`, indicating that no valid value was found. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Public IP. Multiple IPs are separated by commas. // Note: This field may return `null`, indicating that no valid value was found. PublicIp *string `json:"PublicIp,omitempty" name:"PublicIp"` // Private IP. Multiple IPs are separated by commas. // Note: This field may return `null`, indicating that no valid value was found. PrivateIp *string `json:"PrivateIp,omitempty" name:"PrivateIp"` // Masked address. Multiple addresses are separated by commas. // Note: This field may return `null`, indicating that no valid value was found. Cidr *string `json:"Cidr,omitempty" name:"Cidr"` // Port protocol template ID // Note: This field may return `null`, indicating that no valid value was found. ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"` // Two-way rules // Note: This field may return `null`, indicating that no valid value was found. BothWayInfo []*SecurityGroupBothWayInfo `json:"BothWayInfo,omitempty" name:"BothWayInfo"` // Direction. 0: outbound; 1: inbound. 1 by default Direction *uint64 `json:"Direction,omitempty" name:"Direction"` // Indicates whether to use the port protocol template. 0: no; 1: yes ProtocolPortType *uint64 `json:"ProtocolPortType,omitempty" name:"ProtocolPortType"` }
type SecurityGroupRule ¶
type SecurityGroupRule struct { // Source example: // net: IP/CIDR (192.168.0.2) // template: parameter template (ipm-dyodhpby) // instance: asset instance (ins-123456) // resourcegroup: asset group (/all groups/group 1/subgroup 1) // tag: resource tag ({"Key":"tag key","Value":"tag value"}) // region: region (ap-gaungzhou) SourceContent *string `json:"SourceContent,omitempty" name:"SourceContent"` // Access source type. Valid values: net|template|instance|resourcegroup|tag|region SourceType *string `json:"SourceType,omitempty" name:"SourceType"` // Destination example: // net: IP/CIDR (192.168.0.2) // template: parameter template (ipm-dyodhpby) // instance: asset instance (ins-123456) // resourcegroup: asset group (/all groups/group 1/subgroup 1) // tag: resource tag ({"Key":"tag key","Value":"tag value"}) // region: region (ap-gaungzhou) DestContent *string `json:"DestContent,omitempty" name:"DestContent"` // Access destination type. Valid values: net|template|instance|resourcegroup|tag|region DestType *string `json:"DestType,omitempty" name:"DestType"` // The action that Cloud Firewall performs on the traffic. Valid values: // accept: allow // drop: deny RuleAction *string `json:"RuleAction,omitempty" name:"RuleAction"` // Description Description *string `json:"Description,omitempty" name:"Description"` // Rule priority. -1: lowest; 1: highest OrderIndex *string `json:"OrderIndex,omitempty" name:"OrderIndex"` // Protocol. TCP/UDP/ICMP/ANY // Note: This field may return `null`, indicating that no valid value was found. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // The port to apply access control rules. Valid values: // -1/-1: all ports // 80: port 80 // Note: This field may return `null`, indicating that no valid value was found. Port *string `json:"Port,omitempty" name:"Port"` // Parameter template ID of port and protocol type; mutually exclusive with Protocol and Port // Note: This field may return `null`, indicating that no valid value was found. ServiceTemplateId *string `json:"ServiceTemplateId,omitempty" name:"ServiceTemplateId"` // The unique ID of the rule Id *string `json:"Id,omitempty" name:"Id"` // Rule status. true: enabled; false: disabled Enable *string `json:"Enable,omitempty" name:"Enable"` }
type SequenceData ¶
type SetNatFwDnatRuleRequest ¶
type SetNatFwDnatRuleRequest struct { *tchttp.BaseRequest // 0: Create new; 1: Use existing Mode *uint64 `json:"Mode,omitempty" name:"Mode"` // Operation type. Valid values: add, del, and modify. OperationType *string `json:"OperationType,omitempty" name:"OperationType"` // Firewall instance ID. This field is required. CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"` // List of added/deleted DNAT rules AddOrDelDnatRules []*CfwNatDnatRule `json:"AddOrDelDnatRules,omitempty" name:"AddOrDelDnatRules"` // Original DNAT rule before change OriginDnat *CfwNatDnatRule `json:"OriginDnat,omitempty" name:"OriginDnat"` // New DNAT rule after change NewDnat *CfwNatDnatRule `json:"NewDnat,omitempty" name:"NewDnat"` }
func NewSetNatFwDnatRuleRequest ¶
func NewSetNatFwDnatRuleRequest() (request *SetNatFwDnatRuleRequest)
func (*SetNatFwDnatRuleRequest) FromJsonString ¶
func (r *SetNatFwDnatRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetNatFwDnatRuleRequest) ToJsonString ¶
func (r *SetNatFwDnatRuleRequest) ToJsonString() string
type SetNatFwDnatRuleRequestParams ¶
type SetNatFwDnatRuleRequestParams struct { // 0: Create new; 1: Use existing Mode *uint64 `json:"Mode,omitempty" name:"Mode"` // Operation type. Valid values: add, del, and modify. OperationType *string `json:"OperationType,omitempty" name:"OperationType"` // Firewall instance ID. This field is required. CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"` // List of added/deleted DNAT rules AddOrDelDnatRules []*CfwNatDnatRule `json:"AddOrDelDnatRules,omitempty" name:"AddOrDelDnatRules"` // Original DNAT rule before change OriginDnat *CfwNatDnatRule `json:"OriginDnat,omitempty" name:"OriginDnat"` // New DNAT rule after change NewDnat *CfwNatDnatRule `json:"NewDnat,omitempty" name:"NewDnat"` }
Predefined struct for user
type SetNatFwDnatRuleResponse ¶
type SetNatFwDnatRuleResponse struct { *tchttp.BaseResponse Response *SetNatFwDnatRuleResponseParams `json:"Response"` }
func NewSetNatFwDnatRuleResponse ¶
func NewSetNatFwDnatRuleResponse() (response *SetNatFwDnatRuleResponse)
func (*SetNatFwDnatRuleResponse) FromJsonString ¶
func (r *SetNatFwDnatRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetNatFwDnatRuleResponse) ToJsonString ¶
func (r *SetNatFwDnatRuleResponse) ToJsonString() string
type SetNatFwDnatRuleResponseParams ¶
type SetNatFwDnatRuleResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SetNatFwEipRequest ¶
type SetNatFwEipRequest struct { *tchttp.BaseRequest // bind: bind EIP; unbind: unbind EIP; newAdd: add firewall EIP OperationType *string `json:"OperationType,omitempty" name:"OperationType"` // Firewall instance ID CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"` // This field is required when OperationType is "bind" or "unbind". EipList []*string `json:"EipList,omitempty" name:"EipList"` }
func NewSetNatFwEipRequest ¶
func NewSetNatFwEipRequest() (request *SetNatFwEipRequest)
func (*SetNatFwEipRequest) FromJsonString ¶
func (r *SetNatFwEipRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetNatFwEipRequest) ToJsonString ¶
func (r *SetNatFwEipRequest) ToJsonString() string
type SetNatFwEipRequestParams ¶
type SetNatFwEipRequestParams struct { // bind: bind EIP; unbind: unbind EIP; newAdd: add firewall EIP OperationType *string `json:"OperationType,omitempty" name:"OperationType"` // Firewall instance ID CfwInstance *string `json:"CfwInstance,omitempty" name:"CfwInstance"` // This field is required when OperationType is "bind" or "unbind". EipList []*string `json:"EipList,omitempty" name:"EipList"` }
Predefined struct for user
type SetNatFwEipResponse ¶
type SetNatFwEipResponse struct { *tchttp.BaseResponse Response *SetNatFwEipResponseParams `json:"Response"` }
func NewSetNatFwEipResponse ¶
func NewSetNatFwEipResponse() (response *SetNatFwEipResponse)
func (*SetNatFwEipResponse) FromJsonString ¶
func (r *SetNatFwEipResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetNatFwEipResponse) ToJsonString ¶
func (r *SetNatFwEipResponse) ToJsonString() string
type SetNatFwEipResponseParams ¶
type SetNatFwEipResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type StaticInfo ¶
type StaticInfo struct { // Number Num *int64 `json:"Num,omitempty" name:"Num"` // Port Port *string `json:"Port,omitempty" name:"Port"` // IP Ip *string `json:"Ip,omitempty" name:"Ip"` // Address Address *string `json:"Address,omitempty" name:"Address"` // Asset ID InsID *string `json:"InsID,omitempty" name:"InsID"` // Asset name InsName *string `json:"InsName,omitempty" name:"InsName"` }
type StopSecurityGroupRuleDispatchRequest ¶
type StopSecurityGroupRuleDispatchRequest struct { *tchttp.BaseRequest // Stops all if set to 1 StopType *int64 `json:"StopType,omitempty" name:"StopType"` }
func NewStopSecurityGroupRuleDispatchRequest ¶
func NewStopSecurityGroupRuleDispatchRequest() (request *StopSecurityGroupRuleDispatchRequest)
func (*StopSecurityGroupRuleDispatchRequest) FromJsonString ¶
func (r *StopSecurityGroupRuleDispatchRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopSecurityGroupRuleDispatchRequest) ToJsonString ¶
func (r *StopSecurityGroupRuleDispatchRequest) ToJsonString() string
type StopSecurityGroupRuleDispatchRequestParams ¶
type StopSecurityGroupRuleDispatchRequestParams struct { // Stops all if set to 1 StopType *int64 `json:"StopType,omitempty" name:"StopType"` }
Predefined struct for user
type StopSecurityGroupRuleDispatchResponse ¶
type StopSecurityGroupRuleDispatchResponse struct { *tchttp.BaseResponse Response *StopSecurityGroupRuleDispatchResponseParams `json:"Response"` }
func NewStopSecurityGroupRuleDispatchResponse ¶
func NewStopSecurityGroupRuleDispatchResponse() (response *StopSecurityGroupRuleDispatchResponse)
func (*StopSecurityGroupRuleDispatchResponse) FromJsonString ¶
func (r *StopSecurityGroupRuleDispatchResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopSecurityGroupRuleDispatchResponse) ToJsonString ¶
func (r *StopSecurityGroupRuleDispatchResponse) ToJsonString() string
type StopSecurityGroupRuleDispatchResponseParams ¶
type StopSecurityGroupRuleDispatchResponseParams struct { // true: operation successful; false: error // Note: This field may return `null`, indicating that no valid value was found. Status *bool `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SwitchListsData ¶
type SwitchListsData struct { // Public IP // Note: This field may return `null`, indicating that no valid value was found. PublicIp *string `json:"PublicIp,omitempty" name:"PublicIp"` // Private IP // Note: This field may return `null`, indicating that no valid value was found. IntranetIp *string `json:"IntranetIp,omitempty" name:"IntranetIp"` // Instance name // Note: This field may return `null`, indicating that no valid value was found. InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` // Instance ID // Note: This field may return `null`, indicating that no valid value was found. InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // Asset type AssetType *string `json:"AssetType,omitempty" name:"AssetType"` // Region // Note: This field may return `null`, indicating that no valid value was found. Area *string `json:"Area,omitempty" name:"Area"` // Firewall toggle Switch *int64 `json:"Switch,omitempty" name:"Switch"` // ID value Id *uint64 `json:"Id,omitempty" name:"Id"` // Public IP type // Note: This field may return `null`, indicating that no valid value was found. PublicIpType *uint64 `json:"PublicIpType,omitempty" name:"PublicIpType"` // Number of risky ports // Note: This field may return `null`, indicating that no valid value was found. PortTimes *uint64 `json:"PortTimes,omitempty" name:"PortTimes"` // Last scan time // Note: This field may return `null`, indicating that no valid value was found. LastTime *string `json:"LastTime,omitempty" name:"LastTime"` // Scan mode // Note: This field may return `null`, indicating that no valid value was found. ScanMode *string `json:"ScanMode,omitempty" name:"ScanMode"` // Scan status // Note: This field may return `null`, indicating that no valid value was found. ScanStatus *uint64 `json:"ScanStatus,omitempty" name:"ScanStatus"` }
type TLogInfo ¶
type TLogInfo struct { // Compromised servers OutNum *int64 `json:"OutNum,omitempty" name:"OutNum"` // Unhandled alerts HandleNum *int64 `json:"HandleNum,omitempty" name:"HandleNum"` // Vulnerability attacks VulNum *int64 `json:"VulNum,omitempty" name:"VulNum"` // Detected networks NetworkNum *int64 `json:"NetworkNum,omitempty" name:"NetworkNum"` // Blocklist BanNum *int64 `json:"BanNum,omitempty" name:"BanNum"` // Brute force attacks BruteForceNum *int64 `json:"BruteForceNum,omitempty" name:"BruteForceNum"` }
type UnHandleEvent ¶
type UnHandleEvent struct { // Unhandled event type EventTableListStruct []*UnHandleEventDetail `json:"EventTableListStruct,omitempty" name:"EventTableListStruct"` // 1: yes; 0: no BaseLineUser *uint64 `json:"BaseLineUser,omitempty" name:"BaseLineUser"` // 1: on; 0: off BaseLineInSwitch *uint64 `json:"BaseLineInSwitch,omitempty" name:"BaseLineInSwitch"` // 1: on; 0: off BaseLineOutSwitch *uint64 `json:"BaseLineOutSwitch,omitempty" name:"BaseLineOutSwitch"` // Number of inter-VPC firewall instances // Note: This field may return `null`, indicating that no valid value was found. VpcFwCount *uint64 `json:"VpcFwCount,omitempty" name:"VpcFwCount"` }
type UnHandleEventDetail ¶
type VpcDnsInfo ¶
type VpcDnsInfo struct { // VPC ID VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // VPC name VpcName *string `json:"VpcName,omitempty" name:"VpcName"` // NAT firewall mode. 0: Create new; 1: Use existing FwMode *int64 `json:"FwMode,omitempty" name:"FwMode"` // VPC IPv4 CIDR block (Classless Inter-Domain Routing) VpcIpv4Cidr *string `json:"VpcIpv4Cidr,omitempty" name:"VpcIpv4Cidr"` // Public EIP, which is the firewall DNS resolution address DNSEip *string `json:"DNSEip,omitempty" name:"DNSEip"` // NAT gateway ID // Note: This field may return `null`, indicating that no valid value was found. NatInsId *string `json:"NatInsId,omitempty" name:"NatInsId"` // NAT gateway name // Note: This field may return `null`, indicating that no valid value was found. NatInsName *string `json:"NatInsName,omitempty" name:"NatInsName"` // 0: off; 1: on SwitchStatus *int64 `json:"SwitchStatus,omitempty" name:"SwitchStatus"` }