datasource_org_usermacs

package
v0.2.20 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrgUsermacsDataSourceSchema

func OrgUsermacsDataSourceSchema(ctx context.Context) schema.Schema

func SdkToTerraform

func SdkToTerraform(ctx context.Context, l *[]models.UserMac, elements *[]attr.Value) diag.Diagnostics

Types

type OrgUsermacsModel

type OrgUsermacsModel struct {
	Labels      types.List   `tfsdk:"labels"`
	Mac         types.String `tfsdk:"mac"`
	OrgId       types.String `tfsdk:"org_id"`
	OrgUsermacs types.Set    `tfsdk:"org_usermacs"`
}

type OrgUsermacsType

type OrgUsermacsType struct {
	basetypes.ObjectType
}

func (OrgUsermacsType) Equal

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

func (OrgUsermacsType) String

func (t OrgUsermacsType) String() string

func (OrgUsermacsType) ValueFromObject

func (OrgUsermacsType) ValueFromTerraform

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

func (OrgUsermacsType) ValueType

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

type OrgUsermacsValue

type OrgUsermacsValue struct {
	Id          basetypes.StringValue `tfsdk:"id"`
	Labels      basetypes.ListValue   `tfsdk:"labels"`
	Mac         basetypes.StringValue `tfsdk:"mac"`
	Name        basetypes.StringValue `tfsdk:"name"`
	Notes       basetypes.StringValue `tfsdk:"notes"`
	RadiusGroup basetypes.StringValue `tfsdk:"radius_group"`
	Vlan        basetypes.StringValue `tfsdk:"vlan"`
	// contains filtered or unexported fields
}

func NewOrgUsermacsValue

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

func NewOrgUsermacsValueMust

func NewOrgUsermacsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OrgUsermacsValue

func NewOrgUsermacsValueNull

func NewOrgUsermacsValueNull() OrgUsermacsValue

func NewOrgUsermacsValueUnknown

func NewOrgUsermacsValueUnknown() OrgUsermacsValue

func (OrgUsermacsValue) AttributeTypes

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

func (OrgUsermacsValue) Equal

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

func (OrgUsermacsValue) IsNull

func (v OrgUsermacsValue) IsNull() bool

func (OrgUsermacsValue) IsUnknown

func (v OrgUsermacsValue) IsUnknown() bool

func (OrgUsermacsValue) String

func (v OrgUsermacsValue) String() string

func (OrgUsermacsValue) ToObjectValue

func (OrgUsermacsValue) ToTerraformValue

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

func (OrgUsermacsValue) Type

Jump to

Keyboard shortcuts

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