delivery_group

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 38 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 DeliveryGroupAccessPolicyCriteriaTagsModel added in v1.0.1

type DeliveryGroupAccessPolicyCriteriaTagsModel struct {
	FilterName  types.String `tfsdk:"filter_name"`
	FilterValue types.String `tfsdk:"filter_value"`
}

func (DeliveryGroupAccessPolicyCriteriaTagsModel) GetAttributes added in v1.0.1

func (DeliveryGroupAccessPolicyCriteriaTagsModel) GetKey added in v1.0.1

func (DeliveryGroupAccessPolicyCriteriaTagsModel) GetSchema added in v1.0.1

func (DeliveryGroupAccessPolicyCriteriaTagsModel) RefreshListItem added in v1.0.1

type DeliveryGroupAccessPolicyModel added in v1.0.1

type DeliveryGroupAccessPolicyModel struct {
	Id                                  types.String `tfsdk:"id"`
	Name                                types.String `tfsdk:"name"`
	Enabled                             types.Bool   `tfsdk:"enabled"`
	AllowedConnection                   types.String `tfsdk:"allowed_connection"`
	EnableCriteriaForIncludeConnections types.Bool   `tfsdk:"enable_criteria_for_include_connections"`
	IncludeConnectionsCriteriaType      types.String `tfsdk:"include_connections_criteria_type"`
	EnableCriteriaForExcludeConnections types.Bool   `tfsdk:"enable_criteria_for_exclude_connections"`
	IncludeCriteriaFilters              types.List   `tfsdk:"include_criteria_filters"` //List[DeliveryGroupAccessPolicyCriteriaTagsModel]
	ExcludeCriteriaFilters              types.List   `tfsdk:"exclude_criteria_filters"` //List[DeliveryGroupAccessPolicyCriteriaTagsModel]
}

func (DeliveryGroupAccessPolicyModel) GetAttributes added in v1.0.1

func (DeliveryGroupAccessPolicyModel) GetKey added in v1.0.1

func (DeliveryGroupAccessPolicyModel) GetSchema added in v1.0.1

func (DeliveryGroupAccessPolicyModel) RefreshListItem added in v1.0.1

func (DeliveryGroupAccessPolicyModel) ValidateConfig added in v1.0.1

func (accessPolicy DeliveryGroupAccessPolicyModel) ValidateConfig(ctx context.Context, diagnostics *diag.Diagnostics, index int) bool

func (DeliveryGroupAccessPolicyModel) ValidateConfigForDefaultPolicy added in v1.0.1

func (accessPolicy DeliveryGroupAccessPolicyModel) ValidateConfigForDefaultPolicy(ctx context.Context, diagnostics *diag.Diagnostics, index int) bool

type DeliveryGroupAppProtection added in v1.0.0

type DeliveryGroupAppProtection struct {
	ApplyContextually       types.List `tfsdk:"apply_contextually"` //DeliveryGroupAppProtectionApplyContextually
	EnableAntiKeyLogging    types.Bool `tfsdk:"enable_anti_key_logging"`
	EnableAntiScreenCapture types.Bool `tfsdk:"enable_anti_screen_capture"`
}

func (DeliveryGroupAppProtection) GetAttributes added in v1.0.0

func (DeliveryGroupAppProtection) GetAttributes() map[string]schema.Attribute

func (DeliveryGroupAppProtection) GetSchema added in v1.0.0

func (DeliveryGroupAppProtection) ValidateConfig added in v1.0.1

func (appProtection DeliveryGroupAppProtection) ValidateConfig(ctx context.Context, diagnostics *diag.Diagnostics) bool

type DeliveryGroupAppProtectionApplyContextuallyModel added in v1.0.1

type DeliveryGroupAppProtectionApplyContextuallyModel struct {
	PolicyName              types.String `tfsdk:"policy_name"`
	EnableAntiKeyLogging    types.Bool   `tfsdk:"enable_anti_key_logging"`
	EnableAntiScreenCapture types.Bool   `tfsdk:"enable_anti_screen_capture"`
}

func (DeliveryGroupAppProtectionApplyContextuallyModel) GetAttributes added in v1.0.1

func (DeliveryGroupAppProtectionApplyContextuallyModel) GetKey added in v1.0.1

GetKey implements util.RefreshableListItemWithAttributes.

func (DeliveryGroupAppProtectionApplyContextuallyModel) GetSchema added in v1.0.1

func (DeliveryGroupAppProtectionApplyContextuallyModel) RefreshListItem added in v1.0.1

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"`
	DeliveryType            types.String   `tfsdk:"delivery_type"`
	DeliveryGroupFolderPath types.String   `tfsdk:"delivery_group_folder_path"`
	Vdas                    []vda.VdaModel `tfsdk:"vdas"`    // List[VdaModel]
	Tenants                 types.Set      `tfsdk:"tenants"` // Set[string]
	Tags                    types.Set      `tfsdk:"tags"`    // Set[string]
}

DeliveryGroupDataSourceModel defines the Delivery Group data source implementation.

func (DeliveryGroupDataSourceModel) GetSchema added in v0.6.2

func (DeliveryGroupDataSourceModel) RefreshPropertyValues added in v0.6.2

type DeliveryGroupDesktop

type DeliveryGroupDesktop struct {
	PublishedName         types.String `tfsdk:"published_name"`
	DesktopDescription    types.String `tfsdk:"description"`
	RestrictToTag         types.String `tfsdk:"restrict_to_tag"`
	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"`
	RestrictAutoscaleTag                                 types.String `tfsdk:"restrict_autoscale_tag"`
	RestrictAutoscaleMinIdleUntaggedPercentDuringPeak    types.Int32  `tfsdk:"peak_restrict_min_idle_untagged_percent"`
	RestrictAutoscaleMinIdleUntaggedPercentDuringOffPeak types.Int32  `tfsdk:"off_peak_restrict_min_idle_untagged_percent"`
	Timezone                                             types.String `tfsdk:"timezone"`
	PeakDisconnectTimeoutMinutes                         types.Int64  `tfsdk:"peak_disconnect_timeout_minutes"`
	PeakLogOffAction                                     types.String `tfsdk:"peak_log_off_action"`
	PeakLogOffTimeoutMinutes                             types.Int64  `tfsdk:"peak_log_off_timeout_minutes"`
	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"`
	OffPeakLogOffTimeoutMinutes                          types.Int64  `tfsdk:"off_peak_log_off_timeout_minutes"`
	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"`
	PeakAutoscaleAssignedPowerOnIdleAction               types.String `tfsdk:"peak_autoscale_assigned_power_on_idle_action"`
	PeakAutoscaleAssignedPowerOnIdleTimeoutMinutes       types.Int64  `tfsdk:"peak_autoscale_assigned_power_on_idle_timeout_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"`
	LimitSecondsToForceLogOffUserDuringOffPeak           types.Int32  `tfsdk:"off_peak_limit_seconds_to_force_log_off_user"`
	LimitSecondsToForceLogOffUserDuringPeak              types.Int32  `tfsdk:"peak_limit_seconds_to_force_log_off_user"`
	LogOffWarningMessage                                 types.String `tfsdk:"log_off_warning_message"`
	LogOffWarningTitle                                   types.String `tfsdk:"log_off_warning_title"`
	PowerTimeSchemes                                     types.List   `tfsdk:"power_time_schemes"` //List[DeliveryGroupPowerTimeScheme]
	AutoscaleLogOffReminderEnabled                       types.Bool   `tfsdk:"log_off_reminder_enabled"`
	AutoscaleLogOffReminderIntervalSecondsOffPeak        types.Int32  `tfsdk:"off_peak_log_off_reminder_interval"`
	AutoscaleLogOffReminderIntervalSecondsPeak           types.Int32  `tfsdk:"peak_log_off_reminder_interval"`
	AutoscaleLogOffReminderMessage                       types.String `tfsdk:"log_off_reminder_message"`
	AutoscaleLogOffReminderTitle                         types.String `tfsdk:"log_off_reminder_title"`
}

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"`
	Enabled                     types.Bool   `tfsdk:"enabled"`
	Name                        types.String `tfsdk:"name"`
	Description                 types.String `tfsdk:"description"`
	DeliveryType                types.String `tfsdk:"delivery_type"`
	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.Set    `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"`
	MinimumFunctionalLevel      types.String `tfsdk:"minimum_functional_level"`
	StoreFrontServers           types.Set    `tfsdk:"storefront_servers"` //Set[string]
	Scopes                      types.Set    `tfsdk:"scopes"`             //Set[String]
	BuiltInScopes               types.Set    `tfsdk:"built_in_scopes"`    //Set[String]
	InheritedScopes             types.Set    `tfsdk:"inherited_scopes"`   //Set[String]
	MakeResourcesAvailableInLHC types.Bool   `tfsdk:"make_resources_available_in_lhc"`
	AppProtection               types.Object `tfsdk:"app_protection"`          // DeliveryGroupAppProtection
	DefaultAccessPolicies       types.List   `tfsdk:"default_access_policies"` // List[DeliveryGroupAccessPolicyModel]
	CustomAccessPolicies        types.List   `tfsdk:"custom_access_policies"`  // List[DeliveryGroupAccessPolicyModel]
	DeliveryGroupFolderPath     types.String `tfsdk:"delivery_group_folder_path"`
	Tenants                     types.Set    `tfsdk:"tenants"`  // Set[String]
	Metadata                    types.List   `tfsdk:"metadata"` // List[NameValueStringPairmodel]
	Tags                        types.Set    `tfsdk:"tags"`     // Set[string]
	DefaultDesktopIcon          types.String `tfsdk:"default_desktop_icon"`
}

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