ArmAppServiceModelFactory.AppServiceWorkerPoolData 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.
Overloads
AppServiceWorkerPoolData(ResourceIdentifier, String, ResourceType, SystemData, AppServiceSkuDescription, Nullable<Int32>, Nullable<ComputeModeOption>, String, Nullable<Int32>, IEnumerable<String>, String)
- Source:
- ArmAppServiceModelFactory.cs
- Source:
- ArmAppServiceModelFactory.cs
Initializes a new instance of AppServiceWorkerPoolData.
public static Azure.ResourceManager.AppService.AppServiceWorkerPoolData AppServiceWorkerPoolData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, Azure.ResourceManager.AppService.Models.AppServiceSkuDescription sku, int? workerSizeId, Azure.ResourceManager.AppService.Models.ComputeModeOption? computeMode, string workerSize = default, int? workerCount = default, System.Collections.Generic.IEnumerable<string> instanceNames = default, string kind = default);
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 (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, sku As AppServiceSkuDescription, workerSizeId As Nullable(Of Integer), computeMode As Nullable(Of ComputeModeOption), 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
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
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
Description of a SKU for a scalable resource.
- computeMode
- Nullable<ComputeModeOption>
Shared or dedicated app hosting.
- workerSize
- String
VM size of the worker pool instances.
- 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
AppServiceWorkerPoolData(ResourceIdentifier, String, ResourceType, SystemData, AppServiceSkuDescription, String, Nullable<Int32>, Nullable<ComputeModeOption>, String, Nullable<Int32>, IEnumerable<String>)
- Source:
- ArmAppServiceModelFactory.cs
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, string kind = default, int? workerSizeId = default, Azure.ResourceManager.AppService.Models.ComputeModeOption? computeMode = default, string workerSize = default, int? workerCount = default, System.Collections.Generic.IEnumerable<string> instanceNames = default);
static member AppServiceWorkerPoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.AppService.Models.AppServiceSkuDescription * string * Nullable<int> * Nullable<Azure.ResourceManager.AppService.Models.ComputeModeOption> * string * Nullable<int> * seq<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 kind As String = 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) As AppServiceWorkerPoolData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
Description of a SKU for a scalable resource. Serialized Name: WorkerPoolResource.sku
- kind
- String
Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. Serialized Name: WorkerPoolResource.kind
Worker size ID for referencing this worker pool. Serialized Name: WorkerPoolResource.properties.workerSizeId
- computeMode
- Nullable<ComputeModeOption>
Shared or dedicated app hosting. Serialized Name: WorkerPoolResource.properties.computeMode
- workerSize
- String
VM size of the worker pool instances. Serialized Name: WorkerPoolResource.properties.workerSize
Number of instances in the worker pool. Serialized Name: WorkerPoolResource.properties.workerCount
- instanceNames
- IEnumerable<String>
Names of all instances in the worker pool (read only). Serialized Name: WorkerPoolResource.properties.instanceNames
Returns
A new AppServiceWorkerPoolData instance for mocking.