Share via


ArmAppServiceModelFactory.WebAppStack Method

Definition

Initializes a new instance of WebAppStack.

public static Azure.ResourceManager.AppService.Models.WebAppStack WebAppStack (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.WebAppMajorVersion> majorVersions = default, Azure.ResourceManager.AppService.Models.StackPreferredOS? preferredOS = default, string kind = default);
static member WebAppStack : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * string * string * seq<Azure.ResourceManager.AppService.Models.WebAppMajorVersion> * Nullable<Azure.ResourceManager.AppService.Models.StackPreferredOS> * string -> Azure.ResourceManager.AppService.Models.WebAppStack
Public Shared Function WebAppStack (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 WebAppMajorVersion) = Nothing, Optional preferredOS As Nullable(Of StackPreferredOS) = Nothing, Optional kind As String = Nothing) As WebAppStack

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

Web App stack location.

displayText
String

Web App stack (display only).

value
String

Web App stack name.

majorVersions
IEnumerable<WebAppMajorVersion>

List of major versions available.

preferredOS
Nullable<StackPreferredOS>

Web App stack preferred OS.

kind
String

Kind of resource.

Returns

A new WebAppStack instance for mocking.

Applies to