EnterpriseConfigurations Class

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

Implements

public final class EnterpriseConfigurations
implements JsonSerializable<EnterpriseConfigurations>

Enterprise settings of a Grafana instance.

Constructor Summary

Constructor Description
EnterpriseConfigurations()

Creates an instance of EnterpriseConfigurations class.

Method Summary

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

Reads an instance of EnterpriseConfigurations from the JsonReader.

MarketplaceAutoRenew marketplaceAutoRenew()

Get the marketplaceAutoRenew property: The AutoRenew setting of the Enterprise subscription.

String marketplacePlanId()

Get the marketplacePlanId property: The Plan Id of the Azure Marketplace subscription for the Enterprise plugins.

JsonWriter toJson(JsonWriter jsonWriter)
EnterpriseConfigurations withMarketplaceAutoRenew(MarketplaceAutoRenew marketplaceAutoRenew)

Set the marketplaceAutoRenew property: The AutoRenew setting of the Enterprise subscription.

EnterpriseConfigurations withMarketplacePlanId(String marketplacePlanId)

Set the marketplacePlanId property: The Plan Id of the Azure Marketplace subscription for the Enterprise plugins.

Methods inherited from java.lang.Object

Constructor Details

EnterpriseConfigurations

public EnterpriseConfigurations()

Creates an instance of EnterpriseConfigurations class.

Method Details

fromJson

public static EnterpriseConfigurations fromJson(JsonReader jsonReader)

Reads an instance of EnterpriseConfigurations from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

marketplaceAutoRenew

public MarketplaceAutoRenew marketplaceAutoRenew()

Get the marketplaceAutoRenew property: The AutoRenew setting of the Enterprise subscription.

Returns:

the marketplaceAutoRenew value.

marketplacePlanId

public String marketplacePlanId()

Get the marketplacePlanId property: The Plan Id of the Azure Marketplace subscription for the Enterprise plugins.

Returns:

the marketplacePlanId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withMarketplaceAutoRenew

public EnterpriseConfigurations withMarketplaceAutoRenew(MarketplaceAutoRenew marketplaceAutoRenew)

Set the marketplaceAutoRenew property: The AutoRenew setting of the Enterprise subscription.

Parameters:

marketplaceAutoRenew - the marketplaceAutoRenew value to set.

Returns:

the EnterpriseConfigurations object itself.

withMarketplacePlanId

public EnterpriseConfigurations withMarketplacePlanId(String marketplacePlanId)

Set the marketplacePlanId property: The Plan Id of the Azure Marketplace subscription for the Enterprise plugins.

Parameters:

marketplacePlanId - the marketplacePlanId value to set.

Returns:

the EnterpriseConfigurations object itself.

Applies to