مشاركة عبر


NetworkFabricPatchableProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.managednetworkfabric.models.NetworkFabricPatchableProperties

Implements

public class NetworkFabricPatchableProperties
implements JsonSerializable<NetworkFabricPatchableProperties>

Network Fabric updatable properties.

Constructor Summary

Constructor Description
NetworkFabricPatchableProperties()

Creates an instance of NetworkFabricPatchableProperties class.

Method Summary

Modifier and Type Method and Description
Long fabricAsn()

Get the fabricAsn property: ASN of CE devices for CE/PE connectivity.

static NetworkFabricPatchableProperties fromJson(JsonReader jsonReader)

Reads an instance of NetworkFabricPatchableProperties from the JsonReader.

String ipv4Prefix()

Get the ipv4Prefix property: IPv4Prefix for Management Network.

String ipv6Prefix()

Get the ipv6Prefix property: IPv6Prefix for Management Network.

ManagementNetworkConfigurationPatchableProperties managementNetworkConfiguration()

Get the managementNetworkConfiguration property: Configuration to be used to setup the management network.

Integer rackCount()

Get the rackCount property: Number of compute racks associated to Network Fabric.

Integer serverCountPerRack()

Get the serverCountPerRack property: Number of servers.Possible values are from 1-16.

NetworkFabricPatchablePropertiesTerminalServerConfiguration terminalServerConfiguration()

Get the terminalServerConfiguration property: Network and credentials configuration already applied to terminal server.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkFabricPatchableProperties withFabricAsn(Long fabricAsn)

Set the fabricAsn property: ASN of CE devices for CE/PE connectivity.

NetworkFabricPatchableProperties withIpv4Prefix(String ipv4Prefix)

Set the ipv4Prefix property: IPv4Prefix for Management Network.

NetworkFabricPatchableProperties withIpv6Prefix(String ipv6Prefix)

Set the ipv6Prefix property: IPv6Prefix for Management Network.

NetworkFabricPatchableProperties withManagementNetworkConfiguration(ManagementNetworkConfigurationPatchableProperties managementNetworkConfiguration)

Set the managementNetworkConfiguration property: Configuration to be used to setup the management network.

NetworkFabricPatchableProperties withRackCount(Integer rackCount)

Set the rackCount property: Number of compute racks associated to Network Fabric.

NetworkFabricPatchableProperties withServerCountPerRack(Integer serverCountPerRack)

Set the serverCountPerRack property: Number of servers.Possible values are from 1-16.

NetworkFabricPatchableProperties withTerminalServerConfiguration(NetworkFabricPatchablePropertiesTerminalServerConfiguration terminalServerConfiguration)

Set the terminalServerConfiguration property: Network and credentials configuration already applied to terminal server.

Methods inherited from java.lang.Object

Constructor Details

NetworkFabricPatchableProperties

public NetworkFabricPatchableProperties()

Creates an instance of NetworkFabricPatchableProperties class.

Method Details

fabricAsn

public Long fabricAsn()

Get the fabricAsn property: ASN of CE devices for CE/PE connectivity.

Returns:

the fabricAsn value.

fromJson

public static NetworkFabricPatchableProperties fromJson(JsonReader jsonReader)

Reads an instance of NetworkFabricPatchableProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ipv4Prefix

public String ipv4Prefix()

Get the ipv4Prefix property: IPv4Prefix for Management Network. Example: 10.1.0.0/19.

Returns:

the ipv4Prefix value.

ipv6Prefix

public String ipv6Prefix()

Get the ipv6Prefix property: IPv6Prefix for Management Network. Example: 3FFE:FFFF:0:CD40::/59.

Returns:

the ipv6Prefix value.

managementNetworkConfiguration

public ManagementNetworkConfigurationPatchableProperties managementNetworkConfiguration()

Get the managementNetworkConfiguration property: Configuration to be used to setup the management network.

Returns:

the managementNetworkConfiguration value.

rackCount

public Integer rackCount()

Get the rackCount property: Number of compute racks associated to Network Fabric.

Returns:

the rackCount value.

serverCountPerRack

public Integer serverCountPerRack()

Get the serverCountPerRack property: Number of servers.Possible values are from 1-16.

Returns:

the serverCountPerRack value.

terminalServerConfiguration

public NetworkFabricPatchablePropertiesTerminalServerConfiguration terminalServerConfiguration()

Get the terminalServerConfiguration property: Network and credentials configuration already applied to terminal server.

Returns:

the terminalServerConfiguration value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFabricAsn

public NetworkFabricPatchableProperties withFabricAsn(Long fabricAsn)

Set the fabricAsn property: ASN of CE devices for CE/PE connectivity.

Parameters:

fabricAsn - the fabricAsn value to set.

Returns:

the NetworkFabricPatchableProperties object itself.

withIpv4Prefix

public NetworkFabricPatchableProperties withIpv4Prefix(String ipv4Prefix)

Set the ipv4Prefix property: IPv4Prefix for Management Network. Example: 10.1.0.0/19.

Parameters:

ipv4Prefix - the ipv4Prefix value to set.

Returns:

the NetworkFabricPatchableProperties object itself.

withIpv6Prefix

public NetworkFabricPatchableProperties withIpv6Prefix(String ipv6Prefix)

Set the ipv6Prefix property: IPv6Prefix for Management Network. Example: 3FFE:FFFF:0:CD40::/59.

Parameters:

ipv6Prefix - the ipv6Prefix value to set.

Returns:

the NetworkFabricPatchableProperties object itself.

withManagementNetworkConfiguration

public NetworkFabricPatchableProperties withManagementNetworkConfiguration(ManagementNetworkConfigurationPatchableProperties managementNetworkConfiguration)

Set the managementNetworkConfiguration property: Configuration to be used to setup the management network.

Parameters:

managementNetworkConfiguration - the managementNetworkConfiguration value to set.

Returns:

the NetworkFabricPatchableProperties object itself.

withRackCount

public NetworkFabricPatchableProperties withRackCount(Integer rackCount)

Set the rackCount property: Number of compute racks associated to Network Fabric.

Parameters:

rackCount - the rackCount value to set.

Returns:

the NetworkFabricPatchableProperties object itself.

withServerCountPerRack

public NetworkFabricPatchableProperties withServerCountPerRack(Integer serverCountPerRack)

Set the serverCountPerRack property: Number of servers.Possible values are from 1-16.

Parameters:

serverCountPerRack - the serverCountPerRack value to set.

Returns:

the NetworkFabricPatchableProperties object itself.

withTerminalServerConfiguration

public NetworkFabricPatchableProperties withTerminalServerConfiguration(NetworkFabricPatchablePropertiesTerminalServerConfiguration terminalServerConfiguration)

Set the terminalServerConfiguration property: Network and credentials configuration already applied to terminal server.

Parameters:

terminalServerConfiguration - the terminalServerConfiguration value to set.

Returns:

the NetworkFabricPatchableProperties object itself.

Applies to