PrometheusMetricsRecommendationConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prometheus Metrics Query recommendation configuration.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.PrometheusMetricsRecommendationConfigurationTypeConverter))]
public class PrometheusMetricsRecommendationConfiguration : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IPrometheusMetricsRecommendationConfiguration, Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.PrometheusMetricsRecommendationConfigurationTypeConverter))>]
type PrometheusMetricsRecommendationConfiguration = class
interface IPrometheusMetricsRecommendationConfiguration
interface IJsonSerializable
interface ISignalRecommendationConfiguration
interface IValidates
Public Class PrometheusMetricsRecommendationConfiguration
Implements IPrometheusMetricsRecommendationConfiguration, IValidates
- Inheritance
-
PrometheusMetricsRecommendationConfiguration
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| PrometheusMetricsRecommendationConfiguration() |
Creates an new PrometheusMetricsRecommendationConfiguration instance. |
Properties
| Name | Description |
|---|---|
| QueryText |
Query text in PromQL syntax. Supported entity template variables, such as |
| RequiredMetric |
Prometheus metrics required by the query. |
| RequiredScrapeTarget |
Prometheus scrape targets required to populate the query's metrics. |
| SignalKind |
Kind of the recommended signal. |
| TimeGrain |
Time range of the signal in ISO 8601 duration format (e.g. 'PT5M'). |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of PrometheusMetricsRecommendationConfiguration. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of PrometheusMetricsRecommendationConfiguration. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IPrometheusMetricsRecommendationConfiguration. |
| FromJsonString(String) |
Creates a new instance of PrometheusMetricsRecommendationConfiguration, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of PrometheusMetricsRecommendationConfiguration into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |