Documentation
¶
Overview ¶
Copyright © 2024. Citrix Systems, Inc.
Copyright © 2024. Citrix Systems, Inc.
Copyright © 2024. Citrix Systems, Inc.
Index ¶
- func FarmTypeFromInt(farmTypeInt int64) string
- func NewSTFStoreFarmResource() resource.Resource
- func NewSTFStoreServiceResource() resource.Resource
- func NewXenappDefaultStoreResource() resource.Resource
- func TransportTypeFromInt(TransportTypeInt int64) string
- type EnumerationOptions
- type FarmSettings
- type GatewaySettings
- type LaunchOptions
- type PNA
- type RoamingAccount
- type STFStoreFarmResourceModel
- type STFStoreServiceResourceModel
- func (r *STFStoreServiceResourceModel) RefreshEnumerationOptions(ctx context.Context, diagnostics *diag.Diagnostics, ...)
- func (r *STFStoreServiceResourceModel) RefreshFarmSettings(ctx context.Context, diagnostics *diag.Diagnostics, ...)
- func (r *STFStoreServiceResourceModel) RefreshGatewaySettings(ctx context.Context, diagnostics *diag.Diagnostics, ...)
- func (r *STFStoreServiceResourceModel) RefreshLaunchOptions(ctx context.Context, diagnostics *diag.Diagnostics, ...)
- func (r *STFStoreServiceResourceModel) RefreshPnaValues(ctx context.Context, diagnostics *diag.Diagnostics, ...)
- func (r *STFStoreServiceResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...)
- func (r *STFStoreServiceResourceModel) RefreshRoamingAccount(ctx context.Context, diagnostics *diag.Diagnostics, ...)
- type STFXenappDefaultStoreResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FarmTypeFromInt ¶ added in v0.6.2
func NewSTFStoreFarmResource ¶ added in v0.6.2
stfStoreFarmResource is a helper function to simplify the provider implementation.
func NewSTFStoreServiceResource ¶
stfStoreServiceResource is a helper function to simplify the provider implementation.
func NewXenappDefaultStoreResource ¶ added in v0.6.3
NewXenappDefaultStoreResource is a helper function to simplify the provider implementation.
func TransportTypeFromInt ¶ added in v0.6.3
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
func (EnumerationOptions) GetSchema() schema.SingleNestedAttribute
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
func (FarmSettings) GetSchema() schema.SingleNestedAttribute
type GatewaySettings ¶ added in v0.6.3
type GatewaySettings struct {
Enabled types.Bool `tfsdk:"enable"` // Enable use of the gateway service
CustomerId types.String `tfsdk:"customer_id"` // The CWC customer id
GetGatewayServiceUrl types.String `tfsdk:"get_gateway_service_url"` // The URL of the service used to retrieve gateway address (FQDN)
PrivateKey types.String `tfsdk:"private_key"` // The private key for CWC trust
ServiceName types.String `tfsdk:"service_name"` // The service name for CWC trust
InstanceId types.String `tfsdk:"instance_id"` // The instance id for CWC trust
SecureTicketAuthorityUrl types.String `tfsdk:"secure_ticket_authority_url"` // The URL of the CWC STA service
SecureTicketLifetime types.String `tfsdk:"secure_ticket_lifetime"` // The lifetime requested for CWC STA service tickets
SessionReliability types.Bool `tfsdk:"session_reliability"` // A value indicating whether session reliability should be enabled
IgnoreZones types.List `tfsdk:"ignore_zones"` // List[string] A value indicating that the gateway service should not be used for the specified zones
HandleZones types.List `tfsdk:"handle_zones"` // List[string] A value indicating that the gateway service should be used for the specified zones
}
GatewaySettings maps the STFStoreGatewayServiceSetRequestModel struct.
func (GatewaySettings) GetAttributes ¶ added in v0.6.3
func (GatewaySettings) GetAttributes() map[string]schema.Attribute
func (GatewaySettings) GetSchema ¶ added in v0.6.3
func (GatewaySettings) GetSchema() schema.SingleNestedAttribute
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
func (LaunchOptions) GetSchema() schema.SingleNestedAttribute
type PNA ¶ added in v0.6.3
PNA maps the resource schema data.
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
func (RoamingAccount) GetSchema() schema.SingleNestedAttribute
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.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.
}
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 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"`
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"`
GatewaySettings types.Object `tfsdk:"gateway_settings"` // GatewaySettings
RoamingAccount types.Object `tfsdk:"roaming_account"` // RoamingAccount
}
SFStoreServiceResourceModel maps the resource schema data.
func (*STFStoreServiceResourceModel) RefreshEnumerationOptions ¶ added in v0.6.2
func (r *STFStoreServiceResourceModel) RefreshEnumerationOptions(ctx context.Context, diagnostics *diag.Diagnostics, response *citrixstorefront.GetSTFStoreEnumerationOptionsResponseModel)
func (*STFStoreServiceResourceModel) RefreshFarmSettings ¶ added in v0.6.2
func (r *STFStoreServiceResourceModel) RefreshFarmSettings(ctx context.Context, diagnostics *diag.Diagnostics, response *citrixstorefront.StoreFarmConfigurationResponseModel)
func (*STFStoreServiceResourceModel) RefreshGatewaySettings ¶ added in v0.6.3
func (r *STFStoreServiceResourceModel) RefreshGatewaySettings(ctx context.Context, diagnostics *diag.Diagnostics, gatewayService *citrixstorefront.STFStoreGatewayServiceResponseModel)
func (*STFStoreServiceResourceModel) RefreshLaunchOptions ¶ added in v0.6.2
func (r *STFStoreServiceResourceModel) RefreshLaunchOptions(ctx context.Context, diagnostics *diag.Diagnostics, response *citrixstorefront.GetSTFStoreLaunchOptionsResponseModel)
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)
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) RefreshPropertyValues ¶ added in v0.6.3
func (r *STFXenappDefaultStoreResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, defaultStore models.STFPna)