PeerExpressRouteCircuitConnectionInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. PeerExpressRouteCircuitConnectionInner
- com.
- com.
public final class PeerExpressRouteCircuitConnectionInner
extends SubResource
Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
Constructor Summary
Constructor | Description |
---|---|
PeerExpressRouteCircuitConnectionInner() |
Creates an instance of Peer |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
addressPrefix()
Get the address |
String |
authResourceGuid()
Get the auth |
Circuit |
circuitConnectionStatus()
Get the circuit |
String |
connectionName()
Get the connection |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
Sub |
expressRouteCircuitPeering()
Get the express |
static
Peer |
fromJson(JsonReader jsonReader)
Reads an instance of Peer |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
Sub |
peerExpressRouteCircuitPeering()
Get the peer |
Provisioning |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the resource. |
void |
validate()
Validates the instance. |
Peer |
withAddressPrefix(String addressPrefix)
Set the address |
Peer |
withAuthResourceGuid(String authResourceGuid)
Set the auth |
Peer |
withConnectionName(String connectionName)
Set the connection |
Peer |
withExpressRouteCircuitPeering(SubResource expressRouteCircuitPeering)
Set the express |
Peer |
withId(String id) |
Peer |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Peer |
withPeerExpressRouteCircuitPeering(SubResource peerExpressRouteCircuitPeering)
Set the peer |
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:
authResourceGuid
public String authResourceGuid()
Get the authResourceGuid property: The resource guid of the authorization used for the express route circuit connection.
Returns:
circuitConnectionStatus
public CircuitConnectionStatus circuitConnectionStatus()
Get the circuitConnectionStatus property: Express Route Circuit connection state.
Returns:
connectionName
public String connectionName()
Get the connectionName property: The name of the express route circuit connection resource.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
expressRouteCircuitPeering
public SubResource expressRouteCircuitPeering()
Get the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit.
Returns:
fromJson
public static PeerExpressRouteCircuitConnectionInner fromJson(JsonReader jsonReader)
Reads an instance of PeerExpressRouteCircuitConnectionInner from the JsonReader.
Parameters:
Returns:
Throws:
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:
peerExpressRouteCircuitPeering
public SubResource peerExpressRouteCircuitPeering()
Get the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the peer express route circuit connection resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PeerExpressRouteCircuitConnectionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of the resource.
Returns:
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:
Returns:
withAuthResourceGuid
public PeerExpressRouteCircuitConnectionInner withAuthResourceGuid(String authResourceGuid)
Set the authResourceGuid property: The resource guid of the authorization used for the express route circuit connection.
Parameters:
Returns:
withConnectionName
public PeerExpressRouteCircuitConnectionInner withConnectionName(String connectionName)
Set the connectionName property: The name of the express route circuit connection resource.
Parameters:
Returns:
withExpressRouteCircuitPeering
public PeerExpressRouteCircuitConnectionInner withExpressRouteCircuitPeering(SubResource expressRouteCircuitPeering)
Set the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit.
Parameters:
Returns:
withId
public PeerExpressRouteCircuitConnectionInner withId(String id)
Overrides:
PeerExpressRouteCircuitConnectionInner.withId(String id)Parameters:
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:
Returns:
withPeerExpressRouteCircuitPeering
public PeerExpressRouteCircuitConnectionInner withPeerExpressRouteCircuitPeering(SubResource peerExpressRouteCircuitPeering)
Set the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.
Parameters:
Returns:
Applies to
Azure SDK for Java