ManagedGrafanaProperties Class

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

Implements

public final class ManagedGrafanaProperties
implements JsonSerializable<ManagedGrafanaProperties>

Properties specific to the grafana resource.

Constructor Summary

Constructor Description
ManagedGrafanaProperties()

Creates an instance of ManagedGrafanaProperties class.

Method Summary

Modifier and Type Method and Description
ApiKey apiKey()

Get the apiKey property: The api key setting of the Grafana instance.

AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope()

Get the autoGeneratedDomainNameLabelScope property: Scope for dns deterministic name hash calculation.

CreatorCanAdmin creatorCanAdmin()

Get the creatorCanAdmin property: The creator will have admin access for the Grafana instance.

DeterministicOutboundIp deterministicOutboundIp()

Get the deterministicOutboundIp property: Whether a Grafana instance uses deterministic outbound IPs.

String endpoint()

Get the endpoint property: The endpoint of the Grafana instance.

EnterpriseConfigurations enterpriseConfigurations()

Get the enterpriseConfigurations property: Enterprise settings of a Grafana instance.

static ManagedGrafanaProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagedGrafanaProperties from the JsonReader.

GrafanaConfigurations grafanaConfigurations()

Get the grafanaConfigurations property: Server configurations of a Grafana instance.

GrafanaIntegrations grafanaIntegrations()

Get the grafanaIntegrations property: GrafanaIntegrations is a bundled observability experience (e.g.

String grafanaMajorVersion()

Get the grafanaMajorVersion property: The major Grafana software version to target.

Map<String,GrafanaPlugin> grafanaPlugins()

Get the grafanaPlugins property: Installed plugin list of the Grafana instance.

String grafanaVersion()

Get the grafanaVersion property: The Grafana software version.

List<String> outboundIPs()

Get the outboundIPs property: List of outbound IPs if deterministicOutboundIP is enabled.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: The private endpoint connections of the Grafana instance.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Indicate the state for enable or disable traffic over the public interface.

JsonWriter toJson(JsonWriter jsonWriter)
ManagedGrafanaProperties withApiKey(ApiKey apiKey)

Set the apiKey property: The api key setting of the Grafana instance.

ManagedGrafanaProperties withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope)

Set the autoGeneratedDomainNameLabelScope property: Scope for dns deterministic name hash calculation.

ManagedGrafanaProperties withCreatorCanAdmin(CreatorCanAdmin creatorCanAdmin)

Set the creatorCanAdmin property: The creator will have admin access for the Grafana instance.

ManagedGrafanaProperties withDeterministicOutboundIp(DeterministicOutboundIp deterministicOutboundIp)

Set the deterministicOutboundIp property: Whether a Grafana instance uses deterministic outbound IPs.

ManagedGrafanaProperties withEnterpriseConfigurations(EnterpriseConfigurations enterpriseConfigurations)

Set the enterpriseConfigurations property: Enterprise settings of a Grafana instance.

ManagedGrafanaProperties withGrafanaConfigurations(GrafanaConfigurations grafanaConfigurations)

Set the grafanaConfigurations property: Server configurations of a Grafana instance.

ManagedGrafanaProperties withGrafanaIntegrations(GrafanaIntegrations grafanaIntegrations)

Set the grafanaIntegrations property: GrafanaIntegrations is a bundled observability experience (e.g.

ManagedGrafanaProperties withGrafanaMajorVersion(String grafanaMajorVersion)

Set the grafanaMajorVersion property: The major Grafana software version to target.

ManagedGrafanaProperties withGrafanaPlugins(Map<String,GrafanaPlugin> grafanaPlugins)

Set the grafanaPlugins property: Installed plugin list of the Grafana instance.

ManagedGrafanaProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Indicate the state for enable or disable traffic over the public interface.

ManagedGrafanaProperties withZoneRedundancy(ZoneRedundancy zoneRedundancy)

Set the zoneRedundancy property: The zone redundancy setting of the Grafana instance.

ZoneRedundancy zoneRedundancy()

Get the zoneRedundancy property: The zone redundancy setting of the Grafana instance.

Methods inherited from java.lang.Object

Constructor Details

ManagedGrafanaProperties

public ManagedGrafanaProperties()

Creates an instance of ManagedGrafanaProperties class.

Method Details

apiKey

public ApiKey apiKey()

Get the apiKey property: The api key setting of the Grafana instance.

Returns:

the apiKey value.

autoGeneratedDomainNameLabelScope

public AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope()

Get the autoGeneratedDomainNameLabelScope property: Scope for dns deterministic name hash calculation.

Returns:

the autoGeneratedDomainNameLabelScope value.

creatorCanAdmin

public CreatorCanAdmin creatorCanAdmin()

Get the creatorCanAdmin property: The creator will have admin access for the Grafana instance.

Returns:

the creatorCanAdmin value.

deterministicOutboundIp

public DeterministicOutboundIp deterministicOutboundIp()

Get the deterministicOutboundIp property: Whether a Grafana instance uses deterministic outbound IPs.

Returns:

the deterministicOutboundIp value.

endpoint

public String endpoint()

Get the endpoint property: The endpoint of the Grafana instance.

Returns:

the endpoint value.

enterpriseConfigurations

public EnterpriseConfigurations enterpriseConfigurations()

Get the enterpriseConfigurations property: Enterprise settings of a Grafana instance.

Returns:

the enterpriseConfigurations value.

fromJson

public static ManagedGrafanaProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagedGrafanaProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

grafanaConfigurations

public GrafanaConfigurations grafanaConfigurations()

Get the grafanaConfigurations property: Server configurations of a Grafana instance.

Returns:

the grafanaConfigurations value.

grafanaIntegrations

public GrafanaIntegrations grafanaIntegrations()

Get the grafanaIntegrations property: GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios.

Returns:

the grafanaIntegrations value.

grafanaMajorVersion

public String grafanaMajorVersion()

Get the grafanaMajorVersion property: The major Grafana software version to target.

Returns:

the grafanaMajorVersion value.

grafanaPlugins

public Map<String,GrafanaPlugin> grafanaPlugins()

Get the grafanaPlugins property: Installed plugin list of the Grafana instance. Key is plugin id, value is plugin definition.

Returns:

the grafanaPlugins value.

grafanaVersion

public String grafanaVersion()

Get the grafanaVersion property: The Grafana software version.

Returns:

the grafanaVersion value.

outboundIPs

public List<String> outboundIPs()

Get the outboundIPs property: List of outbound IPs if deterministicOutboundIP is enabled.

Returns:

the outboundIPs value.

privateEndpointConnections

public List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: The private endpoint connections of the Grafana instance.

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Indicate the state for enable or disable traffic over the public interface.

Returns:

the publicNetworkAccess value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withApiKey

public ManagedGrafanaProperties withApiKey(ApiKey apiKey)

Set the apiKey property: The api key setting of the Grafana instance.

Parameters:

apiKey - the apiKey value to set.

Returns:

the ManagedGrafanaProperties object itself.

withAutoGeneratedDomainNameLabelScope

public ManagedGrafanaProperties withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope)

Set the autoGeneratedDomainNameLabelScope property: Scope for dns deterministic name hash calculation.

Parameters:

autoGeneratedDomainNameLabelScope - the autoGeneratedDomainNameLabelScope value to set.

Returns:

the ManagedGrafanaProperties object itself.

withCreatorCanAdmin

public ManagedGrafanaProperties withCreatorCanAdmin(CreatorCanAdmin creatorCanAdmin)

Set the creatorCanAdmin property: The creator will have admin access for the Grafana instance.

Parameters:

creatorCanAdmin - the creatorCanAdmin value to set.

Returns:

the ManagedGrafanaProperties object itself.

withDeterministicOutboundIp

public ManagedGrafanaProperties withDeterministicOutboundIp(DeterministicOutboundIp deterministicOutboundIp)

Set the deterministicOutboundIp property: Whether a Grafana instance uses deterministic outbound IPs.

Parameters:

deterministicOutboundIp - the deterministicOutboundIp value to set.

Returns:

the ManagedGrafanaProperties object itself.

withEnterpriseConfigurations

public ManagedGrafanaProperties withEnterpriseConfigurations(EnterpriseConfigurations enterpriseConfigurations)

Set the enterpriseConfigurations property: Enterprise settings of a Grafana instance.

Parameters:

enterpriseConfigurations - the enterpriseConfigurations value to set.

Returns:

the ManagedGrafanaProperties object itself.

withGrafanaConfigurations

public ManagedGrafanaProperties withGrafanaConfigurations(GrafanaConfigurations grafanaConfigurations)

Set the grafanaConfigurations property: Server configurations of a Grafana instance.

Parameters:

grafanaConfigurations - the grafanaConfigurations value to set.

Returns:

the ManagedGrafanaProperties object itself.

withGrafanaIntegrations

public ManagedGrafanaProperties withGrafanaIntegrations(GrafanaIntegrations grafanaIntegrations)

Set the grafanaIntegrations property: GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios.

Parameters:

grafanaIntegrations - the grafanaIntegrations value to set.

Returns:

the ManagedGrafanaProperties object itself.

withGrafanaMajorVersion

public ManagedGrafanaProperties withGrafanaMajorVersion(String grafanaMajorVersion)

Set the grafanaMajorVersion property: The major Grafana software version to target.

Parameters:

grafanaMajorVersion - the grafanaMajorVersion value to set.

Returns:

the ManagedGrafanaProperties object itself.

withGrafanaPlugins

public ManagedGrafanaProperties withGrafanaPlugins(Map<String,GrafanaPlugin> grafanaPlugins)

Set the grafanaPlugins property: Installed plugin list of the Grafana instance. Key is plugin id, value is plugin definition.

Parameters:

grafanaPlugins - the grafanaPlugins value to set.

Returns:

the ManagedGrafanaProperties object itself.

withPublicNetworkAccess

public ManagedGrafanaProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Indicate the state for enable or disable traffic over the public interface.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the ManagedGrafanaProperties object itself.

withZoneRedundancy

public ManagedGrafanaProperties withZoneRedundancy(ZoneRedundancy zoneRedundancy)

Set the zoneRedundancy property: The zone redundancy setting of the Grafana instance.

Parameters:

zoneRedundancy - the zoneRedundancy value to set.

Returns:

the ManagedGrafanaProperties object itself.

zoneRedundancy

public ZoneRedundancy zoneRedundancy()

Get the zoneRedundancy property: The zone redundancy setting of the Grafana instance.

Returns:

the zoneRedundancy value.

Applies to