stf_store

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FarmTypeFromInt added in v0.6.2

func FarmTypeFromInt(farmTypeInt int64) string

func NewSTFStoreFarmResource added in v0.6.2

func NewSTFStoreFarmResource() resource.Resource

stfStoreFarmResource is a helper function to simplify the provider implementation.

func NewSTFStoreServiceResource

func NewSTFStoreServiceResource() resource.Resource

stfStoreServiceResource is a helper function to simplify the provider implementation.

Types

type EnumerationOptions added in v0.6.2

type EnumerationOptions struct {
	EnhancedEnumeration                          types.Bool  `tfsdk:"enhanced_enumeration"`
	MaximumConcurrentEnumerations                types.Int64 `tfsdk:"maximum_concurrent_enumerations"`
	MinimumFarmsRequiredForConcurrentEnumeration types.Int64 `tfsdk:"minimum_farms_required_for_concurrent_enumeration"`
	FilterByTypesInclude                         types.List  `tfsdk:"filter_by_types_include"`    // List[string]
	FilterByKeywordsInclude                      types.List  `tfsdk:"filter_by_keywords_include"` // List[string]
	FilterByKeywordsExclude                      types.List  `tfsdk:"filter_by_keywords_exclude"` // List[string]
}

EnumerationOptions maps the STFStoreEnumerationOptionsRequestModel struct.

func (EnumerationOptions) GetAttributes added in v0.6.2

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

func (EnumerationOptions) GetSchema added in v0.6.2

type FarmSettings added in v0.6.2

type FarmSettings struct {
	EnableFileTypeAssociation          types.Bool   `tfsdk:"enable_file_type_association"`
	CommunicationTimeout               types.String `tfsdk:"communication_timeout"`
	ConnectionTimeout                  types.String `tfsdk:"connection_timeout"`
	LeasingStatusExpiryFailed          types.String `tfsdk:"leasing_status_expiry_failed"`
	LeasingStatusExpiryLeasing         types.String `tfsdk:"leasing_status_expiry_leasing"`
	LeasingStatusExpiryPending         types.String `tfsdk:"leasing_status_expiry_pending"`
	PooledSockets                      types.Bool   `tfsdk:"pooled_sockets"`
	ServerCommunicationAttempts        types.Int64  `tfsdk:"server_communication_attempts"`
	BackgroundHealthCheckPollingPeriod types.String `tfsdk:"background_healthcheck_polling"`
	AdvancedHealthCheck                types.Bool   `tfsdk:"advanced_healthcheck"`
	CertRevocationPolicy               types.String `tfsdk:"cert_revocation_policy"`
}

func (FarmSettings) GetAttributes added in v0.6.2

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

func (FarmSettings) GetSchema added in v0.6.2

type LaunchOptions added in v0.6.2

type LaunchOptions struct {
	AddressResolutionType                  types.String `tfsdk:"address_resolution_type"`
	RequestIcaClientSecureChannel          types.String `tfsdk:"request_ica_client_secure_channel"`
	AllowSpecialFolderRedirection          types.Bool   `tfsdk:"allow_special_folder_redirection"`
	AllowFontSmoothing                     types.Bool   `tfsdk:"allow_font_smoothing"`
	RequireLaunchReference                 types.Bool   `tfsdk:"require_launch_reference"`
	OverrideIcaClientName                  types.Bool   `tfsdk:"override_ica_client_name"`
	OverlayAutoLoginCredentialsWithTicket  types.Bool   `tfsdk:"overlay_auto_login_credentials_with_ticket"`
	IgnoreClientProvidedClientAddress      types.Bool   `tfsdk:"ignore_client_provided_client_address"`
	SetNoLoadBiasFlag                      types.Bool   `tfsdk:"set_no_load_bias_flag"`
	RDPOnly                                types.Bool   `tfsdk:"rdp_only"`
	VdaLogonDataProvider                   types.String `tfsdk:"vda_logon_data_provider"`
	IcaTemplateName                        types.String `tfsdk:"ica_template_name"`
	FederatedAuthenticationServiceFailover types.Bool   `tfsdk:"federated_authentication_service_failover"`
}

LaunchOptions maps the STFStoreLaunchOptionsRequestModel struct.

func (LaunchOptions) GetAttributes added in v0.6.2

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

func (LaunchOptions) GetSchema added in v0.6.2

type STFStoreFarmResourceModel added in v0.6.2

type STFStoreFarmResourceModel struct {
	StoreService               types.String `tfsdk:"store_virtual_path"`             // The virtual path of the StoreService.
	FarmName                   types.String `tfsdk:"farm_name"`                      // The name of the Farm.
	FarmType                   types.String `tfsdk:"farm_type"`                      // The type of the Farm.
	Servers                    types.List   `tfsdk:"servers"`                        // List[string] The list of servers in the Farm.
	Port                       types.Int64  `tfsdk:"port"`                           // Service communication port.
	SSLRelayPort               types.Int64  `tfsdk:"ssl_relay_port"`                 // The SSL Relay port
	TransportType              types.Int64  `tfsdk:"transport_type"`                 // Type of transport to use. Http, Https, SSL for example
	LoadBalance                types.Bool   `tfsdk:"load_balance"`                   // Round robin load balance the xml service servers.
	XMLValidationEnabled       types.Bool   `tfsdk:"xml_validation_enabled"`         // Enable XML service endpoint validation
	XMLValidationSecret        types.String `tfsdk:"xml_validation_secret"`          // XML service endpoint validation shared secret
	ServiceUrls                types.List   `tfsdk:"server_urls"`                    // List[string] The url to the service location used to provide web and SaaS apps via this farm.
	AllFailedBypassDuration    types.Int64  `tfsdk:"all_failed_bypass_duration"`     // Period of time to skip all xml service requests should all servers fail to respond.
	BypassDuration             types.Int64  `tfsdk:"bypass_duration"`                // Period of time to skip a server when is fails to respond.
	TicketTimeToLive           types.Int64  `tfsdk:"ticket_time_to_live"`            // Period of time an ICA launch ticket is valid once requested on pre 7.0 XenApp and XenDesktop farms.
	RadeTicketTimeToLive       types.Int64  `tfsdk:"rade_ticket_time_to_live"`       // Period of time a RADE launch ticket is valid once requested on pre 7.0 XenApp and XenDesktop farms.
	MaxFailedServersPerRequest types.Int64  `tfsdk:"max_failed_servers_per_request"` // Maximum number of servers within a single farm that can fail before aborting a request.
	Zones                      types.List   `tfsdk:"zones"`                          // List[string] The list of Zone names associated with the farm.
	Product                    types.String `tfsdk:"product"`                        // Cloud deployments only otherwise ignored. The product name of the farm configured.
	RestrictPoPs               types.String `tfsdk:"restrict_pops"`                  // Cloud deployments only otherwise ignored. Restricts GWaaS traffic to the specified POP.
	FarmGuid                   types.String `tfsdk:"farm_guid"`                      // Cloud deployments only otherwise ignored. A tag indicating the scope of the farm.
}

STFStoreFarmResourceModel maps the resource schema data.

func (*STFStoreFarmResourceModel) RefreshPropertyValues added in v0.6.2

func (r *STFStoreFarmResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, farm citrixstorefront.StoreFarmModel)

type STFStorePNA added in v0.6.2

type STFStorePNA struct {
	Enable types.Bool `tfsdk:"enable"`
}

SFStorePNA maps the resource schema data.

func (STFStorePNA) GetAttributes added in v0.6.2

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

func (STFStorePNA) GetSchema added in v0.6.2

type STFStoreServiceResourceModel

type STFStoreServiceResourceModel struct {
	VirtualPath           types.String `tfsdk:"virtual_path"`
	SiteId                types.String `tfsdk:"site_id"`
	FriendlyName          types.String `tfsdk:"friendly_name"`
	AuthenticationService types.String `tfsdk:"authentication_service_virtual_path"`
	Anonymous             types.Bool   `tfsdk:"anonymous"`
	LoadBalance           types.Bool   `tfsdk:"load_balance"`
	STFStorePNA           types.Object `tfsdk:"pna"`                 //StorePNA
	EnumerationOptions    types.Object `tfsdk:"enumeration_options"` // EnumerationOptions
	LaunchOptions         types.Object `tfsdk:"launch_options"`      // LaunchOptions
	FarmSettings          types.Object `tfsdk:"farm_settings"`
}

SFStoreServiceResourceModel maps the resource schema data.

func (*STFStoreServiceResourceModel) RefreshEnumerationOptions added in v0.6.2

func (*STFStoreServiceResourceModel) RefreshFarmSettings added in v0.6.2

func (*STFStoreServiceResourceModel) RefreshLaunchOptions added in v0.6.2

func (*STFStoreServiceResourceModel) RefreshPnaValues added in v0.6.2

func (r *STFStoreServiceResourceModel) RefreshPnaValues(ctx context.Context, diagnostics *diag.Diagnostics, pna citrixstorefront.STFPna)

func (*STFStoreServiceResourceModel) RefreshPropertyValues

func (r *STFStoreServiceResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, storeService *citrixstorefront.STFStoreDetailModel)

Jump to

Keyboard shortcuts

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