Sku Class
- java.
lang. Object - com.
azure. resourcemanager. webpubsub. models. Sku
- com.
Implements
public final class Sku
implements JsonSerializable<Sku>
Describes an available sku.".
Constructor Summary
| Constructor | Description |
|---|---|
| Sku() |
Creates an instance of Sku class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Sku |
capacity()
Get the capacity property: Describes scaling information of a sku. |
| static Sku |
fromJson(JsonReader jsonReader)
Reads an instance of Sku from the Json |
| String |
resourceType()
Get the resource |
|
Resource |
sku()
Get the sku property: The billing information of the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
Sku
public Sku()
Creates an instance of Sku class.
Method Details
capacity
public SkuCapacity capacity()
Get the capacity property: Describes scaling information of a sku.
Returns:
fromJson
public static Sku fromJson(JsonReader jsonReader)
Reads an instance of Sku from the JsonReader.
Parameters:
Returns:
Throws:
resourceType
public String resourceType()
Get the resourceType property: The resource type that this object applies to.
Returns:
sku
public ResourceSku sku()
Get the sku property: The billing information of the resource.
Returns:
toJson
validate
public void validate()
Validates the instance.