VirtualRouterPeeringInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. VirtualRouterPeeringInner
- com.
- com.
public final class VirtualRouterPeeringInner
extends SubResource
Virtual Router Peering resource.
Constructor Summary
Constructor | Description |
---|---|
VirtualRouterPeeringInner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
name()
Get the name property: Name of the virtual router peering that is unique within a virtual router. |
Long |
peerAsn()
Get the peer |
String |
peerIp()
Get the peer |
Provisioning |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Peering type. |
void |
validate()
Validates the instance. |
Virtual |
withId(String id) |
Virtual |
withName(String name)
Set the name property: Name of the virtual router peering that is unique within a virtual router. |
Virtual |
withPeerAsn(Long peerAsn)
Set the peer |
Virtual |
withPeerIp(String peerIp)
Set the peer |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
VirtualRouterPeeringInner
public VirtualRouterPeeringInner()
Creates an instance of VirtualRouterPeeringInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static VirtualRouterPeeringInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualRouterPeeringInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the virtual router peering that is unique within a virtual router.
Returns:
peerAsn
public Long peerAsn()
Get the peerAsn property: Peer ASN.
Returns:
peerIp
public String peerIp()
Get the peerIp property: Peer IP.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualRouterPeeringInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Peering type.
Returns:
validate
public void validate()
Validates the instance.
withId
public VirtualRouterPeeringInner withId(String id)
Overrides:
VirtualRouterPeeringInner.withId(String id)Parameters:
withName
public VirtualRouterPeeringInner withName(String name)
Set the name property: Name of the virtual router peering that is unique within a virtual router.
Parameters:
Returns:
withPeerAsn
public VirtualRouterPeeringInner withPeerAsn(Long peerAsn)
Set the peerAsn property: Peer ASN.
Parameters:
Returns:
withPeerIp
public VirtualRouterPeeringInner withPeerIp(String peerIp)
Set the peerIp property: Peer IP.
Parameters:
Returns:
Applies to
Azure SDK for Java