Sdílet prostřednictvím


ArmAppServiceModelFactory.AppServiceVirtualNetworkRoute Method

Definition

Initializes a new instance of AppServiceVirtualNetworkRoute.

public static Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRoute AppServiceVirtualNetworkRoute (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string startAddress = default, string endAddress = default, Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRouteType? routeType = default, string kind = default);
static member AppServiceVirtualNetworkRoute : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRouteType> * string -> Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRoute
Public Shared Function AppServiceVirtualNetworkRoute (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional startAddress As String = Nothing, Optional endAddress As String = Nothing, Optional routeType As Nullable(Of AppServiceVirtualNetworkRouteType) = Nothing, Optional kind As String = Nothing) As AppServiceVirtualNetworkRoute

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

startAddress
String

The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.

endAddress
String

The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.

routeType
Nullable<AppServiceVirtualNetworkRouteType>

The type of route this is: DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 INHERITED - Routes inherited from the real Virtual Network routes STATIC - Static route set on the app only

These values will be used for syncing an app's routes with those from a Virtual Network.

kind
String

Kind of resource.

Returns

A new AppServiceVirtualNetworkRoute instance for mocking.

Applies to