Dela via


ArmAppServiceModelFactory.AppServiceWorkerPoolData Method

Definition

Initializes a new instance of AppServiceWorkerPoolData.

public static Azure.ResourceManager.AppService.AppServiceWorkerPoolData AppServiceWorkerPoolData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.AppService.Models.AppServiceSkuDescription sku = default, int? workerSizeId = default, Azure.ResourceManager.AppService.Models.ComputeModeOption? computeMode = default, string workerSize = default, int? workerCount = default, System.Collections.Generic.IEnumerable<string> instanceNames = default, string kind = default);
static member AppServiceWorkerPoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.AppService.Models.AppServiceSkuDescription * Nullable<int> * Nullable<Azure.ResourceManager.AppService.Models.ComputeModeOption> * string * Nullable<int> * seq<string> * string -> Azure.ResourceManager.AppService.AppServiceWorkerPoolData
Public Shared Function AppServiceWorkerPoolData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional sku As AppServiceSkuDescription = Nothing, Optional workerSizeId As Nullable(Of Integer) = Nothing, Optional computeMode As Nullable(Of ComputeModeOption) = Nothing, Optional workerSize As String = Nothing, Optional workerCount As Nullable(Of Integer) = Nothing, Optional instanceNames As IEnumerable(Of String) = Nothing, Optional kind As String = Nothing) As AppServiceWorkerPoolData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

sku
AppServiceSkuDescription

Description of a SKU for a scalable resource.

workerSizeId
Nullable<Int32>

Worker size ID for referencing this worker pool.

computeMode
Nullable<ComputeModeOption>

Shared or dedicated app hosting.

workerSize
String

VM size of the worker pool instances.

workerCount
Nullable<Int32>

Number of instances in the worker pool.

instanceNames
IEnumerable<String>

Names of all instances in the worker pool (read only).

kind
String

Kind of resource.

Returns

A new AppServiceWorkerPoolData instance for mocking.

Applies to