This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
azure-native.databricks.getVNetPeering
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
Gets the workspace vNet Peering.
Uses Azure REST API version 2023-02-01.
Using getVNetPeering
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVNetPeering(args: GetVNetPeeringArgs, opts?: InvokeOptions): Promise<GetVNetPeeringResult>
function getVNetPeeringOutput(args: GetVNetPeeringOutputArgs, opts?: InvokeOptions): Output<GetVNetPeeringResult>def get_v_net_peering(peering_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      workspace_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetVNetPeeringResult
def get_v_net_peering_output(peering_name: Optional[pulumi.Input[str]] = None,
                      resource_group_name: Optional[pulumi.Input[str]] = None,
                      workspace_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetVNetPeeringResult]func LookupVNetPeering(ctx *Context, args *LookupVNetPeeringArgs, opts ...InvokeOption) (*LookupVNetPeeringResult, error)
func LookupVNetPeeringOutput(ctx *Context, args *LookupVNetPeeringOutputArgs, opts ...InvokeOption) LookupVNetPeeringResultOutput> Note: This function is named LookupVNetPeering in the Go SDK.
public static class GetVNetPeering 
{
    public static Task<GetVNetPeeringResult> InvokeAsync(GetVNetPeeringArgs args, InvokeOptions? opts = null)
    public static Output<GetVNetPeeringResult> Invoke(GetVNetPeeringInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVNetPeeringResult> getVNetPeering(GetVNetPeeringArgs args, InvokeOptions options)
public static Output<GetVNetPeeringResult> getVNetPeering(GetVNetPeeringArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:databricks:getVNetPeering
  arguments:
    # arguments dictionaryThe following arguments are supported:
- PeeringName string
- The name of the workspace vNet peering.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WorkspaceName string
- The name of the workspace.
- PeeringName string
- The name of the workspace vNet peering.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WorkspaceName string
- The name of the workspace.
- peeringName String
- The name of the workspace vNet peering.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- workspaceName String
- The name of the workspace.
- peeringName string
- The name of the workspace vNet peering.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- workspaceName string
- The name of the workspace.
- peering_name str
- The name of the workspace vNet peering.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- workspace_name str
- The name of the workspace.
- peeringName String
- The name of the workspace vNet peering.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- workspaceName String
- The name of the workspace.
getVNetPeering Result
The following output properties are available:
- Id string
- Resource ID.
- Name string
- Name of the virtual network peering resource
- PeeringState string
- The status of the virtual network peering.
- ProvisioningState string
- The provisioning state of the virtual network peering resource.
- RemoteVirtual Pulumi.Network Azure Native. Databricks. Outputs. Virtual Network Peering Properties Format Response Remote Virtual Network 
- 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).
- Type string
- type of the virtual network peering resource
- AllowForwarded boolTraffic 
- Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
- AllowGateway boolTransit 
- If gateway links can be used in remote virtual networking to link to this virtual network.
- AllowVirtual boolNetwork Access 
- Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
- DatabricksAddress Pulumi.Space Azure Native. Databricks. Outputs. Address Space Response 
- The reference to the databricks virtual network address space.
- DatabricksVirtual Pulumi.Network Azure Native. Databricks. Outputs. Virtual Network Peering Properties Format Response Databricks Virtual Network 
- 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).
- RemoteAddress Pulumi.Space Azure Native. Databricks. Outputs. Address Space Response 
- The reference to the remote virtual network address space.
- UseRemote boolGateways 
- 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.
- Id string
- Resource ID.
- Name string
- Name of the virtual network peering resource
- PeeringState string
- The status of the virtual network peering.
- ProvisioningState string
- The provisioning state of the virtual network peering resource.
- RemoteVirtual VirtualNetwork Network Peering Properties Format Response Remote Virtual Network 
- 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).
- Type string
- type of the virtual network peering resource
- AllowForwarded boolTraffic 
- Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
- AllowGateway boolTransit 
- If gateway links can be used in remote virtual networking to link to this virtual network.
- AllowVirtual boolNetwork Access 
- Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
- DatabricksAddress AddressSpace Space Response 
- The reference to the databricks virtual network address space.
- DatabricksVirtual VirtualNetwork Network Peering Properties Format Response Databricks Virtual Network 
- 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).
- RemoteAddress AddressSpace Space Response 
- The reference to the remote virtual network address space.
- UseRemote boolGateways 
- 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.
- id String
- Resource ID.
- name String
- Name of the virtual network peering resource
- peeringState String
- The status of the virtual network peering.
- provisioningState String
- The provisioning state of the virtual network peering resource.
- remoteVirtual VirtualNetwork Network Peering Properties Format Response Remote Virtual Network 
- 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).
- type String
- type of the virtual network peering resource
- allowForwarded BooleanTraffic 
- Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
- allowGateway BooleanTransit 
- If gateway links can be used in remote virtual networking to link to this virtual network.
- allowVirtual BooleanNetwork Access 
- Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
- databricksAddress AddressSpace Space Response 
- The reference to the databricks virtual network address space.
- databricksVirtual VirtualNetwork Network Peering Properties Format Response Databricks Virtual Network 
- 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).
- remoteAddress AddressSpace Space Response 
- The reference to the remote virtual network address space.
- useRemote BooleanGateways 
- 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.
- id string
- Resource ID.
- name string
- Name of the virtual network peering resource
- peeringState string
- The status of the virtual network peering.
- provisioningState string
- The provisioning state of the virtual network peering resource.
- remoteVirtual VirtualNetwork Network Peering Properties Format Response Remote Virtual Network 
- 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).
- type string
- type of the virtual network peering resource
- allowForwarded booleanTraffic 
- Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
- allowGateway booleanTransit 
- If gateway links can be used in remote virtual networking to link to this virtual network.
- allowVirtual booleanNetwork Access 
- Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
- databricksAddress AddressSpace Space Response 
- The reference to the databricks virtual network address space.
- databricksVirtual VirtualNetwork Network Peering Properties Format Response Databricks Virtual Network 
- 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).
- remoteAddress AddressSpace Space Response 
- The reference to the remote virtual network address space.
- useRemote booleanGateways 
- 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.
- id str
- Resource ID.
- name str
- Name of the virtual network peering resource
- peering_state str
- The status of the virtual network peering.
- provisioning_state str
- The provisioning state of the virtual network peering resource.
- remote_virtual_ Virtualnetwork Network Peering Properties Format Response Remote Virtual Network 
- 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).
- type str
- type of the virtual network peering resource
- allow_forwarded_ booltraffic 
- Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
- allow_gateway_ booltransit 
- If gateway links can be used in remote virtual networking to link to this virtual network.
- allow_virtual_ boolnetwork_ access 
- Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
- databricks_address_ Addressspace Space Response 
- The reference to the databricks virtual network address space.
- databricks_virtual_ Virtualnetwork Network Peering Properties Format Response Databricks Virtual Network 
- 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).
- remote_address_ Addressspace Space Response 
- The reference to the remote virtual network address space.
- use_remote_ boolgateways 
- 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.
- id String
- Resource ID.
- name String
- Name of the virtual network peering resource
- peeringState String
- The status of the virtual network peering.
- provisioningState String
- The provisioning state of the virtual network peering resource.
- remoteVirtual Property MapNetwork 
- 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).
- type String
- type of the virtual network peering resource
- allowForwarded BooleanTraffic 
- Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
- allowGateway BooleanTransit 
- If gateway links can be used in remote virtual networking to link to this virtual network.
- allowVirtual BooleanNetwork Access 
- Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
- databricksAddress Property MapSpace 
- The reference to the databricks virtual network address space.
- databricksVirtual Property MapNetwork 
- 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).
- remoteAddress Property MapSpace 
- The reference to the remote virtual network address space.
- useRemote BooleanGateways 
- 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.
Supporting Types
AddressSpaceResponse  
- AddressPrefixes List<string>
- A list of address blocks reserved for this virtual network in CIDR notation.
- AddressPrefixes []string
- A list of address blocks reserved for this virtual network in CIDR notation.
- addressPrefixes List<String>
- A list of address blocks reserved for this virtual network in CIDR notation.
- addressPrefixes string[]
- A list of address blocks reserved for this virtual network in CIDR notation.
- address_prefixes Sequence[str]
- A list of address blocks reserved for this virtual network in CIDR notation.
- addressPrefixes List<String>
- A list of address blocks reserved for this virtual network in CIDR notation.
VirtualNetworkPeeringPropertiesFormatResponseDatabricksVirtualNetwork        
- Id string
- The Id of the databricks virtual network.
- Id string
- The Id of the databricks virtual network.
- id String
- The Id of the databricks virtual network.
- id string
- The Id of the databricks virtual network.
- id str
- The Id of the databricks virtual network.
- id String
- The Id of the databricks virtual network.
VirtualNetworkPeeringPropertiesFormatResponseRemoteVirtualNetwork        
- Id string
- The Id of the remote virtual network.
- Id string
- The Id of the remote virtual network.
- id String
- The Id of the remote virtual network.
- id string
- The Id of the remote virtual network.
- id str
- The Id of the remote virtual network.
- id String
- The Id of the remote virtual network.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi