Class ExpressRouteCircuitConnectionInner
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitConnectionInner
-
public final class ExpressRouteCircuitConnectionInner extends com.azure.core.management.SubResourceExpress Route Circuit Connection in an ExpressRouteCircuitPeering resource.
-
-
Constructor Summary
Constructors Constructor Description ExpressRouteCircuitConnectionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddressPrefix()Get the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.StringauthorizationKey()Get the authorizationKey property: The authorization key.CircuitConnectionStatuscircuitConnectionStatus()Get the circuitConnectionStatus property: Express Route Circuit connection state.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.com.azure.core.management.SubResourceexpressRouteCircuitPeering()Get the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.Ipv6CircuitConnectionConfigipv6CircuitConnectionConfig()Get the ipv6CircuitConnectionConfig property: IPv6 Address PrefixProperties of the express route circuit connection.Stringname()Get the name property: The name of the resource that is unique within a resource group.com.azure.core.management.SubResourcepeerExpressRouteCircuitPeering()Get the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the express route circuit connection resource.Stringtype()Get the type property: Type of the resource.voidvalidate()Validates the instance.ExpressRouteCircuitConnectionInnerwithAddressPrefix(String addressPrefix)Set the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.ExpressRouteCircuitConnectionInnerwithAuthorizationKey(String authorizationKey)Set the authorizationKey property: The authorization key.ExpressRouteCircuitConnectionInnerwithExpressRouteCircuitPeering(com.azure.core.management.SubResource expressRouteCircuitPeering)Set the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.ExpressRouteCircuitConnectionInnerwithId(String id)ExpressRouteCircuitConnectionInnerwithIpv6CircuitConnectionConfig(Ipv6CircuitConnectionConfig ipv6CircuitConnectionConfig)Set the ipv6CircuitConnectionConfig property: IPv6 Address PrefixProperties of the express route circuit connection.ExpressRouteCircuitConnectionInnerwithName(String name)Set the name property: The name of the resource that is unique within a resource group.ExpressRouteCircuitConnectionInnerwithPeerExpressRouteCircuitPeering(com.azure.core.management.SubResource peerExpressRouteCircuitPeering)Set the peerExpressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the peered circuit.
-
-
-
Method Detail
-
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.
-
withName
public ExpressRouteCircuitConnectionInner 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 ExpressRouteCircuitConnectionInner object itself.
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
type
public String type()
Get the type property: Type of the resource.- Returns:
- the type value.
-
withId
public ExpressRouteCircuitConnectionInner withId(String id)
- 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 initiating connection.- Returns:
- the expressRouteCircuitPeering value.
-
withExpressRouteCircuitPeering
public ExpressRouteCircuitConnectionInner withExpressRouteCircuitPeering(com.azure.core.management.SubResource expressRouteCircuitPeering)
Set the expressRouteCircuitPeering property: Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.- Parameters:
expressRouteCircuitPeering- the expressRouteCircuitPeering value to set.- Returns:
- the ExpressRouteCircuitConnectionInner 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 ExpressRouteCircuitConnectionInner 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 ExpressRouteCircuitConnectionInner object itself.
-
addressPrefix
public String addressPrefix()
Get the addressPrefix property: /29 IP address space to carve out Customer addresses for tunnels.- Returns:
- the addressPrefix value.
-
withAddressPrefix
public ExpressRouteCircuitConnectionInner 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 ExpressRouteCircuitConnectionInner object itself.
-
authorizationKey
public String authorizationKey()
Get the authorizationKey property: The authorization key.- Returns:
- the authorizationKey value.
-
withAuthorizationKey
public ExpressRouteCircuitConnectionInner withAuthorizationKey(String authorizationKey)
Set the authorizationKey property: The authorization key.- Parameters:
authorizationKey- the authorizationKey value to set.- Returns:
- the ExpressRouteCircuitConnectionInner object itself.
-
ipv6CircuitConnectionConfig
public Ipv6CircuitConnectionConfig ipv6CircuitConnectionConfig()
Get the ipv6CircuitConnectionConfig property: IPv6 Address PrefixProperties of the express route circuit connection.- Returns:
- the ipv6CircuitConnectionConfig value.
-
withIpv6CircuitConnectionConfig
public ExpressRouteCircuitConnectionInner withIpv6CircuitConnectionConfig(Ipv6CircuitConnectionConfig ipv6CircuitConnectionConfig)
Set the ipv6CircuitConnectionConfig property: IPv6 Address PrefixProperties of the express route circuit connection.- Parameters:
ipv6CircuitConnectionConfig- the ipv6CircuitConnectionConfig value to set.- Returns:
- the ExpressRouteCircuitConnectionInner object itself.
-
circuitConnectionStatus
public CircuitConnectionStatus circuitConnectionStatus()
Get the circuitConnectionStatus property: Express Route Circuit connection state.- Returns:
- the circuitConnectionStatus value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the 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.
-
-