Share via


StampCapacity Class

Definition

Stamp capacity information.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.StampCapacityTypeConverter))]
public class StampCapacity : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IStampCapacity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.StampCapacityTypeConverter))>]
type StampCapacity = class
    interface IStampCapacity
    interface IJsonSerializable
Public Class StampCapacity
Implements IStampCapacity
Inheritance
StampCapacity
Attributes
Implements

Constructors

StampCapacity()

Creates an new StampCapacity instance.

Properties

AvailableCapacity

Available capacity (# of machines, bytes of storage etc...).

ComputeMode

Shared/dedicated workers.

ExcludeFromCapacityAllocation

If true, it includes basic apps. Basic apps are not used for capacity allocation.

IsApplicableForAllComputeMode

true if capacity is applicable for all apps; otherwise, false.

IsLinux

Is this a linux stamp capacity

Name

Name of the stamp.

SiteMode

Shared or Dedicated.

TotalCapacity

Total capacity (# of machines, bytes of storage etc...).

Unit

Name of the unit.

WorkerSize

Size of the machines.

WorkerSizeId

Size ID of machines: 0 - Small 1 - Medium 2 - Large

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StampCapacity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StampCapacity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IStampCapacity.

FromJsonString(String)

Creates a new instance of StampCapacity, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of StampCapacity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to