Sdílet prostřednictvím


ArmNetworkModelFactory.VpnSiteData Method

Definition

Initializes a new instance of VpnSiteData.

public static Azure.ResourceManager.Network.VpnSiteData VpnSiteData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, Azure.Core.ResourceIdentifier virtualWanId = default, Azure.ResourceManager.Network.Models.DeviceProperties deviceProperties = default, string ipAddress = default, string siteKey = default, System.Collections.Generic.IEnumerable<string> addressPrefixes = default, Azure.ResourceManager.Network.Models.BgpSettings bgpProperties = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, bool? isSecuritySite = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VpnSiteLinkData> vpnSiteLinks = default, Azure.ResourceManager.Network.Models.O365BreakOutCategoryPolicies o365BreakOutCategories = default);
static member VpnSiteData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Network.Models.DeviceProperties * string * string * seq<string> * Azure.ResourceManager.Network.Models.BgpSettings * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<bool> * seq<Azure.ResourceManager.Network.VpnSiteLinkData> * Azure.ResourceManager.Network.Models.O365BreakOutCategoryPolicies -> Azure.ResourceManager.Network.VpnSiteData
Public Shared Function VpnSiteData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional virtualWanId As ResourceIdentifier = Nothing, Optional deviceProperties As DeviceProperties = Nothing, Optional ipAddress As String = Nothing, Optional siteKey As String = Nothing, Optional addressPrefixes As IEnumerable(Of String) = Nothing, Optional bgpProperties As BgpSettings = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional isSecuritySite As Nullable(Of Boolean) = Nothing, Optional vpnSiteLinks As IEnumerable(Of VpnSiteLinkData) = Nothing, Optional o365BreakOutCategories As O365BreakOutCategoryPolicies = Nothing) As VpnSiteData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

virtualWanId
ResourceIdentifier

The VirtualWAN to which the vpnSite belongs.

deviceProperties
DeviceProperties

The device properties.

ipAddress
String

The ip-address for the vpn-site.

siteKey
String

The key for vpn-site that can be used for connections.

addressPrefixes
IEnumerable<String>

The AddressSpace that contains an array of IP address ranges.

bgpProperties
BgpSettings

The set of bgp properties.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the VPN site resource.

isSecuritySite
Nullable<Boolean>

IsSecuritySite flag.

vpnSiteLinks
IEnumerable<VpnSiteLinkData>

List of all vpn site links.

o365BreakOutCategories
O365BreakOutCategoryPolicies

Office365 Policy.

Returns

A new VpnSiteData instance for mocking.

Applies to