Freigeben über


ArmAppServiceModelFactory.StampCapacity Methode

Definition

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.

availableCapacity
Nullable<Int64>

Verfügbare Kapazität (Anzahl der Computer, Bytes des Speichers usw.).

totalCapacity
Nullable<Int64>

Gesamtkapazität (Anzahl der Computer, Speicherbytes usw.)

unit
String

Name der Einheit.

computeMode
Nullable<ComputeModeOption>

Freigegebene/dedizierte Worker.

workerSize
Nullable<WorkerSizeOption>

Größe der Computer.

workerSizeId
Nullable<Int32>

Größen-ID der Computer: 0 - Klein 1 - Mittel 2 - Groß

excludeFromCapacityAllocation
Nullable<Boolean>

Wenn <Code>true</Code> ist, enthält es grundlegende Apps. Einfache Apps werden nicht für die Kapazitätszuweisung verwendet.

isApplicableForAllComputeModes
Nullable<Boolean>

<code>true</code> , wenn die Kapazität für alle Apps gilt, <andernfalls Code>false</code>.

siteMode
String

Shared oder Dedicated.

isLinux
Nullable<Boolean>

Ist dies eine Linux-Stempelkapazität?

Gibt zurück

Eine neue StampCapacity instance zum Mocking.

Gilt für: