Compartilhar via


ArmAppServiceModelFactory.AppServiceVirtualNetworkProperties Method

Definition

Initializes a new instance of AppServiceVirtualNetworkProperties.

public static Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkProperties AppServiceVirtualNetworkProperties (Azure.Core.ResourceIdentifier vnetResourceId = default, string certThumbprintString = default, string certBlob = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRoute> routes = default, bool? isResyncRequired = default, string dnsServers = default, bool? isSwift = default);
static member AppServiceVirtualNetworkProperties : Azure.Core.ResourceIdentifier * string * string * seq<Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRoute> * Nullable<bool> * string * Nullable<bool> -> Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkProperties
Public Shared Function AppServiceVirtualNetworkProperties (Optional vnetResourceId As ResourceIdentifier = Nothing, Optional certThumbprintString As String = Nothing, Optional certBlob As String = Nothing, Optional routes As IEnumerable(Of AppServiceVirtualNetworkRoute) = Nothing, Optional isResyncRequired As Nullable(Of Boolean) = Nothing, Optional dnsServers As String = Nothing, Optional isSwift As Nullable(Of Boolean) = Nothing) As AppServiceVirtualNetworkProperties

Parameters

vnetResourceId
ResourceIdentifier

The Virtual Network's resource ID.

certThumbprintString
String

The client certificate thumbprint.

certBlob
String

A certificate file (.cer) blob containing the public key of the private key used to authenticate a Point-To-Site VPN connection.

routes
IEnumerable<AppServiceVirtualNetworkRoute>

The routes that this Virtual Network connection uses.

isResyncRequired
Nullable<Boolean>

<code>true</code> if a resync is required; otherwise, <code>false</code>.

dnsServers
String

DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.

isSwift
Nullable<Boolean>

Flag that is used to denote if this is VNET injection.

Returns

A new AppServiceVirtualNetworkProperties instance for mocking.

Applies to