NetworkConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.workloadssapvirtualinstance.models.NetworkConfiguration

Implements

public final class NetworkConfiguration
implements JsonSerializable<NetworkConfiguration>

Defines the network configuration type for SAP system infrastructure that is being deployed.

Constructor Summary

Constructor Description
NetworkConfiguration()

Creates an instance of NetworkConfiguration class.

Method Summary

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

Reads an instance of NetworkConfiguration from the JsonReader.

Boolean isSecondaryIpEnabled()

Get the isSecondaryIpEnabled property: Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkConfiguration withIsSecondaryIpEnabled(Boolean isSecondaryIpEnabled)

Set the isSecondaryIpEnabled property: Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed.

Methods inherited from java.lang.Object

Constructor Details

NetworkConfiguration

public NetworkConfiguration()

Creates an instance of NetworkConfiguration class.

Method Details

fromJson

public static NetworkConfiguration fromJson(JsonReader jsonReader)

Reads an instance of NetworkConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkConfiguration 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 NetworkConfiguration.

isSecondaryIpEnabled

public Boolean isSecondaryIpEnabled()

Get the isSecondaryIpEnabled property: Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed.

Returns:

the isSecondaryIpEnabled value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIsSecondaryIpEnabled

public NetworkConfiguration withIsSecondaryIpEnabled(Boolean isSecondaryIpEnabled)

Set the isSecondaryIpEnabled property: Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed.

Parameters:

isSecondaryIpEnabled - the isSecondaryIpEnabled value to set.

Returns:

the NetworkConfiguration object itself.

Applies to