Set-​Azs​Storage​Farm

Modifies the Storage settings and service configurations for the region or farm.

Syntax

Set-AzsStorageFarm
   [-BandwidthThrottleIsEnabled <Boolean>]
   [-Confirm]
   [-CorsAllowedOriginsList <String>]
   [-DataCenterUriHostSuffixes <String>]
   [-DefaultEgressThresholdInGbps <Double>]
   [-DefaultIngressThresholdInGbps <Double>]
   [-DefaultIntranetEgressThresholdInGbps <Double>]
   [-DefaultIntranetIngressThresholdInGbps <Double>]
   [-DefaultRequestThresholdInTps <Double>]
   [-DefaultThrottleProbabilityDecayIntervalInSeconds <Int32>]
   [-DefaultTotalEgressThresholdInGbps <Double>]
   [-DefaultTotalIngressThresholdInGbps <Double>]
   [-FeedbackRefreshIntervalInSeconds <Int32>]
   [-GracePeriodForFullThrottlingInRefreshIntervals <Int32>]
   [-GracePeriodMaxThrottleProbability <Double>]
   [-HostStyleHttpPort <Int32>]
   [-HostStyleHttpsPort <Int32>]
   [-MinimumEgressThresholdInGbps <Double>]
   [-MinimumIngressThresholdInGbps <Double>]
   [-MinimumIntranetEgressThresholdInGbps <Double>]
   [-MinimumIntranetIngressThresholdInGbps <Double>]
   [-MinimumRequestThresholdInTps <Double>]
   [-MinimumTotalEgressThresholdInGbps <Double>]
   [-MinimumTotalIngressThresholdInGbps <Double>]
   [-NumberOfAccountsToSync <Int32>]
   [-OverallEgressThresholdInGbps <Double>]
   [-OverallIngressThresholdInGbps <Double>]
   [-OverallIntranetEgressThresholdInGbps <Double>]
   [-OverallIntranetIngressThresholdInGbps <Double>]
   [-OverallRequestThresholdInTps <Double>]
   [-OverallTotalEgressThresholdInGbps <Double>]
   [-OverallTotalIngressThresholdInGbps <Double>]
   [-RetentionPeriodForDeletedStorageAccountsInDays <Int32>]
   [-SettingsPollingIntervalInSecond <Int32>]
   [-SkipCertificateValidation]
   [-ToleranceFactorForEgress <Double>]
   [-ToleranceFactorForIngress <Double>]
   [-ToleranceFactorForIntranetEgress <Double>]
   [-ToleranceFactorForIntranetIngress <Double>]
   [-ToleranceFactorForTotalEgress <Double>]
   [-ToleranceFactorForTotalIngress <Double>]
   [-ToleranceFactorForTps <Double>]
   [-UsageCollectionIntervalInSeconds <Int32>]
   [-WhatIf]
   [<CommonParameters>]

Description

The Set-AzsStorageFarm cmdlet modifies the Storage settings and service configurations for the region or farm.

Examples

Example 1

Set-AzsStorageFarm -RetentionPeriodForDeletedStorageAccountsInDays 15 

$StorageFarm= Get-AzsStorageFarm  

$StorageFarm.Settings.RetentionPeriodForDeletedStorageAccountsInDays

Optional Parameters

-BandwidthThrottleIsEnabled
Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CorsAllowedOriginsList
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DataCenterUriHostSuffixes
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultEgressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultIngressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultIntranetEgressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultIntranetIngressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultRequestThresholdInTps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultThrottleProbabilityDecayIntervalInSeconds
Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultTotalEgressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultTotalIngressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FeedbackRefreshIntervalInSeconds
Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-GracePeriodForFullThrottlingInRefreshIntervals
Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-GracePeriodMaxThrottleProbability
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-HostStyleHttpPort
Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-HostStyleHttpsPort
Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MinimumEgressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MinimumIngressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MinimumIntranetEgressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MinimumIntranetIngressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MinimumRequestThresholdInTps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MinimumTotalEgressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MinimumTotalIngressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-NumberOfAccountsToSync
Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OverallEgressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OverallIngressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OverallIntranetEgressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OverallIntranetIngressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OverallRequestThresholdInTps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OverallTotalEgressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OverallTotalIngressThresholdInGbps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RetentionPeriodForDeletedStorageAccountsInDays

Specifies the retention period in days for which deleted accounts are not garbage collected, i.e. can be recovered. This can range from 0 to 9999, where zero meaning to delete the storage accounts on the next garbage collection

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SettingsPollingIntervalInSecond
Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SkipCertificateValidation

Indicates that the cmdlet does not validate the certificate.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ToleranceFactorForEgress
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ToleranceFactorForIngress
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ToleranceFactorForIntranetEgress
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ToleranceFactorForIntranetIngress
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ToleranceFactorForTotalEgress
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ToleranceFactorForTotalIngress
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ToleranceFactorForTps
Type:Double
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UsageCollectionIntervalInSeconds
Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False