Documentation ¶
Index ¶
- Constants
- func NewCCAdminUserResource() resource.Resource
- type CCAdminPolicyResourceModel
- func (CCAdminPolicyResourceModel) GetAttributes() map[string]schema.Attribute
- func (r CCAdminPolicyResourceModel) GetKey() string
- func (CCAdminPolicyResourceModel) GetSchema() schema.NestedAttributeObject
- func (r CCAdminPolicyResourceModel) RefreshListItem(ctx context.Context, diags *diag.Diagnostics, ...) util.ResourceModelWithAttributes
- type CCAdminUserResourceModel
- func (CCAdminUserResourceModel) GetAttributes() map[string]schema.Attribute
- func (CCAdminUserResourceModel) GetSchema() schema.Schema
- func (r CCAdminUserResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) CCAdminUserResourceModel
- func (r CCAdminUserResourceModel) RefreshPropertyValuesForPolicies(ctx context.Context, diagnostics *diag.Diagnostics, ...) CCAdminUserResourceModel
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 ¶
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 (r CCAdminPolicyResourceModel) GetKey() string
func (CCAdminPolicyResourceModel) GetSchema ¶ added in v1.0.3
func (CCAdminPolicyResourceModel) GetSchema() schema.NestedAttributeObject
func (CCAdminPolicyResourceModel) RefreshListItem ¶ added in v1.0.3
func (r CCAdminPolicyResourceModel) RefreshListItem(ctx context.Context, diags *diag.Diagnostics, adminAccessPolicy ccadmins.AdministratorAccessPolicyModel) util.ResourceModelWithAttributes
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) GetSchema() schema.Schema
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
Click to show internal directories.
Click to hide internal directories.