ArmAppServiceModelFactory.FunctionAppStack Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- location
- Nullable<AzureLocation>
Function App stack location. Serialized Name: FunctionAppStack.location
- displayText
- String
Function App stack (display only). Serialized Name: FunctionAppStack.properties.displayText
- value
- String
Function App stack name. Serialized Name: FunctionAppStack.properties.value
- majorVersions
- IEnumerable<FunctionAppMajorVersion>
List of major versions available. Serialized Name: FunctionAppStack.properties.majorVersions
- preferredOS
- Nullable<StackPreferredOS>
Function App stack preferred OS. Serialized Name: FunctionAppStack.properties.preferredOs
- kind
- String
Kind of resource. Serialized Name: ProxyOnlyResource.kind
Returns
A new FunctionAppStack instance for mocking.