Documentation ¶
Index ¶
- type ExpandedConfig
- type ExpandedConfigCaster
- type Identity
- type SystemAssignedIdentity
- type SystemAssignedUserAssigned
- func (s SystemAssignedUserAssigned) Expand(input []interface{}) (*ExpandedConfig, error)
- func (s SystemAssignedUserAssigned) Flatten(input *ExpandedConfig) []interface{}
- func (s SystemAssignedUserAssigned) Schema() *pluginsdk.Schema
- func (s SystemAssignedUserAssigned) SchemaDataSource() *pluginsdk.Schema
- type SystemUserAssignedIdentityList
- type SystemUserAssignedIdentityMap
- type Type
- type UserAssigned
- type UserAssignedIdentityList
- type UserAssignedIdentityMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExpandedConfig ¶
type ExpandedConfig struct { // Type is the type of User Assigned Identity, either `None`, `SystemAssigned`, `UserAssigned` // or `SystemAssigned, UserAssigned` Type Type `tfschema:"type"` PrincipalId string `tfschema:"principal_id"` TenantId string `tfschema:"tenant_id"` UserAssignedIdentityIds []string `tfschema:"identity_ids"` }
type ExpandedConfigCaster ¶
type ExpandedConfigCaster interface { ToExpandedConfig() ExpandedConfig FromExpandedConfig(ExpandedConfig) }
type Identity ¶
type Identity interface { Expand(input []interface{}) (*ExpandedConfig, error) Flatten(input *ExpandedConfig) []interface{} Schema() *pluginsdk.Schema }
type SystemAssignedIdentity ¶
type SystemAssignedIdentity struct { Type Type `json:"type,omitempty"` TenantId *string `json:"tenantId,omitempty"` PrincipalId *string `json:"principalId,omitempty"` }
func (*SystemAssignedIdentity) FromExpandedConfig ¶
func (s *SystemAssignedIdentity) FromExpandedConfig(config ExpandedConfig)
func (*SystemAssignedIdentity) ToExpandedConfig ¶
func (s *SystemAssignedIdentity) ToExpandedConfig() ExpandedConfig
type SystemAssignedUserAssigned ¶
type SystemAssignedUserAssigned struct{}
func (SystemAssignedUserAssigned) Expand ¶
func (s SystemAssignedUserAssigned) Expand(input []interface{}) (*ExpandedConfig, error)
func (SystemAssignedUserAssigned) Flatten ¶
func (s SystemAssignedUserAssigned) Flatten(input *ExpandedConfig) []interface{}
func (SystemAssignedUserAssigned) Schema ¶
func (s SystemAssignedUserAssigned) Schema() *pluginsdk.Schema
func (SystemAssignedUserAssigned) SchemaDataSource ¶
func (s SystemAssignedUserAssigned) SchemaDataSource() *pluginsdk.Schema
type SystemUserAssignedIdentityList ¶
type SystemUserAssignedIdentityList struct { Type Type `json:"type,omitempty"` TenantId *string `json:"tenantId,omitempty"` PrincipalId *string `json:"principalId,omitempty"` UserAssignedIdentities *[]userAssignedIdentity `json:"userAssignedIdentities"` }
func (*SystemUserAssignedIdentityList) FromExpandedConfig ¶
func (s *SystemUserAssignedIdentityList) FromExpandedConfig(config ExpandedConfig)
func (*SystemUserAssignedIdentityList) ToExpandedConfig ¶
func (s *SystemUserAssignedIdentityList) ToExpandedConfig() ExpandedConfig
type SystemUserAssignedIdentityMap ¶
type SystemUserAssignedIdentityMap struct { Type Type `json:"type,omitempty"` TenantId *string `json:"tenantId,omitempty"` PrincipalId *string `json:"principalId,omitempty"` UserAssignedIdentities map[string]*userAssignedIdentityInfo `json:"userAssignedIdentities"` }
func (*SystemUserAssignedIdentityMap) FromExpandedConfig ¶
func (s *SystemUserAssignedIdentityMap) FromExpandedConfig(config ExpandedConfig)
func (*SystemUserAssignedIdentityMap) ToExpandedConfig ¶
func (s *SystemUserAssignedIdentityMap) ToExpandedConfig() ExpandedConfig
type UserAssigned ¶
type UserAssigned struct{}
func (UserAssigned) Expand ¶
func (u UserAssigned) Expand(input []interface{}) (*ExpandedConfig, error)
func (UserAssigned) Flatten ¶
func (u UserAssigned) Flatten(input *ExpandedConfig) []interface{}
func (UserAssigned) Schema ¶
func (u UserAssigned) Schema() *pluginsdk.Schema
func (UserAssigned) SchemaDataSource ¶
func (u UserAssigned) SchemaDataSource() *pluginsdk.Schema
type UserAssignedIdentityList ¶
type UserAssignedIdentityList struct { Type Type `json:"type,omitempty"` UserAssignedIdentities *[]userAssignedIdentity `json:"userAssignedIdentities"` }
func (*UserAssignedIdentityList) FromExpandedConfig ¶
func (u *UserAssignedIdentityList) FromExpandedConfig(config ExpandedConfig)
func (*UserAssignedIdentityList) ToExpandedConfig ¶
func (u *UserAssignedIdentityList) ToExpandedConfig() ExpandedConfig
type UserAssignedIdentityMap ¶
type UserAssignedIdentityMap struct { Type Type `json:"type,omitempty"` UserAssignedIdentities map[string]*userAssignedIdentityInfo `json:"userAssignedIdentities"` }
func (*UserAssignedIdentityMap) FromExpandedConfig ¶
func (u *UserAssignedIdentityMap) FromExpandedConfig(config ExpandedConfig)
func (*UserAssignedIdentityMap) ToExpandedConfig ¶
func (u *UserAssignedIdentityMap) ToExpandedConfig() ExpandedConfig
Click to show internal directories.
Click to hide internal directories.