networkinterface

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetworkInterfaceDataSource

func NewNetworkInterfaceDataSource() datasource.DataSource

NewNetworkDataSource is a helper function to simplify the provider implementation.

func NewNetworkInterfaceResource

func NewNetworkInterfaceResource() resource.Resource

NewNetworkInterfaceResource is a helper function to simplify the provider implementation.

Types

type Model

type Model struct {
	Id                 types.String `tfsdk:"id"` // needed by TF
	ProjectId          types.String `tfsdk:"project_id"`
	NetworkId          types.String `tfsdk:"network_id"`
	NetworkInterfaceId types.String `tfsdk:"network_interface_id"`
	Name               types.String `tfsdk:"name"`
	AllowedAddresses   types.List   `tfsdk:"allowed_addresses"`
	IPv4               types.String `tfsdk:"ipv4"`
	Labels             types.Map    `tfsdk:"labels"`
	Security           types.Bool   `tfsdk:"security"`
	SecurityGroupIds   types.List   `tfsdk:"security_group_ids"`
	Device             types.String `tfsdk:"device"`
	Mac                types.String `tfsdk:"mac"`
	Type               types.String `tfsdk:"type"`
}

Jump to

Keyboard shortcuts

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