Share via


VirtualNetworkPeering Class

Definition

Peerings in a VirtualNetwork resource

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20240501.VirtualNetworkPeeringTypeConverter))]
public class VirtualNetworkPeering : Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20240501.IVirtualNetworkPeering
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20240501.VirtualNetworkPeeringTypeConverter))>]
type VirtualNetworkPeering = class
    interface IVirtualNetworkPeering
    interface IJsonSerializable
Public Class VirtualNetworkPeering
Implements IVirtualNetworkPeering
Inheritance
VirtualNetworkPeering
Attributes
Implements

Constructors

VirtualNetworkPeering()

Creates an new VirtualNetworkPeering instance.

Properties

AllowForwardedTraffic

Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.

AllowGatewayTransit

If gateway links can be used in remote virtual networking to link to this virtual network.

AllowVirtualNetworkAccess

Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.

DatabrickAddressSpaceAddressPrefix

A list of address blocks reserved for this virtual network in CIDR notation.

DatabrickVirtualNetworkId

The Id of the databricks virtual network.

Id

Resource ID.

Name

Name of the virtual network peering resource

PeeringState

The status of the virtual network peering.

ProvisioningState

The provisioning state of the virtual network peering resource.

RemoteAddressSpaceAddressPrefix

A list of address blocks reserved for this virtual network in CIDR notation.

RemoteVirtualNetworkId

The Id of the remote virtual network.

ResourceGroupName

Gets the resource group name

Type

type of the virtual network peering resource

UseRemoteGateway

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualNetworkPeering.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualNetworkPeering.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Databricks.Models.Api20240501.IVirtualNetworkPeering.

FromJsonString(String)

Creates a new instance of VirtualNetworkPeering, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualNetworkPeering into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to