Documentation
¶
Index ¶
- func NewCtyunVpce() resource.Resource
- func NewCtyunVpceService() resource.Resource
- func NewCtyunVpceServiceConnection() resource.Resource
- func NewCtyunVpceServiceReverseRule() resource.Resource
- func NewCtyunVpceServiceReverseRules() datasource.DataSource
- func NewCtyunVpceServiceTransitIP() resource.Resource
- func NewCtyunVpceServiceTransitIPs() datasource.DataSource
- func NewCtyunVpceServices() datasource.DataSource
- func NewCtyunVpces() datasource.DataSource
- type CtyunVpceConfig
- type CtyunVpceServiceConfig
- type CtyunVpceServiceConnectionConfig
- type CtyunVpceServiceReverseRuleConfig
- type CtyunVpceServiceReverseRulesConfig
- type CtyunVpceServiceReverseRulesModel
- type CtyunVpceServiceRule
- type CtyunVpceServiceTransitIPConfig
- type CtyunVpceServiceTransitIPsConfig
- type CtyunVpceServiceTransitIPsModel
- type CtyunVpceServicesConfig
- type CtyunVpceServicesModel
- type CtyunVpceServicesRule
- type CtyunVpcesConfig
- type CtyunVpcesModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCtyunVpce ¶
func NewCtyunVpceService ¶
func NewCtyunVpceServiceReverseRules ¶
func NewCtyunVpceServiceReverseRules() datasource.DataSource
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 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 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 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 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"`
}
Source Files
¶
- datasource_ctyun_vpce_service_reverse_rules.go
- datasource_ctyun_vpce_service_transit_ips.go
- datasource_ctyun_vpce_services.go
- datasource_ctyun_vpces.go
- resource_ctyun_vpce.go
- resource_ctyun_vpce_service.go
- resource_ctyun_vpce_service_connection.go
- resource_ctyun_vpce_service_reverse_rule.go
- resource_ctyun_vpce_service_transit_ip.go
Click to show internal directories.
Click to hide internal directories.