ArmAppServiceModelFactory.StampCapacity Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue instance von 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
Parameter
- name
- String
Name des Stempels.
Verfügbare Kapazität (Anzahl der Computer, Bytes des Speichers usw.).
- unit
- String
Name der Einheit.
- computeMode
- Nullable<ComputeModeOption>
Freigegebene/dedizierte Worker.
- workerSize
- Nullable<WorkerSizeOption>
Größe der Computer.
Wenn <Code>true</Code> ist, enthält es grundlegende Apps. Einfache Apps werden nicht für die Kapazitätszuweisung verwendet.
<code>true</code> , wenn die Kapazität für alle Apps gilt, <andernfalls Code>false</code>.
- siteMode
- String
Shared oder Dedicated.
Gibt zurück
Eine neue StampCapacity instance zum Mocking.