Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResource ¶
NewResource is a helper function to simplify the provider implementation.
Types ¶
type StackTemplateResourceModel ¶
type StackTemplateResourceModel struct {
Id types.String `tfsdk:"id"`
TemplateName types.String `tfsdk:"template_name"`
OwnerOrg types.String `tfsdk:"owner_org"`
SourceConfigKind types.String `tfsdk:"source_config_kind"`
IsActive types.String `tfsdk:"is_active"`
IsPublic types.String `tfsdk:"is_public"`
ShortDescription types.String `tfsdk:"description"`
Tags types.List `tfsdk:"tags"`
ContextTags types.Map `tfsdk:"context_tags"`
}
func BuildAPIModelToStackTemplateModel ¶
func BuildAPIModelToStackTemplateModel(apiResponse *stacktemplates.ReadStackTemplateResponse) (*StackTemplateResourceModel, diag.Diagnostics)
func (*StackTemplateResourceModel) ToAPIModel ¶
func (m *StackTemplateResourceModel) ToAPIModel(ctx context.Context) (*stacktemplates.CreateStackTemplateRequest, diag.Diagnostics)
func (*StackTemplateResourceModel) ToUpdateAPIModel ¶
func (m *StackTemplateResourceModel) ToUpdateAPIModel(ctx context.Context) (*stacktemplates.UpdateStackTemplateRequest, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.