Documentation ¶
Index ¶
- func OrgInventoryDataSourceSchema(ctx context.Context) schema.Schema
- func SdkToTerraform(ctx context.Context, l []models.Inventory) (basetypes.SetValue, diag.Diagnostics)
- type OrgInventoryModel
- type OrgInventoryType
- func (t OrgInventoryType) Equal(o attr.Type) bool
- func (t OrgInventoryType) String() string
- func (t OrgInventoryType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t OrgInventoryType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t OrgInventoryType) ValueType(ctx context.Context) attr.Value
- type OrgInventoryValue
- func NewOrgInventoryValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OrgInventoryValue, diag.Diagnostics)
- func NewOrgInventoryValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OrgInventoryValue
- func NewOrgInventoryValueNull() OrgInventoryValue
- func NewOrgInventoryValueUnknown() OrgInventoryValue
- func (v OrgInventoryValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v OrgInventoryValue) Equal(o attr.Value) bool
- func (v OrgInventoryValue) IsNull() bool
- func (v OrgInventoryValue) IsUnknown() bool
- func (v OrgInventoryValue) String() string
- func (v OrgInventoryValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v OrgInventoryValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v OrgInventoryValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SdkToTerraform ¶
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) String ¶
func (t OrgInventoryType) String() string
func (OrgInventoryType) ValueFromObject ¶
func (t OrgInventoryType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (OrgInventoryType) ValueFromTerraform ¶
type OrgInventoryValue ¶
type OrgInventoryValue struct { Adopted basetypes.BoolValue `tfsdk:"adopted"` ClaimCode basetypes.StringValue `tfsdk:"claim_code"` Connected basetypes.BoolValue `tfsdk:"connected"` CreatedTime basetypes.Int64Value `tfsdk:"created_time"` 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"` ModifiedTime basetypes.Int64Value `tfsdk:"modified_time"` 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"` 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 NewOrgInventoryValueNull ¶
func NewOrgInventoryValueNull() OrgInventoryValue
func NewOrgInventoryValueUnknown ¶
func NewOrgInventoryValueUnknown() OrgInventoryValue
func (OrgInventoryValue) AttributeTypes ¶
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 (v OrgInventoryValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (OrgInventoryValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.