編輯

共用方式為


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