Condividi tramite


KpiProperties Class

Definition

Each KPI must contain a 'type' and 'enabled' key.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.KpiPropertiesTypeConverter))]
public class KpiProperties : Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IKpiProperties, Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IKpiPropertiesInternal
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.KpiPropertiesTypeConverter))>]
type KpiProperties = class
    interface IKpiProperties
    interface IJsonSerializable
    interface IKpiPropertiesInternal
Public Class KpiProperties
Implements IKpiProperties, IKpiPropertiesInternal
Inheritance
KpiProperties
Attributes
Implements

Constructors

KpiProperties()

Creates an new KpiProperties instance.

Properties

Enabled

show the KPI in the UI?

Id

ID of resource related to metric (budget).

Type

KPI type (Forecast, Budget).

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of KpiProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of KpiProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CostManagement.Models.Api20211001.IKpiProperties.

FromJsonString(String)

Creates a new instance of KpiProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of KpiProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to