Compartilhar via


ArmAppServiceModelFactory.FunctionAppStack Method

Definition

Initializes a new instance of FunctionAppStack.

public static Azure.ResourceManager.AppService.Models.FunctionAppStack FunctionAppStack (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, string displayText = default, string value = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.FunctionAppMajorVersion> majorVersions = default, Azure.ResourceManager.AppService.Models.StackPreferredOS? preferredOS = default, string kind = default);
static member FunctionAppStack : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * string * string * seq<Azure.ResourceManager.AppService.Models.FunctionAppMajorVersion> * Nullable<Azure.ResourceManager.AppService.Models.StackPreferredOS> * string -> Azure.ResourceManager.AppService.Models.FunctionAppStack
Public Shared Function FunctionAppStack (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional displayText As String = Nothing, Optional value As String = Nothing, Optional majorVersions As IEnumerable(Of FunctionAppMajorVersion) = Nothing, Optional preferredOS As Nullable(Of StackPreferredOS) = Nothing, Optional kind As String = Nothing) As FunctionAppStack

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

Function App stack location.

displayText
String

Function App stack (display only).

value
String

Function App stack name.

majorVersions
IEnumerable<FunctionAppMajorVersion>

List of major versions available.

preferredOS
Nullable<StackPreferredOS>

Function App stack preferred OS.

kind
String

Kind of resource.

Returns

A new FunctionAppStack instance for mocking.

Applies to