Help us shape the future of Go! Take the 2026 Go Developer Survey

roleassignment

package
v1.12.6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() resource.Resource

NewroleAssignmentResource is a helper function to simplify the provider implementation.

Types

type RoleAssignmentResourceModel

type RoleAssignmentResourceModel struct {
	UserId     types.String `tfsdk:"user_id"`
	EntityType types.String `tfsdk:"entity_type"`
	Role       types.String `tfsdk:"role"`
	Roles      types.List   `tfsdk:"roles"`
	SendEmail  types.Bool   `tfsdk:"send_email"`
	Alias      types.String `tfsdk:"alias"`
}

func BuildAPIModelToRoleAssignmentModel

func BuildAPIModelToRoleAssignmentModel(apiResponse *sgsdkgo.AddUserToOrganization) (*RoleAssignmentResourceModel, diag.Diagnostics)

func (*RoleAssignmentResourceModel) ToCreateAPIModel

func (*RoleAssignmentResourceModel) ToGetAPIModel

Jump to

Keyboard shortcuts

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