Documentation ¶
Index ¶
- func NewVdaDataSource() datasource.DataSource
- type VdaDataSource
- func (d *VdaDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *VdaDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *VdaDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *VdaDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type VdaDataSourceModel
- type VdaModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVdaDataSource ¶
func NewVdaDataSource() datasource.DataSource
Types ¶
type VdaDataSource ¶
type VdaDataSource struct {
// contains filtered or unexported fields
}
VdaDataSource defines the data source implementation.
func (*VdaDataSource) Configure ¶
func (d *VdaDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*VdaDataSource) Metadata ¶
func (d *VdaDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*VdaDataSource) Read ¶
func (d *VdaDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*VdaDataSource) Schema ¶
func (d *VdaDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type VdaDataSourceModel ¶
type VdaDataSourceModel struct { MachineCatalog types.String `tfsdk:"machine_catalog"` DeliveryGroup types.String `tfsdk:"delivery_group"` Vdas []VdaModel `tfsdk:"vdas"` }
VdaDataSourceModel defines the VDA data source implementation.
func (VdaDataSourceModel) GetSchema ¶ added in v0.6.2
func (VdaDataSourceModel) GetSchema() schema.Schema
func (VdaDataSourceModel) RefreshPropertyValues ¶
func (r VdaDataSourceModel) RefreshPropertyValues(vdas *citrixorchestration.MachineResponseModelCollection) VdaDataSourceModel
type VdaModel ¶
type VdaModel struct { MachineName types.String `tfsdk:"machine_name"` HostedMachineId types.String `tfsdk:"hosted_machine_id"` AssociatedMachineCatalog types.String `tfsdk:"associated_machine_catalog"` AssociatedDeliveryGroup types.String `tfsdk:"associated_delivery_group"` }
VdaModel defines the single VDA data model implementation.
func (VdaModel) GetSchema ¶ added in v0.6.2
func (VdaModel) GetSchema() schema.NestedAttributeObject
Click to show internal directories.
Click to hide internal directories.