resource_org_vpn

package
v0.1.36 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrgVpnResourceSchema

func OrgVpnResourceSchema(ctx context.Context) schema.Schema

func TerraformToSdk

func TerraformToSdk(ctx context.Context, plan *OrgVpnModel) (*models.Vpn, diag.Diagnostics)

Types

type OrgVpnModel

type OrgVpnModel struct {
	Id    types.String `tfsdk:"id"`
	Name  types.String `tfsdk:"name"`
	OrgId types.String `tfsdk:"org_id"`
	Paths types.Map    `tfsdk:"paths"`
}

func SdkToTerraform

func SdkToTerraform(ctx context.Context, d *models.Vpn) (OrgVpnModel, diag.Diagnostics)

type PathsType

type PathsType struct {
	basetypes.ObjectType
}

func (PathsType) Equal

func (t PathsType) Equal(o attr.Type) bool

func (PathsType) String

func (t PathsType) String() string

func (PathsType) ValueFromObject

func (PathsType) ValueFromTerraform

func (t PathsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (PathsType) ValueType

func (t PathsType) ValueType(ctx context.Context) attr.Value

type PathsValue

type PathsValue struct {
	BfdProfile basetypes.StringValue `tfsdk:"bfd_profile"`
	Ip         basetypes.StringValue `tfsdk:"ip"`
	Pod        basetypes.Int64Value  `tfsdk:"pod"`
	// contains filtered or unexported fields
}

func NewPathsValue

func NewPathsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PathsValue, diag.Diagnostics)

func NewPathsValueMust

func NewPathsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PathsValue

func NewPathsValueNull

func NewPathsValueNull() PathsValue

func NewPathsValueUnknown

func NewPathsValueUnknown() PathsValue

func (PathsValue) AttributeTypes

func (v PathsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (PathsValue) Equal

func (v PathsValue) Equal(o attr.Value) bool

func (PathsValue) IsNull

func (v PathsValue) IsNull() bool

func (PathsValue) IsUnknown

func (v PathsValue) IsUnknown() bool

func (PathsValue) String

func (v PathsValue) String() string

func (PathsValue) ToObjectValue

func (PathsValue) ToTerraformValue

func (v PathsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (PathsValue) Type

func (v PathsValue) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

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