VirtualRouterPeeringInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. SubResourceModel - com.
azure. resourcemanager. network. fluent. models. VirtualRouterPeeringInner
- com.
- com.
- com.
public final class VirtualRouterPeeringInner
extends SubResourceModel
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 |
| 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: Resource type. |
| void |
validate()
Validates the instance. |
|
Virtual |
withId(String id) |
|
Virtual |
withName(String name)
Set the name property: Name of the resource. |
|
Virtual |
withPeerAsn(Long peerAsn)
Set the peer |
|
Virtual |
withPeerIp(String peerIp)
Set the peer |
Methods inherited from SubResource
Methods inherited from SubResourceModel
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:
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: Resource type.
Overrides:
VirtualRouterPeeringInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
VirtualRouterPeeringInner.validate()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 resource.
Overrides:
VirtualRouterPeeringInner.withName(String name)Parameters:
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: