identity

package
v0.74.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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"`
}

type SystemIdentityModel

type SystemIdentityModel struct {
	Type        types.String `tfsdk:"type"`
	PrincipalID types.String `tfsdk:"principal_id" convert:"PrincipalId"`
	TenantID    types.String `tfsdk:"tenant_id" convert:"TenantId"`
}

Jump to

Keyboard shortcuts

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