Documentation
      ¶
    
    
  
    
  
    Index ¶
- func NewCtyunBandwidth() resource.Resource
 - func NewCtyunBandwidthAssociationEip() resource.Resource
 - func NewCtyunBandwidths() datasource.DataSource
 - func NewCtyunEip() resource.Resource
 - func NewCtyunEipAssociation() resource.Resource
 - func NewCtyunEips() datasource.DataSource
 - func NewCtyunSecurityGroup() resource.Resource
 - func NewCtyunSecurityGroupRule() resource.Resource
 - func NewCtyunSecurityGroups() datasource.DataSource
 - func NewCtyunSubnet() resource.Resource
 - func NewCtyunSubnets() datasource.DataSource
 - func NewCtyunVpc() resource.Resource
 - func NewCtyunVpcRouteTable() resource.Resource
 - func NewCtyunVpcRouteTableRule() resource.Resource
 - func NewCtyunVpcRouteTableRules() datasource.DataSource
 - func NewCtyunVpcRouteTables() datasource.DataSource
 - func NewCtyunVpcs() datasource.DataSource
 - type CtyunBandwidAssociationEipConfig
 - type CtyunBandwidthConfig
 - type CtyunBandwidthsConfig
 - type CtyunBandwidthsEip
 - type CtyunBandwidthsModel
 - type CtyunEipAssociationConfig
 - type CtyunEipConfig
 - type CtyunEipsConfig
 - type CtyunEipsModel
 - type CtyunSecurityGroupConfig
 - type CtyunSecurityGroupRule
 - type CtyunSecurityGroupRuleConfig
 - type CtyunSecurityGroupsConfig
 - type CtyunSecurityGroupsModel
 - type CtyunSubnetConfig
 - type CtyunSubnetsConfig
 - type CtyunSubnetsModel
 - type CtyunVpcConfig
 - type CtyunVpcRouteTableConfig
 - type CtyunVpcRouteTableRuleConfig
 - type CtyunVpcRouteTableRulesConfig
 - type CtyunVpcRouteTableRulesModel
 - type CtyunVpcRouteTablesConfig
 - type CtyunVpcRouteTablesModel
 - type CtyunVpcsConfig
 - type CtyunVpcsModel
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCtyunBandwidth ¶
func NewCtyunBandwidths ¶
func NewCtyunBandwidths() datasource.DataSource
func NewCtyunEip ¶
func NewCtyunEipAssociation ¶
func NewCtyunEips ¶
func NewCtyunEips() datasource.DataSource
func NewCtyunSecurityGroup ¶
func NewCtyunSecurityGroups ¶
func NewCtyunSecurityGroups() datasource.DataSource
func NewCtyunSubnet ¶
func NewCtyunSubnets ¶
func NewCtyunSubnets() datasource.DataSource
func NewCtyunVpc ¶
func NewCtyunVpcRouteTable ¶
func NewCtyunVpcRouteTableRules ¶
func NewCtyunVpcRouteTableRules() datasource.DataSource
func NewCtyunVpcRouteTables ¶
func NewCtyunVpcRouteTables() datasource.DataSource
func NewCtyunVpcs ¶
func NewCtyunVpcs() datasource.DataSource
Types ¶
type CtyunBandwidthConfig ¶
type CtyunBandwidthConfig struct {
	CycleType  types.String `tfsdk:"cycle_type"`
	Bandwidth  types.Int32  `tfsdk:"bandwidth"`
	CycleCount types.Int64  `tfsdk:"cycle_count"`
	Name       types.String `tfsdk:"name"`
	Id         types.String `tfsdk:"id"`
	Status     types.String `tfsdk:"status"`
	ProjectId  types.String `tfsdk:"project_id"`
	RegionId   types.String `tfsdk:"region_id"`
}
    type CtyunBandwidthsConfig ¶
type CtyunBandwidthsConfig struct {
	RegionID     types.String           `tfsdk:"region_id"`
	ProjectID    types.String           `tfsdk:"project_id"`
	PageNo       types.Int32            `tfsdk:"page_no"`
	PageSize     types.Int32            `tfsdk:"page_size"`
	BandwidthID  types.String           `tfsdk:"bandwidth_id"`
	CurrentCount types.Int32            `tfsdk:"current_count"`
	TotalCount   types.Int32            `tfsdk:"total_count"`
	TotalPage    types.Int32            `tfsdk:"total_page"`
	Bandwidths   []CtyunBandwidthsModel `tfsdk:"bandwidths"`
}
    type CtyunBandwidthsEip ¶
type CtyunBandwidthsModel ¶
type CtyunBandwidthsModel struct {
	ID        types.String         `tfsdk:"id"`
	Name      types.String         `tfsdk:"name"`
	Bandwidth types.Int32          `tfsdk:"bandwidth"`
	Status    types.String         `tfsdk:"status"`
	Eips      []CtyunBandwidthsEip `tfsdk:"eips"`
	CreatedAt types.String         `tfsdk:"created_at"`
	ExpiredAt types.String         `tfsdk:"expired_at"`
}
    type CtyunEipConfig ¶
type CtyunEipConfig struct {
	Id                types.String `tfsdk:"id"`
	Name              types.String `tfsdk:"name"`
	CycleType         types.String `tfsdk:"cycle_type"`
	CycleCount        types.Int64  `tfsdk:"cycle_count"`
	Bandwidth         types.Int32  `tfsdk:"bandwidth"`
	CurrentBandwidth  types.Int32  `tfsdk:"current_bandwidth"`
	BandwidthType     types.String `tfsdk:"bandwidth_type"`
	DemandBillingType types.String `tfsdk:"demand_billing_type"`
	Address           types.String `tfsdk:"address"`
	Status            types.String `tfsdk:"status"`
	ExpireTime        types.String `tfsdk:"expire_time"`
	MasterOrderId     types.String `tfsdk:"master_order_id"`
	ProjectId         types.String `tfsdk:"project_id"`
	RegionId          types.String `tfsdk:"region_id"`
}
    type CtyunEipsConfig ¶
type CtyunEipsConfig struct {
	RegionID  types.String `tfsdk:"region_id"`
	ProjectID types.String `tfsdk:"project_id"`
	PageNo    types.Int32  `tfsdk:"page_no"`
	PageSize  types.Int32  `tfsdk:"page_size"`
	Ids       types.String `tfsdk:"ids"`
	Status    types.String `tfsdk:"status"`
	EipType   types.String `tfsdk:"eip_type"`
	Ip        types.String `tfsdk:"ip"`
	CurrentCount types.Int32      `tfsdk:"current_count"`
	TotalCount   types.Int32      `tfsdk:"total_count"`
	TotalPage    types.Int32      `tfsdk:"total_page"`
	Eips         []CtyunEipsModel `tfsdk:"eips"`
}
    type CtyunEipsModel ¶
type CtyunEipsModel struct {
	ID               types.String `tfsdk:"id"`
	Name             types.String `tfsdk:"name"`
	Description      types.String `tfsdk:"description"`
	EipAddress       types.String `tfsdk:"eip_address"`
	AssociationID    types.String `tfsdk:"association_id"`
	AssociationType  types.String `tfsdk:"association_type"`
	PrivateIpAddress types.String `tfsdk:"private_ip_address"`
	Bandwidth        types.Int32  `tfsdk:"bandwidth"`
	BandwidthID      types.String `tfsdk:"bandwidth_id"`
	BandwidthType    types.String `tfsdk:"bandwidth_type"`
	Status           types.String `tfsdk:"status"`
	Tags             types.String `tfsdk:"tags"`
	CreatedAt        types.String `tfsdk:"created_at"`
	UpdatedAt        types.String `tfsdk:"updated_at"`
	ExpiredAt        types.String `tfsdk:"expired_at"`
}
    type CtyunSecurityGroupRule ¶
type CtyunSecurityGroupRule struct {
	Direction       types.String `tfsdk:"direction"`
	Priority        types.Int32  `tfsdk:"priority"`
	Ethertype       types.String `tfsdk:"ethertype"`
	Protocol        types.String `tfsdk:"protocol"`
	Range           types.String `tfsdk:"range"`
	DestCidrIp      types.String `tfsdk:"dest_cidr_ip"`
	Description     types.String `tfsdk:"description"`
	CreateTime      types.String `tfsdk:"create_time"`
	RuleID          types.String `tfsdk:"rule_id"`
	SecurityGroupID types.String `tfsdk:"security_group_id"`
	Action          types.String `tfsdk:"action"`
}
    type CtyunSecurityGroupRuleConfig ¶
type CtyunSecurityGroupRuleConfig struct {
	Id              types.String `tfsdk:"id"`
	SecurityGroupId types.String `tfsdk:"security_group_id"`
	Direction       types.String `tfsdk:"direction"`
	Action          types.String `tfsdk:"action"`
	Priority        types.Int64  `tfsdk:"priority"`
	Protocol        types.String `tfsdk:"protocol"`
	EtherType       types.String `tfsdk:"ether_type"`
	DestCidrIp      types.String `tfsdk:"dest_cidr_ip"`
	Description     types.String `tfsdk:"description"`
	Range           types.String `tfsdk:"range"`
	RegionId        types.String `tfsdk:"region_id"`
}
    type CtyunSecurityGroupsConfig ¶
type CtyunSecurityGroupsConfig struct {
	RegionID        types.String `tfsdk:"region_id"`
	VpcID           types.String `tfsdk:"vpc_id"`
	PageNo          types.Int32  `tfsdk:"page_no"`
	PageSize        types.Int32  `tfsdk:"page_size"`
	InstanceID      types.String `tfsdk:"instance_id"`
	SecurityGroupID types.String `tfsdk:"security_group_id"`
	CurrentCount   types.Int32                `tfsdk:"current_count"`
	TotalCount     types.Int32                `tfsdk:"total_count"`
	TotalPage      types.Int32                `tfsdk:"total_page"`
	SecurityGroups []CtyunSecurityGroupsModel `tfsdk:"security_groups"`
}
    type CtyunSecurityGroupsModel ¶
type CtyunSecurityGroupsModel struct {
	Name                  types.String             `tfsdk:"name"`
	SecurityGroupID       types.String             `tfsdk:"security_group_id"`
	VmNum                 types.Int32              `tfsdk:"vm_num"`
	Origin                types.String             `tfsdk:"origin"`
	VpcName               types.String             `tfsdk:"vpc_name"`
	VpcID                 types.String             `tfsdk:"vpc_id"`
	CreationTime          types.String             `tfsdk:"creation_time"`
	Description           types.String             `tfsdk:"description"`
	SecurityGroupRuleList []CtyunSecurityGroupRule `tfsdk:"security_group_rule_list"`
}
    type CtyunSubnetConfig ¶
type CtyunSubnetConfig struct {
	Id          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	VpcId       types.String `tfsdk:"vpc_id"`
	Cidr        types.String `tfsdk:"cidr"`
	Description types.String `tfsdk:"description"`
	Dns         types.Set    `tfsdk:"dns"`
	EnableIpv6  types.Bool   `tfsdk:"enable_ipv6"`
	Type        types.String `tfsdk:"type"`
	GatewayIp   types.String `tfsdk:"gateway_ip"`
	Ipv4Start   types.String `tfsdk:"ipv4_start"`
	Ipv4End     types.String `tfsdk:"ipv4_end"`
	Ipv6Start   types.String `tfsdk:"ipv6_start"`
	Ipv6End     types.String `tfsdk:"ipv6_end"`
	ProjectId   types.String `tfsdk:"project_id"`
	RegionId    types.String `tfsdk:"region_id"`
}
    type CtyunSubnetsConfig ¶
type CtyunSubnetsConfig struct {
	RegionID types.String `tfsdk:"region_id"`
	VpcID    types.String `tfsdk:"vpc_id"`
	PageNo   types.Int32  `tfsdk:"page_no"`
	PageSize types.Int32  `tfsdk:"page_size"`
	SubnetID types.String `tfsdk:"subnet_id"`
	CurrentCount types.Int32         `tfsdk:"current_count"`
	TotalCount   types.Int32         `tfsdk:"total_count"`
	TotalPage    types.Int32         `tfsdk:"total_page"`
	Subnets      []CtyunSubnetsModel `tfsdk:"subnets"`
}
    type CtyunSubnetsModel ¶
type CtyunSubnetsModel struct {
	SubnetID          types.String `tfsdk:"subnet_id"`
	Name              types.String `tfsdk:"name"`
	Description       types.String `tfsdk:"description"`
	VpcID             types.String `tfsdk:"vpc_id"`
	AvailabilityZones types.Set    `tfsdk:"availability_zones"`
	RouteTableID      types.String `tfsdk:"route_table_id"`
	NetworkAclID      types.String `tfsdk:"network_acl_id"`
	CIDR              types.String `tfsdk:"cidr"`
	GatewayIP         types.String `tfsdk:"gateway_ip"`
	Start             types.String `tfsdk:"start"`
	End               types.String `tfsdk:"end"`
	AvailableIPCount  types.Int32  `tfsdk:"available_ipcount"`
	Ipv6Enabled       types.Int32  `tfsdk:"ipv6_enabled"`
	EnableIpv6        types.Bool   `tfsdk:"enable_ipv6"`
	Ipv6CIDR          types.String `tfsdk:"ipv6_cidr"`
	Ipv6Start         types.String `tfsdk:"ipv6_start"`
	Ipv6End           types.String `tfsdk:"ipv6_end"`
	Ipv6GatewayIP     types.String `tfsdk:"ipv6_gateway_ip"`
	DnsList           types.Set    `tfsdk:"dns_list"`
	NtpList           types.Set    `tfsdk:"ntp_list"`
	Type              types.Int32  `tfsdk:"type"`
	UpdatedAt         types.String `tfsdk:"updated_at"`
}
    type CtyunVpcConfig ¶
type CtyunVpcConfig struct {
	Id          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Cidr        types.String `tfsdk:"cidr"`
	EnableIpv6  types.Bool   `tfsdk:"enable_ipv6"`
	Description types.String `tfsdk:"description"`
	ProjectId   types.String `tfsdk:"project_id"`
	RegionId    types.String `tfsdk:"region_id"`
}
    type CtyunVpcRouteTableRuleConfig ¶
type CtyunVpcRouteTableRuleConfig struct {
	ID           types.String `tfsdk:"id"`
	RuleID       types.String `tfsdk:"rule_id"`
	RegionID     types.String `tfsdk:"region_id"`
	RouteTableID types.String `tfsdk:"route_table_id"`
	NextHopID    types.String `tfsdk:"next_hop_id"`
	NextHopType  types.String `tfsdk:"next_hop_type"`
	Destination  types.String `tfsdk:"destination"`
	IpVersion    types.Int32  `tfsdk:"ip_version"`
	Description  types.String `tfsdk:"description"`
}
    type CtyunVpcRouteTableRulesConfig ¶
type CtyunVpcRouteTableRulesConfig struct {
	RegionID     types.String                   `tfsdk:"region_id"`
	RouteTableID types.String                   `tfsdk:"route_table_id"`
	PageNo       types.Int32                    `tfsdk:"page_no"`
	PageSize     types.Int32                    `tfsdk:"page_size"`
	CurrentCount types.Int32                    `tfsdk:"current_count"`
	TotalCount   types.Int32                    `tfsdk:"total_count"`
	TotalPage    types.Int32                    `tfsdk:"total_page"`
	Rules        []CtyunVpcRouteTableRulesModel `tfsdk:"rules"`
}
    type CtyunVpcRouteTableRulesModel ¶
type CtyunVpcRouteTableRulesModel struct {
	NextHopID   types.String `tfsdk:"next_hop_id"`
	NextHopType types.String `tfsdk:"next_hop_type"`
	Destination types.String `tfsdk:"destination"`
	IpVersion   types.Int32  `tfsdk:"ip_version"`
	Description types.String `tfsdk:"description"`
	RuleID      types.String `tfsdk:"rule_id"`
}
    type CtyunVpcRouteTablesConfig ¶
type CtyunVpcRouteTablesConfig struct {
	RegionID     types.String `tfsdk:"region_id"`
	VpcID        types.String `tfsdk:"vpc_id"`
	PageNo       types.Int32  `tfsdk:"page_no"`
	PageSize     types.Int32  `tfsdk:"page_size"`
	RouteTableID types.String `tfsdk:"route_table_id"`
	CurrentCount types.Int32                `tfsdk:"current_count"`
	TotalCount   types.Int32                `tfsdk:"total_count"`
	TotalPage    types.Int32                `tfsdk:"total_page"`
	RouteTables  []CtyunVpcRouteTablesModel `tfsdk:"route_tables"`
}
    type CtyunVpcRouteTablesModel ¶
type CtyunVpcRouteTablesModel struct {
	Name            types.String `tfsdk:"name"`
	VpcID           types.String `tfsdk:"vpc_id"`
	RouteTableID    types.String `tfsdk:"route_table_id"`
	Freezing        types.Bool   `tfsdk:"freezing"`
	RouteRulesCount types.Int32  `tfsdk:"route_rules_count"`
	CreatedAt       types.String `tfsdk:"created_at"`
	UpdatedAt       types.String `tfsdk:"updated_at"`
	Type            types.Int32  `tfsdk:"type"`
	Origin          types.String `tfsdk:"origin"`
}
    type CtyunVpcsConfig ¶
type CtyunVpcsConfig struct {
	RegionID  types.String `tfsdk:"region_id"`
	VpcID     types.String `tfsdk:"vpc_id"`
	PageNo    types.Int32  `tfsdk:"page_no"`
	PageSize  types.Int32  `tfsdk:"page_size"`
	ProjectID types.String `tfsdk:"project_id"`
	CurrentCount types.Int32      `tfsdk:"current_count"`
	TotalCount   types.Int32      `tfsdk:"total_count"`
	TotalPage    types.Int32      `tfsdk:"total_page"`
	Vpcs         []CtyunVpcsModel `tfsdk:"vpcs"`
}
    type CtyunVpcsModel ¶
type CtyunVpcsModel struct {
	VpcID          types.String `tfsdk:"vpc_id"`
	Name           types.String `tfsdk:"name"`
	Description    types.String `tfsdk:"description"`
	CIDR           types.String `tfsdk:"cidr"`
	Ipv6Enabled    types.Bool   `tfsdk:"ipv6_enabled"`
	EnableIpv6     types.Bool   `tfsdk:"enable_ipv6"`
	Ipv6CIDRS      []string     `tfsdk:"ipv6_cidrs"`
	SubnetIDs      []string     `tfsdk:"subnet_ids"`
	NatGatewayIDs  []string     `tfsdk:"nat_gateway_ids"`
	SecondaryCIDRS []string     `tfsdk:"secondary_cidrs"`
	ProjectID      types.String `tfsdk:"project_id"`
}
    
      
      Source Files
      ¶
    
- datasource_ctyun_bandwidths.go
 - datasource_ctyun_eips.go
 - datasource_ctyun_security_groups.go
 - datasource_ctyun_subnets.go
 - datasource_ctyun_vpc_route_table_rules.go
 - datasource_ctyun_vpc_route_tables.go
 - datasource_ctyun_vpcs.go
 - resource_ctyun_bandwidth.go
 - resource_ctyun_bandwidth_association_eip.go
 - resource_ctyun_eip.go
 - resource_ctyun_eip_association.go
 - resource_ctyun_security_group.go
 - resource_ctyun_security_group_rule.go
 - resource_ctyun_subnet.go
 - resource_ctyun_vpc.go
 - resource_ctyun_vpc_route_table.go
 - resource_ctyun_vpc_route_table_rule.go
 
 Click to show internal directories. 
   Click to hide internal directories.