VirtualMachineScaleSetNetworkProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineScaleSetNetworkProfile
- com.
Implements
public final class VirtualMachineScaleSetNetworkProfile
implements JsonSerializable<VirtualMachineScaleSetNetworkProfile>
Describes a virtual machine scale set network profile.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineScaleSetNetworkProfile() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Api |
healthProbe()
Get the health |
Network |
networkApiVersion()
Get the network |
List<Virtual |
networkInterfaceConfigurations()
Get the network |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withHealthProbe(ApiEntityReference healthProbe)
Set the health |
Virtual |
withNetworkApiVersion(NetworkApiVersion networkApiVersion)
Set the network |
Virtual |
withNetworkInterfaceConfigurations(List<VirtualMachineScaleSetNetworkConfiguration> networkInterfaceConfigurations)
Set the network |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineScaleSetNetworkProfile
public VirtualMachineScaleSetNetworkProfile()
Creates an instance of VirtualMachineScaleSetNetworkProfile class.
Method Details
fromJson
public static VirtualMachineScaleSetNetworkProfile fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineScaleSetNetworkProfile from the JsonReader.
Parameters:
Returns:
Throws:
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:
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:
networkInterfaceConfigurations
public List
Get the networkInterfaceConfigurations property: The list of network configurations.
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
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:
Returns:
withNetworkInterfaceConfigurations
public VirtualMachineScaleSetNetworkProfile withNetworkInterfaceConfigurations(List
Set the networkInterfaceConfigurations property: The list of network configurations.
Parameters:
Returns:
Applies to
Azure SDK for Java