ArmAdvisorModelFactory.ConfigData Method

Definition

Initializes a new instance of ConfigData.

public static Azure.ResourceManager.Advisor.Models.ConfigData ConfigData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, bool? exclude = default, Azure.ResourceManager.Advisor.Models.CpuThreshold? lowCpuThreshold = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Advisor.Models.DigestConfig> digests = default);
static member ConfigData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<bool> * Nullable<Azure.ResourceManager.Advisor.Models.CpuThreshold> * seq<Azure.ResourceManager.Advisor.Models.DigestConfig> -> Azure.ResourceManager.Advisor.Models.ConfigData
Public Shared Function ConfigData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional exclude As Nullable(Of Boolean) = Nothing, Optional lowCpuThreshold As Nullable(Of CpuThreshold) = Nothing, Optional digests As IEnumerable(Of DigestConfig) = Nothing) As ConfigData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

exclude
Nullable<Boolean>

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

lowCpuThreshold
Nullable<CpuThreshold>

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

digests
IEnumerable<DigestConfig>

Advisor digest configuration. Valid only for subscriptions.

Returns

A new ConfigData instance for mocking.

Applies to