resource_device_ap

package
v0.1.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteTerraformToSdk

func DeleteTerraformToSdk(ctx context.Context) (models.MistDevice, diag.Diagnostics)

func DeviceApResourceSchema

func DeviceApResourceSchema(ctx context.Context) schema.Schema

func TerraformToSdk

func TerraformToSdk(ctx context.Context, plan *DeviceApModel) (models.MistDevice, diag.Diagnostics)

Types

type AeroscoutType

type AeroscoutType struct {
	basetypes.ObjectType
}

func (AeroscoutType) Equal

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

func (AeroscoutType) String

func (t AeroscoutType) String() string

func (AeroscoutType) ValueFromObject

func (AeroscoutType) ValueFromTerraform

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

func (AeroscoutType) ValueType

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

type AeroscoutValue

type AeroscoutValue struct {
	Enabled         basetypes.BoolValue   `tfsdk:"enabled"`
	Host            basetypes.StringValue `tfsdk:"host"`
	LocateConnected basetypes.BoolValue   `tfsdk:"locate_connected"`
	// contains filtered or unexported fields
}

func NewAeroscoutValue

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

func NewAeroscoutValueMust

func NewAeroscoutValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) AeroscoutValue

func NewAeroscoutValueNull

func NewAeroscoutValueNull() AeroscoutValue

func NewAeroscoutValueUnknown

func NewAeroscoutValueUnknown() AeroscoutValue

func (AeroscoutValue) AttributeTypes

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

func (AeroscoutValue) Equal

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

func (AeroscoutValue) IsNull

func (v AeroscoutValue) IsNull() bool

func (AeroscoutValue) IsUnknown

func (v AeroscoutValue) IsUnknown() bool

func (AeroscoutValue) String

func (v AeroscoutValue) String() string

func (AeroscoutValue) ToObjectValue

func (AeroscoutValue) ToTerraformValue

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

func (AeroscoutValue) Type

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

type AuthType

type AuthType struct {
	basetypes.ObjectType
}

func (AuthType) Equal

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

func (AuthType) String

func (t AuthType) String() string

func (AuthType) ValueFromObject

func (AuthType) ValueFromTerraform

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

func (AuthType) ValueType

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

type AuthValue

type AuthValue struct {
	Psk      basetypes.StringValue `tfsdk:"psk"`
	AuthType basetypes.StringValue `tfsdk:"type"`
	// contains filtered or unexported fields
}

func NewAuthValue

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

func NewAuthValueMust

func NewAuthValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) AuthValue

func NewAuthValueNull

func NewAuthValueNull() AuthValue

func NewAuthValueUnknown

func NewAuthValueUnknown() AuthValue

func (AuthValue) AttributeTypes

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

func (AuthValue) Equal

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

func (AuthValue) IsNull

func (v AuthValue) IsNull() bool

func (AuthValue) IsUnknown

func (v AuthValue) IsUnknown() bool

func (AuthValue) String

func (v AuthValue) String() string

func (AuthValue) ToObjectValue

func (v AuthValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (AuthValue) ToTerraformValue

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

func (AuthValue) Type

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

type Band24Type

type Band24Type struct {
	basetypes.ObjectType
}

func (Band24Type) Equal

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

func (Band24Type) String

func (t Band24Type) String() string

func (Band24Type) ValueFromObject

func (Band24Type) ValueFromTerraform

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

func (Band24Type) ValueType

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

type Band24Value

type Band24Value struct {
	AllowRrmDisable basetypes.BoolValue   `tfsdk:"allow_rrm_disable"`
	AntGain         basetypes.Int64Value  `tfsdk:"ant_gain"`
	AntennaMode     basetypes.StringValue `tfsdk:"antenna_mode"`
	Bandwidth       basetypes.Int64Value  `tfsdk:"bandwidth"`
	Channel         basetypes.Int64Value  `tfsdk:"channel"`
	Channels        basetypes.ListValue   `tfsdk:"channels"`
	Disabled        basetypes.BoolValue   `tfsdk:"disabled"`
	Power           basetypes.Int64Value  `tfsdk:"power"`
	PowerMax        basetypes.Int64Value  `tfsdk:"power_max"`
	PowerMin        basetypes.Int64Value  `tfsdk:"power_min"`
	Preamble        basetypes.StringValue `tfsdk:"preamble"`
	// contains filtered or unexported fields
}

func NewBand24Value

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

func NewBand24ValueMust

func NewBand24ValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) Band24Value

func NewBand24ValueNull

func NewBand24ValueNull() Band24Value

func NewBand24ValueUnknown

func NewBand24ValueUnknown() Band24Value

func (Band24Value) AttributeTypes

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

func (Band24Value) Equal

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

func (Band24Value) IsNull

func (v Band24Value) IsNull() bool

func (Band24Value) IsUnknown

func (v Band24Value) IsUnknown() bool

func (Band24Value) String

func (v Band24Value) String() string

func (Band24Value) ToObjectValue

func (Band24Value) ToTerraformValue

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

func (Band24Value) Type

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

type Band5On24RadioType

type Band5On24RadioType struct {
	basetypes.ObjectType
}

func (Band5On24RadioType) Equal

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

func (Band5On24RadioType) String

func (t Band5On24RadioType) String() string

func (Band5On24RadioType) ValueFromObject

func (Band5On24RadioType) ValueFromTerraform

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

func (Band5On24RadioType) ValueType

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

type Band5On24RadioValue

type Band5On24RadioValue struct {
	AllowRrmDisable basetypes.BoolValue   `tfsdk:"allow_rrm_disable"`
	AntGain         basetypes.Int64Value  `tfsdk:"ant_gain"`
	AntennaMode     basetypes.StringValue `tfsdk:"antenna_mode"`
	Bandwidth       basetypes.Int64Value  `tfsdk:"bandwidth"`
	Channel         basetypes.Int64Value  `tfsdk:"channel"`
	Channels        basetypes.ListValue   `tfsdk:"channels"`
	Disabled        basetypes.BoolValue   `tfsdk:"disabled"`
	Power           basetypes.Int64Value  `tfsdk:"power"`
	PowerMax        basetypes.Int64Value  `tfsdk:"power_max"`
	PowerMin        basetypes.Int64Value  `tfsdk:"power_min"`
	Preamble        basetypes.StringValue `tfsdk:"preamble"`
	// contains filtered or unexported fields
}

func NewBand5On24RadioValue

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

func NewBand5On24RadioValueMust

func NewBand5On24RadioValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) Band5On24RadioValue

func NewBand5On24RadioValueNull

func NewBand5On24RadioValueNull() Band5On24RadioValue

func NewBand5On24RadioValueUnknown

func NewBand5On24RadioValueUnknown() Band5On24RadioValue

func (Band5On24RadioValue) AttributeTypes

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

func (Band5On24RadioValue) Equal

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

func (Band5On24RadioValue) IsNull

func (v Band5On24RadioValue) IsNull() bool

func (Band5On24RadioValue) IsUnknown

func (v Band5On24RadioValue) IsUnknown() bool

func (Band5On24RadioValue) String

func (v Band5On24RadioValue) String() string

func (Band5On24RadioValue) ToObjectValue

func (Band5On24RadioValue) ToTerraformValue

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

func (Band5On24RadioValue) Type

type Band5Type

type Band5Type struct {
	basetypes.ObjectType
}

func (Band5Type) Equal

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

func (Band5Type) String

func (t Band5Type) String() string

func (Band5Type) ValueFromObject

func (Band5Type) ValueFromTerraform

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

func (Band5Type) ValueType

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

type Band5Value

type Band5Value struct {
	AllowRrmDisable basetypes.BoolValue   `tfsdk:"allow_rrm_disable"`
	AntGain         basetypes.Int64Value  `tfsdk:"ant_gain"`
	AntennaMode     basetypes.StringValue `tfsdk:"antenna_mode"`
	Bandwidth       basetypes.Int64Value  `tfsdk:"bandwidth"`
	Channel         basetypes.Int64Value  `tfsdk:"channel"`
	Channels        basetypes.ListValue   `tfsdk:"channels"`
	Disabled        basetypes.BoolValue   `tfsdk:"disabled"`
	Power           basetypes.Int64Value  `tfsdk:"power"`
	PowerMax        basetypes.Int64Value  `tfsdk:"power_max"`
	PowerMin        basetypes.Int64Value  `tfsdk:"power_min"`
	Preamble        basetypes.StringValue `tfsdk:"preamble"`
	// contains filtered or unexported fields
}

func NewBand5Value

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

func NewBand5ValueMust

func NewBand5ValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) Band5Value

func NewBand5ValueNull

func NewBand5ValueNull() Band5Value

func NewBand5ValueUnknown

func NewBand5ValueUnknown() Band5Value

func (Band5Value) AttributeTypes

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

func (Band5Value) Equal

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

func (Band5Value) IsNull

func (v Band5Value) IsNull() bool

func (Band5Value) IsUnknown

func (v Band5Value) IsUnknown() bool

func (Band5Value) String

func (v Band5Value) String() string

func (Band5Value) ToObjectValue

func (Band5Value) ToTerraformValue

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

func (Band5Value) Type

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

type Band6Type

type Band6Type struct {
	basetypes.ObjectType
}

func (Band6Type) Equal

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

func (Band6Type) String

func (t Band6Type) String() string

func (Band6Type) ValueFromObject

func (Band6Type) ValueFromTerraform

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

func (Band6Type) ValueType

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

type Band6Value

type Band6Value struct {
	AllowRrmDisable basetypes.BoolValue   `tfsdk:"allow_rrm_disable"`
	AntGain         basetypes.Int64Value  `tfsdk:"ant_gain"`
	AntennaMode     basetypes.StringValue `tfsdk:"antenna_mode"`
	Bandwidth       basetypes.Int64Value  `tfsdk:"bandwidth"`
	Channel         basetypes.Int64Value  `tfsdk:"channel"`
	Channels        basetypes.ListValue   `tfsdk:"channels"`
	Disabled        basetypes.BoolValue   `tfsdk:"disabled"`
	Power           basetypes.Int64Value  `tfsdk:"power"`
	PowerMax        basetypes.Int64Value  `tfsdk:"power_max"`
	PowerMin        basetypes.Int64Value  `tfsdk:"power_min"`
	Preamble        basetypes.StringValue `tfsdk:"preamble"`
	StandardPower   basetypes.BoolValue   `tfsdk:"standard_power"`
	// contains filtered or unexported fields
}

func NewBand6Value

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

func NewBand6ValueMust

func NewBand6ValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) Band6Value

func NewBand6ValueNull

func NewBand6ValueNull() Band6Value

func NewBand6ValueUnknown

func NewBand6ValueUnknown() Band6Value

func (Band6Value) AttributeTypes

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

func (Band6Value) Equal

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

func (Band6Value) IsNull

func (v Band6Value) IsNull() bool

func (Band6Value) IsUnknown

func (v Band6Value) IsUnknown() bool

func (Band6Value) String

func (v Band6Value) String() string

func (Band6Value) ToObjectValue

func (Band6Value) ToTerraformValue

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

func (Band6Value) Type

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

type BleConfigType

type BleConfigType struct {
	basetypes.ObjectType
}

func (BleConfigType) Equal

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

func (BleConfigType) String

func (t BleConfigType) String() string

func (BleConfigType) ValueFromObject

func (BleConfigType) ValueFromTerraform

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

func (BleConfigType) ValueType

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

type BleConfigValue

type BleConfigValue struct {
	BeaconEnabled           basetypes.BoolValue   `tfsdk:"beacon_enabled"`
	BeaconRate              basetypes.Int64Value  `tfsdk:"beacon_rate"`
	BeaconRateMode          basetypes.StringValue `tfsdk:"beacon_rate_mode"`
	BeamDisabled            basetypes.ListValue   `tfsdk:"beam_disabled"`
	CustomBlePacketEnabled  basetypes.BoolValue   `tfsdk:"custom_ble_packet_enabled"`
	CustomBlePacketFrame    basetypes.StringValue `tfsdk:"custom_ble_packet_frame"`
	CustomBlePacketFreqMsec basetypes.Int64Value  `tfsdk:"custom_ble_packet_freq_msec"`
	EddystoneUidAdvPower    basetypes.Int64Value  `tfsdk:"eddystone_uid_adv_power"`
	EddystoneUidBeams       basetypes.StringValue `tfsdk:"eddystone_uid_beams"`
	EddystoneUidEnabled     basetypes.BoolValue   `tfsdk:"eddystone_uid_enabled"`
	EddystoneUidFreqMsec    basetypes.Int64Value  `tfsdk:"eddystone_uid_freq_msec"`
	EddystoneUidInstance    basetypes.StringValue `tfsdk:"eddystone_uid_instance"`
	EddystoneUidNamespace   basetypes.StringValue `tfsdk:"eddystone_uid_namespace"`
	EddystoneUrlAdvPower    basetypes.Int64Value  `tfsdk:"eddystone_url_adv_power"`
	EddystoneUrlBeams       basetypes.StringValue `tfsdk:"eddystone_url_beams"`
	EddystoneUrlEnabled     basetypes.BoolValue   `tfsdk:"eddystone_url_enabled"`
	EddystoneUrlFreqMsec    basetypes.Int64Value  `tfsdk:"eddystone_url_freq_msec"`
	EddystoneUrlUrl         basetypes.StringValue `tfsdk:"eddystone_url_url"`
	IbeaconAdvPower         basetypes.Int64Value  `tfsdk:"ibeacon_adv_power"`
	IbeaconBeams            basetypes.StringValue `tfsdk:"ibeacon_beams"`
	IbeaconEnabled          basetypes.BoolValue   `tfsdk:"ibeacon_enabled"`
	IbeaconFreqMsec         basetypes.Int64Value  `tfsdk:"ibeacon_freq_msec"`
	IbeaconMajor            basetypes.Int64Value  `tfsdk:"ibeacon_major"`
	IbeaconMinor            basetypes.Int64Value  `tfsdk:"ibeacon_minor"`
	IbeaconUuid             basetypes.StringValue `tfsdk:"ibeacon_uuid"`
	Power                   basetypes.Int64Value  `tfsdk:"power"`
	PowerMode               basetypes.StringValue `tfsdk:"power_mode"`
	// contains filtered or unexported fields
}

func NewBleConfigValue

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

func NewBleConfigValueMust

func NewBleConfigValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) BleConfigValue

func NewBleConfigValueNull

func NewBleConfigValueNull() BleConfigValue

func NewBleConfigValueUnknown

func NewBleConfigValueUnknown() BleConfigValue

func (BleConfigValue) AttributeTypes

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

func (BleConfigValue) Equal

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

func (BleConfigValue) IsNull

func (v BleConfigValue) IsNull() bool

func (BleConfigValue) IsUnknown

func (v BleConfigValue) IsUnknown() bool

func (BleConfigValue) String

func (v BleConfigValue) String() string

func (BleConfigValue) ToObjectValue

func (BleConfigValue) ToTerraformValue

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

func (BleConfigValue) Type

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

type CentrakType

type CentrakType struct {
	basetypes.ObjectType
}

func (CentrakType) Equal

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

func (CentrakType) String

func (t CentrakType) String() string

func (CentrakType) ValueFromObject

func (CentrakType) ValueFromTerraform

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

func (CentrakType) ValueType

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

type CentrakValue

type CentrakValue struct {
	Enabled basetypes.BoolValue `tfsdk:"enabled"`
	// contains filtered or unexported fields
}

func NewCentrakValue

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

func NewCentrakValueMust

func NewCentrakValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CentrakValue

func NewCentrakValueNull

func NewCentrakValueNull() CentrakValue

func NewCentrakValueUnknown

func NewCentrakValueUnknown() CentrakValue

func (CentrakValue) AttributeTypes

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

func (CentrakValue) Equal

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

func (CentrakValue) IsNull

func (v CentrakValue) IsNull() bool

func (CentrakValue) IsUnknown

func (v CentrakValue) IsUnknown() bool

func (CentrakValue) String

func (v CentrakValue) String() string

func (CentrakValue) ToObjectValue

func (CentrakValue) ToTerraformValue

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

func (CentrakValue) Type

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

type ClientBridgeType

type ClientBridgeType struct {
	basetypes.ObjectType
}

func (ClientBridgeType) Equal

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

func (ClientBridgeType) String

func (t ClientBridgeType) String() string

func (ClientBridgeType) ValueFromObject

func (ClientBridgeType) ValueFromTerraform

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

func (ClientBridgeType) ValueType

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

type ClientBridgeValue

type ClientBridgeValue struct {
	Auth    basetypes.ObjectValue `tfsdk:"auth"`
	Enabled basetypes.BoolValue   `tfsdk:"enabled"`
	Ssid    basetypes.StringValue `tfsdk:"ssid"`
	// contains filtered or unexported fields
}

func NewClientBridgeValue

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

func NewClientBridgeValueMust

func NewClientBridgeValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ClientBridgeValue

func NewClientBridgeValueNull

func NewClientBridgeValueNull() ClientBridgeValue

func NewClientBridgeValueUnknown

func NewClientBridgeValueUnknown() ClientBridgeValue

func (ClientBridgeValue) AttributeTypes

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

func (ClientBridgeValue) Equal

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

func (ClientBridgeValue) IsNull

func (v ClientBridgeValue) IsNull() bool

func (ClientBridgeValue) IsUnknown

func (v ClientBridgeValue) IsUnknown() bool

func (ClientBridgeValue) String

func (v ClientBridgeValue) String() string

func (ClientBridgeValue) ToObjectValue

func (ClientBridgeValue) ToTerraformValue

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

func (ClientBridgeValue) Type

type DeviceApModel

type DeviceApModel struct {
	Aeroscout        AeroscoutValue        `tfsdk:"aeroscout"`
	BleConfig        BleConfigValue        `tfsdk:"ble_config"`
	Centrak          CentrakValue          `tfsdk:"centrak"`
	ClientBridge     ClientBridgeValue     `tfsdk:"client_bridge"`
	DeviceId         types.String          `tfsdk:"device_id"`
	DeviceprofileId  types.String          `tfsdk:"deviceprofile_id"`
	DisableEth1      types.Bool            `tfsdk:"disable_eth1"`
	DisableEth2      types.Bool            `tfsdk:"disable_eth2"`
	DisableEth3      types.Bool            `tfsdk:"disable_eth3"`
	DisableModule    types.Bool            `tfsdk:"disable_module"`
	EslConfig        EslConfigValue        `tfsdk:"esl_config"`
	Height           types.Float64         `tfsdk:"height"`
	Image1Url        types.String          `tfsdk:"image1_url"`
	Image2Url        types.String          `tfsdk:"image2_url"`
	Image3Url        types.String          `tfsdk:"image3_url"`
	IpConfig         IpConfigValue         `tfsdk:"ip_config"`
	Led              LedValue              `tfsdk:"led"`
	Locked           types.Bool            `tfsdk:"locked"`
	Mac              types.String          `tfsdk:"mac"`
	MapId            types.String          `tfsdk:"map_id"`
	Mesh             MeshValue             `tfsdk:"mesh"`
	Model            types.String          `tfsdk:"model"`
	Name             types.String          `tfsdk:"name"`
	Notes            types.String          `tfsdk:"notes"`
	NtpServers       types.List            `tfsdk:"ntp_servers"`
	OrgId            types.String          `tfsdk:"org_id"`
	Orientation      types.Int64           `tfsdk:"orientation"`
	PoePassthrough   types.Bool            `tfsdk:"poe_passthrough"`
	PwrConfig        PwrConfigValue        `tfsdk:"pwr_config"`
	RadioConfig      RadioConfigValue      `tfsdk:"radio_config"`
	Serial           types.String          `tfsdk:"serial"`
	SiteId           types.String          `tfsdk:"site_id"`
	Type             types.String          `tfsdk:"type"`
	UplinkPortConfig UplinkPortConfigValue `tfsdk:"uplink_port_config"`
	UsbConfig        UsbConfigValue        `tfsdk:"usb_config"`
	Vars             types.Map             `tfsdk:"vars"`
	X                types.Float64         `tfsdk:"x"`
	Y                types.Float64         `tfsdk:"y"`
}

func SdkToTerraform

func SdkToTerraform(ctx context.Context, data *models.DeviceAp) (DeviceApModel, diag.Diagnostics)

type EslConfigType

type EslConfigType struct {
	basetypes.ObjectType
}

func (EslConfigType) Equal

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

func (EslConfigType) String

func (t EslConfigType) String() string

func (EslConfigType) ValueFromObject

func (EslConfigType) ValueFromTerraform

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

func (EslConfigType) ValueType

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

type EslConfigValue

type EslConfigValue struct {
	Cacert        basetypes.StringValue `tfsdk:"cacert"`
	Channel       basetypes.Int64Value  `tfsdk:"channel"`
	Enabled       basetypes.BoolValue   `tfsdk:"enabled"`
	Host          basetypes.StringValue `tfsdk:"host"`
	Port          basetypes.Int64Value  `tfsdk:"port"`
	EslConfigType basetypes.StringValue `tfsdk:"type"`
	VerifyCert    basetypes.BoolValue   `tfsdk:"verify_cert"`
	VlanId        basetypes.Int64Value  `tfsdk:"vlan_id"`
	// contains filtered or unexported fields
}

func NewEslConfigValue

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

func NewEslConfigValueMust

func NewEslConfigValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) EslConfigValue

func NewEslConfigValueNull

func NewEslConfigValueNull() EslConfigValue

func NewEslConfigValueUnknown

func NewEslConfigValueUnknown() EslConfigValue

func (EslConfigValue) AttributeTypes

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

func (EslConfigValue) Equal

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

func (EslConfigValue) IsNull

func (v EslConfigValue) IsNull() bool

func (EslConfigValue) IsUnknown

func (v EslConfigValue) IsUnknown() bool

func (EslConfigValue) String

func (v EslConfigValue) String() string

func (EslConfigValue) ToObjectValue

func (EslConfigValue) ToTerraformValue

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

func (EslConfigValue) Type

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

type IpConfigType

type IpConfigType struct {
	basetypes.ObjectType
}

func (IpConfigType) Equal

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

func (IpConfigType) String

func (t IpConfigType) String() string

func (IpConfigType) ValueFromObject

func (IpConfigType) ValueFromTerraform

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

func (IpConfigType) ValueType

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

type IpConfigValue

type IpConfigValue struct {
	Dns          basetypes.ListValue   `tfsdk:"dns"`
	DnsSuffix    basetypes.ListValue   `tfsdk:"dns_suffix"`
	Gateway      basetypes.StringValue `tfsdk:"gateway"`
	Gateway6     basetypes.StringValue `tfsdk:"gateway6"`
	Ip           basetypes.StringValue `tfsdk:"ip"`
	Ip6          basetypes.StringValue `tfsdk:"ip6"`
	Mtu          basetypes.Int64Value  `tfsdk:"mtu"`
	Netmask      basetypes.StringValue `tfsdk:"netmask"`
	Netmask6     basetypes.StringValue `tfsdk:"netmask6"`
	IpConfigType basetypes.StringValue `tfsdk:"type"`
	Type6        basetypes.StringValue `tfsdk:"type6"`
	VlanId       basetypes.Int64Value  `tfsdk:"vlan_id"`
	// contains filtered or unexported fields
}

func NewIpConfigValue

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

func NewIpConfigValueMust

func NewIpConfigValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) IpConfigValue

func NewIpConfigValueNull

func NewIpConfigValueNull() IpConfigValue

func NewIpConfigValueUnknown

func NewIpConfigValueUnknown() IpConfigValue

func (IpConfigValue) AttributeTypes

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

func (IpConfigValue) Equal

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

func (IpConfigValue) IsNull

func (v IpConfigValue) IsNull() bool

func (IpConfigValue) IsUnknown

func (v IpConfigValue) IsUnknown() bool

func (IpConfigValue) String

func (v IpConfigValue) String() string

func (IpConfigValue) ToObjectValue

func (IpConfigValue) ToTerraformValue

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

func (IpConfigValue) Type

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

type LedType

type LedType struct {
	basetypes.ObjectType
}

func (LedType) Equal

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

func (LedType) String

func (t LedType) String() string

func (LedType) ValueFromObject

func (LedType) ValueFromTerraform

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

func (LedType) ValueType

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

type LedValue

type LedValue struct {
	Brightness basetypes.Int64Value `tfsdk:"brightness"`
	Enabled    basetypes.BoolValue  `tfsdk:"enabled"`
	// contains filtered or unexported fields
}

func NewLedValue

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

func NewLedValueMust

func NewLedValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) LedValue

func NewLedValueNull

func NewLedValueNull() LedValue

func NewLedValueUnknown

func NewLedValueUnknown() LedValue

func (LedValue) AttributeTypes

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

func (LedValue) Equal

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

func (LedValue) IsNull

func (v LedValue) IsNull() bool

func (LedValue) IsUnknown

func (v LedValue) IsUnknown() bool

func (LedValue) String

func (v LedValue) String() string

func (LedValue) ToObjectValue

func (v LedValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (LedValue) ToTerraformValue

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

func (LedValue) Type

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

type MeshType

type MeshType struct {
	basetypes.ObjectType
}

func (MeshType) Equal

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

func (MeshType) String

func (t MeshType) String() string

func (MeshType) ValueFromObject

func (MeshType) ValueFromTerraform

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

func (MeshType) ValueType

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

type MeshValue

type MeshValue struct {
	Enabled basetypes.BoolValue   `tfsdk:"enabled"`
	Group   basetypes.Int64Value  `tfsdk:"group"`
	Role    basetypes.StringValue `tfsdk:"role"`
	// contains filtered or unexported fields
}

func NewMeshValue

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

func NewMeshValueMust

func NewMeshValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MeshValue

func NewMeshValueNull

func NewMeshValueNull() MeshValue

func NewMeshValueUnknown

func NewMeshValueUnknown() MeshValue

func (MeshValue) AttributeTypes

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

func (MeshValue) Equal

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

func (MeshValue) IsNull

func (v MeshValue) IsNull() bool

func (MeshValue) IsUnknown

func (v MeshValue) IsUnknown() bool

func (MeshValue) String

func (v MeshValue) String() string

func (MeshValue) ToObjectValue

func (v MeshValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (MeshValue) ToTerraformValue

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

func (MeshValue) Type

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

type PwrConfigType

type PwrConfigType struct {
	basetypes.ObjectType
}

func (PwrConfigType) Equal

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

func (PwrConfigType) String

func (t PwrConfigType) String() string

func (PwrConfigType) ValueFromObject

func (PwrConfigType) ValueFromTerraform

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

func (PwrConfigType) ValueType

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

type PwrConfigValue

type PwrConfigValue struct {
	Base              basetypes.Int64Value `tfsdk:"base"`
	PreferUsbOverWifi basetypes.BoolValue  `tfsdk:"prefer_usb_over_wifi"`
	// contains filtered or unexported fields
}

func NewPwrConfigValue

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

func NewPwrConfigValueMust

func NewPwrConfigValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PwrConfigValue

func NewPwrConfigValueNull

func NewPwrConfigValueNull() PwrConfigValue

func NewPwrConfigValueUnknown

func NewPwrConfigValueUnknown() PwrConfigValue

func (PwrConfigValue) AttributeTypes

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

func (PwrConfigValue) Equal

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

func (PwrConfigValue) IsNull

func (v PwrConfigValue) IsNull() bool

func (PwrConfigValue) IsUnknown

func (v PwrConfigValue) IsUnknown() bool

func (PwrConfigValue) String

func (v PwrConfigValue) String() string

func (PwrConfigValue) ToObjectValue

func (PwrConfigValue) ToTerraformValue

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

func (PwrConfigValue) Type

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

type RadioConfigType

type RadioConfigType struct {
	basetypes.ObjectType
}

func (RadioConfigType) Equal

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

func (RadioConfigType) String

func (t RadioConfigType) String() string

func (RadioConfigType) ValueFromObject

func (RadioConfigType) ValueFromTerraform

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

func (RadioConfigType) ValueType

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

type RadioConfigValue

type RadioConfigValue struct {
	AllowRrmDisable basetypes.BoolValue   `tfsdk:"allow_rrm_disable"`
	AntGain24       basetypes.Int64Value  `tfsdk:"ant_gain_24"`
	AntGain5        basetypes.Int64Value  `tfsdk:"ant_gain_5"`
	AntGain6        basetypes.Int64Value  `tfsdk:"ant_gain_6"`
	AntennaMode     basetypes.StringValue `tfsdk:"antenna_mode"`
	Band24          basetypes.ObjectValue `tfsdk:"band_24"`
	Band24Usage     basetypes.StringValue `tfsdk:"band_24_usage"`
	Band5           basetypes.ObjectValue `tfsdk:"band_5"`
	Band5On24Radio  basetypes.ObjectValue `tfsdk:"band_5_on_24_radio"`
	Band6           basetypes.ObjectValue `tfsdk:"band_6"`
	IndoorUse       basetypes.BoolValue   `tfsdk:"indoor_use"`
	ScanningEnabled basetypes.BoolValue   `tfsdk:"scanning_enabled"`
	// contains filtered or unexported fields
}

func NewRadioConfigValue

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

func NewRadioConfigValueMust

func NewRadioConfigValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) RadioConfigValue

func NewRadioConfigValueNull

func NewRadioConfigValueNull() RadioConfigValue

func NewRadioConfigValueUnknown

func NewRadioConfigValueUnknown() RadioConfigValue

func (RadioConfigValue) AttributeTypes

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

func (RadioConfigValue) Equal

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

func (RadioConfigValue) IsNull

func (v RadioConfigValue) IsNull() bool

func (RadioConfigValue) IsUnknown

func (v RadioConfigValue) IsUnknown() bool

func (RadioConfigValue) String

func (v RadioConfigValue) String() string

func (RadioConfigValue) ToObjectValue

func (RadioConfigValue) ToTerraformValue

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

func (RadioConfigValue) Type

type UplinkPortConfigType

type UplinkPortConfigType struct {
	basetypes.ObjectType
}

func (UplinkPortConfigType) Equal

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

func (UplinkPortConfigType) String

func (t UplinkPortConfigType) String() string

func (UplinkPortConfigType) ValueFromObject

func (UplinkPortConfigType) ValueFromTerraform

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

func (UplinkPortConfigType) ValueType

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

type UplinkPortConfigValue

type UplinkPortConfigValue struct {
	Dot1x             basetypes.BoolValue `tfsdk:"dot1x"`
	KeepWlansUpIfDown basetypes.BoolValue `tfsdk:"keep_wlans_up_if_down"`
	// contains filtered or unexported fields
}

func NewUplinkPortConfigValue

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

func NewUplinkPortConfigValueMust

func NewUplinkPortConfigValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) UplinkPortConfigValue

func NewUplinkPortConfigValueNull

func NewUplinkPortConfigValueNull() UplinkPortConfigValue

func NewUplinkPortConfigValueUnknown

func NewUplinkPortConfigValueUnknown() UplinkPortConfigValue

func (UplinkPortConfigValue) AttributeTypes

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

func (UplinkPortConfigValue) Equal

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

func (UplinkPortConfigValue) IsNull

func (v UplinkPortConfigValue) IsNull() bool

func (UplinkPortConfigValue) IsUnknown

func (v UplinkPortConfigValue) IsUnknown() bool

func (UplinkPortConfigValue) String

func (v UplinkPortConfigValue) String() string

func (UplinkPortConfigValue) ToObjectValue

func (UplinkPortConfigValue) ToTerraformValue

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

func (UplinkPortConfigValue) Type

type UsbConfigType

type UsbConfigType struct {
	basetypes.ObjectType
}

func (UsbConfigType) Equal

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

func (UsbConfigType) String

func (t UsbConfigType) String() string

func (UsbConfigType) ValueFromObject

func (UsbConfigType) ValueFromTerraform

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

func (UsbConfigType) ValueType

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

type UsbConfigValue

type UsbConfigValue struct {
	Cacert        basetypes.StringValue `tfsdk:"cacert"`
	Channel       basetypes.Int64Value  `tfsdk:"channel"`
	Enabled       basetypes.BoolValue   `tfsdk:"enabled"`
	Host          basetypes.StringValue `tfsdk:"host"`
	Port          basetypes.Int64Value  `tfsdk:"port"`
	UsbConfigType basetypes.StringValue `tfsdk:"type"`
	VerifyCert    basetypes.BoolValue   `tfsdk:"verify_cert"`
	VlanId        basetypes.Int64Value  `tfsdk:"vlan_id"`
	// contains filtered or unexported fields
}

func NewUsbConfigValue

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

func NewUsbConfigValueMust

func NewUsbConfigValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) UsbConfigValue

func NewUsbConfigValueNull

func NewUsbConfigValueNull() UsbConfigValue

func NewUsbConfigValueUnknown

func NewUsbConfigValueUnknown() UsbConfigValue

func (UsbConfigValue) AttributeTypes

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

func (UsbConfigValue) Equal

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

func (UsbConfigValue) IsNull

func (v UsbConfigValue) IsNull() bool

func (UsbConfigValue) IsUnknown

func (v UsbConfigValue) IsUnknown() bool

func (UsbConfigValue) String

func (v UsbConfigValue) String() string

func (UsbConfigValue) ToObjectValue

func (UsbConfigValue) ToTerraformValue

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

func (UsbConfigValue) Type

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

Jump to

Keyboard shortcuts

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