identity

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MPL-2.0 Imports: 5 Imported by: 1,471

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlattenLegacySystemAndUserAssignedList added in v0.28.0

func FlattenLegacySystemAndUserAssignedList(input *LegacySystemAndUserAssignedList) (*[]interface{}, error)

FlattenLegacySystemAndUserAssignedList turns a LegacySystemAndUserAssignedList into a []interface{}

func FlattenLegacySystemAndUserAssignedMap added in v0.28.0

func FlattenLegacySystemAndUserAssignedMap(input *LegacySystemAndUserAssignedMap) (*[]interface{}, error)

FlattenLegacySystemAndUserAssignedMap turns a LegacySystemAndUserAssignedMap into a []interface{}

func FlattenSystemAndUserAssignedList added in v0.19.0

func FlattenSystemAndUserAssignedList(input *SystemAndUserAssignedList) (*[]interface{}, error)

FlattenSystemAndUserAssignedList turns a SystemAndUserAssignedList into a []interface{}

func FlattenSystemAndUserAssignedListToModel added in v0.34.0

func FlattenSystemAndUserAssignedListToModel(input *SystemAndUserAssignedList) (*[]ModelSystemAssignedUserAssigned, error)

FlattenSystemAndUserAssignedListToModel turns a SystemAndUserAssignedList into a typed schema model

func FlattenSystemAndUserAssignedMap added in v0.19.0

func FlattenSystemAndUserAssignedMap(input *SystemAndUserAssignedMap) (*[]interface{}, error)

FlattenSystemAndUserAssignedMap turns a SystemAndUserAssignedMap into a []interface{}

func FlattenSystemAndUserAssignedMapToModel added in v0.34.0

func FlattenSystemAndUserAssignedMapToModel(input *SystemAndUserAssignedMap) (*[]ModelSystemAssignedUserAssigned, error)

FlattenSystemAndUserAssignedMapToModel turns a SystemAndUserAssignedMap into a typed schema model

func FlattenSystemAssigned

func FlattenSystemAssigned(input *SystemAssigned) []interface{}

func FlattenSystemAssignedOrUserAssignedList added in v0.19.0

func FlattenSystemAssignedOrUserAssignedList(input *SystemOrUserAssignedList) (*[]interface{}, error)

FlattenSystemAssignedOrUserAssignedList turns a SystemOrUserAssignedList into a []interface{}

func FlattenSystemAssignedOrUserAssignedListToModel added in v0.34.0

func FlattenSystemAssignedOrUserAssignedListToModel(input *SystemOrUserAssignedList) (*[]ModelSystemAssignedUserAssigned, error)

FlattenSystemAssignedOrUserAssignedListToModel turns a SystemOrUserAssignedList into a typed schema model

func FlattenSystemOrUserAssignedMap added in v0.19.0

func FlattenSystemOrUserAssignedMap(input *SystemOrUserAssignedMap) (*[]interface{}, error)

FlattenSystemOrUserAssignedMap turns a SystemOrUserAssignedMap into a []interface{}

func FlattenSystemOrUserAssignedMapToModel added in v0.34.0

func FlattenSystemOrUserAssignedMapToModel(input *SystemOrUserAssignedMap) (*[]ModelSystemAssignedUserAssigned, error)

FlattenSystemOrUserAssignedMapToModel turns a SystemOrUserAssignedMap into a typed schema model

func FlattenUserAssignedList added in v0.18.0

func FlattenUserAssignedList(input *UserAssignedList) (*[]interface{}, error)

FlattenUserAssignedList turns a UserAssignedList into a []interface{}

func FlattenUserAssignedListToModel added in v0.34.0

func FlattenUserAssignedListToModel(input *UserAssignedList) (*[]ModelUserAssigned, error)

FlattenUserAssignedListToModel turns a UserAssignedList into a typed schema model

func FlattenUserAssignedMap added in v0.18.0

func FlattenUserAssignedMap(input *UserAssignedMap) (*[]interface{}, error)

FlattenUserAssignedMap turns a UserAssignedMap into a []interface{}

func FlattenUserAssignedMapToModel added in v0.34.0

func FlattenUserAssignedMapToModel(input *UserAssignedMap) (*[]ModelUserAssigned, error)

FlattenUserAssignedMapToModel turns a UserAssignedMap into a typed schema model

Types

type LegacySystemAndUserAssignedList added in v0.28.0

type LegacySystemAndUserAssignedList struct {
	Type        Type     `json:"type" tfschema:"type"`
	PrincipalId string   `json:"principalId" tfschema:"principal_id"`
	TenantId    string   `json:"tenantId" tfschema:"tenant_id"`
	IdentityIds []string `json:"userAssignedIdentities" tfschema:"identity_ids"`
}

func ExpandLegacySystemAndUserAssignedList added in v0.28.0

func ExpandLegacySystemAndUserAssignedList(input []interface{}) (*LegacySystemAndUserAssignedList, error)

ExpandLegacySystemAndUserAssignedList expands the schema input into a LegacySystemAndUserAssignedList struct

func (*LegacySystemAndUserAssignedList) MarshalJSON added in v0.28.0

func (s *LegacySystemAndUserAssignedList) MarshalJSON() ([]byte, error)

type LegacySystemAndUserAssignedMap added in v0.28.0

type LegacySystemAndUserAssignedMap struct {
	Type        Type                                   `json:"type" tfschema:"type"`
	PrincipalId string                                 `json:"principalId" tfschema:"principal_id"`
	TenantId    string                                 `json:"tenantId" tfschema:"tenant_id"`
	IdentityIds map[string]UserAssignedIdentityDetails `json:"userAssignedIdentities"`
}

func ExpandLegacySystemAndUserAssignedMap added in v0.28.0

func ExpandLegacySystemAndUserAssignedMap(input []interface{}) (*LegacySystemAndUserAssignedMap, error)

ExpandLegacySystemAndUserAssignedMap expands the schema input into a LegacySystemAndUserAssignedMap struct

func ExpandLegacySystemAndUserAssignedMapFromModel added in v0.56.0

func ExpandLegacySystemAndUserAssignedMapFromModel(input []ModelSystemAssignedUserAssigned) (*LegacySystemAndUserAssignedMap, error)

ExpandLegacySystemAndUserAssignedMapFromModel expands the schema input into a LegacySystemAndUserAssignedMap struct

func (*LegacySystemAndUserAssignedMap) MarshalJSON added in v0.28.0

func (s *LegacySystemAndUserAssignedMap) MarshalJSON() ([]byte, error)

type ModelSystemAssigned added in v0.34.0

type ModelSystemAssigned struct {
	Type        Type   `tfschema:"type"`
	PrincipalId string `tfschema:"principal_id"`
	TenantId    string `tfschema:"tenant_id"`
}

func FlattenSystemAssignedToModel added in v0.34.0

func FlattenSystemAssignedToModel(input *SystemAssigned) []ModelSystemAssigned

type ModelSystemAssignedUserAssigned added in v0.34.0

type ModelSystemAssignedUserAssigned struct {
	Type        Type     `tfschema:"type"`
	PrincipalId string   `tfschema:"principal_id"`
	TenantId    string   `tfschema:"tenant_id"`
	IdentityIds []string `tfschema:"identity_ids"`
}

func FlattenLegacySystemAndUserAssignedMapToModel added in v0.56.0

func FlattenLegacySystemAndUserAssignedMapToModel(input *LegacySystemAndUserAssignedMap) ([]ModelSystemAssignedUserAssigned, error)

FlattenLegacySystemAndUserAssignedMapToModel turns a LegacySystemAndUserAssignedMap into a []interface{}

type ModelUserAssigned added in v0.34.0

type ModelUserAssigned struct {
	Type        Type     `tfschema:"type"`
	IdentityIds []string `tfschema:"identity_ids"`
}

type SystemAndUserAssignedList added in v0.19.0

type SystemAndUserAssignedList struct {
	Type        Type     `json:"type" tfschema:"type"`
	PrincipalId string   `json:"principalId" tfschema:"principal_id"`
	TenantId    string   `json:"tenantId" tfschema:"tenant_id"`
	IdentityIds []string `json:"userAssignedIdentities" tfschema:"identity_ids"`
}

func ExpandSystemAndUserAssignedList added in v0.19.0

func ExpandSystemAndUserAssignedList(input []interface{}) (*SystemAndUserAssignedList, error)

ExpandSystemAndUserAssignedList expands the schema input into a SystemAndUserAssignedList struct

func ExpandSystemAndUserAssignedListFromModel added in v0.34.0

func ExpandSystemAndUserAssignedListFromModel(input []ModelSystemAssignedUserAssigned) (*SystemAndUserAssignedList, error)

ExpandSystemAndUserAssignedListFromModel expands the typed schema input into a SystemAndUserAssignedList struct

func (*SystemAndUserAssignedList) MarshalJSON added in v0.19.0

func (s *SystemAndUserAssignedList) MarshalJSON() ([]byte, error)

type SystemAndUserAssignedMap added in v0.19.0

type SystemAndUserAssignedMap struct {
	Type        Type                                   `json:"type" tfschema:"type"`
	PrincipalId string                                 `json:"principalId" tfschema:"principal_id"`
	TenantId    string                                 `json:"tenantId" tfschema:"tenant_id"`
	IdentityIds map[string]UserAssignedIdentityDetails `json:"userAssignedIdentities"`
}

func ExpandSystemAndUserAssignedMap added in v0.19.0

func ExpandSystemAndUserAssignedMap(input []interface{}) (*SystemAndUserAssignedMap, error)

ExpandSystemAndUserAssignedMap expands the schema input into a SystemAndUserAssignedMap struct

func ExpandSystemAndUserAssignedMapFromModel added in v0.34.0

func ExpandSystemAndUserAssignedMapFromModel(input []ModelSystemAssignedUserAssigned) (*SystemAndUserAssignedMap, error)

ExpandSystemAndUserAssignedMapFromModel expands the typed schema input into a SystemAndUserAssignedMap struct

func (*SystemAndUserAssignedMap) MarshalJSON added in v0.19.0

func (s *SystemAndUserAssignedMap) MarshalJSON() ([]byte, error)

type SystemAssigned

type SystemAssigned struct {
	Type        Type   `json:"type" tfschema:"type"`
	PrincipalId string `json:"principalId" tfschema:"principal_id"`
	TenantId    string `json:"tenantId" tfschema:"tenant_id"`
}

func ExpandSystemAssigned

func ExpandSystemAssigned(input []interface{}) (*SystemAssigned, error)

func ExpandSystemAssignedFromModel added in v0.34.0

func ExpandSystemAssignedFromModel(input []ModelSystemAssigned) (*SystemAssigned, error)

func (*SystemAssigned) MarshalJSON added in v0.18.0

func (s *SystemAssigned) MarshalJSON() ([]byte, error)

type SystemOrUserAssignedList added in v0.19.0

type SystemOrUserAssignedList struct {
	Type        Type     `json:"type" tfschema:"type"`
	PrincipalId string   `json:"principalId" tfschema:"principal_id"`
	TenantId    string   `json:"tenantId" tfschema:"tenant_id"`
	IdentityIds []string `json:"userAssignedIdentities" tfschema:"identity_ids"`
}

func ExpandSystemOrUserAssignedList added in v0.19.0

func ExpandSystemOrUserAssignedList(input []interface{}) (*SystemOrUserAssignedList, error)

ExpandSystemOrUserAssignedList expands the schema input into a SystemOrUserAssignedList struct

func ExpandSystemOrUserAssignedListFromModel added in v0.34.0

func ExpandSystemOrUserAssignedListFromModel(input []ModelSystemAssignedUserAssigned) (*SystemOrUserAssignedList, error)

ExpandSystemOrUserAssignedListFromModel expands the typed schema input into a SystemOrUserAssignedList struct

func (*SystemOrUserAssignedList) MarshalJSON added in v0.19.0

func (s *SystemOrUserAssignedList) MarshalJSON() ([]byte, error)

type SystemOrUserAssignedMap added in v0.19.0

type SystemOrUserAssignedMap struct {
	Type        Type                                   `json:"type" tfschema:"type"`
	PrincipalId string                                 `json:"principalId" tfschema:"principal_id"`
	TenantId    string                                 `json:"tenantId" tfschema:"tenant_id"`
	IdentityIds map[string]UserAssignedIdentityDetails `json:"userAssignedIdentities"`
}

func ExpandSystemOrUserAssignedMap added in v0.19.0

func ExpandSystemOrUserAssignedMap(input []interface{}) (*SystemOrUserAssignedMap, error)

ExpandSystemOrUserAssignedMap expands the schema input into a SystemOrUserAssignedMap struct

func ExpandSystemOrUserAssignedMapFromModel added in v0.34.0

func ExpandSystemOrUserAssignedMapFromModel(input []ModelSystemAssignedUserAssigned) (*SystemOrUserAssignedMap, error)

ExpandSystemOrUserAssignedMapFromModel expands the typed schema input into a SystemOrUserAssignedMap struct

func (*SystemOrUserAssignedMap) MarshalJSON added in v0.19.0

func (s *SystemOrUserAssignedMap) MarshalJSON() ([]byte, error)

type Type

type Type string
const (
	TypeNone                       Type = "None"
	TypeSystemAssigned             Type = "SystemAssigned"
	TypeUserAssigned               Type = "UserAssigned"
	TypeSystemAssignedUserAssigned Type = "SystemAssigned, UserAssigned"
)

type UserAssignedIdentityDetails added in v0.18.0

type UserAssignedIdentityDetails struct {
	ClientId    *string `json:"clientId,omitempty"`
	PrincipalId *string `json:"principalId,omitempty"`
}

func (UserAssignedIdentityDetails) MarshalJSON added in v0.18.0

func (u UserAssignedIdentityDetails) MarshalJSON() ([]byte, error)

type UserAssignedList added in v0.18.0

type UserAssignedList struct {
	Type        Type     `json:"type" tfschema:"type"`
	IdentityIds []string `json:"userAssignedIdentities" tfschema:"identity_ids"`
}

func ExpandUserAssignedList added in v0.18.0

func ExpandUserAssignedList(input []interface{}) (*UserAssignedList, error)

ExpandUserAssignedList expands the schema input into a UserAssignedList struct

func ExpandUserAssignedListFromModel added in v0.34.0

func ExpandUserAssignedListFromModel(input []ModelUserAssigned) (*UserAssignedList, error)

ExpandUserAssignedListFromModel expands the typed schema input into a UserAssignedList struct

func (*UserAssignedList) MarshalJSON added in v0.18.0

func (s *UserAssignedList) MarshalJSON() ([]byte, error)

type UserAssignedMap added in v0.18.0

type UserAssignedMap struct {
	Type        Type                                   `json:"type" tfschema:"type"`
	IdentityIds map[string]UserAssignedIdentityDetails `json:"userAssignedIdentities"`
}

func ExpandUserAssignedMap added in v0.18.0

func ExpandUserAssignedMap(input []interface{}) (*UserAssignedMap, error)

ExpandUserAssignedMap expands the schema input into a UserAssignedMap struct

func ExpandUserAssignedMapFromModel added in v0.34.0

func ExpandUserAssignedMapFromModel(input []ModelUserAssigned) (*UserAssignedMap, error)

ExpandUserAssignedMapFromModel expands the typed schema input into a UserAssignedMap struct

func (*UserAssignedMap) MarshalJSON added in v0.18.0

func (s *UserAssignedMap) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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