datasource_local_users

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocalUsersDataSourceSchema

func LocalUsersDataSourceSchema(ctx context.Context) schema.Schema

Types

type LocalUsersModel

type LocalUsersModel struct {
	Users types.List `tfsdk:"users"`
}

type UsersType

type UsersType struct {
	basetypes.ObjectType
}

func (UsersType) Equal

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

func (UsersType) String

func (t UsersType) String() string

func (UsersType) ValueFromObject

func (UsersType) ValueFromTerraform

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

func (UsersType) ValueType

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

type UsersValue

type UsersValue struct {
	AccountExpires         basetypes.StringValue `tfsdk:"account_expires"`
	Description            basetypes.StringValue `tfsdk:"description"`
	Enabled                basetypes.BoolValue   `tfsdk:"enabled"`
	FullName               basetypes.StringValue `tfsdk:"full_name"`
	Id                     basetypes.StringValue `tfsdk:"id"`
	LastLogon              basetypes.StringValue `tfsdk:"last_logon"`
	Name                   basetypes.StringValue `tfsdk:"name"`
	PasswordChangeableDate basetypes.StringValue `tfsdk:"password_changeable_date"`
	PasswordExpires        basetypes.StringValue `tfsdk:"password_expires"`
	PasswordLastSet        basetypes.StringValue `tfsdk:"password_last_set"`
	PasswordRequired       basetypes.BoolValue   `tfsdk:"password_required"`
	Sid                    basetypes.StringValue `tfsdk:"sid"`
	UserMayChangePassword  basetypes.BoolValue   `tfsdk:"user_may_change_password"`
	// contains filtered or unexported fields
}

func NewUsersValue

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

func NewUsersValueMust

func NewUsersValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) UsersValue

func NewUsersValueNull

func NewUsersValueNull() UsersValue

func NewUsersValueUnknown

func NewUsersValueUnknown() UsersValue

func (UsersValue) AttributeTypes

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

func (UsersValue) Equal

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

func (UsersValue) IsNull

func (v UsersValue) IsNull() bool

func (UsersValue) IsUnknown

func (v UsersValue) IsUnknown() bool

func (UsersValue) String

func (v UsersValue) String() string

func (UsersValue) ToObjectValue

func (UsersValue) ToTerraformValue

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

func (UsersValue) Type

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

Jump to

Keyboard shortcuts

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