Documentation ¶
Index ¶
- func AddToSchema(s map[string]*schema.Schema) map[string]*schema.Schema
- func AttrTypes() map[string]attr.Type
- func DataSourceSchema(resource string) map[string]datasourceschema.Attribute
- func ResourceSchema(resource string) map[string]resourceschema.Attribute
- func SetData(d *schema.ResourceData, r hcloud.Deprecatable)
- type DeprecationModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceSchema ¶ added in v1.48.1
func DataSourceSchema(resource string) map[string]datasourceschema.Attribute
func ResourceSchema ¶ added in v1.48.1
func ResourceSchema(resource string) map[string]resourceschema.Attribute
func SetData ¶
func SetData(d *schema.ResourceData, r hcloud.Deprecatable)
Types ¶
type DeprecationModel ¶ added in v1.48.1
type DeprecationModel struct { IsDeprecated types.Bool `tfsdk:"is_deprecated"` DeprecationAnnounced types.String `tfsdk:"deprecation_announced"` }
func NewDeprecationModel ¶ added in v1.48.1
func NewDeprecationModel(_ context.Context, in hcloud.Deprecatable) (DeprecationModel, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.