VirtualMachineScaleSetVMNetworkProfileConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.VirtualMachineScaleSetVMNetworkProfileConfiguration

Implements

public final class VirtualMachineScaleSetVMNetworkProfileConfiguration
implements JsonSerializable<VirtualMachineScaleSetVMNetworkProfileConfiguration>

Describes a virtual machine scale set VM network profile.

Constructor Summary

Constructor Description
VirtualMachineScaleSetVMNetworkProfileConfiguration()

Creates an instance of VirtualMachineScaleSetVMNetworkProfileConfiguration class.

Method Summary

Modifier and Type Method and Description
static VirtualMachineScaleSetVMNetworkProfileConfiguration fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineScaleSetVMNetworkProfileConfiguration from the JsonReader.

List<VirtualMachineScaleSetNetworkConfiguration> networkInterfaceConfigurations()

Get the networkInterfaceConfigurations property: The list of network configurations.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualMachineScaleSetVMNetworkProfileConfiguration withNetworkInterfaceConfigurations(List<VirtualMachineScaleSetNetworkConfiguration> networkInterfaceConfigurations)

Set the networkInterfaceConfigurations property: The list of network configurations.

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineScaleSetVMNetworkProfileConfiguration

public VirtualMachineScaleSetVMNetworkProfileConfiguration()

Creates an instance of VirtualMachineScaleSetVMNetworkProfileConfiguration class.

Method Details

fromJson

public static VirtualMachineScaleSetVMNetworkProfileConfiguration fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineScaleSetVMNetworkProfileConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualMachineScaleSetVMNetworkProfileConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VirtualMachineScaleSetVMNetworkProfileConfiguration.

networkInterfaceConfigurations

public List networkInterfaceConfigurations()

Get the networkInterfaceConfigurations property: The list of network configurations.

Returns:

the networkInterfaceConfigurations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withNetworkInterfaceConfigurations

public VirtualMachineScaleSetVMNetworkProfileConfiguration withNetworkInterfaceConfigurations(List networkInterfaceConfigurations)

Set the networkInterfaceConfigurations property: The list of network configurations.

Parameters:

networkInterfaceConfigurations - the networkInterfaceConfigurations value to set.

Returns:

the VirtualMachineScaleSetVMNetworkProfileConfiguration object itself.

Applies to