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 RoleResourceModel ¶
type RoleResourceModel struct {
ResourceName types.String `tfsdk:"resource_name"`
Description types.String `tfsdk:"description"`
AllowedPermissions types.Map `tfsdk:"allowed_permissions"`
Tags types.List `tfsdk:"tags"`
}
func (*RoleResourceModel) ToAPIModel ¶
func (m *RoleResourceModel) ToAPIModel(ctx context.Context) (*sgsdkgo.Role, diag.Diagnostics)
func (*RoleResourceModel) ToPatchedAPIModel ¶
func (m *RoleResourceModel) ToPatchedAPIModel(ctx context.Context) (*sgsdkgo.PatchedRole, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.