admin_user

package
v0.6.3-bugfix-2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdminUserResource

func NewAdminUserResource() resource.Resource

NewAdminUserResource is a helper function to simplify the provider implementation.

Types

type AdminUserResourceModel

type AdminUserResourceModel struct {
	Id         types.String `tfsdk:"id"`
	Name       types.String `tfsdk:"name"`
	DomainName types.String `tfsdk:"domain_name"`
	Rights     types.List   `tfsdk:"rights"` //List[RightsModel]
	IsEnabled  types.Bool   `tfsdk:"is_enabled"`
}

AdminUserResourceModel maps the resource schema data.

func (AdminUserResourceModel) GetAttributes added in v0.6.2

func (AdminUserResourceModel) GetAttributes() map[string]schema.Attribute

func (AdminUserResourceModel) GetSchema added in v0.6.2

func (AdminUserResourceModel) GetSchema() schema.Schema

func (AdminUserResourceModel) RefreshPropertyValues

type RightsModel

type RightsModel struct {
	Role  types.String `tfsdk:"role"`
	Scope types.String `tfsdk:"scope"`
}

func (RightsModel) GetAttributes added in v0.6.1

func (RightsModel) GetAttributes() map[string]schema.Attribute

func (RightsModel) GetSchema added in v0.6.1

Jump to

Keyboard shortcuts

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