다음을 통해 공유


GrafanaConfigurations Class

Definition

Server configurations of a Grafana instance.

public class GrafanaConfigurations : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Grafana.Models.GrafanaConfigurations>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Grafana.Models.GrafanaConfigurations>
type GrafanaConfigurations = class
    interface IJsonModel<GrafanaConfigurations>
    interface IPersistableModel<GrafanaConfigurations>
Public Class GrafanaConfigurations
Implements IJsonModel(Of GrafanaConfigurations), IPersistableModel(Of GrafanaConfigurations)
Inheritance
GrafanaConfigurations
Implements

Constructors

GrafanaConfigurations()

Initializes a new instance of GrafanaConfigurations.

Properties

IsCaptureEnabled

Set to false to disable capture screenshot in Unified Alert due to performance issue.

IsCsrfAlwaysCheckEnabled

Set to true to execute the CSRF check even if the login cookie is not in a request (default false).

IsExternalEnabled

Set to false to disable external snapshot publish endpoint.

Smtp

Email server settings. https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/#smtp

Users

Grafana users settings.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<GrafanaConfigurations>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<GrafanaConfigurations>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GrafanaConfigurations>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GrafanaConfigurations>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<GrafanaConfigurations>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to