identity

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MPL-2.0 Imports: 5 Imported by: 1,471

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlattenSystemAndUserAssignedList added in v0.19.0

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

FlattenSystemAndUserAssignedList turns a SystemAndUserAssignedList into a []interface{}

func FlattenSystemAndUserAssignedMap added in v0.19.0

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

FlattenSystemAndUserAssignedMap turns a SystemAndUserAssignedMap into a []interface{}

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 FlattenSystemOrUserAssignedMap added in v0.19.0

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

FlattenSystemOrUserAssignedMap turns a SystemOrUserAssignedMap into a []interface{}

func FlattenUserAssignedList added in v0.18.0

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

FlattenUserAssignedList turns a UserAssignedList into a []interface{}

func FlattenUserAssignedMap added in v0.18.0

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

FlattenUserAssignedMap turns a UserAssignedMap into a []interface{}

Types

type SystemAndUserAssignedList added in v0.19.0

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

func ExpandSystemAndUserAssignedList added in v0.19.0

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

ExpandSystemAndUserAssignedList expands the 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"`
	PrincipalId string                                 `json:"principalId"`
	TenantId    string                                 `json:"tenantId"`
	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 (*SystemAndUserAssignedMap) MarshalJSON added in v0.19.0

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

type SystemAssigned

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

func ExpandSystemAssigned

func ExpandSystemAssigned(input []interface{}) (*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"`
	PrincipalId string   `json:"principalId"`
	TenantId    string   `json:"tenantId"`
	IdentityIds []string `json:"userAssignedIdentities"`
}

func ExpandSystemOrUserAssignedList added in v0.19.0

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

ExpandSystemOrAssignedUserAssignedList expands the 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"`
	PrincipalId string                                 `json:"principalId"`
	TenantId    string                                 `json:"tenantId"`
	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 (*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"`
	IdentityIds []string `json:"userAssignedIdentities"`
}

func ExpandUserAssignedList added in v0.18.0

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

ExpandUserAssignedList expands the 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"`
	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 (*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