admin_user

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdminUserDataSource added in v1.0.7

func NewAdminUserDataSource() datasource.DataSource

func NewAdminUserResource

func NewAdminUserResource() resource.Resource

NewAdminUserResource is a helper function to simplify the provider implementation.

Types

type AdminUserDataSource added in v1.0.7

type AdminUserDataSource struct {
	// contains filtered or unexported fields
}

func (*AdminUserDataSource) Configure added in v1.0.7

func (*AdminUserDataSource) Metadata added in v1.0.7

func (*AdminUserDataSource) Read added in v1.0.7

func (*AdminUserDataSource) Schema added in v1.0.7

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) GetDataSourceAttributes added in v1.0.7

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

func (AdminUserResourceModel) GetDataSourceSchema added in v1.0.7

func (AdminUserResourceModel) GetDataSourceSchema() schema.Schema

func (AdminUserResourceModel) GetSchema added in v0.6.2

func (AdminUserResourceModel) GetSchema() schema.Schema

func (AdminUserResourceModel) RefreshPropertyValues

func (r AdminUserResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, isResource bool, adminUser *citrixorchestration.AdministratorResponseModel) AdminUserResourceModel

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) GetDataSourceAttributes added in v1.0.7

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

func (RightsModel) GetDataSourceSchema added in v1.0.7

func (RightsModel) GetDataSourceSchema() schema.NestedAttributeObject

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