Skip to content

Commit

Permalink
renaming Probe as LoadBalancerProbe to help distinguish from Applicat…
Browse files Browse the repository at this point in the history
…ionGatewayProbe
  • Loading branch information
unknown authored and unknown committed Oct 11, 2016
1 parent c519966 commit b7e3f3b
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* An immutable client-side representation of an HTTP load balancing probe.
*/
@Fluent()
public interface HttpProbe extends Probe {
public interface HttpProbe extends LoadBalancerProbe {

/**
* @return the HTTP request path for the HTTP probe to call to check the health status
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* An immutable client-side representation of a load balancing probe.
*/
@Fluent()
public interface Probe extends
public interface LoadBalancerProbe extends
Wrapper<ProbeInner>,
ChildResource<LoadBalancer>,
HasLoadBalancingRules,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public interface LoadBalancingRule extends
/**
* @return the probe associated with the load balancing rule
*/
Probe probe();
LoadBalancerProbe probe();

/**
* Grouping of load balancing rule definition stages.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* An immutable client-side representation of a TCP load balancing probe.
*/
@Fluent()
public interface TcpProbe extends Probe {
public interface TcpProbe extends LoadBalancerProbe {

/**
* Grouping of probe definition stages.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import com.microsoft.azure.management.network.Network;
import com.microsoft.azure.management.network.NetworkInterface;
import com.microsoft.azure.management.network.NicIpConfiguration;
import com.microsoft.azure.management.network.Probe;
import com.microsoft.azure.management.network.LoadBalancerProbe;
import com.microsoft.azure.management.network.ProbeProtocol;
import com.microsoft.azure.management.network.PublicFrontend;
import com.microsoft.azure.management.network.PublicIpAddress;
Expand Down Expand Up @@ -440,7 +440,7 @@ public LoadBalancerImpl withHttpProbe(String path) {

@Override
public ProbeImpl defineTcpProbe(String name) {
Probe probe = this.tcpProbes.get(name);
LoadBalancerProbe probe = this.tcpProbes.get(name);
if (probe == null) {
ProbeInner inner = new ProbeInner()
.withName(name)
Expand All @@ -453,7 +453,7 @@ public ProbeImpl defineTcpProbe(String name) {

@Override
public ProbeImpl defineHttpProbe(String name) {
Probe probe = this.httpProbes.get(name);
LoadBalancerProbe probe = this.httpProbes.get(name);
if (probe == null) {
ProbeInner inner = new ProbeInner()
.withName(name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import com.microsoft.azure.management.network.LoadBalancer;
import com.microsoft.azure.management.network.LoadBalancingRule;
import com.microsoft.azure.management.network.LoadDistribution;
import com.microsoft.azure.management.network.Probe;
import com.microsoft.azure.management.network.LoadBalancerProbe;
import com.microsoft.azure.management.network.TransportProtocol;
import com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils;
import com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.ChildResourceImpl;
Expand Down Expand Up @@ -97,7 +97,7 @@ public Backend backend() {
}

@Override
public Probe probe() {
public LoadBalancerProbe probe() {
SubResource probeRef = this.inner().probe();
if (probeRef == null) {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import com.microsoft.azure.management.network.InboundNatRule;
import com.microsoft.azure.management.network.LoadBalancerFrontend;
import com.microsoft.azure.management.network.Backend;
import com.microsoft.azure.management.network.Probe;
import com.microsoft.azure.management.network.LoadBalancerProbe;
import com.microsoft.azure.management.network.HttpProbe;
import com.microsoft.azure.management.network.PublicFrontend;
import com.microsoft.azure.management.network.PrivateFrontend;
Expand Down Expand Up @@ -420,7 +420,7 @@ public static void print(LoadBalancer resource) {

info.append("\n\t\t\tBackend port: ").append(rule.backendPort());

Probe probe = rule.probe();
LoadBalancerProbe probe = rule.probe();
info.append("\n\t\t\tProbe: ");
if (probe == null) {
info.append("(None)");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import com.microsoft.azure.management.network.NetworkInterface;
import com.microsoft.azure.management.network.Networks;
import com.microsoft.azure.management.network.PrivateFrontend;
import com.microsoft.azure.management.network.Probe;
import com.microsoft.azure.management.network.LoadBalancerProbe;
import com.microsoft.azure.management.network.PublicIpAddress;
import com.microsoft.azure.management.network.PublicIpAddresses;
import com.microsoft.azure.management.network.TcpProbe;
Expand Down Expand Up @@ -729,7 +729,7 @@ static void printLB(LoadBalancer resource) {

info.append("\n\t\t\tBackend port: ").append(rule.backendPort());

Probe probe = rule.probe();
LoadBalancerProbe probe = rule.probe();
info.append("\n\t\t\tProbe: ");
if (probe == null) {
info.append("(None)");
Expand Down

0 comments on commit b7e3f3b

Please sign in to comment.