Documentation ¶
Overview ¶
Copyright © 2024. Citrix Systems, Inc.
Copyright © 2024. Citrix Systems, Inc.
Index ¶
- func NewAdminRoleDataSource() datasource.DataSource
- func NewAdminRoleResource() resource.Resource
- type AdminRoleDataSource
- func (d *AdminRoleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *AdminRoleDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *AdminRoleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AdminRoleDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type AdminRoleModel
- func (AdminRoleModel) GetAttributes() map[string]schema.Attribute
- func (AdminRoleModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (AdminRoleModel) GetDataSourceSchema() schema.Schema
- func (AdminRoleModel) GetSchema() schema.Schema
- func (r AdminRoleModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) AdminRoleModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdminRoleDataSource ¶ added in v1.0.7
func NewAdminRoleDataSource() datasource.DataSource
func NewAdminRoleResource ¶
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 (d *AdminRoleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*AdminRoleDataSource) Metadata ¶ added in v1.0.7
func (d *AdminRoleDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*AdminRoleDataSource) Read ¶ added in v1.0.7
func (d *AdminRoleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*AdminRoleDataSource) Schema ¶ added in v1.0.7
func (d *AdminRoleDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
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
Click to show internal directories.
Click to hide internal directories.