Class VirtualMachineScaleSetNetworkProfile
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.VirtualMachineScaleSetNetworkProfile
-
public final class VirtualMachineScaleSetNetworkProfile extends Object
Describes a virtual machine scale set network profile.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineScaleSetNetworkProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiEntityReferencehealthProbe()Get the healthProbe property: A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set.NetworkApiVersionnetworkApiVersion()Get the networkApiVersion property: specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'.List<VirtualMachineScaleSetNetworkConfiguration>networkInterfaceConfigurations()Get the networkInterfaceConfigurations property: The list of network configurations.voidvalidate()Validates the instance.VirtualMachineScaleSetNetworkProfilewithHealthProbe(ApiEntityReference healthProbe)Set the healthProbe property: A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set.VirtualMachineScaleSetNetworkProfilewithNetworkApiVersion(NetworkApiVersion networkApiVersion)Set the networkApiVersion property: specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'.VirtualMachineScaleSetNetworkProfilewithNetworkInterfaceConfigurations(List<VirtualMachineScaleSetNetworkConfiguration> networkInterfaceConfigurations)Set the networkInterfaceConfigurations property: The list of network configurations.
-
-
-
Method Detail
-
healthProbe
public ApiEntityReference healthProbe()
Get the healthProbe property: 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.
-
withHealthProbe
public VirtualMachineScaleSetNetworkProfile withHealthProbe(ApiEntityReference healthProbe)
Set the healthProbe property: 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}'.- Parameters:
healthProbe- the healthProbe value to set.- Returns:
- the VirtualMachineScaleSetNetworkProfile object itself.
-
networkInterfaceConfigurations
public List<VirtualMachineScaleSetNetworkConfiguration> networkInterfaceConfigurations()
Get the networkInterfaceConfigurations property: The list of network configurations.- Returns:
- the networkInterfaceConfigurations value.
-
withNetworkInterfaceConfigurations
public VirtualMachineScaleSetNetworkProfile withNetworkInterfaceConfigurations(List<VirtualMachineScaleSetNetworkConfiguration> networkInterfaceConfigurations)
Set the networkInterfaceConfigurations property: The list of network configurations.- Parameters:
networkInterfaceConfigurations- the networkInterfaceConfigurations value to set.- Returns:
- the VirtualMachineScaleSetNetworkProfile object itself.
-
networkApiVersion
public NetworkApiVersion networkApiVersion()
Get the networkApiVersion property: specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'.- Returns:
- the networkApiVersion value.
-
withNetworkApiVersion
public VirtualMachineScaleSetNetworkProfile withNetworkApiVersion(NetworkApiVersion networkApiVersion)
Set the networkApiVersion property: specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'.- Parameters:
networkApiVersion- the networkApiVersion value to set.- Returns:
- the VirtualMachineScaleSetNetworkProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-