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.
|
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.
|
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 remote virtual network address space.
|
com.azure.core.management.SubResource |
remoteVirtualNetwork()
Get the remoteVirtualNetwork property: The reference to the remote virtual network.
|
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 |
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 |
withRemoteAddressSpace(AddressSpace remoteAddressSpace)
Set the remoteAddressSpace property: The reference to the remote virtual network address space.
|
VirtualNetworkPeeringInner |
withRemoteVirtualNetwork(com.azure.core.management.SubResource remoteVirtualNetwork)
Set the remoteVirtualNetwork property: The reference to the remote virtual network.
|
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 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 VirtualNetworkPeeringState peeringState()
public VirtualNetworkPeeringInner withPeeringState(VirtualNetworkPeeringState peeringState)
peeringState - the peeringState value to set.public ProvisioningState provisioningState()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.