Documentation ¶
Index ¶
- func NewAdminUserDataSource() datasource.DataSource
- func NewAdminUserResource() resource.Resource
- type AdminUserDataSource
- func (d *AdminUserDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *AdminUserDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *AdminUserDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AdminUserDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type AdminUserResourceModel
- func (AdminUserResourceModel) GetAttributes() map[string]schema.Attribute
- func (AdminUserResourceModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (AdminUserResourceModel) GetDataSourceSchema() schema.Schema
- func (AdminUserResourceModel) GetSchema() schema.Schema
- func (r AdminUserResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, isResource bool, ...) AdminUserResourceModel
- type RightsModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdminUserDataSource ¶ added in v1.0.7
func NewAdminUserDataSource() datasource.DataSource
func NewAdminUserResource ¶
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 (d *AdminUserDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*AdminUserDataSource) Metadata ¶ added in v1.0.7
func (d *AdminUserDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*AdminUserDataSource) Read ¶ added in v1.0.7
func (d *AdminUserDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*AdminUserDataSource) Schema ¶ added in v1.0.7
func (d *AdminUserDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
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 ¶
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
func (RightsModel) GetSchema() schema.NestedAttributeObject
Click to show internal directories.
Click to hide internal directories.