Documentation
¶
Index ¶
- func NewDeliveryGroupDataSource() datasource.DataSource
- func NewDeliveryGroupResource() resource.Resource
- type AssociatedMachineCatalogProperties
- type DeliveryGroupDataSource
- func (d *DeliveryGroupDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DeliveryGroupDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DeliveryGroupDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DeliveryGroupDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DeliveryGroupDataSourceModel
- type DeliveryGroupDesktop
- func (DeliveryGroupDesktop) GetAttributes() map[string]schema.Attribute
- func (r DeliveryGroupDesktop) GetKey() string
- func (DeliveryGroupDesktop) GetSchema() schema.NestedAttributeObject
- func (dgDesktop DeliveryGroupDesktop) RefreshListItem(ctx context.Context, diagnostics *diag.Diagnostics, ...) util.ModelWithAttributes
- type DeliveryGroupMachineCatalogModel
- type DeliveryGroupPowerManagementSettings
- type DeliveryGroupPowerTimeScheme
- type DeliveryGroupRebootNotificationToUsers
- type DeliveryGroupRebootSchedule
- func (DeliveryGroupRebootSchedule) GetAttributes() map[string]schema.Attribute
- func (r DeliveryGroupRebootSchedule) GetKey() string
- func (DeliveryGroupRebootSchedule) GetSchema() schema.NestedAttributeObject
- func (schedule DeliveryGroupRebootSchedule) RefreshListItem(ctx context.Context, diags *diag.Diagnostics, ...) util.ModelWithAttributes
- type DeliveryGroupResourceModel
- type PowerTimeSchemePoolSizeScheduleRequestModel
- type RestrictedAccessUsers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeliveryGroupDataSource ¶ added in v0.6.2
func NewDeliveryGroupDataSource() datasource.DataSource
func NewDeliveryGroupResource ¶
NewDeliveryGroupResource is a helper function to simplify the provider implementation.
Types ¶
type AssociatedMachineCatalogProperties ¶ added in v0.6.1
type AssociatedMachineCatalogProperties struct {
SessionSupport citrixorchestration.SessionSupport
IsPowerManaged bool
IsRemotePcCatalog bool
IdentityType citrixorchestration.IdentityType
AllocationType citrixorchestration.AllocationType
}
type DeliveryGroupDataSource ¶ added in v0.6.2
type DeliveryGroupDataSource struct {
// contains filtered or unexported fields
}
DeliveryGroupDataSource defines the data source implementation.
func (*DeliveryGroupDataSource) Configure ¶ added in v0.6.2
func (d *DeliveryGroupDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DeliveryGroupDataSource) Metadata ¶ added in v0.6.2
func (d *DeliveryGroupDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DeliveryGroupDataSource) Read ¶ added in v0.6.2
func (d *DeliveryGroupDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DeliveryGroupDataSource) Schema ¶ added in v0.6.2
func (d *DeliveryGroupDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DeliveryGroupDataSourceModel ¶ added in v0.6.2
type DeliveryGroupDataSourceModel struct {
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Vdas []vda.VdaModel `tfsdk:"vdas"` // List[VdaModel]
}
DeliveryGroupDataSourceModel defines the Delivery Group data source implementation.
func (DeliveryGroupDataSourceModel) GetSchema ¶ added in v0.6.2
func (DeliveryGroupDataSourceModel) GetSchema() schema.Schema
func (DeliveryGroupDataSourceModel) RefreshPropertyValues ¶ added in v0.6.2
func (r DeliveryGroupDataSourceModel) RefreshPropertyValues(deliveryGroup *citrixorchestration.DeliveryGroupDetailResponseModel, vdas *citrixorchestration.MachineResponseModelCollection) DeliveryGroupDataSourceModel
type DeliveryGroupDesktop ¶
type DeliveryGroupDesktop struct {
PublishedName types.String `tfsdk:"published_name"`
DesktopDescription types.String `tfsdk:"description"`
Enabled types.Bool `tfsdk:"enabled"`
EnableSessionRoaming types.Bool `tfsdk:"enable_session_roaming"`
RestrictedAccessUsers types.Object `tfsdk:"restricted_access_users"` //RestrictedAccessUsers
}
func (DeliveryGroupDesktop) GetAttributes ¶ added in v0.6.1
func (DeliveryGroupDesktop) GetAttributes() map[string]schema.Attribute
func (DeliveryGroupDesktop) GetKey ¶ added in v0.6.1
func (r DeliveryGroupDesktop) GetKey() string
func (DeliveryGroupDesktop) GetSchema ¶ added in v0.6.1
func (DeliveryGroupDesktop) GetSchema() schema.NestedAttributeObject
func (DeliveryGroupDesktop) RefreshListItem ¶
func (dgDesktop DeliveryGroupDesktop) RefreshListItem(ctx context.Context, diagnostics *diag.Diagnostics, desktop citrixorchestration.DesktopResponseModel) util.ModelWithAttributes
type DeliveryGroupMachineCatalogModel ¶
type DeliveryGroupMachineCatalogModel struct {
MachineCatalog types.String `tfsdk:"machine_catalog"`
MachineCount types.Int64 `tfsdk:"machine_count"`
}
func (DeliveryGroupMachineCatalogModel) GetAttributes ¶ added in v0.6.1
func (DeliveryGroupMachineCatalogModel) GetAttributes() map[string]schema.Attribute
func (DeliveryGroupMachineCatalogModel) GetSchema ¶ added in v0.6.1
func (DeliveryGroupMachineCatalogModel) GetSchema() schema.NestedAttributeObject
type DeliveryGroupPowerManagementSettings ¶
type DeliveryGroupPowerManagementSettings struct {
AutoscaleEnabled types.Bool `tfsdk:"autoscale_enabled"`
Timezone types.String `tfsdk:"timezone"`
PeakDisconnectTimeoutMinutes types.Int64 `tfsdk:"peak_disconnect_timeout_minutes"`
PeakLogOffAction types.String `tfsdk:"peak_log_off_action"`
PeakDisconnectAction types.String `tfsdk:"peak_disconnect_action"`
PeakExtendedDisconnectAction types.String `tfsdk:"peak_extended_disconnect_action"`
PeakExtendedDisconnectTimeoutMinutes types.Int64 `tfsdk:"peak_extended_disconnect_timeout_minutes"`
OffPeakDisconnectTimeoutMinutes types.Int64 `tfsdk:"off_peak_disconnect_timeout_minutes"`
OffPeakLogOffAction types.String `tfsdk:"off_peak_log_off_action"`
OffPeakDisconnectAction types.String `tfsdk:"off_peak_disconnect_action"`
OffPeakExtendedDisconnectAction types.String `tfsdk:"off_peak_extended_disconnect_action"`
OffPeakExtendedDisconnectTimeoutMinutes types.Int64 `tfsdk:"off_peak_extended_disconnect_timeout_minutes"`
PeakBufferSizePercent types.Int64 `tfsdk:"peak_buffer_size_percent"`
OffPeakBufferSizePercent types.Int64 `tfsdk:"off_peak_buffer_size_percent"`
PowerOffDelayMinutes types.Int64 `tfsdk:"power_off_delay_minutes"`
DisconnectPeakIdleSessionAfterSeconds types.Int64 `tfsdk:"disconnect_peak_idle_session_after_seconds"`
DisconnectOffPeakIdleSessionAfterSeconds types.Int64 `tfsdk:"disconnect_off_peak_idle_session_after_seconds"`
LogoffPeakDisconnectedSessionAfterSeconds types.Int64 `tfsdk:"log_off_peak_disconnected_session_after_seconds"`
LogoffOffPeakDisconnectedSessionAfterSeconds types.Int64 `tfsdk:"log_off_off_peak_disconnected_session_after_seconds"`
PowerTimeSchemes types.List `tfsdk:"power_time_schemes"` //List[DeliveryGroupPowerTimeScheme]
}
func (DeliveryGroupPowerManagementSettings) GetAttributes ¶ added in v0.6.1
func (DeliveryGroupPowerManagementSettings) GetAttributes() map[string]schema.Attribute
func (DeliveryGroupPowerManagementSettings) GetSchema ¶ added in v0.6.1
func (DeliveryGroupPowerManagementSettings) GetSchema() schema.SingleNestedAttribute
type DeliveryGroupPowerTimeScheme ¶
type DeliveryGroupPowerTimeScheme struct {
DaysOfWeek types.Set `tfsdk:"days_of_week"` //Set[string]
DisplayName types.String `tfsdk:"display_name"`
PeakTimeRanges types.Set `tfsdk:"peak_time_ranges"` //Set[string]
PoolSizeSchedule types.List `tfsdk:"pool_size_schedules"` //List[PowerTimeSchemePoolSizeScheduleRequestModel]
PoolUsingPercentage types.Bool `tfsdk:"pool_using_percentage"`
}
func (DeliveryGroupPowerTimeScheme) GetAttributes ¶ added in v0.6.1
func (DeliveryGroupPowerTimeScheme) GetAttributes() map[string]schema.Attribute
func (DeliveryGroupPowerTimeScheme) GetSchema ¶ added in v0.6.1
func (DeliveryGroupPowerTimeScheme) GetSchema() schema.NestedAttributeObject
type DeliveryGroupRebootNotificationToUsers ¶
type DeliveryGroupRebootNotificationToUsers struct {
NotificationDurationMinutes types.Int64 `tfsdk:"notification_duration_minutes"`
NotificationMessage types.String `tfsdk:"notification_message"`
NotificationRepeatEvery5Minutes types.Bool `tfsdk:"notification_repeat_every_5_minutes"`
NotificationTitle types.String `tfsdk:"notification_title"`
}
func (DeliveryGroupRebootNotificationToUsers) GetAttributes ¶ added in v0.6.1
func (DeliveryGroupRebootNotificationToUsers) GetAttributes() map[string]schema.Attribute
func (DeliveryGroupRebootNotificationToUsers) GetSchema ¶ added in v0.6.1
func (DeliveryGroupRebootNotificationToUsers) GetSchema() schema.SingleNestedAttribute
type DeliveryGroupRebootSchedule ¶
type DeliveryGroupRebootSchedule struct {
Name types.String `tfsdk:"name"`
Description types.String `tfsdk:"description"`
RebootScheduleEnabled types.Bool `tfsdk:"reboot_schedule_enabled"`
RestrictToTag types.String `tfsdk:"restrict_to_tag"`
IgnoreMaintenanceMode types.Bool `tfsdk:"ignore_maintenance_mode"`
Frequency types.String `tfsdk:"frequency"`
FrequencyFactor types.Int64 `tfsdk:"frequency_factor"`
StartDate types.String `tfsdk:"start_date"`
StartTime types.String `tfsdk:"start_time"`
RebootDurationMinutes types.Int64 `tfsdk:"reboot_duration_minutes"`
UseNaturalRebootSchedule types.Bool `tfsdk:"natural_reboot_schedule"`
DaysInWeek types.Set `tfsdk:"days_in_week"` //Set[string]
WeekInMonth types.String `tfsdk:"week_in_month"`
DayInMonth types.String `tfsdk:"day_in_month"`
DeliveryGroupRebootNotificationToUsers types.Object `tfsdk:"reboot_notification_to_users"` //DeliveryGroupRebootNotificationToUsers
}
func (DeliveryGroupRebootSchedule) GetAttributes ¶ added in v0.6.1
func (DeliveryGroupRebootSchedule) GetAttributes() map[string]schema.Attribute
func (DeliveryGroupRebootSchedule) GetKey ¶ added in v0.6.1
func (r DeliveryGroupRebootSchedule) GetKey() string
func (DeliveryGroupRebootSchedule) GetSchema ¶ added in v0.6.1
func (DeliveryGroupRebootSchedule) GetSchema() schema.NestedAttributeObject
func (DeliveryGroupRebootSchedule) RefreshListItem ¶
func (schedule DeliveryGroupRebootSchedule) RefreshListItem(ctx context.Context, diags *diag.Diagnostics, rebootSchedule citrixorchestration.RebootScheduleResponseModel) util.ModelWithAttributes
type DeliveryGroupResourceModel ¶
type DeliveryGroupResourceModel struct {
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Description types.String `tfsdk:"description"`
SessionSupport types.String `tfsdk:"session_support"`
SharingKind types.String `tfsdk:"sharing_kind"`
RestrictedAccessUsers types.Object `tfsdk:"restricted_access_users"`
AllowAnonymousAccess types.Bool `tfsdk:"allow_anonymous_access"`
Desktops types.List `tfsdk:"desktops"` //List[DeliveryGroupDesktop]
AssociatedMachineCatalogs types.List `tfsdk:"associated_machine_catalogs"` //List[DeliveryGroupMachineCatalogModel]
AutoscaleSettings types.Object `tfsdk:"autoscale_settings"` //DeliveryGroupPowerManagementSettings
RebootSchedules types.List `tfsdk:"reboot_schedules"` //List[DeliveryGroupRebootSchedule]
TotalMachines types.Int64 `tfsdk:"total_machines"`
PolicySetId types.String `tfsdk:"policy_set_id"`
MinimumFunctionalLevel types.String `tfsdk:"minimum_functional_level"`
StoreFrontServers types.Set `tfsdk:"storefront_servers"` //Set[string]
Scopes types.Set `tfsdk:"scopes"` //Set[String]
MakeResourcesAvailableInLHC types.Bool `tfsdk:"make_resources_available_in_lhc"`
}
DeliveryGroupResourceModel maps the resource schema data.
func (DeliveryGroupResourceModel) GetAttributes ¶ added in v0.6.2
func (DeliveryGroupResourceModel) GetAttributes() map[string]schema.Attribute
func (DeliveryGroupResourceModel) GetSchema ¶ added in v0.6.2
func (DeliveryGroupResourceModel) GetSchema() schema.Schema
func (DeliveryGroupResourceModel) RefreshPropertyValues ¶
func (r DeliveryGroupResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, deliveryGroup *citrixorchestration.DeliveryGroupDetailResponseModel, dgDesktops *citrixorchestration.DesktopResponseModelCollection, dgPowerTimeSchemes *citrixorchestration.PowerTimeSchemeResponseModelCollection, dgMachines *citrixorchestration.MachineResponseModelCollection, dgRebootSchedule *citrixorchestration.RebootScheduleResponseModelCollection) DeliveryGroupResourceModel
type PowerTimeSchemePoolSizeScheduleRequestModel ¶
type PowerTimeSchemePoolSizeScheduleRequestModel struct {
TimeRange types.String `tfsdk:"time_range"`
PoolSize types.Int64 `tfsdk:"pool_size"`
}
func (PowerTimeSchemePoolSizeScheduleRequestModel) GetAttributes ¶ added in v0.6.1
func (PowerTimeSchemePoolSizeScheduleRequestModel) GetAttributes() map[string]schema.Attribute
func (PowerTimeSchemePoolSizeScheduleRequestModel) GetSchema ¶ added in v0.6.1
func (PowerTimeSchemePoolSizeScheduleRequestModel) GetSchema() schema.NestedAttributeObject
type RestrictedAccessUsers ¶
type RestrictedAccessUsers struct {
AllowList types.Set `tfsdk:"allow_list"` //Set[string]
BlockList types.Set `tfsdk:"block_list"` //Set[string]
}
func (RestrictedAccessUsers) GetAttributes ¶ added in v0.6.1
func (RestrictedAccessUsers) GetAttributes() map[string]schema.Attribute
func (RestrictedAccessUsers) GetSchema ¶ added in v0.6.1
func (RestrictedAccessUsers) GetSchema() schema.SingleNestedAttribute
func (RestrictedAccessUsers) GetSchemaForDeliveryGroup ¶ added in v0.6.1
func (RestrictedAccessUsers) GetSchemaForDeliveryGroup() schema.SingleNestedAttribute
Click to show internal directories.
Click to hide internal directories.