resource_org_service

package
v0.2.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrgServiceResourceSchema

func OrgServiceResourceSchema(ctx context.Context) schema.Schema

func TerraformToSdk

func TerraformToSdk(ctx context.Context, plan *OrgServiceModel) (models.Service, diag.Diagnostics)

Types

type OrgServiceModel

type OrgServiceModel struct {
	Addresses                     types.List   `tfsdk:"addresses"`
	AppCategories                 types.List   `tfsdk:"app_categories"`
	AppSubcategories              types.List   `tfsdk:"app_subcategories"`
	Apps                          types.List   `tfsdk:"apps"`
	Description                   types.String `tfsdk:"description"`
	Dscp                          types.String `tfsdk:"dscp"`
	FailoverPolicy                types.String `tfsdk:"failover_policy"`
	Hostnames                     types.List   `tfsdk:"hostnames"`
	Id                            types.String `tfsdk:"id"`
	MaxJitter                     types.String `tfsdk:"max_jitter"`
	MaxLatency                    types.String `tfsdk:"max_latency"`
	MaxLoss                       types.String `tfsdk:"max_loss"`
	Name                          types.String `tfsdk:"name"`
	OrgId                         types.String `tfsdk:"org_id"`
	SleEnabled                    types.Bool   `tfsdk:"sle_enabled"`
	Specs                         types.List   `tfsdk:"specs"`
	SsrRelaxedTcpStateEnforcement types.Bool   `tfsdk:"ssr_relaxed_tcp_state_enforcement"`
	TrafficClass                  types.String `tfsdk:"traffic_class"`
	TrafficType                   types.String `tfsdk:"traffic_type"`
	Type                          types.String `tfsdk:"type"`
	Urls                          types.List   `tfsdk:"urls"`
}

type SpecsType

type SpecsType struct {
	basetypes.ObjectType
}

func (SpecsType) Equal

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

func (SpecsType) String

func (t SpecsType) String() string

func (SpecsType) ValueFromObject

func (SpecsType) ValueFromTerraform

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

func (SpecsType) ValueType

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

type SpecsValue

type SpecsValue struct {
	PortRange basetypes.StringValue `tfsdk:"port_range"`
	Protocol  basetypes.StringValue `tfsdk:"protocol"`
	// contains filtered or unexported fields
}

func NewSpecsValue

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

func NewSpecsValueMust

func NewSpecsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SpecsValue

func NewSpecsValueNull

func NewSpecsValueNull() SpecsValue

func NewSpecsValueUnknown

func NewSpecsValueUnknown() SpecsValue

func (SpecsValue) AttributeTypes

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

func (SpecsValue) Equal

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

func (SpecsValue) IsNull

func (v SpecsValue) IsNull() bool

func (SpecsValue) IsUnknown

func (v SpecsValue) IsUnknown() bool

func (SpecsValue) String

func (v SpecsValue) String() string

func (SpecsValue) ToObjectValue

func (SpecsValue) ToTerraformValue

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

func (SpecsValue) Type

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

Jump to

Keyboard shortcuts

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