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

Documentation

Index

Constants

View Source
const (
	ADMINISTRATORSERVICENAME_XENDESKTOP string = "XenDesktop"
	ADMINISTRATORSERVICENAME_PLATFORM   string = "Platform"
	ADMINISTRATORACCESSTYPE_WEM         string = "WEM"
	ADMINISTRATORACCESSTYPE_CAS         string = "CAS"
)

List of AdministratorServiceNames

Variables

This section is empty.

Functions

func NewCCAdminUserResource

func NewCCAdminUserResource() resource.Resource

NewAdminUserResource is a helper function to simplify the provider implementation.

Types

type CCAdminPolicyResourceModel added in v1.0.3

type CCAdminPolicyResourceModel struct {
	Name        types.String `tfsdk:"name"`
	ServiceName types.String `tfsdk:"service_name"`
	Scopes      types.Set    `tfsdk:"scopes"` // Set[string]
}

func (CCAdminPolicyResourceModel) GetAttributes added in v1.0.3

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

func (CCAdminPolicyResourceModel) GetKey added in v1.0.3

func (CCAdminPolicyResourceModel) GetSchema added in v1.0.3

func (CCAdminPolicyResourceModel) RefreshListItem added in v1.0.3

type CCAdminUserResourceModel

type CCAdminUserResourceModel struct {
	AdminId            types.String `tfsdk:"admin_id"`
	AccessType         types.String `tfsdk:"access_type"`
	DisplayName        types.String `tfsdk:"display_name"`
	Email              types.String `tfsdk:"email"`
	FirstName          types.String `tfsdk:"first_name"`
	LastName           types.String `tfsdk:"last_name"`
	ProviderType       types.String `tfsdk:"provider_type"`
	Type               types.String `tfsdk:"type"`
	Policies           types.List   `tfsdk:"policies"` // List[CCAdminPolicyResourceModel]
	ExternalProviderId types.String `tfsdk:"external_provider_id"`
	ExternalUserId     types.String `tfsdk:"external_user_id"`
}

CCAdminUserResourceModel maps the resource schema data.

func (CCAdminUserResourceModel) GetAttributes

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

func (CCAdminUserResourceModel) GetSchema

func (CCAdminUserResourceModel) RefreshPropertyValues

func (r CCAdminUserResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, adminUser ccadmins.AdministratorResult) CCAdminUserResourceModel

func (CCAdminUserResourceModel) RefreshPropertyValuesForPolicies added in v1.0.3

func (r CCAdminUserResourceModel) RefreshPropertyValuesForPolicies(ctx context.Context, diagnostics *diag.Diagnostics, adminAccessPolicy *ccadmins.AdministratorAccessModel) CCAdminUserResourceModel

Jump to

Keyboard shortcuts

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