Partager via


PeerExpressRouteCircuitConnectionInner Class

public final class PeerExpressRouteCircuitConnectionInner
extends SubResource

Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.

Constructor Summary

Constructor Description
PeerExpressRouteCircuitConnectionInner()

Creates an instance of PeerExpressRouteCircuitConnectionInner class.

Method Summary

Modifier and Type Method and Description
String addressPrefix()

Get the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.

String authResourceGuid()

Get the authResourceGuid property: The resource guid of the authorization used for the express route circuit connection.

CircuitConnectionStatus circuitConnectionStatus()

Get the circuitConnectionStatus property: Express Route Circuit connection state.

String connectionName()

Get the connectionName property: The name of the express route circuit connection resource.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

SubResource expressRouteCircuitPeering()

Get the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit.

static PeerExpressRouteCircuitConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of PeerExpressRouteCircuitConnectionInner from the JsonReader.

String name()

Get the name property: The name of the resource that is unique within a resource group.

SubResource peerExpressRouteCircuitPeering()

Get the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the peer express route circuit connection resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

PeerExpressRouteCircuitConnectionInner withAddressPrefix(String addressPrefix)

Set the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.

PeerExpressRouteCircuitConnectionInner withAuthResourceGuid(String authResourceGuid)

Set the authResourceGuid property: The resource guid of the authorization used for the express route circuit connection.

PeerExpressRouteCircuitConnectionInner withConnectionName(String connectionName)

Set the connectionName property: The name of the express route circuit connection resource.

PeerExpressRouteCircuitConnectionInner withExpressRouteCircuitPeering(SubResource expressRouteCircuitPeering)

Set the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit.

PeerExpressRouteCircuitConnectionInner withId(String id)
PeerExpressRouteCircuitConnectionInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group.

PeerExpressRouteCircuitConnectionInner withPeerExpressRouteCircuitPeering(SubResource peerExpressRouteCircuitPeering)

Set the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

PeerExpressRouteCircuitConnectionInner

public PeerExpressRouteCircuitConnectionInner()

Creates an instance of PeerExpressRouteCircuitConnectionInner class.

Method Details

addressPrefix

public String addressPrefix()

Get the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.

Returns:

the addressPrefix value.

authResourceGuid

public String authResourceGuid()

Get the authResourceGuid property: The resource guid of the authorization used for the express route circuit connection.

Returns:

the authResourceGuid value.

circuitConnectionStatus

public CircuitConnectionStatus circuitConnectionStatus()

Get the circuitConnectionStatus property: Express Route Circuit connection state.

Returns:

the circuitConnectionStatus value.

connectionName

public String connectionName()

Get the connectionName property: The name of the express route circuit connection resource.

Returns:

the connectionName value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

expressRouteCircuitPeering

public SubResource expressRouteCircuitPeering()

Get the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit.

Returns:

the expressRouteCircuitPeering value.

fromJson

public static PeerExpressRouteCircuitConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of PeerExpressRouteCircuitConnectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

peerExpressRouteCircuitPeering

public SubResource peerExpressRouteCircuitPeering()

Get the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.

Returns:

the peerExpressRouteCircuitPeering value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the peer express route circuit connection resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PeerExpressRouteCircuitConnectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAddressPrefix

public PeerExpressRouteCircuitConnectionInner withAddressPrefix(String addressPrefix)

Set the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.

Parameters:

addressPrefix - the addressPrefix value to set.

Returns:

the PeerExpressRouteCircuitConnectionInner object itself.

withAuthResourceGuid

public PeerExpressRouteCircuitConnectionInner withAuthResourceGuid(String authResourceGuid)

Set the authResourceGuid property: The resource guid of the authorization used for the express route circuit connection.

Parameters:

authResourceGuid - the authResourceGuid value to set.

Returns:

the PeerExpressRouteCircuitConnectionInner object itself.

withConnectionName

public PeerExpressRouteCircuitConnectionInner withConnectionName(String connectionName)

Set the connectionName property: The name of the express route circuit connection resource.

Parameters:

connectionName - the connectionName value to set.

Returns:

the PeerExpressRouteCircuitConnectionInner object itself.

withExpressRouteCircuitPeering

public PeerExpressRouteCircuitConnectionInner withExpressRouteCircuitPeering(SubResource expressRouteCircuitPeering)

Set the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit.

Parameters:

expressRouteCircuitPeering - the expressRouteCircuitPeering value to set.

Returns:

the PeerExpressRouteCircuitConnectionInner object itself.

withId

public PeerExpressRouteCircuitConnectionInner withId(String id)

Overrides:

PeerExpressRouteCircuitConnectionInner.withId(String id)

Parameters:

id

withName

public PeerExpressRouteCircuitConnectionInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the PeerExpressRouteCircuitConnectionInner object itself.

withPeerExpressRouteCircuitPeering

public PeerExpressRouteCircuitConnectionInner withPeerExpressRouteCircuitPeering(SubResource peerExpressRouteCircuitPeering)

Set the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.

Parameters:

peerExpressRouteCircuitPeering - the peerExpressRouteCircuitPeering value to set.

Returns:

the PeerExpressRouteCircuitConnectionInner object itself.

Applies to