Class PeerExpressRouteCircuitConnectionInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.network.fluent.models.PeerExpressRouteCircuitConnectionInner
public final class PeerExpressRouteCircuitConnectionInner
extends com.azure.core.management.SubResource
Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PeerExpressRouteCircuitConnectionInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.Get the authResourceGuid property: The resource guid of the authorization used for the express route circuit connection.Get the circuitConnectionStatus property: Express Route Circuit connection state.Get the connectionName property: The name of the express route circuit connection resource.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.com.azure.core.management.SubResourceGet the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit.name()Get the name property: The name of the resource that is unique within a resource group.com.azure.core.management.SubResourceGet the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.Get the provisioningState property: The provisioning state of the peer express route circuit connection resource.type()Get the type property: Type of the resource.voidvalidate()Validates the instance.withAddressPrefix(String addressPrefix) Set the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.withAuthResourceGuid(String authResourceGuid) Set the authResourceGuid property: The resource guid of the authorization used for the express route circuit connection.withConnectionName(String connectionName) Set the connectionName property: The name of the express route circuit connection resource.withExpressRouteCircuitPeering(com.azure.core.management.SubResource expressRouteCircuitPeering) Set the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit.Set the name property: The name of the resource that is unique within a resource group.withPeerExpressRouteCircuitPeering(com.azure.core.management.SubResource peerExpressRouteCircuitPeering) Set the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.Methods inherited from class com.azure.core.management.SubResource
id
-
Constructor Details
-
PeerExpressRouteCircuitConnectionInner
public PeerExpressRouteCircuitConnectionInner()Creates an instance of PeerExpressRouteCircuitConnectionInner class.
-
-
Method Details
-
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.
-
withName
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.
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
type
Get the type property: Type of the resource.- Returns:
- the type value.
-
withId
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
expressRouteCircuitPeering
public com.azure.core.management.SubResource expressRouteCircuitPeering()Get the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit.- Returns:
- the expressRouteCircuitPeering value.
-
withExpressRouteCircuitPeering
public PeerExpressRouteCircuitConnectionInner withExpressRouteCircuitPeering(com.azure.core.management.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.
-
peerExpressRouteCircuitPeering
public com.azure.core.management.SubResource peerExpressRouteCircuitPeering()Get the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.- Returns:
- the peerExpressRouteCircuitPeering value.
-
withPeerExpressRouteCircuitPeering
public PeerExpressRouteCircuitConnectionInner withPeerExpressRouteCircuitPeering(com.azure.core.management.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.
-
addressPrefix
Get the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.- Returns:
- the addressPrefix value.
-
withAddressPrefix
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.
-
circuitConnectionStatus
Get the circuitConnectionStatus property: Express Route Circuit connection state.- Returns:
- the circuitConnectionStatus value.
-
connectionName
Get the connectionName property: The name of the express route circuit connection resource.- Returns:
- the connectionName value.
-
withConnectionName
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.
-
authResourceGuid
Get the authResourceGuid property: The resource guid of the authorization used for the express route circuit connection.- Returns:
- the authResourceGuid value.
-
withAuthResourceGuid
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.
-
provisioningState
Get the provisioningState property: The provisioning state of the peer express route circuit connection resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-