GrafanaConfigurations Class
- java.
lang. Object - com.
azure. resourcemanager. dashboard. models. GrafanaConfigurations
- com.
Implements
public final class GrafanaConfigurations
implements JsonSerializable<GrafanaConfigurations>
Server configurations of a Grafana instance.
Constructor Summary
| Constructor | Description |
|---|---|
| GrafanaConfigurations() |
Creates an instance of Grafana |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Grafana |
fromJson(JsonReader jsonReader)
Reads an instance of Grafana |
| Security |
security()
Get the security property: Grafana security settings. |
| Smtp |
smtp()
Get the smtp property: Email server settings. |
| Snapshots |
snapshots()
Get the snapshots property: Grafana Snapshots settings. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Unified |
unifiedAlertingScreenshots()
Get the unified |
| Users |
users()
Get the users property: Grafana users settings. |
|
Grafana |
withSecurity(Security security)
Set the security property: Grafana security settings. |
|
Grafana |
withSmtp(Smtp smtp)
Set the smtp property: Email server settings. |
|
Grafana |
withSnapshots(Snapshots snapshots)
Set the snapshots property: Grafana Snapshots settings. |
|
Grafana |
withUnifiedAlertingScreenshots(UnifiedAlertingScreenshots unifiedAlertingScreenshots)
Set the unified |
|
Grafana |
withUsers(Users users)
Set the users property: Grafana users settings. |
Methods inherited from java.lang.Object
Constructor Details
GrafanaConfigurations
public GrafanaConfigurations()
Creates an instance of GrafanaConfigurations class.
Method Details
fromJson
public static GrafanaConfigurations fromJson(JsonReader jsonReader)
Reads an instance of GrafanaConfigurations from the JsonReader.
Parameters:
Returns:
Throws:
security
public Security security()
Get the security property: Grafana security settings.
Returns:
smtp
public Smtp smtp()
Get the smtp property: Email server settings. https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/\#smtp.
Returns:
snapshots
public Snapshots snapshots()
Get the snapshots property: Grafana Snapshots settings.
Returns:
toJson
unifiedAlertingScreenshots
public UnifiedAlertingScreenshots unifiedAlertingScreenshots()
Get the unifiedAlertingScreenshots property: Grafana Unified Alerting Screenshots settings.
Returns:
users
public Users users()
Get the users property: Grafana users settings.
Returns:
withSecurity
public GrafanaConfigurations withSecurity(Security security)
Set the security property: Grafana security settings.
Parameters:
Returns:
withSmtp
public GrafanaConfigurations withSmtp(Smtp smtp)
Set the smtp property: Email server settings. https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/\#smtp.
Parameters:
Returns:
withSnapshots
public GrafanaConfigurations withSnapshots(Snapshots snapshots)
Set the snapshots property: Grafana Snapshots settings.
Parameters:
Returns:
withUnifiedAlertingScreenshots
public GrafanaConfigurations withUnifiedAlertingScreenshots(UnifiedAlertingScreenshots unifiedAlertingScreenshots)
Set the unifiedAlertingScreenshots property: Grafana Unified Alerting Screenshots settings.
Parameters:
Returns:
withUsers
public GrafanaConfigurations withUsers(Users users)
Set the users property: Grafana users settings.
Parameters:
Returns: