/// <summary> /// Gets the KPIs that enrich the profile Type identified by the supplied name. /// Enrichment happens through participants of the Interaction on an /// Interaction KPI and through Relationships for Profile KPIs. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='hubName'> /// The name of the hub. /// </param> /// <param name='profileName'> /// The name of the profile. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <KpiDefinitionInner> > GetEnrichingKpisAsync(this IProfilesOperations operations, string resourceGroupName, string hubName, string profileName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetEnrichingKpisWithHttpMessagesAsync(resourceGroupName, hubName, profileName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }