openstack

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compute

type Compute struct {
	types.Metadata
	Instances []Instance
	Firewall  Firewall
}

type Firewall

type Firewall struct {
	types.Metadata
	AllowRules []FirewallRule
	DenyRules  []FirewallRule
}

type FirewallRule added in v0.12.0

type FirewallRule struct {
	types.Metadata
	Source          types.StringValue
	Destination     types.StringValue
	SourcePort      types.StringValue
	DestinationPort types.StringValue
	Enabled         types.BoolValue
}

type Instance

type Instance struct {
	types.Metadata
	AdminPassword types.StringValue
}

type Networking added in v0.12.0

type Networking struct {
	SecurityGroups []SecurityGroup
}

type OpenStack

type OpenStack struct {
	types.Metadata
	Compute    Compute
	Networking Networking
}

type SecurityGroup added in v0.12.0

type SecurityGroup struct {
	types.Metadata
	Name        types.StringValue
	Description types.StringValue
	Rules       []SecurityGroupRule
}

type SecurityGroupRule added in v0.12.0

type SecurityGroupRule struct {
	types.Metadata
	IsIngress types.BoolValue
	EtherType types.IntValue    // 4 or 6 for ipv4/ipv6
	Protocol  types.StringValue // e.g. tcp
	PortMin   types.IntValue
	PortMax   types.IntValue
	CIDR      types.StringValue
}

SecurityGroupRule describes https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_secgroup_rule_v2

Jump to

Keyboard shortcuts

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