Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
Describes a virtual machine scale set network profile.
/**
* Describes a virtual machine scale set network profile.
*/
public class VirtualMachineScaleSetNetworkProfile {
A reference to a load balancer probe used to determine the health of an
instance in the virtual machine scale set. The reference will be in the
form:
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
/**
* A reference to a load balancer probe used to determine the health of an
* instance in the virtual machine scale set. The reference will be in the
* form:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
*/
@JsonProperty(value = "healthProbe")
private ApiEntityReference healthProbe;
The list of network configurations.
/**
* The list of network configurations.
*/
@JsonProperty(value = "networkInterfaceConfigurations")
private List<VirtualMachineScaleSetNetworkConfiguration> networkInterfaceConfigurations;
Get a reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
Returns: the healthProbe value
/**
* Get a reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
*
* @return the healthProbe value
*/
public ApiEntityReference healthProbe() {
return this.healthProbe;
}
Set a reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
Params: - healthProbe – the healthProbe value to set
Returns: the VirtualMachineScaleSetNetworkProfile object itself.
/**
* Set a reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
*
* @param healthProbe the healthProbe value to set
* @return the VirtualMachineScaleSetNetworkProfile object itself.
*/
public VirtualMachineScaleSetNetworkProfile withHealthProbe(ApiEntityReference healthProbe) {
this.healthProbe = healthProbe;
return this;
}
Get the list of network configurations.
Returns: the networkInterfaceConfigurations value
/**
* Get the list of network configurations.
*
* @return the networkInterfaceConfigurations value
*/
public List<VirtualMachineScaleSetNetworkConfiguration> networkInterfaceConfigurations() {
return this.networkInterfaceConfigurations;
}
Set the list of network configurations.
Params: - networkInterfaceConfigurations – the networkInterfaceConfigurations value to set
Returns: the VirtualMachineScaleSetNetworkProfile object itself.
/**
* Set the list of network configurations.
*
* @param networkInterfaceConfigurations the networkInterfaceConfigurations value to set
* @return the VirtualMachineScaleSetNetworkProfile object itself.
*/
public VirtualMachineScaleSetNetworkProfile withNetworkInterfaceConfigurations(List<VirtualMachineScaleSetNetworkConfiguration> networkInterfaceConfigurations) {
this.networkInterfaceConfigurations = networkInterfaceConfigurations;
return this;
}
}