Interface VirtualNetworkPeering
public interface VirtualNetworkPeering
An immutable client-side representation of VirtualNetworkPeering.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the VirtualNetworkPeering definition.static interface
The VirtualNetworkPeering definition stages.static interface
The template for VirtualNetworkPeering update.static interface
The VirtualNetworkPeering update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the allowForwardedTraffic property: Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.Gets the allowGatewayTransit property: If gateway links can be used in remote virtual networking to link to this virtual network.Gets the allowVirtualNetworkAccess property: Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.Gets the databricksAddressSpace property: The reference to the databricks virtual network address space.Gets the databricksVirtualNetwork property: The remote virtual network should be in the same region.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.databricks.fluent.models.VirtualNetworkPeeringInner object.name()
Gets the name property: The name of the resource.Gets the peeringState property: The status of the virtual network peering.Gets the provisioningState property: The provisioning state of the virtual network peering resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the remoteAddressSpace property: The reference to the remote virtual network address space.Gets the remoteVirtualNetwork property: The remote virtual network should be in the same region.Gets the name of the resource group.type()
Gets the type property: The type of the resource.update()
Begins update for the VirtualNetworkPeering resource.Gets the useRemoteGateways property: If remote gateways can be used on this virtual network.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
allowVirtualNetworkAccess
Boolean allowVirtualNetworkAccess()Gets the allowVirtualNetworkAccess property: Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.- Returns:
- the allowVirtualNetworkAccess value.
-
allowForwardedTraffic
Boolean allowForwardedTraffic()Gets the allowForwardedTraffic property: Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.- Returns:
- the allowForwardedTraffic value.
-
allowGatewayTransit
Boolean allowGatewayTransit()Gets the allowGatewayTransit property: If gateway links can be used in remote virtual networking to link to this virtual network.- Returns:
- the allowGatewayTransit value.
-
useRemoteGateways
Boolean useRemoteGateways()Gets the useRemoteGateways property: If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.- Returns:
- the useRemoteGateways value.
-
databricksVirtualNetwork
VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork databricksVirtualNetwork()Gets the databricksVirtualNetwork property: The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering).- Returns:
- the databricksVirtualNetwork value.
-
databricksAddressSpace
AddressSpace databricksAddressSpace()Gets the databricksAddressSpace property: The reference to the databricks virtual network address space.- Returns:
- the databricksAddressSpace value.
-
remoteVirtualNetwork
VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork remoteVirtualNetwork()Gets the remoteVirtualNetwork property: The remote virtual network should be in the same region. See here to learn more (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering).- Returns:
- the remoteVirtualNetwork value.
-
remoteAddressSpace
AddressSpace remoteAddressSpace()Gets the remoteAddressSpace property: The reference to the remote virtual network address space.- Returns:
- the remoteAddressSpace value.
-
peeringState
PeeringState peeringState()Gets the peeringState property: The status of the virtual network peering.- Returns:
- the peeringState value.
-
provisioningState
PeeringProvisioningState provisioningState()Gets the provisioningState property: The provisioning state of the virtual network peering resource.- Returns:
- the provisioningState value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
VirtualNetworkPeeringInner innerModel()Gets the inner com.azure.resourcemanager.databricks.fluent.models.VirtualNetworkPeeringInner object.- Returns:
- the inner object.
-
update
VirtualNetworkPeering.Update update()Begins update for the VirtualNetworkPeering resource.- Returns:
- the stage of resource update.
-
refresh
VirtualNetworkPeering refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-