Documentation ¶
Index ¶
- Constants
- func DataSourceBandWidth() *schema.Resource
- func DataSourceBandWidthV2() *schema.Resource
- func DataSourceNetworkingNetworkV2() *schema.Resource
- func DataSourceNetworkingPortV2() *schema.Resource
- func DataSourceNetworkingSecGroupRuleIdsV2() *schema.Resource
- func DataSourceNetworkingSecGroupV2() *schema.Resource
- func DataSourceVPCEipV1() *schema.Resource
- func DataSourceVPCRouteIdsV2() *schema.Resource
- func DataSourceVPCRouteV2() *schema.Resource
- func DataSourceVirtualPrivateCloudVpcV1() *schema.Resource
- func DataSourceVpcPeeringConnectionV2() *schema.Resource
- func DataSourceVpcSubnetIdsV1() *schema.Resource
- func DataSourceVpcSubnetV1() *schema.Resource
- func ExtractValFromNid(s string) (bool, string)
- func ExtractValSFromNid(s string) (string, string)
- func FormatNidFromValS(_ string, id string) string
- func ParseNetworkingVIPAssociateID(id string) (string, []string, error)
- func ResourceBandwidthAssociateV2() *schema.Resource
- func ResourceBandwidthV2() *schema.Resource
- func ResourceNetworkingFloatingIPAssociateV2() *schema.Resource
- func ResourceNetworkingFloatingIPV2() *schema.Resource
- func ResourceNetworkingNetworkV2() *schema.Resource
- func ResourceNetworkingPortV2() *schema.Resource
- func ResourceNetworkingRouterInterfaceV2() *schema.Resource
- func ResourceNetworkingRouterRouteV2() *schema.Resource
- func ResourceNetworkingRouterV2() *schema.Resource
- func ResourceNetworkingSecGroupRuleV2() *schema.Resource
- func ResourceNetworkingSecGroupV2() *schema.Resource
- func ResourceNetworkingSubnetV2() *schema.Resource
- func ResourceNetworkingVIPAssociateV2() *schema.Resource
- func ResourceNetworkingVIPV2() *schema.Resource
- func ResourcePortSecurityGroupsV2(d *schema.ResourceData) []string
- func ResourceVPCRouteV2() *schema.Resource
- func ResourceVirtualPrivateCloudV1() *schema.Resource
- func ResourceVpcEIPV1() *schema.Resource
- func ResourceVpcFlowLogV1() *schema.Resource
- func ResourceVpcPeeringConnectionAccepterV2() *schema.Resource
- func ResourceVpcPeeringConnectionV2() *schema.Resource
- func ResourceVpcSubnetV1() *schema.Resource
- func WaitForEIPActive(ctx context.Context, client *golangsdk.ServiceClient, eipID string, ...) error
- type EIPCreateOpts
- type FloatingIPCreateOpts
- type NetworkCreateOpts
- type PortCreateOpts
- type RouterCreateOpts
- type SubnetCreateOpts
- type SubnetIP
Constants ¶
const ( PoolID = "0a2228f2-7f8a-45f1-8e09-9039e1d09975" PoolName = "admin_external_net" )
Variables ¶
This section is empty.
Functions ¶
func DataSourceBandWidth ¶
func DataSourceBandWidthV2 ¶ added in v1.27.0
func DataSourceNetworkingSecGroupRuleIdsV2 ¶ added in v1.24.7
func DataSourceVPCEipV1 ¶ added in v1.23.10
func DataSourceVPCRouteIdsV2 ¶
func DataSourceVPCRouteV2 ¶
func DataSourceVpcSubnetV1 ¶
func ExtractValFromNid ¶
func ExtractValSFromNid ¶
func FormatNidFromValS ¶
func ResourceBandwidthAssociateV2 ¶ added in v1.26.3
func ResourceBandwidthV2 ¶ added in v1.26.3
func ResourceNetworkingVIPV2 ¶
func ResourcePortSecurityGroupsV2 ¶
func ResourcePortSecurityGroupsV2(d *schema.ResourceData) []string
func ResourceVPCRouteV2 ¶
func ResourceVpcEIPV1 ¶
func ResourceVpcFlowLogV1 ¶
func ResourceVpcSubnetV1 ¶
func WaitForEIPActive ¶
Types ¶
type EIPCreateOpts ¶
type EIPCreateOpts struct { eips.ApplyOpts ValueSpecs map[string]string `json:"value_specs,omitempty"` }
EIPCreateOpts represents the attributes used when creating a new eip.
type FloatingIPCreateOpts ¶
type FloatingIPCreateOpts struct { floatingips.CreateOpts ValueSpecs map[string]string `json:"value_specs,omitempty"` }
FloatingIPCreateOpts represents the attributes used when creating a new floating ip.
func (FloatingIPCreateOpts) ToFloatingIPCreateMap ¶
func (opts FloatingIPCreateOpts) ToFloatingIPCreateMap() (map[string]interface{}, error)
ToFloatingIPCreateMap casts a CreateOpts struct to a map. It overrides floatingips.ToFloatingIPCreateMap to add the ValueSpecs field.
type NetworkCreateOpts ¶
type NetworkCreateOpts struct { networks.CreateOpts ValueSpecs map[string]string `json:"value_specs,omitempty"` }
NetworkCreateOpts represents the attributes used when creating a new network.
func (NetworkCreateOpts) ToNetworkCreateMap ¶
func (opts NetworkCreateOpts) ToNetworkCreateMap() (map[string]interface{}, error)
ToNetworkCreateMap casts a CreateOpts struct to a map. It overrides networks.ToNetworkCreateMap to add the ValueSpecs field.
type PortCreateOpts ¶
type PortCreateOpts struct { ports.CreateOpts ValueSpecs map[string]string `json:"value_specs,omitempty"` }
PortCreateOpts represents the attributes used when creating a new port.
func (PortCreateOpts) ToPortCreateMap ¶
func (opts PortCreateOpts) ToPortCreateMap() (map[string]interface{}, error)
ToPortCreateMap casts a CreateOpts struct to a map. It overrides ports.ToPortCreateMap to add the ValueSpecs field.
type RouterCreateOpts ¶
type RouterCreateOpts struct { routers.CreateOpts ValueSpecs map[string]string `json:"value_specs,omitempty"` }
RouterCreateOpts represents the attributes used when creating a new router.
func (RouterCreateOpts) ToRouterCreateMap ¶
func (opts RouterCreateOpts) ToRouterCreateMap() (map[string]interface{}, error)
ToRouterCreateMap casts a CreateOpts struct to a map. It overrides routers.ToRouterCreateMap to add the ValueSpecs field.
type SubnetCreateOpts ¶
type SubnetCreateOpts struct { subnets.CreateOpts ValueSpecs map[string]string `json:"value_specs,omitempty"` }
SubnetCreateOpts represents the attributes used when creating a new subnet.
func (SubnetCreateOpts) ToSubnetCreateMap ¶
func (opts SubnetCreateOpts) ToSubnetCreateMap() (map[string]interface{}, error)
ToSubnetCreateMap casts a CreateOpts struct to a map. It overrides subnets.ToSubnetCreateMap to add the ValueSpecs field.
Source Files ¶
- common.go
- data_source_opentelekomcloud_networking_network_v2.go
- data_source_opentelekomcloud_networking_port_v2.go
- data_source_opentelekomcloud_networking_secgroup_rule_ids_v2.go
- data_source_opentelekomcloud_networking_secgroup_v2.go
- data_source_opentelekomcloud_vpc_bandwidth.go
- data_source_opentelekomcloud_vpc_bandwidth_v2.go
- data_source_opentelekomcloud_vpc_eip_v1.go
- data_source_opentelekomcloud_vpc_peering_connection_v2.go
- data_source_opentelekomcloud_vpc_route_ids_v2.go
- data_source_opentelekomcloud_vpc_route_v2.go
- data_source_opentelekomcloud_vpc_subnet_ids_v1.go
- data_source_opentelekomcloud_vpc_subnet_v1.go
- data_source_opentelekomcloud_vpc_v1.go
- resource_opentelekomcloud_networking_floatingip_associate_v2.go
- resource_opentelekomcloud_networking_floatingip_v2.go
- resource_opentelekomcloud_networking_network_v2.go
- resource_opentelekomcloud_networking_port_v2.go
- resource_opentelekomcloud_networking_router_interface_v2.go
- resource_opentelekomcloud_networking_router_route_v2.go
- resource_opentelekomcloud_networking_router_v2.go
- resource_opentelekomcloud_networking_secgroup_rule_v2.go
- resource_opentelekomcloud_networking_secgroup_v2.go
- resource_opentelekomcloud_networking_subnet_v2.go
- resource_opentelekomcloud_networking_vip_associate_v2.go
- resource_opentelekomcloud_networking_vip_v2.go
- resource_opentelekomcloud_vpc_bandwidth_associate_v2.go
- resource_opentelekomcloud_vpc_bandwidth_v2.go
- resource_opentelekomcloud_vpc_eip_v1.go
- resource_opentelekomcloud_vpc_flow_log_v1.go
- resource_opentelekomcloud_vpc_peering_connection_accepter_v2.go
- resource_opentelekomcloud_vpc_peering_connection_v2.go
- resource_opentelekomcloud_vpc_route_v2.go
- resource_opentelekomcloud_vpc_subnet_v1.go
- resource_opentelekomcloud_vpc_v1.go
- types.go
- utils.go