vpce

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCtyunVpce

func NewCtyunVpce() resource.Resource

func NewCtyunVpceService

func NewCtyunVpceService() resource.Resource

func NewCtyunVpceServiceConnection

func NewCtyunVpceServiceConnection() resource.Resource

func NewCtyunVpceServiceReverseRule

func NewCtyunVpceServiceReverseRule() resource.Resource

func NewCtyunVpceServiceReverseRules

func NewCtyunVpceServiceReverseRules() datasource.DataSource

func NewCtyunVpceServiceTransitIP

func NewCtyunVpceServiceTransitIP() resource.Resource

func NewCtyunVpceServiceTransitIPs

func NewCtyunVpceServiceTransitIPs() datasource.DataSource

func NewCtyunVpceServices

func NewCtyunVpceServices() datasource.DataSource

func NewCtyunVpces

func NewCtyunVpces() datasource.DataSource

Types

type CtyunVpceConfig

type CtyunVpceConfig struct {
	ID                types.String `tfsdk:"id"`
	MasterOrderID     types.String `tfsdk:"master_order_id"`
	EndpointServiceID types.String `tfsdk:"endpoint_service_id"`
	RegionID          types.String `tfsdk:"region_id"`
	VpcID             types.String `tfsdk:"vpc_id"`
	Name              types.String `tfsdk:"name"`
	SubnetID          types.String `tfsdk:"subnet_id"`
	SubnetIP          types.String `tfsdk:"subnet_ip"`
	WhitelistFlag     types.Bool   `tfsdk:"whitelist_flag"`
	WhitelistCidr     types.Set    `tfsdk:"whitelist_cidr"`
	Status            types.Int32  `tfsdk:"status"`
}

type CtyunVpceServiceConfig

type CtyunVpceServiceConfig struct {
	ID             types.String `tfsdk:"id"`
	RegionID       types.String `tfsdk:"region_id"`
	VpcID          types.String `tfsdk:"vpc_id"`
	Type           types.String `tfsdk:"type"`
	Name           types.String `tfsdk:"name"`
	InstanceType   types.String `tfsdk:"instance_type"`
	InstanceID     types.String `tfsdk:"instance_id"`
	SubnetID       types.String `tfsdk:"subnet_id"`
	AutoConnection types.Bool   `tfsdk:"auto_connection"`
	Rules          types.Set    `tfsdk:"rules"`
	WhitelistEmail types.Set    `tfsdk:"whitelist_email"`
	// contains filtered or unexported fields
}

type CtyunVpceServiceConnectionConfig

type CtyunVpceServiceConnectionConfig struct {
	ID                types.String `tfsdk:"id"`
	RegionID          types.String `tfsdk:"region_id"`
	EndpointServiceID types.String `tfsdk:"endpoint_service_id"`
	EndpointID        types.String `tfsdk:"endpoint_id"`
	Status            types.String `tfsdk:"status"`
}

type CtyunVpceServiceReverseRuleConfig

type CtyunVpceServiceReverseRuleConfig struct {
	ID                types.String `tfsdk:"id"`
	EndpointServiceID types.String `tfsdk:"endpoint_service_id"`
	EndpointID        types.String `tfsdk:"endpoint_id"`
	RegionID          types.String `tfsdk:"region_id"`
	TransitIP         types.String `tfsdk:"transit_ip"`
	TransitPort       types.Int32  `tfsdk:"transit_port"`
	TargetIP          types.String `tfsdk:"target_ip"`
	TargetPort        types.Int32  `tfsdk:"target_port"`
	Protocol          types.String `tfsdk:"protocol"`
}

type CtyunVpceServiceReverseRulesConfig

type CtyunVpceServiceReverseRulesConfig struct {
	EndpointServiceID types.String `tfsdk:"endpoint_service_id"`
	RegionID          types.String `tfsdk:"region_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        []CtyunVpceServiceReverseRulesModel `tfsdk:"rules"`
}

type CtyunVpceServiceReverseRulesModel

type CtyunVpceServiceReverseRulesModel struct {
	ID          types.String `tfsdk:"id"`
	EndpointID  types.String `tfsdk:"endpoint_id"`
	TransitIP   types.String `tfsdk:"transit_ip"`
	TransitPort types.Int32  `tfsdk:"transit_port"`
	TargetIP    types.String `tfsdk:"target_ip"`
	TargetPort  types.Int32  `tfsdk:"target_port"`
	Protocol    types.String `tfsdk:"protocol"`
	CreatedAt   types.String `tfsdk:"created_at"`
}

type CtyunVpceServiceRule

type CtyunVpceServiceRule struct {
	Protocol     types.String `tfsdk:"protocol"`
	ServerPort   types.Int32  `tfsdk:"server_port"`
	EndpointPort types.Int32  `tfsdk:"endpoint_port"`
}

type CtyunVpceServiceTransitIPConfig

type CtyunVpceServiceTransitIPConfig struct {
	ID                types.String `tfsdk:"id"`
	EndpointServiceID types.String `tfsdk:"endpoint_service_id"`
	RegionID          types.String `tfsdk:"region_id"`
	SubnetID          types.String `tfsdk:"subnet_id"`
	TransitIP         types.String `tfsdk:"transit_ip"`
}

type CtyunVpceServiceTransitIPsConfig

type CtyunVpceServiceTransitIPsConfig struct {
	EndpointServiceID types.String `tfsdk:"endpoint_service_id"`
	RegionID          types.String `tfsdk:"region_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"`
	IPs          []CtyunVpceServiceTransitIPsModel `tfsdk:"ips"`
}

type CtyunVpceServiceTransitIPsModel

type CtyunVpceServiceTransitIPsModel struct {
	ID        types.String `tfsdk:"id"`
	SubnetID  types.String `tfsdk:"subnet_id"`
	TransitIP types.String `tfsdk:"transit_ip"`
	CreatedAt types.String `tfsdk:"created_at"`
}

type CtyunVpceServicesConfig

type CtyunVpceServicesConfig struct {
	RegionID          types.String             `tfsdk:"region_id"`
	PageNo            types.Int32              `tfsdk:"page_no"`
	PageSize          types.Int32              `tfsdk:"page_size"`
	EndpointServiceID types.String             `tfsdk:"endpoint_service_id"`
	CurrentCount      types.Int32              `tfsdk:"current_count"`
	TotalCount        types.Int32              `tfsdk:"total_count"`
	TotalPage         types.Int32              `tfsdk:"total_page"`
	VpceServices      []CtyunVpceServicesModel `tfsdk:"vpce_services"`
}

type CtyunVpceServicesModel

type CtyunVpceServicesModel struct {
	ID             types.String            `tfsdk:"id"`
	Name           types.String            `tfsdk:"name"`
	VpcID          types.String            `tfsdk:"vpc_id"`
	Description    types.String            `tfsdk:"description"`
	Type           types.String            `tfsdk:"type"`
	AutoConnection types.Bool              `tfsdk:"auto_connection"`
	Rules          []CtyunVpceServicesRule `tfsdk:"rules"`
	InstanceType   types.String            `tfsdk:"instance_type"`
	InstanceID     types.String            `tfsdk:"instance_id"`
	CreatedAt      types.String            `tfsdk:"created_at"`
	UpdatedAt      types.String            `tfsdk:"updated_at"`
}

type CtyunVpceServicesRule

type CtyunVpceServicesRule struct {
	Protocol     types.String `tfsdk:"protocol"`
	ServerPort   types.Int32  `tfsdk:"server_port"`
	EndpointPort types.Int32  `tfsdk:"endpoint_port"`
}

type CtyunVpcesConfig

type CtyunVpcesConfig struct {
	RegionID   types.String `tfsdk:"region_id"`
	PageNo     types.Int32  `tfsdk:"page_no"`
	PageSize   types.Int32  `tfsdk:"page_size"`
	EndpointID types.String `tfsdk:"endpoint_id"`

	CurrentCount types.Int32       `tfsdk:"current_count"`
	TotalCount   types.Int32       `tfsdk:"total_count"`
	TotalPage    types.Int32       `tfsdk:"total_page"`
	Vpces        []CtyunVpcesModel `tfsdk:"vpces"`
}

type CtyunVpcesModel

type CtyunVpcesModel struct {
	ID                types.String `tfsdk:"id"`
	EndpointServiceID types.String `tfsdk:"endpoint_service_id"`
	Type              types.String `tfsdk:"type"`
	Name              types.String `tfsdk:"name"`
	VpcID             types.String `tfsdk:"vpc_id"`
	SubnetID          types.String `tfsdk:"subnet_id"`
	SubnetIP          types.String `tfsdk:"subnet_ip"`
	WhitelistCidr     types.Set    `tfsdk:"whitelist_cidr"`
	Status            types.Int32  `tfsdk:"status"`
	CreatedTime       types.String `tfsdk:"created_time"`
	UpdatedTime       types.String `tfsdk:"updated_time"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL