Documentation ¶
Index ¶
- func GetAdminScopeDataSourceSchema() schema.Schema
- func NewAdminScopeDataSource() datasource.DataSource
- func NewAdminScopeResource() resource.Resource
- type AdminScopeDataSource
- func (d *AdminScopeDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *AdminScopeDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *AdminScopeDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AdminScopeDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type AdminScopeDataSourceModel
- type AdminScopeResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAdminScopeDataSourceSchema ¶ added in v0.6.1
func NewAdminScopeDataSource ¶
func NewAdminScopeDataSource() datasource.DataSource
func NewAdminScopeResource ¶
NewAdminScopeResource is a helper function to simplify the provider implementation.
Types ¶
type AdminScopeDataSource ¶
type AdminScopeDataSource struct {
// contains filtered or unexported fields
}
func (*AdminScopeDataSource) Configure ¶
func (d *AdminScopeDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*AdminScopeDataSource) Metadata ¶
func (d *AdminScopeDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*AdminScopeDataSource) Read ¶
func (d *AdminScopeDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*AdminScopeDataSource) Schema ¶
func (d *AdminScopeDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type AdminScopeDataSourceModel ¶
type AdminScopeDataSourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` IsBuiltIn types.Bool `tfsdk:"is_built_in"` IsAllScope types.Bool `tfsdk:"is_all_scope"` IsTenantScope types.Bool `tfsdk:"is_tenant_scope"` TenantId types.String `tfsdk:"tenant_id"` TenantName types.String `tfsdk:"tenant_name"` }
func (AdminScopeDataSourceModel) RefreshPropertyValues ¶
func (r AdminScopeDataSourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, adminScope *citrixorchestration.ScopeResponseModel) AdminScopeDataSourceModel
type AdminScopeResourceModel ¶
type AdminScopeResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` }
AdminScopeResourceModel maps the resource schema data.
func (AdminScopeResourceModel) GetAttributes ¶ added in v0.6.2
func (AdminScopeResourceModel) GetAttributes() map[string]schema.Attribute
func (AdminScopeResourceModel) GetSchema ¶ added in v0.6.2
func (AdminScopeResourceModel) GetSchema() schema.Schema
func (AdminScopeResourceModel) RefreshPropertyValues ¶
func (r AdminScopeResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, adminScope *citrixorchestration.ScopeResponseModel) AdminScopeResourceModel
Click to show internal directories.
Click to hide internal directories.