public class VirtualNetworkPeeringInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
VirtualNetworkPeeringInner() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowForwardedTraffic()
Get the allowForwardedTraffic property: Whether the forwarded traffic from the VMs in the local virtual network
will be allowed/disallowed in remote virtual network.
|
Boolean |
allowGatewayTransit()
Get the allowGatewayTransit property: If gateway links can be used in remote virtual networking to link to this
virtual network.
|
Boolean |
allowVirtualNetworkAccess()
Get the allowVirtualNetworkAccess property: Whether the VMs in the local virtual network space would be able to
access the VMs in remote virtual network space.
|
Boolean |
doNotVerifyRemoteGateways()
Get the doNotVerifyRemoteGateways property: If we need to verify the provisioning state of the remote gateway.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
name()
Get the name property: The name of the resource that is unique within a resource group.
|
VirtualNetworkPeeringState |
peeringState()
Get the peeringState property: The status of the virtual network peering.
|
VirtualNetworkPeeringLevel |
peeringSyncLevel()
Get the peeringSyncLevel property: The peering sync status of the virtual network peering.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the virtual network peering resource.
|
AddressSpace |
remoteAddressSpace()
Get the remoteAddressSpace property: The reference to the address space peered with the remote virtual network.
|
VirtualNetworkBgpCommunities |
remoteBgpCommunities()
Get the remoteBgpCommunities property: The reference to the remote virtual network's Bgp Communities.
|
com.azure.core.management.SubResource |
remoteVirtualNetwork()
Get the remoteVirtualNetwork property: The reference to the remote virtual network.
|
AddressSpace |
remoteVirtualNetworkAddressSpace()
Get the remoteVirtualNetworkAddressSpace property: The reference to the current address space of the remote
virtual network.
|
String |
resourceGuid()
Get the resourceGuid property: The resourceGuid property of the Virtual Network peering resource.
|
String |
type()
Get the type property: Resource type.
|
Boolean |
useRemoteGateways()
Get the useRemoteGateways property: If remote gateways can be used on this virtual network.
|
void |
validate()
Validates the instance.
|
VirtualNetworkPeeringInner |
withAllowForwardedTraffic(Boolean allowForwardedTraffic)
Set the allowForwardedTraffic property: Whether the forwarded traffic from the VMs in the local virtual network
will be allowed/disallowed in remote virtual network.
|
VirtualNetworkPeeringInner |
withAllowGatewayTransit(Boolean allowGatewayTransit)
Set the allowGatewayTransit property: If gateway links can be used in remote virtual networking to link to this
virtual network.
|
VirtualNetworkPeeringInner |
withAllowVirtualNetworkAccess(Boolean allowVirtualNetworkAccess)
Set the allowVirtualNetworkAccess property: Whether the VMs in the local virtual network space would be able to
access the VMs in remote virtual network space.
|
VirtualNetworkPeeringInner |
withDoNotVerifyRemoteGateways(Boolean doNotVerifyRemoteGateways)
Set the doNotVerifyRemoteGateways property: If we need to verify the provisioning state of the remote gateway.
|
VirtualNetworkPeeringInner |
withId(String id) |
VirtualNetworkPeeringInner |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group.
|
VirtualNetworkPeeringInner |
withPeeringState(VirtualNetworkPeeringState peeringState)
Set the peeringState property: The status of the virtual network peering.
|
VirtualNetworkPeeringInner |
withPeeringSyncLevel(VirtualNetworkPeeringLevel peeringSyncLevel)
Set the peeringSyncLevel property: The peering sync status of the virtual network peering.
|
VirtualNetworkPeeringInner |
withRemoteAddressSpace(AddressSpace remoteAddressSpace)
Set the remoteAddressSpace property: The reference to the address space peered with the remote virtual network.
|
VirtualNetworkPeeringInner |
withRemoteBgpCommunities(VirtualNetworkBgpCommunities remoteBgpCommunities)
Set the remoteBgpCommunities property: The reference to the remote virtual network's Bgp Communities.
|
VirtualNetworkPeeringInner |
withRemoteVirtualNetwork(com.azure.core.management.SubResource remoteVirtualNetwork)
Set the remoteVirtualNetwork property: The reference to the remote virtual network.
|
VirtualNetworkPeeringInner |
withRemoteVirtualNetworkAddressSpace(AddressSpace remoteVirtualNetworkAddressSpace)
Set the remoteVirtualNetworkAddressSpace property: The reference to the current address space of the remote
virtual network.
|
VirtualNetworkPeeringInner |
withType(String type)
Set the type property: Resource type.
|
VirtualNetworkPeeringInner |
withUseRemoteGateways(Boolean useRemoteGateways)
Set the useRemoteGateways property: If remote gateways can be used on this virtual network.
|
public String name()
public VirtualNetworkPeeringInner withName(String name)
name - the name value to set.public String etag()
public String type()
public VirtualNetworkPeeringInner withType(String type)
type - the type value to set.public Boolean allowVirtualNetworkAccess()
public VirtualNetworkPeeringInner withAllowVirtualNetworkAccess(Boolean allowVirtualNetworkAccess)
allowVirtualNetworkAccess - the allowVirtualNetworkAccess value to set.public Boolean allowForwardedTraffic()
public VirtualNetworkPeeringInner withAllowForwardedTraffic(Boolean allowForwardedTraffic)
allowForwardedTraffic - the allowForwardedTraffic value to set.public Boolean allowGatewayTransit()
public VirtualNetworkPeeringInner withAllowGatewayTransit(Boolean allowGatewayTransit)
allowGatewayTransit - the allowGatewayTransit value to set.public Boolean useRemoteGateways()
public VirtualNetworkPeeringInner withUseRemoteGateways(Boolean useRemoteGateways)
useRemoteGateways - the useRemoteGateways value to set.public com.azure.core.management.SubResource remoteVirtualNetwork()
public VirtualNetworkPeeringInner withRemoteVirtualNetwork(com.azure.core.management.SubResource remoteVirtualNetwork)
remoteVirtualNetwork - the remoteVirtualNetwork value to set.public AddressSpace remoteAddressSpace()
public VirtualNetworkPeeringInner withRemoteAddressSpace(AddressSpace remoteAddressSpace)
remoteAddressSpace - the remoteAddressSpace value to set.public AddressSpace remoteVirtualNetworkAddressSpace()
public VirtualNetworkPeeringInner withRemoteVirtualNetworkAddressSpace(AddressSpace remoteVirtualNetworkAddressSpace)
remoteVirtualNetworkAddressSpace - the remoteVirtualNetworkAddressSpace value to set.public VirtualNetworkBgpCommunities remoteBgpCommunities()
public VirtualNetworkPeeringInner withRemoteBgpCommunities(VirtualNetworkBgpCommunities remoteBgpCommunities)
remoteBgpCommunities - the remoteBgpCommunities value to set.public VirtualNetworkPeeringState peeringState()
public VirtualNetworkPeeringInner withPeeringState(VirtualNetworkPeeringState peeringState)
peeringState - the peeringState value to set.public VirtualNetworkPeeringLevel peeringSyncLevel()
public VirtualNetworkPeeringInner withPeeringSyncLevel(VirtualNetworkPeeringLevel peeringSyncLevel)
peeringSyncLevel - the peeringSyncLevel value to set.public ProvisioningState provisioningState()
public Boolean doNotVerifyRemoteGateways()
public VirtualNetworkPeeringInner withDoNotVerifyRemoteGateways(Boolean doNotVerifyRemoteGateways)
doNotVerifyRemoteGateways - the doNotVerifyRemoteGateways value to set.public String resourceGuid()
public VirtualNetworkPeeringInner 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.