Documentation ¶
Index ¶
- func OrgSsoRoleResourceSchema(ctx context.Context) schema.Schema
- func TerraformToSdk(ctx context.Context, plan *OrgSsoRoleModel) (*models.SsoRoleOrg, diag.Diagnostics)
- type OrgSsoRoleModel
- type PrivilegesType
- func (t PrivilegesType) Equal(o attr.Type) bool
- func (t PrivilegesType) String() string
- func (t PrivilegesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t PrivilegesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t PrivilegesType) ValueType(ctx context.Context) attr.Value
- type PrivilegesValue
- func NewPrivilegesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PrivilegesValue, diag.Diagnostics)
- func NewPrivilegesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PrivilegesValue
- func NewPrivilegesValueNull() PrivilegesValue
- func NewPrivilegesValueUnknown() PrivilegesValue
- func (v PrivilegesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v PrivilegesValue) Equal(o attr.Value) bool
- func (v PrivilegesValue) IsNull() bool
- func (v PrivilegesValue) IsUnknown() bool
- func (v PrivilegesValue) String() string
- func (v PrivilegesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v PrivilegesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v PrivilegesValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TerraformToSdk ¶
func TerraformToSdk(ctx context.Context, plan *OrgSsoRoleModel) (*models.SsoRoleOrg, diag.Diagnostics)
Types ¶
type OrgSsoRoleModel ¶
type OrgSsoRoleModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` OrgId types.String `tfsdk:"org_id"` Privileges types.List `tfsdk:"privileges"` }
func SdkToTerraform ¶
func SdkToTerraform(ctx context.Context, data models.SsoRoleOrg) (OrgSsoRoleModel, diag.Diagnostics)
type PrivilegesType ¶
type PrivilegesType struct {
basetypes.ObjectType
}
func (PrivilegesType) String ¶
func (t PrivilegesType) String() string
func (PrivilegesType) ValueFromObject ¶
func (t PrivilegesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (PrivilegesType) ValueFromTerraform ¶
type PrivilegesValue ¶
type PrivilegesValue struct { Role basetypes.StringValue `tfsdk:"role"` Scope basetypes.StringValue `tfsdk:"scope"` SiteId basetypes.StringValue `tfsdk:"site_id"` SitegroupId basetypes.StringValue `tfsdk:"sitegroup_id"` // contains filtered or unexported fields }
func NewPrivilegesValue ¶
func NewPrivilegesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PrivilegesValue, diag.Diagnostics)
func NewPrivilegesValueMust ¶
func NewPrivilegesValueNull ¶
func NewPrivilegesValueNull() PrivilegesValue
func NewPrivilegesValueUnknown ¶
func NewPrivilegesValueUnknown() PrivilegesValue
func (PrivilegesValue) AttributeTypes ¶
func (PrivilegesValue) IsNull ¶
func (v PrivilegesValue) IsNull() bool
func (PrivilegesValue) IsUnknown ¶
func (v PrivilegesValue) IsUnknown() bool
func (PrivilegesValue) String ¶
func (v PrivilegesValue) String() string
func (PrivilegesValue) ToObjectValue ¶
func (v PrivilegesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (PrivilegesValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.