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 VirtualMachineScaleSetUpdateNetworkProfile {
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<VirtualMachineScaleSetUpdateNetworkConfiguration> 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 VirtualMachineScaleSetUpdateNetworkProfile 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 VirtualMachineScaleSetUpdateNetworkProfile object itself. */
public VirtualMachineScaleSetUpdateNetworkProfile 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<VirtualMachineScaleSetUpdateNetworkConfiguration> networkInterfaceConfigurations() { return this.networkInterfaceConfigurations; }
Set the list of network configurations.
Params:
  • networkInterfaceConfigurations – the networkInterfaceConfigurations value to set
Returns:the VirtualMachineScaleSetUpdateNetworkProfile object itself.
/** * Set the list of network configurations. * * @param networkInterfaceConfigurations the networkInterfaceConfigurations value to set * @return the VirtualMachineScaleSetUpdateNetworkProfile object itself. */
public VirtualMachineScaleSetUpdateNetworkProfile withNetworkInterfaceConfigurations(List<VirtualMachineScaleSetUpdateNetworkConfiguration> networkInterfaceConfigurations) { this.networkInterfaceConfigurations = networkInterfaceConfigurations; return this; } }