你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

New-AzFrontDoorLoadBalancingSettingObject

Create a PSLoadBalancingSetting object for Front Door creation

Syntax

New-AzFrontDoorLoadBalancingSettingObject
   -Name <String>
   [-SampleSize <Int32>]
   [-SuccessfulSamplesRequired <Int32>]
   [-AdditionalLatencyInMilliseconds <Int32>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Create a PSLoadBalancingSetting object for Front Door creation

Examples

Example 1

New-AzFrontDoorLoadBalancingSettingObject -Name "loadbalancingsetting1"

SampleSize                    : 4
AdditionalLatencyMilliseconds : 0
SuccessfulSamplesRequired     : 2
ResourceState                 :
Id                            :
Name                          : loadbalancingsetting1
Type                          :

Create a PSLoadBalancingSetting object for Front Door creation

Parameters

-AdditionalLatencyInMilliseconds

The additional latency in milliseconds for probes to fall into the lowest latency bucket. Default value is 0

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

health probe setting name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SampleSize

The number of samples to consider for load balancing decisions. Default value is 4

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SuccessfulSamplesRequired

The number of samples within the sample period that must succeed Default value is 2

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

PSLoadBalancingSetting