vpc

package
v1.36.7 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MPL-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PoolID   = "0a2228f2-7f8a-45f1-8e09-9039e1d09975"
	PoolName = "admin_external_net"
)
View Source
const (

	// MaxCreateRoutes is the limitation of creating API
	MaxCreateRoutes int = 5
)

Variables

This section is empty.

Functions

func DataSourceBandWidth

func DataSourceBandWidth() *schema.Resource

func DataSourceBandWidthV2 added in v1.27.0

func DataSourceBandWidthV2() *schema.Resource

func DataSourceNetworkingNetworkV2

func DataSourceNetworkingNetworkV2() *schema.Resource

func DataSourceNetworkingPortV2

func DataSourceNetworkingPortV2() *schema.Resource

func DataSourceNetworkingSecGroupRuleIdsV2 added in v1.24.7

func DataSourceNetworkingSecGroupRuleIdsV2() *schema.Resource

func DataSourceNetworkingSecGroupV2

func DataSourceNetworkingSecGroupV2() *schema.Resource

func DataSourceVPCEipV1 added in v1.23.10

func DataSourceVPCEipV1() *schema.Resource

func DataSourceVPCRouteIdsV2

func DataSourceVPCRouteIdsV2() *schema.Resource

func DataSourceVPCRouteV2

func DataSourceVPCRouteV2() *schema.Resource

func DataSourceVirtualPrivateCloudVpcV1

func DataSourceVirtualPrivateCloudVpcV1() *schema.Resource

func DataSourceVpcPeeringConnectionV2

func DataSourceVpcPeeringConnectionV2() *schema.Resource

func DataSourceVpcSubnetIdsV1

func DataSourceVpcSubnetIdsV1() *schema.Resource

func DataSourceVpcSubnetV1

func DataSourceVpcSubnetV1() *schema.Resource

func ExtractValFromNid

func ExtractValFromNid(s string) (bool, string)

func ExtractValSFromNid

func ExtractValSFromNid(s string) (string, string)

func FormatNidFromValS

func FormatNidFromValS(_ string, id string) string

func ParseNetworkingVIPAssociateID

func ParseNetworkingVIPAssociateID(id string) (string, []string, error)

func ResourceBandwidthAssociateV2 added in v1.26.3

func ResourceBandwidthAssociateV2() *schema.Resource

func ResourceBandwidthV2 added in v1.26.3

func ResourceBandwidthV2() *schema.Resource

func ResourceNetworkingFloatingIPAssociateV2

func ResourceNetworkingFloatingIPAssociateV2() *schema.Resource

func ResourceNetworkingFloatingIPV2

func ResourceNetworkingFloatingIPV2() *schema.Resource

func ResourceNetworkingNetworkV2

func ResourceNetworkingNetworkV2() *schema.Resource

func ResourceNetworkingPortV2

func ResourceNetworkingPortV2() *schema.Resource

func ResourceNetworkingRouterInterfaceV2

func ResourceNetworkingRouterInterfaceV2() *schema.Resource

func ResourceNetworkingRouterRouteV2

func ResourceNetworkingRouterRouteV2() *schema.Resource

func ResourceNetworkingRouterV2

func ResourceNetworkingRouterV2() *schema.Resource

func ResourceNetworkingSecGroupRuleV2

func ResourceNetworkingSecGroupRuleV2() *schema.Resource

func ResourceNetworkingSecGroupV2

func ResourceNetworkingSecGroupV2() *schema.Resource

func ResourceNetworkingSubnetV2

func ResourceNetworkingSubnetV2() *schema.Resource

func ResourceNetworkingVIPAssociateV2

func ResourceNetworkingVIPAssociateV2() *schema.Resource

func ResourceNetworkingVIPV2

func ResourceNetworkingVIPV2() *schema.Resource

func ResourcePortSecurityGroupsV2

func ResourcePortSecurityGroupsV2(d *schema.ResourceData) []string

func ResourceVPCRouteTableV1 added in v1.35.11

func ResourceVPCRouteTableV1() *schema.Resource

func ResourceVPCRouteV2

func ResourceVPCRouteV2() *schema.Resource

func ResourceVirtualPrivateCloudV1

func ResourceVirtualPrivateCloudV1() *schema.Resource

func ResourceVpcEIPV1

func ResourceVpcEIPV1() *schema.Resource

func ResourceVpcFlowLogV1

func ResourceVpcFlowLogV1() *schema.Resource

func ResourceVpcPeeringConnectionAccepterV2

func ResourceVpcPeeringConnectionAccepterV2() *schema.Resource

func ResourceVpcPeeringConnectionV2

func ResourceVpcPeeringConnectionV2() *schema.Resource

func ResourceVpcSubnetV1

func ResourceVpcSubnetV1() *schema.Resource

func WaitForEIPActive

func WaitForEIPActive(ctx context.Context, client *golangsdk.ServiceClient, eipID string, timeout time.Duration) error

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.

type SubnetIP

type SubnetIP struct {
	ID  string
	IPs int
}

Source Files

Jump to

Keyboard shortcuts

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