network

package
v0.51.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network struct {
	SecurityGroups         []SecurityGroup
	NetworkWatcherFlowLogs []NetworkWatcherFlowLog
}

type NetworkWatcherFlowLog

type NetworkWatcherFlowLog struct {
	Metadata        iacTypes.Metadata
	RetentionPolicy RetentionPolicy
}

type PortRange

type PortRange struct {
	Metadata iacTypes.Metadata
	Start    int
	End      int
}

func (PortRange) Includes

func (r PortRange) Includes(port int) bool

type RetentionPolicy

type RetentionPolicy struct {
	Metadata iacTypes.Metadata
	Enabled  iacTypes.BoolValue
	Days     iacTypes.IntValue
}

type SecurityGroup

type SecurityGroup struct {
	Metadata iacTypes.Metadata
	Rules    []SecurityGroupRule
}

type SecurityGroupRule

type SecurityGroupRule struct {
	Metadata             iacTypes.Metadata
	Outbound             iacTypes.BoolValue
	Allow                iacTypes.BoolValue
	SourceAddresses      []iacTypes.StringValue
	SourcePorts          []PortRange
	DestinationAddresses []iacTypes.StringValue
	DestinationPorts     []PortRange
	Protocol             iacTypes.StringValue
}

Jump to

Keyboard shortcuts

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