stf_store

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 27 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 NewSTFStoreServiceResource

func NewSTFStoreServiceResource() resource.Resource

stfStoreServiceResource is a helper function to simplify the provider implementation.

func NewXenappDefaultStoreResource added in v0.6.3

func NewXenappDefaultStoreResource() resource.Resource

NewXenappDefaultStoreResource is a helper function to simplify the provider implementation.

func TransportTypeFromInt added in v0.6.3

func TransportTypeFromInt(TransportTypeInt int64) string

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 PNA added in v0.6.3

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

PNA maps the resource schema data.

func (PNA) GetAttributes added in v0.6.3

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

func (PNA) GetSchema added in v0.6.3

func (PNA) GetSchema() schema.SingleNestedAttribute

type RoamingAccount added in v0.6.3

type RoamingAccount struct {
	Published types.Bool `tfsdk:"published"` // Whether the roaming account is published
}

func (RoamingAccount) GetAttributes added in v0.6.3

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

func (RoamingAccount) GetSchema added in v0.6.3

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"`
	StoreFarm             types.List   `tfsdk:"farms"`               // List[StoreFarm]
	PNA                   types.Object `tfsdk:"pna"`                 // PNA
	EnumerationOptions    types.Object `tfsdk:"enumeration_options"` // EnumerationOptions
	LaunchOptions         types.Object `tfsdk:"launch_options"`      // LaunchOptions
	FarmSettings          types.Object `tfsdk:"farm_settings"`
	RoamingAccount        types.Object `tfsdk:"roaming_account"` // RoamingAccount
}

SFStoreServiceResourceModel maps the resource schema data.

func (STFStoreServiceResourceModel) GetSchema added in v1.0.0

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, farms []citrixstorefront.StoreFarmModel)

func (*STFStoreServiceResourceModel) RefreshRoamingAccount added in v0.6.3

func (r *STFStoreServiceResourceModel) RefreshRoamingAccount(ctx context.Context, diagnostics *diag.Diagnostics, roamingAccount *citrixstorefront.GetSTFRoamingAccountResponseModel)

type STFXenappDefaultStoreResourceModel added in v0.6.3

type STFXenappDefaultStoreResourceModel struct {
	StoreVirtualPath types.String `tfsdk:"store_virtual_path"` // The Virtual Path of the StoreFront Default Store for XenApp Service.
	StoreSiteID      types.String `tfsdk:"store_site_id"`      // The Site ID of the StoreFront Default Store for XenApp Service.
}

STFXenappDefaultStoreResourceModel maps the resource schema data.

func (STFXenappDefaultStoreResourceModel) GetAttributes added in v1.0.0

func (STFXenappDefaultStoreResourceModel) GetSchema added in v1.0.0

func (*STFXenappDefaultStoreResourceModel) RefreshPropertyValues added in v0.6.3

func (r *STFXenappDefaultStoreResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, defaultStore models.STFPna)

type StoreFarm added in v1.0.0

type StoreFarm 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.String `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.

}

func (StoreFarm) GetAttributes added in v1.0.0

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

func (StoreFarm) GetSchema added in v1.0.0

Jump to

Keyboard shortcuts

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