Share via


ControllerServices Class

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

Implements

public final class ControllerServices
implements JsonSerializable<ControllerServices>

Network Fabric Controller services.

Constructor Summary

Constructor Description
ControllerServices()

Creates an instance of ControllerServices class.

Method Summary

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

Reads an instance of ControllerServices from the JsonReader.

List<String> ipv4AddressSpaces()

Get the ipv4AddressSpaces property: The IPv4 Address space is optional, if the value is not defined at the time of NFC creation, then the default value 10.0.0.0/19 is considered.

List<String> ipv6AddressSpaces()

Get the ipv6AddressSpaces property: The IPv6 is not supported right now.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ControllerServices withIpv4AddressSpaces(List<String> ipv4AddressSpaces)

Set the ipv4AddressSpaces property: The IPv4 Address space is optional, if the value is not defined at the time of NFC creation, then the default value 10.0.0.0/19 is considered.

ControllerServices withIpv6AddressSpaces(List<String> ipv6AddressSpaces)

Set the ipv6AddressSpaces property: The IPv6 is not supported right now.

Methods inherited from java.lang.Object

Constructor Details

ControllerServices

public ControllerServices()

Creates an instance of ControllerServices class.

Method Details

fromJson

public static ControllerServices fromJson(JsonReader jsonReader)

Reads an instance of ControllerServices from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ipv4AddressSpaces

public List<String> ipv4AddressSpaces()

Get the ipv4AddressSpaces property: The IPv4 Address space is optional, if the value is not defined at the time of NFC creation, then the default value 10.0.0.0/19 is considered. The IPV4 address subnet is an optional attribute.

Returns:

the ipv4AddressSpaces value.

ipv6AddressSpaces

public List<String> ipv6AddressSpaces()

Get the ipv6AddressSpaces property: The IPv6 is not supported right now.

Returns:

the ipv6AddressSpaces value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIpv4AddressSpaces

public ControllerServices withIpv4AddressSpaces(List<String> ipv4AddressSpaces)

Set the ipv4AddressSpaces property: The IPv4 Address space is optional, if the value is not defined at the time of NFC creation, then the default value 10.0.0.0/19 is considered. The IPV4 address subnet is an optional attribute.

Parameters:

ipv4AddressSpaces - the ipv4AddressSpaces value to set.

Returns:

the ControllerServices object itself.

withIpv6AddressSpaces

public ControllerServices withIpv6AddressSpaces(List<String> ipv6AddressSpaces)

Set the ipv6AddressSpaces property: The IPv6 is not supported right now.

Parameters:

ipv6AddressSpaces - the ipv6AddressSpaces value to set.

Returns:

the ControllerServices object itself.

Applies to