datasource_org_inventory

package
v0.2.5 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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrgInventoryDataSourceSchema

func OrgInventoryDataSourceSchema(ctx context.Context) schema.Schema

func SdkToTerraform

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

Types

type OrgInventoryModel

type OrgInventoryModel struct {
	Mac          types.String `tfsdk:"mac"`
	Model        types.String `tfsdk:"model"`
	OrgId        types.String `tfsdk:"org_id"`
	OrgInventory types.Set    `tfsdk:"org_inventory"`
	Serial       types.String `tfsdk:"serial"`
	SiteId       types.String `tfsdk:"site_id"`
	Unassigned   types.Bool   `tfsdk:"unassigned"`
	Vc           types.Bool   `tfsdk:"vc"`
	VcMac        types.String `tfsdk:"vc_mac"`
}

type OrgInventoryType

type OrgInventoryType struct {
	basetypes.ObjectType
}

func (OrgInventoryType) Equal

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

func (OrgInventoryType) String

func (t OrgInventoryType) String() string

func (OrgInventoryType) ValueFromObject

func (OrgInventoryType) ValueFromTerraform

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

func (OrgInventoryType) ValueType

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

type OrgInventoryValue

type OrgInventoryValue struct {
	Adopted          basetypes.BoolValue   `tfsdk:"adopted"`
	ClaimCode        basetypes.StringValue `tfsdk:"claim_code"`
	Connected        basetypes.BoolValue   `tfsdk:"connected"`
	DeviceprofileId  basetypes.StringValue `tfsdk:"deviceprofile_id"`
	Hostname         basetypes.StringValue `tfsdk:"hostname"`
	HwRev            basetypes.StringValue `tfsdk:"hw_rev"`
	Id               basetypes.StringValue `tfsdk:"id"`
	Jsi              basetypes.BoolValue   `tfsdk:"jsi"`
	Mac              basetypes.StringValue `tfsdk:"mac"`
	Model            basetypes.StringValue `tfsdk:"model"`
	Name             basetypes.StringValue `tfsdk:"name"`
	OrgId            basetypes.StringValue `tfsdk:"org_id"`
	Serial           basetypes.StringValue `tfsdk:"serial"`
	SiteId           basetypes.StringValue `tfsdk:"site_id"`
	Sku              basetypes.StringValue `tfsdk:"sku"`
	OrgInventoryType basetypes.StringValue `tfsdk:"type"`
	VcMac            basetypes.StringValue `tfsdk:"vc_mac"`
	// contains filtered or unexported fields
}

func NewOrgInventoryValue

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

func NewOrgInventoryValueMust

func NewOrgInventoryValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OrgInventoryValue

func NewOrgInventoryValueNull

func NewOrgInventoryValueNull() OrgInventoryValue

func NewOrgInventoryValueUnknown

func NewOrgInventoryValueUnknown() OrgInventoryValue

func (OrgInventoryValue) AttributeTypes

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

func (OrgInventoryValue) Equal

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

func (OrgInventoryValue) IsNull

func (v OrgInventoryValue) IsNull() bool

func (OrgInventoryValue) IsUnknown

func (v OrgInventoryValue) IsUnknown() bool

func (OrgInventoryValue) String

func (v OrgInventoryValue) String() string

func (OrgInventoryValue) ToObjectValue

func (OrgInventoryValue) ToTerraformValue

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

func (OrgInventoryValue) Type

Jump to

Keyboard shortcuts

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