Documentation ¶
Index ¶
- func OrgWlantemplateResourceSchema(ctx context.Context) schema.Schema
- func TerraformToSdk(ctx context.Context, plan *OrgWlantemplateModel) (*models.Template, diag.Diagnostics)
- type AppliesType
- func (t AppliesType) Equal(o attr.Type) bool
- func (t AppliesType) String() string
- func (t AppliesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t AppliesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t AppliesType) ValueType(ctx context.Context) attr.Value
- type AppliesValue
- func NewAppliesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (AppliesValue, diag.Diagnostics)
- func NewAppliesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) AppliesValue
- func NewAppliesValueNull() AppliesValue
- func NewAppliesValueUnknown() AppliesValue
- func (v AppliesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v AppliesValue) Equal(o attr.Value) bool
- func (v AppliesValue) IsNull() bool
- func (v AppliesValue) IsUnknown() bool
- func (v AppliesValue) String() string
- func (v AppliesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v AppliesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v AppliesValue) Type(ctx context.Context) attr.Type
- type ExceptionsType
- func (t ExceptionsType) Equal(o attr.Type) bool
- func (t ExceptionsType) String() string
- func (t ExceptionsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ExceptionsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ExceptionsType) ValueType(ctx context.Context) attr.Value
- type ExceptionsValue
- func NewExceptionsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ExceptionsValue, diag.Diagnostics)
- func NewExceptionsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ExceptionsValue
- func NewExceptionsValueNull() ExceptionsValue
- func NewExceptionsValueUnknown() ExceptionsValue
- func (v ExceptionsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ExceptionsValue) Equal(o attr.Value) bool
- func (v ExceptionsValue) IsNull() bool
- func (v ExceptionsValue) IsUnknown() bool
- func (v ExceptionsValue) String() string
- func (v ExceptionsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v ExceptionsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ExceptionsValue) Type(ctx context.Context) attr.Type
- type OrgWlantemplateModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TerraformToSdk ¶
func TerraformToSdk(ctx context.Context, plan *OrgWlantemplateModel) (*models.Template, diag.Diagnostics)
Types ¶
type AppliesType ¶
type AppliesType struct {
basetypes.ObjectType
}
func (AppliesType) String ¶
func (t AppliesType) String() string
func (AppliesType) ValueFromObject ¶
func (t AppliesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (AppliesType) ValueFromTerraform ¶
type AppliesValue ¶
type AppliesValue struct { OrgId basetypes.StringValue `tfsdk:"org_id"` SiteIds basetypes.ListValue `tfsdk:"site_ids"` SitegroupIds basetypes.ListValue `tfsdk:"sitegroup_ids"` // contains filtered or unexported fields }
func NewAppliesValue ¶
func NewAppliesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (AppliesValue, diag.Diagnostics)
func NewAppliesValueMust ¶
func NewAppliesValueNull ¶
func NewAppliesValueNull() AppliesValue
func NewAppliesValueUnknown ¶
func NewAppliesValueUnknown() AppliesValue
func (AppliesValue) AttributeTypes ¶
func (AppliesValue) IsNull ¶
func (v AppliesValue) IsNull() bool
func (AppliesValue) IsUnknown ¶
func (v AppliesValue) IsUnknown() bool
func (AppliesValue) String ¶
func (v AppliesValue) String() string
func (AppliesValue) ToObjectValue ¶
func (v AppliesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (AppliesValue) ToTerraformValue ¶
type ExceptionsType ¶
type ExceptionsType struct {
basetypes.ObjectType
}
func (ExceptionsType) String ¶
func (t ExceptionsType) String() string
func (ExceptionsType) ValueFromObject ¶
func (t ExceptionsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ExceptionsType) ValueFromTerraform ¶
type ExceptionsValue ¶
type ExceptionsValue struct { SiteIds basetypes.ListValue `tfsdk:"site_ids"` SitegroupIds basetypes.ListValue `tfsdk:"sitegroup_ids"` // contains filtered or unexported fields }
func NewExceptionsValue ¶
func NewExceptionsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ExceptionsValue, diag.Diagnostics)
func NewExceptionsValueMust ¶
func NewExceptionsValueNull ¶
func NewExceptionsValueNull() ExceptionsValue
func NewExceptionsValueUnknown ¶
func NewExceptionsValueUnknown() ExceptionsValue
func (ExceptionsValue) AttributeTypes ¶
func (ExceptionsValue) IsNull ¶
func (v ExceptionsValue) IsNull() bool
func (ExceptionsValue) IsUnknown ¶
func (v ExceptionsValue) IsUnknown() bool
func (ExceptionsValue) String ¶
func (v ExceptionsValue) String() string
func (ExceptionsValue) ToObjectValue ¶
func (v ExceptionsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (ExceptionsValue) ToTerraformValue ¶
type OrgWlantemplateModel ¶
type OrgWlantemplateModel struct { Applies AppliesValue `tfsdk:"applies"` DeviceprofileIds types.List `tfsdk:"deviceprofile_ids"` Exceptions ExceptionsValue `tfsdk:"exceptions"` FilterByDeviceprofile types.Bool `tfsdk:"filter_by_deviceprofile"` Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` OrgId types.String `tfsdk:"org_id"` }
func SdkToTerraform ¶
func SdkToTerraform(ctx context.Context, data models.Template) (OrgWlantemplateModel, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.