Documentation ¶
Index ¶
- Constants
- func DataSourceTencentCloudCcnBandwidthLimits() *schema.Resource
- func DataSourceTencentCloudCcnCrossBorderCompliance() *schema.Resource
- func DataSourceTencentCloudCcnCrossBorderFlowMonitor() *schema.Resource
- func DataSourceTencentCloudCcnCrossBorderRegionBandwidthLimits() *schema.Resource
- func DataSourceTencentCloudCcnInstances() *schema.Resource
- func DataSourceTencentCloudCcnRoutes() *schema.Resource
- func DataSourceTencentCloudCcnTenantInstance() *schema.Resource
- func ResourceTencentCloudCcn() *schema.Resource
- func ResourceTencentCloudCcnAttachment() *schema.Resource
- func ResourceTencentCloudCcnBandwidthLimit() *schema.Resource
- func ResourceTencentCloudCcnInstancesAcceptAttach() *schema.Resource
- func ResourceTencentCloudCcnInstancesRejectAttach() *schema.Resource
- func ResourceTencentCloudCcnInstancesResetAttach() *schema.Resource
- func ResourceTencentCloudCcnRouteTable() *schema.Resource
- func ResourceTencentCloudCcnRouteTableAssociateInstanceConfig() *schema.Resource
- func ResourceTencentCloudCcnRouteTableBroadcastPolicies() *schema.Resource
- func ResourceTencentCloudCcnRouteTableInputPolicies() *schema.Resource
- func ResourceTencentCloudCcnRouteTableSelectionPolicies() *schema.Resource
- func ResourceTencentCloudCcnRoutes() *schema.Resource
- type CcnAttachedInstanceInfo
- type CcnBandwidthLimit
- type CcnBasicInfo
- type CcnInstanceBind
- type CcnInstanceBindApiResponse
- type CcnInstanceBindResponseData
- type VpcService
- func (me *VpcService) AttachCcnInstances(ctx context.Context, ...) (errRet error)
- func (me *VpcService) CreateCcn(ctx context.Context, ...) (basicInfo CcnBasicInfo, errRet error)
- func (me *VpcService) DeleteCcn(ctx context.Context, ccnId string) (errRet error)
- func (me *VpcService) DescribeCcn(ctx context.Context, ccnId string) (info CcnBasicInfo, has int, errRet error)
- func (me *VpcService) DescribeCcnAttachedInstance(ctx context.Context, ccnId, instanceRegion, instanceType, instanceId string) (info CcnAttachedInstanceInfo, has int, errRet error)
- func (me *VpcService) DescribeCcnAttachedInstances(ctx context.Context, ccnId string) (infos []CcnAttachedInstanceInfo, errRet error)
- func (me *VpcService) DescribeCcnAttachmentsByInstance(ctx context.Context, instanceType string, instanceId string, ...) (infos []vpc.CcnAttachedInstance, errRet error)
- func (me *VpcService) DescribeCcnCrossBorderComplianceByFilter(ctx context.Context, param map[string]interface{}) (crossBorderCompliance []*vpc.CrossBorderCompliance, errRet error)
- func (me *VpcService) DescribeCcnCrossBorderFlowMonitorByFilter(ctx context.Context, param map[string]interface{}) (crossBorderFlowMonitor []*vpc.CrossBorderFlowMonitorData, errRet error)
- func (me *VpcService) DescribeCcnRegionBandwidthLimit(ctx context.Context, ccnId, region string) (bandwidth int64, errRet error)
- func (me *VpcService) DescribeCcnRegionBandwidthLimits(ctx context.Context, ccnId string) (infos []CcnBandwidthLimit, errRet error)
- func (me *VpcService) DescribeCcns(ctx context.Context, ccnId, name string) (infos []CcnBasicInfo, errRet error)
- func (me *VpcService) DescribeRouteTableAssociatedInstancesById(ctx context.Context, meta interface{}, ccnId, routeTableId string) (instanceBindList []CcnInstanceBind, errRet error)
- func (me *VpcService) DescribeTenantCcnByFilter(ctx context.Context, param map[string]interface{}) (tenantCcn []*vpc.CcnInstanceInfo, errRet error)
- func (me *VpcService) DescribeVpcCcnRegionBandwidthLimitsByFilter(ctx context.Context, param map[string]interface{}) (CcnRegionBandwidthLimits []*vpc.CcnBandwidth, errRet error)
- func (me *VpcService) DescribeVpcCcnRouteTablesById(ctx context.Context, routeTableId string) (ccnRouteTable *vpc.CcnRouteTable, errRet error)
- func (me *VpcService) DescribeVpcCcnRoutesById(ctx context.Context, ccnId string, routeId string) (ccnRoutes *vpc.CcnRoute, errRet error)
- func (me *VpcService) DescribeVpcDescribeCcnRoutesByFilter(ctx context.Context, paramMap map[string]interface{}) (RouteSet []*vpc.CcnRoute, errRet error)
- func (me *VpcService) DescribeVpcReplaceCcnRouteTableBroadcastPolicysById(ctx context.Context, ccnId, routeTableId string) (policySet *vpc.CcnRouteTableBroadcastPolicys, errRet error)
- func (me *VpcService) DescribeVpcReplaceCcnRouteTableInputPolicysById(ctx context.Context, ccnId, routeTableId string) (policySet *vpc.CcnRouteTableInputPolicys, errRet error)
- func (me *VpcService) DescribeVpcReplaceCcnRouteTableSelectionPolicysById(ctx context.Context, ccnId string) (routeSelectionPolicySet []*vpc.RouteSelectionPolicy, errRet error)
- func (me *VpcService) DetachCcnInstances(ctx context.Context, ccnId, instanceRegion, instanceType, instanceId string) (errRet error)
- func (me *VpcService) GetCcnRegionBandwidthLimit(ctx context.Context, ccnId, region, dstRegion, limitType string) (int64, error)
- func (me *VpcService) GetCcnRegionBandwidthLimits(ctx context.Context, ccnID string) (infos []vpc.CcnRegionBandwidthLimit, errRet error)
- func (me *VpcService) ModifyCcnAttribute(ctx context.Context, ccnId, name, description string, ...) (errRet error)
- func (me *VpcService) ModifyCcnRegionBandwidthLimitsType(ctx context.Context, ccnID, limitType string) error
- func (me *VpcService) SetCcnRegionBandwidthLimits(ctx context.Context, ccnId, region, dstRegion string, bandwidth int64, ...) (errRet error)
Constants ¶
View Source
const CNN_INSTANCE_TYPE_BMVPC = "BMVPC"
View Source
const CNN_INSTANCE_TYPE_DIRECTCONNECT = "DIRECTCONNECT"
View Source
const CNN_INSTANCE_TYPE_VPC = "VPC"
View Source
const CNN_INSTANCE_TYPE_VPNGW = "VPNGW"
View Source
const CNN_QOS_AG = "AG"
View Source
const CNN_QOS_AU = "AU"
View Source
const CNN_QOS_PT = "PT"
View Source
const InterRegionLimit = "INTER_REGION_LIMIT"
View Source
const OuterRegionLimit = "OUTER_REGION_LIMIT"
View Source
const POSTPAID = "POSTPAID"
View Source
const PREPAID = "PREPAID"
Variables ¶
This section is empty.
Functions ¶
func DataSourceTencentCloudCcnRoutes ¶ added in v1.81.109
func ResourceTencentCloudCcn ¶
func ResourceTencentCloudCcnRouteTable ¶ added in v1.81.109
func ResourceTencentCloudCcnRouteTableAssociateInstanceConfig ¶ added in v1.81.109
func ResourceTencentCloudCcnRouteTableBroadcastPolicies ¶ added in v1.81.109
func ResourceTencentCloudCcnRouteTableInputPolicies ¶ added in v1.81.109
func ResourceTencentCloudCcnRouteTableSelectionPolicies ¶ added in v1.81.109
Types ¶
type CcnAttachedInstanceInfo ¶
type CcnAttachedInstanceInfo struct {
// contains filtered or unexported fields
}
type CcnBandwidthLimit ¶
type CcnBandwidthLimit struct {
// contains filtered or unexported fields
}
type CcnBasicInfo ¶
type CcnBasicInfo struct {
// contains filtered or unexported fields
}
Ccn basic information
func (CcnBasicInfo) BandWithLimitType ¶
func (info CcnBasicInfo) BandWithLimitType() string
func (CcnBasicInfo) CcnId ¶
func (info CcnBasicInfo) CcnId() string
func (CcnBasicInfo) CreateTime ¶
func (info CcnBasicInfo) CreateTime() string
func (CcnBasicInfo) Name ¶
func (info CcnBasicInfo) Name() string
type CcnInstanceBind ¶ added in v1.81.109
type CcnInstanceBind struct {
// contains filtered or unexported fields
}
type CcnInstanceBindApiResponse ¶ added in v1.81.109
type CcnInstanceBindApiResponse struct {
Response CcnInstanceBindResponseData `json:"Response"`
}
type CcnInstanceBindResponseData ¶ added in v1.81.109
type CcnInstanceBindResponseData struct { InstanceBindSet []struct { AliasInstanceId string `json:"AliasInstanceId"` AliasType string `json:"AliasType"` CcnId string `json:"CcnId"` InstanceBindTime string `json:"InstanceBindTime"` InstanceId string `json:"InstanceId"` InstanceName string `json:"InstanceName"` InstanceRegion string `json:"InstanceRegion"` InstanceType string `json:"InstanceType"` InstanceUin string `json:"InstanceUin"` RouteTableId string `json:"RouteTableId"` State string `json:"State"` } `json:"InstanceBindSet"` RequestId string `json:"RequestId"` TotalCount int `json:"TotalCount"` }
type VpcService ¶
type VpcService struct {
// contains filtered or unexported fields
}
func NewVpcService ¶
func NewVpcService(client *connectivity.TencentCloudClient) VpcService
func (*VpcService) AttachCcnInstances ¶
func (me *VpcService) AttachCcnInstances(ctx context.Context, ccnId, instanceRegion, instanceType, instanceId, ccnUin, description, routeTableId string) (errRet error)
func (*VpcService) CreateCcn ¶
func (me *VpcService) CreateCcn(ctx context.Context, name, description, qos, chargeType, bandWithLimitType string) (basicInfo CcnBasicInfo, errRet error)
func (*VpcService) DeleteCcn ¶
func (me *VpcService) DeleteCcn(ctx context.Context, ccnId string) (errRet error)
func (*VpcService) DescribeCcn ¶
func (me *VpcService) DescribeCcn(ctx context.Context, ccnId string) (info CcnBasicInfo, has int, errRet error)
func (*VpcService) DescribeCcnAttachedInstance ¶
func (me *VpcService) DescribeCcnAttachedInstance(ctx context.Context, ccnId, instanceRegion, instanceType, instanceId string) (info CcnAttachedInstanceInfo, has int, errRet error)
func (*VpcService) DescribeCcnAttachedInstances ¶
func (me *VpcService) DescribeCcnAttachedInstances(ctx context.Context, ccnId string) (infos []CcnAttachedInstanceInfo, errRet error)
func (*VpcService) DescribeCcnAttachmentsByInstance ¶
func (me *VpcService) DescribeCcnAttachmentsByInstance(ctx context.Context, instanceType string, instanceId string, instanceRegion string) (infos []vpc.CcnAttachedInstance, errRet error)
func (*VpcService) DescribeCcnCrossBorderComplianceByFilter ¶
func (me *VpcService) DescribeCcnCrossBorderComplianceByFilter(ctx context.Context, param map[string]interface{}) (crossBorderCompliance []*vpc.CrossBorderCompliance, errRet error)
func (*VpcService) DescribeCcnCrossBorderFlowMonitorByFilter ¶
func (me *VpcService) DescribeCcnCrossBorderFlowMonitorByFilter(ctx context.Context, param map[string]interface{}) (crossBorderFlowMonitor []*vpc.CrossBorderFlowMonitorData, errRet error)
func (*VpcService) DescribeCcnRegionBandwidthLimit ¶
func (*VpcService) DescribeCcnRegionBandwidthLimits ¶
func (me *VpcService) DescribeCcnRegionBandwidthLimits(ctx context.Context, ccnId string) (infos []CcnBandwidthLimit, errRet error)
func (*VpcService) DescribeCcns ¶
func (me *VpcService) DescribeCcns(ctx context.Context, ccnId, name string) (infos []CcnBasicInfo, errRet error)
func (*VpcService) DescribeRouteTableAssociatedInstancesById ¶ added in v1.81.109
func (me *VpcService) DescribeRouteTableAssociatedInstancesById(ctx context.Context, meta interface{}, ccnId, routeTableId string) (instanceBindList []CcnInstanceBind, errRet error)
func (*VpcService) DescribeTenantCcnByFilter ¶
func (me *VpcService) DescribeTenantCcnByFilter(ctx context.Context, param map[string]interface{}) (tenantCcn []*vpc.CcnInstanceInfo, errRet error)
func (*VpcService) DescribeVpcCcnRegionBandwidthLimitsByFilter ¶
func (me *VpcService) DescribeVpcCcnRegionBandwidthLimitsByFilter(ctx context.Context, param map[string]interface{}) (CcnRegionBandwidthLimits []*vpc.CcnBandwidth, errRet error)
func (*VpcService) DescribeVpcCcnRouteTablesById ¶ added in v1.81.109
func (me *VpcService) DescribeVpcCcnRouteTablesById(ctx context.Context, routeTableId string) (ccnRouteTable *vpc.CcnRouteTable, errRet error)
func (*VpcService) DescribeVpcCcnRoutesById ¶
func (*VpcService) DescribeVpcDescribeCcnRoutesByFilter ¶ added in v1.81.109
func (*VpcService) DescribeVpcReplaceCcnRouteTableBroadcastPolicysById ¶ added in v1.81.109
func (me *VpcService) DescribeVpcReplaceCcnRouteTableBroadcastPolicysById(ctx context.Context, ccnId, routeTableId string) (policySet *vpc.CcnRouteTableBroadcastPolicys, errRet error)
func (*VpcService) DescribeVpcReplaceCcnRouteTableInputPolicysById ¶ added in v1.81.109
func (me *VpcService) DescribeVpcReplaceCcnRouteTableInputPolicysById(ctx context.Context, ccnId, routeTableId string) (policySet *vpc.CcnRouteTableInputPolicys, errRet error)
func (*VpcService) DescribeVpcReplaceCcnRouteTableSelectionPolicysById ¶ added in v1.81.109
func (me *VpcService) DescribeVpcReplaceCcnRouteTableSelectionPolicysById(ctx context.Context, ccnId string) (routeSelectionPolicySet []*vpc.RouteSelectionPolicy, errRet error)
func (*VpcService) DetachCcnInstances ¶
func (me *VpcService) DetachCcnInstances(ctx context.Context, ccnId, instanceRegion, instanceType, instanceId string) (errRet error)
func (*VpcService) GetCcnRegionBandwidthLimit ¶
func (*VpcService) GetCcnRegionBandwidthLimits ¶
func (me *VpcService) GetCcnRegionBandwidthLimits(ctx context.Context, ccnID string) (infos []vpc.CcnRegionBandwidthLimit, errRet error)
func (*VpcService) ModifyCcnAttribute ¶
func (*VpcService) ModifyCcnRegionBandwidthLimitsType ¶
func (me *VpcService) ModifyCcnRegionBandwidthLimitsType(ctx context.Context, ccnID, limitType string) error
func (*VpcService) SetCcnRegionBandwidthLimits ¶
Source Files ¶
- data_source_tc_ccn_bandwidth_limits.go
- data_source_tc_ccn_cross_border_compliance.go
- data_source_tc_ccn_cross_border_flow_monitor.go
- data_source_tc_ccn_cross_border_region_bandwidth_limits.go
- data_source_tc_ccn_instances.go
- data_source_tc_ccn_routes.go
- data_source_tc_ccn_tenant_instances.go
- extension_cnn.go
- resource_tc_ccn.go
- resource_tc_ccn_attachment.go
- resource_tc_ccn_bandwidth_limit.go
- resource_tc_ccn_instances_accept_attach.go
- resource_tc_ccn_instances_reject_attach.go
- resource_tc_ccn_instances_reset_attach.go
- resource_tc_ccn_route_table.go
- resource_tc_ccn_route_table_associate_instance_config.go
- resource_tc_ccn_route_table_broadcast_policies.go
- resource_tc_ccn_route_table_input_policies.go
- resource_tc_ccn_route_table_selection_policies.go
- resource_tc_ccn_routes.go
- service_tencentcloud_ccn.go
Click to show internal directories.
Click to hide internal directories.