public override void Execute()
{
if (string.Equals(ParameterSetName, Microsoft.Azure.Commands.Network.Properties.Resources.SetByResource))
{
if (this.BackendAddressPool != null)
{
this.BackendAddressPoolId = this.BackendAddressPool.Id;
}
if (this.Probe != null)
{
this.ProbeId = this.Probe.Id;
}
if (this.FrontendIpConfiguration != null)
{
this.FrontendIpConfigurationId = this.FrontendIpConfiguration.Id;
}
}
}
}