Circuit Class

  • java.lang.Object
    • com.azure.resourcemanager.avs.models.Circuit

Implements

public final class Circuit
implements JsonSerializable<Circuit>

An ExpressRoute Circuit.

Constructor Summary

Constructor Description
Circuit()

Creates an instance of Circuit class.

Method Summary

Modifier and Type Method and Description
String expressRouteId()

Get the expressRouteId property: Identifier of the ExpressRoute Circuit (Microsoft Colo only).

String expressRoutePrivatePeeringId()

Get the expressRoutePrivatePeeringId property: ExpressRoute Circuit private peering identifier.

static Circuit fromJson(JsonReader jsonReader)

Reads an instance of Circuit from the JsonReader.

String primarySubnet()

Get the primarySubnet property: CIDR of primary subnet.

String secondarySubnet()

Get the secondarySubnet property: CIDR of secondary subnet.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

Circuit

public Circuit()

Creates an instance of Circuit class.

Method Details

expressRouteId

public String expressRouteId()

Get the expressRouteId property: Identifier of the ExpressRoute Circuit (Microsoft Colo only).

Returns:

the expressRouteId value.

expressRoutePrivatePeeringId

public String expressRoutePrivatePeeringId()

Get the expressRoutePrivatePeeringId property: ExpressRoute Circuit private peering identifier.

Returns:

the expressRoutePrivatePeeringId value.

fromJson

public static Circuit fromJson(JsonReader jsonReader)

Reads an instance of Circuit from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

primarySubnet

public String primarySubnet()

Get the primarySubnet property: CIDR of primary subnet.

Returns:

the primarySubnet value.

secondarySubnet

public String secondarySubnet()

Get the secondarySubnet property: CIDR of secondary subnet.

Returns:

the secondarySubnet value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to