Condividi tramite


ConfigData Class

Definition

The Advisor configuration data structure.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.ConfigDataTypeConverter))]
public class ConfigData : Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IConfigData, Microsoft.Azure.PowerShell.Cmdlets.Advisor.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.ConfigDataTypeConverter))>]
type ConfigData = class
    interface IConfigData
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class ConfigData
Implements IConfigData, IValidates
Inheritance
ConfigData
Attributes
Implements

Constructors

ConfigData()

Creates an new ConfigData instance.

Properties

Digest

Advisor digest configuration. Valid only for subscriptions

Exclude

Exclude the resource from Advisor evaluations. Valid values: False (default) or True.

Id

The resource ID.

LowCpuThreshold

Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid only for subscriptions. Valid values: 5 (default), 10, 15 or 20.

Name

The name of the resource.

ResourceGroupName

Gets the resource group name

Type

The type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ConfigData.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ConfigData.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Advisor.Models.Api202001.IConfigData.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ConfigData into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to