Condividi tramite


StampCapacity Constructors

Definition

Overloads

StampCapacity()

Initializes a new instance of the StampCapacity class.

StampCapacity(String, Nullable<Int64>, Nullable<Int64>, String, Nullable<ComputeModeOptions>, Nullable<WorkerSizeOptions>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>)

Initializes a new instance of the StampCapacity class.

StampCapacity()

Initializes a new instance of the StampCapacity class.

public StampCapacity ();
Public Sub New ()

Applies to

StampCapacity(String, Nullable<Int64>, Nullable<Int64>, String, Nullable<ComputeModeOptions>, Nullable<WorkerSizeOptions>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>)

Initializes a new instance of the StampCapacity class.

public StampCapacity (string name = default, long? availableCapacity = default, long? totalCapacity = default, string unit = default, Microsoft.Azure.Management.WebSites.Models.ComputeModeOptions? computeMode = default, Microsoft.Azure.Management.WebSites.Models.WorkerSizeOptions? workerSize = default, int? workerSizeId = default, bool? excludeFromCapacityAllocation = default, bool? isApplicableForAllComputeModes = default, string siteMode = default, bool? isLinux = default);
new Microsoft.Azure.Management.WebSites.Models.StampCapacity : string * Nullable<int64> * Nullable<int64> * string * Nullable<Microsoft.Azure.Management.WebSites.Models.ComputeModeOptions> * Nullable<Microsoft.Azure.Management.WebSites.Models.WorkerSizeOptions> * Nullable<int> * Nullable<bool> * Nullable<bool> * string * Nullable<bool> -> Microsoft.Azure.Management.WebSites.Models.StampCapacity
Public Sub New (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 ComputeModeOptions) = Nothing, Optional workerSize As Nullable(Of WorkerSizeOptions) = 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)

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<ComputeModeOptions>

Shared/dedicated workers. Possible values include: 'Shared', 'Dedicated', 'Dynamic'

workerSize
Nullable<WorkerSizeOptions>

Size of the machines. Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3', 'SmallV3', 'MediumV3', 'LargeV3', 'NestedSmall', 'NestedSmallLinux', 'Default'

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

Applies to