Open jberezanski-mdg opened 3 years ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Wmengmsft, @MehaKaushik, @shurd, @anfeldma-ms
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @slbsupportgithub.
Author: | jberezanski-mdg |
---|---|
Assignees: | - |
Labels: | `Network - Load Balancer`, `Service Attention`, `needs-triage`, `question` |
Milestone: | - |
Description
The
Set-AzLoadBalancer*Config
cmdlets update existing objects in a Load Balancer configuration by creating a new object instance (such as aPSProbe
object), filling it with properties from cmdlet parameters and replacing the existing object in the appropriate collection of the Load Balancer object. One property of the created objects which is left unset is theId
property. This is in contrast to theAdd-AzLoadBalancer*Config
cmdlet, which gives the newly created objects a proper Id value.The resulting objects, after a call to
Set-AzLoadBalancer*Config
, do not have theirId
set to anything. This makes them unusable to be passed as parameters when creating/updating other Load Balancer objects. For example, a Rule object references a Probe object. If a Probe object is updated usingSet-AzLoadBalancerProbeConfig
and that Probe object is then passed as value of the-Probe
parameter ofSet-AzLoadBalancerRuleConfig
, the latter cmdlet will clear the Probe property of the Rule object instead of setting it to the provided Probe.The
Set-AzLoadBalancer*Config
cmdlets should copy the existingId
property values.Steps to reproduce
Environment data
Module versions
Debug output
Error output