admin_role

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: 22 Imported by: 0

Documentation

Overview

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdminRoleDataSource added in v1.0.7

func NewAdminRoleDataSource() datasource.DataSource

func NewAdminRoleResource

func NewAdminRoleResource() resource.Resource

NewAdminRoleResource is a helper function to simplify the provider implementation.

Types

type AdminRoleDataSource added in v1.0.7

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

func (*AdminRoleDataSource) Configure added in v1.0.7

func (*AdminRoleDataSource) Metadata added in v1.0.7

func (*AdminRoleDataSource) Read added in v1.0.7

func (*AdminRoleDataSource) Schema added in v1.0.7

type AdminRoleModel added in v1.0.7

type AdminRoleModel struct {
	Id               types.String `tfsdk:"id"`
	Name             types.String `tfsdk:"name"`
	IsBuiltIn        types.Bool   `tfsdk:"is_built_in"`
	Description      types.String `tfsdk:"description"`
	CanLaunchManage  types.Bool   `tfsdk:"can_launch_manage"`
	CanLaunchMonitor types.Bool   `tfsdk:"can_launch_monitor"`
	Permissions      types.Set    `tfsdk:"permissions"` //Set[string]
}

AdminRoleModel maps the resource schema data.

func (AdminRoleModel) GetAttributes added in v1.0.7

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

func (AdminRoleModel) GetDataSourceAttributes added in v1.0.7

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

func (AdminRoleModel) GetDataSourceSchema added in v1.0.7

func (AdminRoleModel) GetDataSourceSchema() schema.Schema

func (AdminRoleModel) GetSchema added in v1.0.7

func (AdminRoleModel) GetSchema() schema.Schema

func (AdminRoleModel) RefreshPropertyValues added in v1.0.7

func (r AdminRoleModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, adminRole *citrixorchestration.RoleResponseModel) AdminRoleModel

Jump to

Keyboard shortcuts

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