Udostępnij za pośrednictwem


ArmAppServiceModelFactory.AppServiceVirtualNetworkData Method

Definition

Initializes a new instance of AppServiceVirtualNetworkData.

public static Azure.ResourceManager.AppService.AppServiceVirtualNetworkData AppServiceVirtualNetworkData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, 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, string kind = default);
static member AppServiceVirtualNetworkData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * string * string * seq<Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRoute> * Nullable<bool> * string * Nullable<bool> * string -> Azure.ResourceManager.AppService.AppServiceVirtualNetworkData
Public Shared Function AppServiceVirtualNetworkData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, 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, Optional kind As String = Nothing) As AppServiceVirtualNetworkData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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.

kind
String

Kind of resource.

Returns

A new AppServiceVirtualNetworkData instance for mocking.

Applies to