public override void Execute()
{
base.Execute();
var probe = new PSProbe();
probe.Name = this.Name;
probe.Port = this.Port;
probe.Protocol = this.Protocol;
probe.RequestPath = this.RequestPath;
probe.IntervalInSeconds = this.IntervalInSeconds;
probe.NumberOfProbes = this.ProbeCount;
probe.Id =
ChildResourceHelper.GetResourceNotSetId(
this.NetworkClient.NetworkManagementClient.SubscriptionId,
Microsoft.Azure.Commands.Network.Properties.Resources.LoadBalancerProbeName,
this.Name);
WriteObject(probe);
}
}