Condividi tramite


ArmPlan Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.ArmPlan

Implements

public final class ArmPlan
implements JsonSerializable<ArmPlan>

The plan object in Azure Resource Manager, represents a marketplace plan.

Method Summary

Modifier and Type Method and Description
static ArmPlan fromJson(JsonReader jsonReader)

Reads an instance of ArmPlan from the JsonReader.

String name()

Get the name property: The name.

String product()

Get the product property: The product.

String promotionCode()

Get the promotionCode property: The promotion code.

String publisher()

Get the publisher property: The publisher.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: Version of product.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ArmPlan fromJson(JsonReader jsonReader)

Reads an instance of ArmPlan from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ArmPlan 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 ArmPlan.

name

public String name()

Get the name property: The name.

Returns:

the name value.

product

public String product()

Get the product property: The product.

Returns:

the product value.

promotionCode

public String promotionCode()

Get the promotionCode property: The promotion code.

Returns:

the promotionCode value.

publisher

public String publisher()

Get the publisher property: The publisher.

Returns:

the publisher value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: Version of product.

Returns:

the version value.

Applies to