resource_org_sso_role

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrgSsoRoleResourceSchema

func OrgSsoRoleResourceSchema(ctx context.Context) schema.Schema

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"`
}

type PrivilegesType

type PrivilegesType struct {
	basetypes.ObjectType
}

func (PrivilegesType) Equal

func (t PrivilegesType) Equal(o attr.Type) bool

func (PrivilegesType) String

func (t PrivilegesType) String() string

func (PrivilegesType) ValueFromObject

func (PrivilegesType) ValueFromTerraform

func (t PrivilegesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (PrivilegesType) ValueType

func (t PrivilegesType) ValueType(ctx context.Context) attr.Value

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 NewPrivilegesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PrivilegesValue

func NewPrivilegesValueNull

func NewPrivilegesValueNull() PrivilegesValue

func NewPrivilegesValueUnknown

func NewPrivilegesValueUnknown() PrivilegesValue

func (PrivilegesValue) AttributeTypes

func (v PrivilegesValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (PrivilegesValue) Equal

func (v PrivilegesValue) Equal(o attr.Value) bool

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 (PrivilegesValue) ToTerraformValue

func (v PrivilegesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (PrivilegesValue) Type

func (v PrivilegesValue) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL