public class BgpConnectionInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
BgpConnectionInner() |
| Modifier and Type | Method and Description |
|---|---|
HubBgpConnectionStatus |
connectionState()
Get the connectionState property: The current state of the VirtualHub to Peer.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
name()
Get the name property: Name of the connection.
|
Long |
peerAsn()
Get the peerAsn property: Peer ASN.
|
String |
peerIp()
Get the peerIp property: Peer IP.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the resource.
|
String |
type()
Get the type property: Connection type.
|
void |
validate()
Validates the instance.
|
BgpConnectionInner |
withId(String id) |
BgpConnectionInner |
withName(String name)
Set the name property: Name of the connection.
|
BgpConnectionInner |
withPeerAsn(Long peerAsn)
Set the peerAsn property: Peer ASN.
|
BgpConnectionInner |
withPeerIp(String peerIp)
Set the peerIp property: Peer IP.
|
public String name()
public BgpConnectionInner withName(String name)
name - the name value to set.public String etag()
public String type()
public Long peerAsn()
public BgpConnectionInner withPeerAsn(Long peerAsn)
peerAsn - the peerAsn value to set.public String peerIp()
public BgpConnectionInner withPeerIp(String peerIp)
peerIp - the peerIp value to set.public ProvisioningState provisioningState()
public HubBgpConnectionStatus connectionState()
public BgpConnectionInner withId(String id)
withId in class com.azure.core.management.SubResourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.