ArmCustomerInsightsModelFactory.KpiDefinition Method

Definition

Initializes a new instance of KpiDefinition.

public static Azure.ResourceManager.CustomerInsights.Models.KpiDefinition KpiDefinition (Azure.ResourceManager.CustomerInsights.Models.EntityType entityType = Azure.ResourceManager.CustomerInsights.Models.EntityType.None, string entityTypeName = default, Guid? tenantId = default, string kpiName = default, System.Collections.Generic.IReadOnlyDictionary<string,string> displayName = default, System.Collections.Generic.IReadOnlyDictionary<string,string> description = default, Azure.ResourceManager.CustomerInsights.Models.CalculationWindowType calculationWindow = Azure.ResourceManager.CustomerInsights.Models.CalculationWindowType.Lifetime, string calculationWindowFieldName = default, Azure.ResourceManager.CustomerInsights.Models.KpiFunction function = Azure.ResourceManager.CustomerInsights.Models.KpiFunction.None, string expression = default, string unit = default, string filter = default, System.Collections.Generic.IEnumerable<string> groupBy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CustomerInsights.Models.KpiGroupByMetadata> groupByMetadata = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CustomerInsights.Models.KpiParticipantProfilesMetadata> participantProfilesMetadata = default, Azure.ResourceManager.CustomerInsights.Models.ProvisioningState? provisioningState = default, Azure.ResourceManager.CustomerInsights.Models.KpiThresholds thresHolds = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CustomerInsights.Models.KpiAlias> aliases = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CustomerInsights.Models.KpiExtract> extracts = default);
static member KpiDefinition : Azure.ResourceManager.CustomerInsights.Models.EntityType * string * Nullable<Guid> * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.ResourceManager.CustomerInsights.Models.CalculationWindowType * string * Azure.ResourceManager.CustomerInsights.Models.KpiFunction * string * string * string * seq<string> * seq<Azure.ResourceManager.CustomerInsights.Models.KpiGroupByMetadata> * seq<Azure.ResourceManager.CustomerInsights.Models.KpiParticipantProfilesMetadata> * Nullable<Azure.ResourceManager.CustomerInsights.Models.ProvisioningState> * Azure.ResourceManager.CustomerInsights.Models.KpiThresholds * seq<Azure.ResourceManager.CustomerInsights.Models.KpiAlias> * seq<Azure.ResourceManager.CustomerInsights.Models.KpiExtract> -> Azure.ResourceManager.CustomerInsights.Models.KpiDefinition
Public Shared Function KpiDefinition (Optional entityType As EntityType = Azure.ResourceManager.CustomerInsights.Models.EntityType.None, Optional entityTypeName As String = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional kpiName As String = Nothing, Optional displayName As IReadOnlyDictionary(Of String, String) = Nothing, Optional description As IReadOnlyDictionary(Of String, String) = Nothing, Optional calculationWindow As CalculationWindowType = Azure.ResourceManager.CustomerInsights.Models.CalculationWindowType.Lifetime, Optional calculationWindowFieldName As String = Nothing, Optional function As KpiFunction = Azure.ResourceManager.CustomerInsights.Models.KpiFunction.None, Optional expression As String = Nothing, Optional unit As String = Nothing, Optional filter As String = Nothing, Optional groupBy As IEnumerable(Of String) = Nothing, Optional groupByMetadata As IEnumerable(Of KpiGroupByMetadata) = Nothing, Optional participantProfilesMetadata As IEnumerable(Of KpiParticipantProfilesMetadata) = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional thresHolds As KpiThresholds = Nothing, Optional aliases As IEnumerable(Of KpiAlias) = Nothing, Optional extracts As IEnumerable(Of KpiExtract) = Nothing) As KpiDefinition

Parameters

entityType
EntityType

The mapping entity type.

entityTypeName
String

The mapping entity name.

tenantId
Nullable<Guid>

The hub name.

kpiName
String

The KPI name.

displayName
IReadOnlyDictionary<String,String>

Localized display name for the KPI.

description
IReadOnlyDictionary<String,String>

Localized description for the KPI.

calculationWindow
CalculationWindowType

The calculation window.

calculationWindowFieldName
String

Name of calculation window field.

function
KpiFunction

The computation function for the KPI.

expression
String

The computation expression for the KPI.

unit
String

The unit of measurement for the KPI.

filter
String

The filter expression for the KPI.

groupBy
IEnumerable<String>

the group by properties for the KPI.

groupByMetadata
IEnumerable<KpiGroupByMetadata>

The KPI GroupByMetadata.

participantProfilesMetadata
IEnumerable<KpiParticipantProfilesMetadata>

The participant profiles.

provisioningState
Nullable<ProvisioningState>

Provisioning state.

thresHolds
KpiThresholds

The KPI thresholds.

aliases
IEnumerable<KpiAlias>

The aliases.

extracts
IEnumerable<KpiExtract>

The KPI extracts.

Returns

A new KpiDefinition instance for mocking.

Applies to