Citrix StoreFront SDK PowerShell Modules

Set-STFFASResilienceConfiguration

Set Federated Authentication Service resilience configuration

Syntax

Set-STFFASResilienceConfiguration [-StoreService] <StoreService> [-Enabled] <Boolean> [[-NumberOfExceptionsBeforeBreak] <Int32>] [[-DurationOfBreakInMinutes] <Int32>] [<CommonParameters>]
<!--NeedCopy-->

Detailed Description

Sets the Federated Authentication Service resilience configuration used to communicate with FAS service.

If failed to communicate with any FAS server Store will fallback to next available FAS server.’.

The configuration will be applied to Store and Authentication services of the Store.

Parameters

Name Description Required? Pipeline Input Default Value
StoreService Store service true true (ByValue)  
Enabled Specifies whether to enable the resilience configuration. true false  
NumberOfExceptionsBeforeBreak Specifies number of attempts Store will give before break circuit open. false false  
DurationOfBreakInMinutes Specifies number of minutes store will take during break to retry or fallback. false false  

Input Type

Citrix.StoreFront.Model.Store.StoreService

Parameter StoreService: A .NET class representing the configuration of a StoreFront Store service

System.Boolean

Parameter Enabled: The .NET System.Boolean value type

System.Int32

Parameter NumberOfExceptionsBeforeBreak: The .NET System.Int32 value type

System.Int32

Parameter DurationOfBreakInMinutes: The .NET System.Int32 value type

Return Values

None

Examples

EXAMPLE 1 Set Federated Authentication Service resilience configuration

$storeService = Get-STFStoreService /Citrix/Store
         Set-STFFasResilienceConfiguration -StoreService $storeService -Enabled $true -NumberOfExceptionsBeforeBreak 3 -DurationOfBreakInMinutes 5
<!--NeedCopy-->

REMARKS

Enables resilience.configuration for specific store to communicate with FAS

The configuration will be applied to provided Store’s Authentication and Store Services.

Set-STFFASResilienceConfiguration