networking

package
v0.7.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceNetworkingFloatingIP

func DataSourceNetworkingFloatingIP() *schema.Resource

func DataSourceNetworkingNetwork

func DataSourceNetworkingNetwork() *schema.Resource

func DataSourceNetworkingRouter

func DataSourceNetworkingRouter() *schema.Resource

func GetSDN

func GetSDN(d *schema.ResourceData) string

func NetworkingAttributesTags

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

func NetworkingReadAttributesTags

func NetworkingReadAttributesTags(d *schema.ResourceData, tags []string)

func NetworkingV2UpdateAttributesTags

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

func NewPortDataSource added in v0.4.0

func NewPortDataSource() datasource.DataSource

func NewSubnetDataSource added in v0.4.0

func NewSubnetDataSource() datasource.DataSource

func ResourceNetworkingFloating

func ResourceNetworkingFloating() *schema.Resource

func ResourceNetworkingFloatingIPAssociate

func ResourceNetworkingFloatingIPAssociate() *schema.Resource

func ResourceNetworkingNetwork

func ResourceNetworkingNetwork() *schema.Resource

func ResourceNetworkingPort

func ResourceNetworkingPort() *schema.Resource

func ResourceNetworkingPortSecGroupAssociate

func ResourceNetworkingPortSecGroupAssociate() *schema.Resource

func ResourceNetworkingRouter

func ResourceNetworkingRouter() *schema.Resource

func ResourceNetworkingRouterInterface

func ResourceNetworkingRouterInterface() *schema.Resource

func ResourceNetworkingRouterRoute

func ResourceNetworkingRouterRoute() *schema.Resource

func ResourceNetworkingSubnet

func ResourceNetworkingSubnet() *schema.Resource

func ResourceNetworkingSubnetRoute

func ResourceNetworkingSubnetRoute() *schema.Resource

func ValidateSDN

func ValidateSDN() schema.SchemaValidateDiagFunc

Types

type PortDataSource added in v0.4.0

type PortDataSource struct {
	// contains filtered or unexported fields
}

func (*PortDataSource) Configure added in v0.4.0

func (*PortDataSource) Metadata added in v0.4.0

func (*PortDataSource) Read added in v0.4.0

func (*PortDataSource) Schema added in v0.4.0

type PortDataSourceAllowedAddressPairModel added in v0.4.0

type PortDataSourceAllowedAddressPairModel struct {
	IPAddress  types.String `tfsdk:"ip_address"`
	MACAddress types.String `tfsdk:"mac_address"`
}

type PortDataSourceExtraDHCPOptionModel added in v0.4.0

type PortDataSourceExtraDHCPOptionModel struct {
	Name  types.String `tfsdk:"name"`
	Value types.String `tfsdk:"value"`
}

type PortDataSourceModel added in v0.4.0

type PortDataSourceModel struct {
	Region types.String `tfsdk:"region"`
	SDN    types.String `tfsdk:"sdn"`

	AdminStateUp        types.Bool                              `tfsdk:"admin_state_up"`
	AllFixedIPs         types.List                              `tfsdk:"all_fixed_ips"`
	AllSecurityGroupIDs types.Set                               `tfsdk:"all_security_group_ids"`
	AllTags             types.Set                               `tfsdk:"all_tags"`
	AllowedAddressPairs []PortDataSourceAllowedAddressPairModel `tfsdk:"allowed_address_pairs"`
	Description         types.String                            `tfsdk:"description"`
	DeviceID            types.String                            `tfsdk:"device_id"`
	DeviceOwner         types.String                            `tfsdk:"device_owner"`
	DNSAssignment       types.List                              `tfsdk:"dns_assignment"`
	DNSName             types.String                            `tfsdk:"dns_name"`
	ExtraDHCPOption     []PortDataSourceExtraDHCPOptionModel    `tfsdk:"extra_dhcp_option"`
	FixedIP             types.String                            `tfsdk:"fixed_ip"`
	ID                  types.String                            `tfsdk:"id"`
	MACAddress          types.String                            `tfsdk:"mac_address"`
	Name                types.String                            `tfsdk:"name"`
	NetworkID           types.String                            `tfsdk:"network_id"`
	PortID              types.String                            `tfsdk:"port_id"`
	ProjectID           types.String                            `tfsdk:"project_id"`
	SecurityGroupIDs    types.Set                               `tfsdk:"security_group_ids"`
	Status              types.String                            `tfsdk:"status"`
	Tags                types.Set                               `tfsdk:"tags"`
	TenantID            types.String                            `tfsdk:"tenant_id"`
}

type PrivateDNSDomainExt

type PrivateDNSDomainExt struct {
	PrivateDNSDomain string `json:"private_dns_domain,omitempty"`
}

type ServicesAccessExt

type ServicesAccessExt struct {
	ServicesAccess *bool `json:"enable_shadow_port,omitempty"`
}

type SubnetDataSource added in v0.4.0

type SubnetDataSource struct {
	// contains filtered or unexported fields
}

func (*SubnetDataSource) Configure added in v0.4.0

func (*SubnetDataSource) Metadata added in v0.4.0

func (*SubnetDataSource) Read added in v0.4.0

func (*SubnetDataSource) Schema added in v0.4.0

type SubnetDataSourceAllocationPoolModel added in v0.4.0

type SubnetDataSourceAllocationPoolModel struct {
	End   types.String `tfsdk:"end"`
	Start types.String `tfsdk:"start"`
}

type SubnetDataSourceHostRouteModel added in v0.4.0

type SubnetDataSourceHostRouteModel struct {
	DestinationCIDR types.String `tfsdk:"destination_cidr"`
	NextHop         types.String `tfsdk:"next_hop"`
}

type SubnetDataSourceModel added in v0.4.0

type SubnetDataSourceModel struct {
	SDN    types.String `tfsdk:"sdn"`
	Region types.String `tfsdk:"region"`

	AllTags         types.Set                             `tfsdk:"all_tags"`
	AllocationPools []SubnetDataSourceAllocationPoolModel `tfsdk:"allocation_pools"`
	CIDR            types.String                          `tfsdk:"cidr"`
	Description     types.String                          `tfsdk:"description"`
	DHCPEnabled     types.Bool                            `tfsdk:"dhcp_enabled"`
	DNSNameservers  types.Set                             `tfsdk:"dns_nameservers"`
	EnableDHCP      types.Bool                            `tfsdk:"enable_dhcp"`
	GatewayIP       types.String                          `tfsdk:"gateway_ip"`
	HostRoutes      []SubnetDataSourceHostRouteModel      `tfsdk:"host_routes"`
	ID              types.String                          `tfsdk:"id"`
	Name            types.String                          `tfsdk:"name"`
	NetworkID       types.String                          `tfsdk:"network_id"`
	SubnetID        types.String                          `tfsdk:"subnet_id"`
	SubnetPoolID    types.String                          `tfsdk:"subnetpool_id"`
	Tags            types.Set                             `tfsdk:"tags"`
	TenantID        types.String                          `tfsdk:"tenant_id"`
}

Jump to

Keyboard shortcuts

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