Aracılığıyla paylaş


ArmAppServiceModelFactory.StampCapacity Method

Definition

Initializes a new instance of StampCapacity.

public static Azure.ResourceManager.AppService.Models.StampCapacity StampCapacity (string name = default, long? availableCapacity = default, long? totalCapacity = default, string unit = default, Azure.ResourceManager.AppService.Models.ComputeModeOption? computeMode = default, Azure.ResourceManager.AppService.Models.WorkerSizeOption? workerSize = default, int? workerSizeId = default, bool? excludeFromCapacityAllocation = default, bool? isApplicableForAllComputeModes = default, string siteMode = default, bool? isLinux = default);
static member StampCapacity : string * Nullable<int64> * Nullable<int64> * string * Nullable<Azure.ResourceManager.AppService.Models.ComputeModeOption> * Nullable<Azure.ResourceManager.AppService.Models.WorkerSizeOption> * Nullable<int> * Nullable<bool> * Nullable<bool> * string * Nullable<bool> -> Azure.ResourceManager.AppService.Models.StampCapacity
Public Shared Function StampCapacity (Optional name As String = Nothing, Optional availableCapacity As Nullable(Of Long) = Nothing, Optional totalCapacity As Nullable(Of Long) = Nothing, Optional unit As String = Nothing, Optional computeMode As Nullable(Of ComputeModeOption) = Nothing, Optional workerSize As Nullable(Of WorkerSizeOption) = Nothing, Optional workerSizeId As Nullable(Of Integer) = Nothing, Optional excludeFromCapacityAllocation As Nullable(Of Boolean) = Nothing, Optional isApplicableForAllComputeModes As Nullable(Of Boolean) = Nothing, Optional siteMode As String = Nothing, Optional isLinux As Nullable(Of Boolean) = Nothing) As StampCapacity

Parameters

name
String

Name of the stamp.

availableCapacity
Nullable<Int64>

Available capacity (# of machines, bytes of storage etc...).

totalCapacity
Nullable<Int64>

Total capacity (# of machines, bytes of storage etc...).

unit
String

Name of the unit.

computeMode
Nullable<ComputeModeOption>

Shared/dedicated workers.

workerSize
Nullable<WorkerSizeOption>

Size of the machines.

workerSizeId
Nullable<Int32>

Size ID of machines: 0 - Small 1 - Medium 2 - Large

excludeFromCapacityAllocation
Nullable<Boolean>

If <code>true</code>, it includes basic apps. Basic apps are not used for capacity allocation.

isApplicableForAllComputeModes
Nullable<Boolean>

<code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>.

siteMode
String

Shared or Dedicated.

isLinux
Nullable<Boolean>

Is this a linux stamp capacity.

Returns

A new StampCapacity instance for mocking.

Applies to