Condividi tramite


ArmAppServiceModelFactory.ApplicationStackResource Method

Definition

Initializes a new instance of ApplicationStackResource.

public static Azure.ResourceManager.AppService.Models.ApplicationStackResource ApplicationStackResource (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string stackName = default, string display = default, string dependency = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.StackMajorVersion> majorVersions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.ApplicationStack> frameworks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.ApplicationStack> isDeprecated = default, string kind = default);
static member ApplicationStackResource : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * seq<Azure.ResourceManager.AppService.Models.StackMajorVersion> * seq<Azure.ResourceManager.AppService.Models.ApplicationStack> * seq<Azure.ResourceManager.AppService.Models.ApplicationStack> * string -> Azure.ResourceManager.AppService.Models.ApplicationStackResource
Public Shared Function ApplicationStackResource (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional stackName As String = Nothing, Optional display As String = Nothing, Optional dependency As String = Nothing, Optional majorVersions As IEnumerable(Of StackMajorVersion) = Nothing, Optional frameworks As IEnumerable(Of ApplicationStack) = Nothing, Optional isDeprecated As IEnumerable(Of ApplicationStack) = Nothing, Optional kind As String = Nothing) As ApplicationStackResource

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

stackName
String

Application stack name.

display
String

Application stack display name.

dependency
String

Application stack dependency.

majorVersions
IEnumerable<StackMajorVersion>

List of major versions available.

frameworks
IEnumerable<ApplicationStack>

List of frameworks associated with application stack.

isDeprecated
IEnumerable<ApplicationStack>

<code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>.

kind
String

Kind of resource.

Returns

A new ApplicationStackResource instance for mocking.

Applies to