ArmAppServiceModelFactory.StampCapacity 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 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. Serialized Name: StampCapacity.name
Available capacity (# of machines, bytes of storage etc...). Serialized Name: StampCapacity.availableCapacity
Total capacity (# of machines, bytes of storage etc...). Serialized Name: StampCapacity.totalCapacity
- unit
- String
Name of the unit. Serialized Name: StampCapacity.unit
- computeMode
- Nullable<ComputeModeOption>
Shared/dedicated workers. Serialized Name: StampCapacity.computeMode
- workerSize
- Nullable<WorkerSizeOption>
Size of the machines. Serialized Name: StampCapacity.workerSize
Size ID of machines: 0 - Small 1 - Medium 2 - Large Serialized Name: StampCapacity.workerSizeId
If <code>true</code>, it includes basic apps. Basic apps are not used for capacity allocation. Serialized Name: StampCapacity.excludeFromCapacityAllocation
<code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>. Serialized Name: StampCapacity.isApplicableForAllComputeModes
- siteMode
- String
Shared or Dedicated. Serialized Name: StampCapacity.siteMode
Returns
A new StampCapacity instance for mocking.