Module Values_0.UpdateCustomMetricRequestSource

Updates a Device Defender detect custom metric. Requires permission to access the UpdateCustomMetric action.

Sourcetype nonrec t = {
  1. metricName : MetricName.t;
    (*

    The name of the custom metric. Cannot be updated.

    *)
  2. displayName : CustomMetricDisplayName.t;
    (*

    Field represents a friendly name in the console for the custom metric, it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.

    *)
}
Sourceval context_ : string
Sourceval make : metricName:MetricName.t -> displayName:CustomMetricDisplayName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of MetricName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t