< Back
New-OAOLoadBalancer
Post
NAME New-OAOLoadBalancer
SYNTAX
New-OAOLoadBalancer [-Name] <string> [[-Description] <string>] [[-DatacenterId] <string>] [-HealthCheckTest] {TCP
| HTTP | NONE} [-HealthCheckInterval] <int> [[-HealthCheckPath] <string>] [[-HealthCheckPathParser] <string>]
[-Persistence] <bool> [-PersistenceTime] <int> [-Method] {ROUND_ROBIN | LEAST_CONNECTIONS} [-Rules]
<LoadBalancerRuleRequest[]> [<CommonParameters>]
PARAMETERS
-DatacenterId <string>
Datacenter of the Loadbalancer
Required? false
Position? 3
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Description <string>
Description of the Loadbalancer
Required? false
Position? 2
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-HealthCheckInterval <int>
Required:Health check period in secondsminimum: 5, maximum: 300, multipleOf: 1
Required? true
Position? 5
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-HealthCheckPath <string>
Url to call for cheking. Required for HTTP health check. max 1000
Required? false
Position? 6
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-HealthCheckPathParser <string>
Regular expression to check. Required for HTTP health check, max 64 char.
Required? false
Position? 7
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-HealthCheckTest <HealthCheckTestTypes>
Type of the health check. At the moment, HTTP is not allowed.
Required? true
Position? 4
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Method <LoadBalancerMethod>
Balancing procedure
Required? true
Position? 10
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Name <string>
Load balancer name.
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Persistence <bool>
Persistence
Required? true
Position? 8
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-PersistenceTime <int>
Persistence time in seconds. Required if persistence is enabled.minimum: 30,maximum: 1200, multipleOf: 1
Required? true
Position? 9
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Rules <LoadBalancerRuleRequest[]>
Rules to add { PortBalancer,PortServer,Protocol,Source}
Required? true
Position? 11
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OneAndOne.POCO.Response.LoadBalancers.HealthCheckTestTypes
System.Int32
System.Boolean
OneAndOne.POCO.Response.LoadBalancers.LoadBalancerMethod
OneAndOne.POCO.Requests.LoadBalancer.LoadBalancerRuleRequest[]
OUTPUTS
OneAndOne.POCO.Response.LoadBalancers.LoadBalancerResponse
ALIASES
None
REMARKS
None
SYNTAX
New-OAOLoadBalancer [-Name] <string> [[-Description] <string>] [[-DatacenterId] <string>] [-HealthCheckTest] {TCP
| HTTP | NONE} [-HealthCheckInterval] <int> [[-HealthCheckPath] <string>] [[-HealthCheckPathParser] <string>]
[-Persistence] <bool> [-PersistenceTime] <int> [-Method] {ROUND_ROBIN | LEAST_CONNECTIONS} [-Rules]
<LoadBalancerRuleRequest[]> [<CommonParameters>]
PARAMETERS
-DatacenterId <string>
Datacenter of the Loadbalancer
Required? false
Position? 3
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Description <string>
Description of the Loadbalancer
Required? false
Position? 2
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-HealthCheckInterval <int>
Required:Health check period in secondsminimum: 5, maximum: 300, multipleOf: 1
Required? true
Position? 5
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-HealthCheckPath <string>
Url to call for cheking. Required for HTTP health check. max 1000
Required? false
Position? 6
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-HealthCheckPathParser <string>
Regular expression to check. Required for HTTP health check, max 64 char.
Required? false
Position? 7
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-HealthCheckTest <HealthCheckTestTypes>
Type of the health check. At the moment, HTTP is not allowed.
Required? true
Position? 4
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Method <LoadBalancerMethod>
Balancing procedure
Required? true
Position? 10
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Name <string>
Load balancer name.
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Persistence <bool>
Persistence
Required? true
Position? 8
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-PersistenceTime <int>
Persistence time in seconds. Required if persistence is enabled.minimum: 30,maximum: 1200, multipleOf: 1
Required? true
Position? 9
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Rules <LoadBalancerRuleRequest[]>
Rules to add { PortBalancer,PortServer,Protocol,Source}
Required? true
Position? 11
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OneAndOne.POCO.Response.LoadBalancers.HealthCheckTestTypes
System.Int32
System.Boolean
OneAndOne.POCO.Response.LoadBalancers.LoadBalancerMethod
OneAndOne.POCO.Requests.LoadBalancer.LoadBalancerRuleRequest[]
OUTPUTS
OneAndOne.POCO.Response.LoadBalancers.LoadBalancerResponse
ALIASES
None
REMARKS
None