Documentation
¶
Index ¶
- func ExpandToSystemAndUserAssignedList(ctx context.Context, input typehelpers.ListNestedObjectValueOf[IdentityModel], ...)
- func ExpandToSystemAndUserAssignedMap(ctx context.Context, input typehelpers.ListNestedObjectValueOf[IdentityModel], ...)
- func ExpandToSystemAssigned(ctx context.Context, ...)
- func ExpandToSystemOrUserAssignedList(ctx context.Context, input typehelpers.ListNestedObjectValueOf[IdentityModel], ...)
- func ExpandToSystemOrUserAssignedMap(ctx context.Context, input typehelpers.ListNestedObjectValueOf[IdentityModel], ...)
- func FlattenFromSystemAndUserAssignedList(ctx context.Context, input *identity.SystemAndUserAssignedList, ...)
- func FlattenFromSystemAndUserAssignedMap(ctx context.Context, input *identity.SystemAndUserAssignedMap, ...)
- func FlattenFromSystemAssigned(ctx context.Context, input *identity.SystemAssigned, ...)
- func FlattenFromSystemOrUserAssignedList(ctx context.Context, input *identity.SystemOrUserAssignedList, ...)
- func FlattenFromSystemOrUserAssignedMap(ctx context.Context, input *identity.SystemOrUserAssignedMap, ...)
- func IdentityDataSourceAttributeSchema(ctx context.Context) schema.ListNestedAttribute
- func IdentityDataSourceBlockSchema(ctx context.Context) datasourceschema.ListNestedBlock
- func IdentityResourceAttributeSchema(ctx context.Context, validTypes ...identity.Type) schema.ListNestedAttribute
- func IdentityResourceBlockSchema(ctx context.Context, validTypes ...identity.Type) schema.ListNestedBlock
- type IdentityModel
- type SystemIdentityModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandToSystemAndUserAssignedList ¶
func ExpandToSystemAndUserAssignedList(ctx context.Context, input typehelpers.ListNestedObjectValueOf[IdentityModel], result *identity.SystemAndUserAssignedList, diags *diag.Diagnostics)
func ExpandToSystemAndUserAssignedMap ¶
func ExpandToSystemAndUserAssignedMap(ctx context.Context, input typehelpers.ListNestedObjectValueOf[IdentityModel], result *identity.SystemAndUserAssignedMap, diags *diag.Diagnostics)
func ExpandToSystemAssigned ¶
func ExpandToSystemAssigned(ctx context.Context, input typehelpers.ListNestedObjectValueOf[SystemIdentityModel], result *identity.SystemAssigned, diags *diag.Diagnostics)
func ExpandToSystemOrUserAssignedList ¶
func ExpandToSystemOrUserAssignedList(ctx context.Context, input typehelpers.ListNestedObjectValueOf[IdentityModel], result *identity.SystemOrUserAssignedList, diags *diag.Diagnostics)
func ExpandToSystemOrUserAssignedMap ¶
func ExpandToSystemOrUserAssignedMap(ctx context.Context, input typehelpers.ListNestedObjectValueOf[IdentityModel], result *identity.SystemOrUserAssignedMap, diags *diag.Diagnostics)
func FlattenFromSystemAndUserAssignedList ¶
func FlattenFromSystemAndUserAssignedList(ctx context.Context, input *identity.SystemAndUserAssignedList, result *typehelpers.ListNestedObjectValueOf[IdentityModel], diags *diag.Diagnostics)
func FlattenFromSystemAndUserAssignedMap ¶
func FlattenFromSystemAndUserAssignedMap(ctx context.Context, input *identity.SystemAndUserAssignedMap, result *typehelpers.ListNestedObjectValueOf[IdentityModel], diags *diag.Diagnostics)
func FlattenFromSystemAssigned ¶
func FlattenFromSystemAssigned(ctx context.Context, input *identity.SystemAssigned, result *typehelpers.ListNestedObjectValueOf[SystemIdentityModel], diags *diag.Diagnostics)
func FlattenFromSystemOrUserAssignedList ¶
func FlattenFromSystemOrUserAssignedList(ctx context.Context, input *identity.SystemOrUserAssignedList, result *typehelpers.ListNestedObjectValueOf[IdentityModel], diags *diag.Diagnostics)
func FlattenFromSystemOrUserAssignedMap ¶
func FlattenFromSystemOrUserAssignedMap(ctx context.Context, input *identity.SystemOrUserAssignedMap, result *typehelpers.ListNestedObjectValueOf[IdentityModel], diags *diag.Diagnostics)
func IdentityDataSourceAttributeSchema ¶
func IdentityDataSourceAttributeSchema(ctx context.Context) schema.ListNestedAttribute
IdentityDataSourceAttributeSchema returns a Framework resource attribute schema intended for use with TF ProtoV6
func IdentityDataSourceBlockSchema ¶
func IdentityDataSourceBlockSchema(ctx context.Context) datasourceschema.ListNestedBlock
IdentityDataSourceBlockSchema returns a Framework datasource Block schema for use with resources that require a Resource Manager SystemAndUserAssignedMap
func IdentityResourceAttributeSchema ¶
func IdentityResourceAttributeSchema(ctx context.Context, validTypes ...identity.Type) schema.ListNestedAttribute
IdentityResourceAttributeSchema returns a Framework resource attribute schema intended for use with TF ProtoV6
func IdentityResourceBlockSchema ¶
func IdentityResourceBlockSchema(ctx context.Context, validTypes ...identity.Type) schema.ListNestedBlock
IdentityResourceBlockSchema returns a Framework resource Block schema for use with resources that require a Resource Manager Identity block. Valid identity.Type values can be specified as an optional []identity.Type{} parameter to the function. omitting or empty list will result "UserAssigned", "SystemAssigned", and "SystemAssigned, UserAssigned" being valid
Types ¶
type IdentityModel ¶
type IdentityModel struct { Type types.String `tfsdk:"type"` IdentityIDs typehelpers.SetValueOf[types.String] `tfsdk:"identity_ids" convert:"IdentityIds"` PrincipalID types.String `tfsdk:"principal_id" convert:"PrincipalId"` TenantID types.String `tfsdk:"tenant_id" convert:"TenantId"` }