delivery_group

package
v0.6.3-bugfix-2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeliveryGroupDataSource added in v0.6.2

func NewDeliveryGroupDataSource() datasource.DataSource

func NewDeliveryGroupResource

func NewDeliveryGroupResource() resource.Resource

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 (*DeliveryGroupDataSource) Metadata added in v0.6.2

func (*DeliveryGroupDataSource) Read added in v0.6.2

func (*DeliveryGroupDataSource) Schema added in v0.6.2

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

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) RefreshListItem

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) GetSchema added in v0.6.1

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) GetSchema added in v0.6.1

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) GetSchema added in v0.6.1

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) GetSchema added in v0.6.1

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 (DeliveryGroupRebootSchedule) GetSchema added in v0.6.1

func (DeliveryGroupRebootSchedule) RefreshListItem

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

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) GetSchema added in v0.6.1

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) GetSchemaForDeliveryGroup added in v0.6.1

func (RestrictedAccessUsers) GetSchemaForDeliveryGroup() schema.SingleNestedAttribute

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL