Condividi tramite


StampCapacityInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.StampCapacityInner

Implements

public final class StampCapacityInner
implements JsonSerializable<StampCapacityInner>

Stamp capacity information.

Method Summary

Modifier and Type Method and Description
Long availableCapacity()

Get the availableCapacity property: Available capacity (# of machines, bytes of storage etc...).

ComputeModeOptions computeMode()

Get the computeMode property: Shared/dedicated workers.

Boolean excludeFromCapacityAllocation()

Get the excludeFromCapacityAllocation property: If true, it includes basic apps.

static StampCapacityInner fromJson(JsonReader jsonReader)

Reads an instance of StampCapacityInner from the JsonReader.

Boolean isApplicableForAllComputeModes()

Get the isApplicableForAllComputeModes property: true if capacity is applicable for all apps; otherwise, false.

Boolean isLinux()

Get the isLinux property: Is this a linux stamp capacity.

String name()

Get the name property: Name of the stamp.

String siteMode()

Get the siteMode property: Shared or Dedicated.

JsonWriter toJson(JsonWriter jsonWriter)
Long totalCapacity()

Get the totalCapacity property: Total capacity (# of machines, bytes of storage etc...).

String unit()

Get the unit property: Name of the unit.

void validate()

Validates the instance.

WorkerSizeOptions workerSize()

Get the workerSize property: Size of the machines.

Integer workerSizeId()

Get the workerSizeId property: Size ID of machines: 0 - Small 1 - Medium 2 - Large.

Methods inherited from java.lang.Object

Method Details

availableCapacity

public Long availableCapacity()

Get the availableCapacity property: Available capacity (# of machines, bytes of storage etc...).

Returns:

the availableCapacity value.

computeMode

public ComputeModeOptions computeMode()

Get the computeMode property: Shared/dedicated workers.

Returns:

the computeMode value.

excludeFromCapacityAllocation

public Boolean excludeFromCapacityAllocation()

Get the excludeFromCapacityAllocation property: If true, it includes basic apps. Basic apps are not used for capacity allocation.

Returns:

the excludeFromCapacityAllocation value.

fromJson

public static StampCapacityInner fromJson(JsonReader jsonReader)

Reads an instance of StampCapacityInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StampCapacityInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the StampCapacityInner.

isApplicableForAllComputeModes

public Boolean isApplicableForAllComputeModes()

Get the isApplicableForAllComputeModes property: true if capacity is applicable for all apps; otherwise, false.

Returns:

the isApplicableForAllComputeModes value.

isLinux

public Boolean isLinux()

Get the isLinux property: Is this a linux stamp capacity.

Returns:

the isLinux value.

name

public String name()

Get the name property: Name of the stamp.

Returns:

the name value.

siteMode

public String siteMode()

Get the siteMode property: Shared or Dedicated.

Returns:

the siteMode value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalCapacity

public Long totalCapacity()

Get the totalCapacity property: Total capacity (# of machines, bytes of storage etc...).

Returns:

the totalCapacity value.

unit

public String unit()

Get the unit property: Name of the unit.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

workerSize

public WorkerSizeOptions workerSize()

Get the workerSize property: Size of the machines.

Returns:

the workerSize value.

workerSizeId

public Integer workerSizeId()

Get the workerSizeId property: Size ID of machines: 0 - Small 1 - Medium 2 - Large.

Returns:

the workerSizeId value.

Applies to