MarketplaceTrialQuota Class

  • java.lang.Object
    • com.azure.resourcemanager.dashboard.models.MarketplaceTrialQuota

Implements

public final class MarketplaceTrialQuota
implements JsonSerializable<MarketplaceTrialQuota>

The allocation details of the per subscription free trial slot of the subscription.

Method Summary

Modifier and Type Method and Description
AvailablePromotion availablePromotion()

Get the availablePromotion property: Available enterprise promotion for the subscription.

static MarketplaceTrialQuota fromJson(JsonReader jsonReader)

Reads an instance of MarketplaceTrialQuota from the JsonReader.

String grafanaResourceId()

Get the grafanaResourceId property: Resource Id of the Grafana resource which is doing the trial.

JsonWriter toJson(JsonWriter jsonWriter)
OffsetDateTime trialEndAt()

Get the trialEndAt property: The date and time in UTC of when the trial ends.

OffsetDateTime trialStartAt()

Get the trialStartAt property: The date and time in UTC of when the trial starts.

Methods inherited from java.lang.Object

Method Details

availablePromotion

public AvailablePromotion availablePromotion()

Get the availablePromotion property: Available enterprise promotion for the subscription.

Returns:

the availablePromotion value.

fromJson

public static MarketplaceTrialQuota fromJson(JsonReader jsonReader)

Reads an instance of MarketplaceTrialQuota from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

grafanaResourceId

public String grafanaResourceId()

Get the grafanaResourceId property: Resource Id of the Grafana resource which is doing the trial.

Returns:

the grafanaResourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trialEndAt

public OffsetDateTime trialEndAt()

Get the trialEndAt property: The date and time in UTC of when the trial ends.

Returns:

the trialEndAt value.

trialStartAt

public OffsetDateTime trialStartAt()

Get the trialStartAt property: The date and time in UTC of when the trial starts.

Returns:

the trialStartAt value.

Applies to