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.
- unit
- String
Name of the unit.
- computeMode
- Nullable<ComputeModeOption>
Shared/dedicated workers.
- workerSize
- Nullable<WorkerSizeOption>
Size of the machines.
If <code>true</code>, it includes basic apps. Basic apps are not used for capacity allocation.
<code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>.
- siteMode
- String
Shared or Dedicated.
Returns
A new StampCapacity instance for mocking.