identity

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandIdentity

func ExpandIdentity(input Model) (interface{}, error)

func ToList added in v1.13.0

func ToList(input Model) types.List

Types

type IdentityType

type IdentityType string
const (
	None                       IdentityType = "None"
	SystemAssigned             IdentityType = "SystemAssigned"
	UserAssigned               IdentityType = "UserAssigned"
	SystemAssignedUserAssigned IdentityType = "SystemAssigned, UserAssigned"
)

type Model added in v1.13.0

type Model struct {
	Type        types.String `tfsdk:"type"`
	IdentityIDs types.List   `tfsdk:"identity_ids"`
	PrincipalID types.String `tfsdk:"principal_id"`
	TenantID    types.String `tfsdk:"tenant_id"`
}

func FlattenIdentity

func FlattenIdentity(identity interface{}) *Model

func FromList added in v1.13.0

func FromList(input types.List) Model

func (Model) AttrType added in v1.13.0

func (m Model) AttrType() map[string]attr.Type

func (Model) ModelType added in v1.13.0

func (m Model) ModelType() attr.Type

func (Model) ObjectType added in v1.13.0

func (m Model) ObjectType() attr.Type

func (Model) Value added in v1.13.0

func (m Model) Value() attr.Value

Jump to

Keyboard shortcuts

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