datasource_site_psks

package
v0.1.40 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SdkToTerraform

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

func SitePsksDataSourceSchema

func SitePsksDataSourceSchema(ctx context.Context) schema.Schema

Types

type SitePsksModel

type SitePsksModel struct {
	Limit    types.Int64  `tfsdk:"limit"`
	Name     types.String `tfsdk:"name"`
	Page     types.Int64  `tfsdk:"page"`
	Role     types.String `tfsdk:"role"`
	SiteId   types.String `tfsdk:"site_id"`
	SitePsks types.Set    `tfsdk:"site_psks"`
	Ssid     types.String `tfsdk:"ssid"`
}

type SitePsksType

type SitePsksType struct {
	basetypes.ObjectType
}

func (SitePsksType) Equal

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

func (SitePsksType) String

func (t SitePsksType) String() string

func (SitePsksType) ValueFromObject

func (SitePsksType) ValueFromTerraform

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

func (SitePsksType) ValueType

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

type SitePsksValue

type SitePsksValue struct {
	AdminSsoId             basetypes.StringValue `tfsdk:"admin_sso_id"`
	CreatedTime            basetypes.NumberValue `tfsdk:"created_time"`
	Email                  basetypes.StringValue `tfsdk:"email"`
	ExpireTime             basetypes.Int64Value  `tfsdk:"expire_time"`
	ExpiryNotificationTime basetypes.Int64Value  `tfsdk:"expiry_notification_time"`
	Id                     basetypes.StringValue `tfsdk:"id"`
	Mac                    basetypes.StringValue `tfsdk:"mac"`
	ModifiedTime           basetypes.NumberValue `tfsdk:"modified_time"`
	Name                   basetypes.StringValue `tfsdk:"name"`
	Note                   basetypes.StringValue `tfsdk:"note"`
	NotifyExpiry           basetypes.BoolValue   `tfsdk:"notify_expiry"`
	NotifyOnCreateOrEdit   basetypes.BoolValue   `tfsdk:"notify_on_create_or_edit"`
	OldPassphrase          basetypes.StringValue `tfsdk:"old_passphrase"`
	OrgId                  basetypes.StringValue `tfsdk:"org_id"`
	Passphrase             basetypes.StringValue `tfsdk:"passphrase"`
	Role                   basetypes.StringValue `tfsdk:"role"`
	SiteId                 basetypes.StringValue `tfsdk:"site_id"`
	Ssid                   basetypes.StringValue `tfsdk:"ssid"`
	Usage                  basetypes.StringValue `tfsdk:"usage"`
	VlanId                 basetypes.StringValue `tfsdk:"vlan_id"`
	// contains filtered or unexported fields
}

func NewSitePsksValue

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

func NewSitePsksValueMust

func NewSitePsksValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SitePsksValue

func NewSitePsksValueNull

func NewSitePsksValueNull() SitePsksValue

func NewSitePsksValueUnknown

func NewSitePsksValueUnknown() SitePsksValue

func (SitePsksValue) AttributeTypes

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

func (SitePsksValue) Equal

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

func (SitePsksValue) IsNull

func (v SitePsksValue) IsNull() bool

func (SitePsksValue) IsUnknown

func (v SitePsksValue) IsUnknown() bool

func (SitePsksValue) String

func (v SitePsksValue) String() string

func (SitePsksValue) ToObjectValue

func (SitePsksValue) ToTerraformValue

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

func (SitePsksValue) Type

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

Jump to

Keyboard shortcuts

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